Microsoft
MAI Image 2.7 Flash
Faster, lower-cost variant of MAI-Image-2.7 with the same generation and precision editing capabilities.
$2.80 / M input tokens$16.00 / M output image tokens
Microsoft flagship image generation and precision editing model with up to 2048x2048 output and transparent backgrounds.
Microsoft flagship image generation and precision editing model with up to 2048x2048 output and transparent backgrounds.
| Billed item | Price |
|---|---|
| Input tokens | $8.00 / M input tokens |
| Output image tokens | $54.40 / 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",
"prompt": "A paper boat drifting on a rainy street, cinematic lighting",
"generation_config": {
"aspect_ratio": "auto",
"resolution": "1K"
}
}'Faster, lower-cost variant of MAI-Image-2.7 with the same generation and precision editing capabilities.