Microsoft
MAI Image 2.7
Microsoft flagship image generation and precision editing model with up to 2048x2048 output and transparent backgrounds.
$8.00 / M input tokens$54.40 / M output image tokens
Faster, lower-cost variant of MAI-Image-2.7 with the same generation and precision editing capabilities.
Faster, lower-cost variant of MAI-Image-2.7 with the same generation and precision editing capabilities.
| Billed item | Price |
|---|---|
| Input tokens | $2.80 / M input tokens |
| Output image tokens | $16.00 / M output image tokens |
| Parameter | Allowed values | Default |
|---|---|---|
generation_config.resolution Resolution | 1K | - |
generation_config.aspect_ratio Aspect ratio | auto · 16:9 · 3:2 · 4:3 · 1:1 · 3:4 · 2:3 · 9:16 | auto |
Same as the OpenAI Images API; platform-specific options go in generation_config. Read the guide →
curl https://api.geekidea.ai/v1/images/generations \
-H "Authorization: Bearer $GEEKIDEA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "microsoft/mai-image-2.7-flash",
"prompt": "A paper boat drifting on a rainy street, cinematic lighting",
"generation_config": {
"aspect_ratio": "auto",
"resolution": "1K"
}
}'Microsoft flagship image generation and precision editing model with up to 2048x2048 output and transparent backgrounds.