Skip to content
Microsoft

MAI Image 2.7 Flash

microsoft/mai-image-2.7-flash

MAI Image 2.7 Flash is an image generation model by Microsoft that creates images from text prompts. It has a 32K token context window. Priced at $1.75 per million input tokens and $10 per million output tokens. Access MAI Image 2.7 Flash through the Images API on Inworld LLM Inference.

Input
$1.75
Output
$10.00
Context
32K
TextImage→Image
Run on your server. Set INWORLD_API_KEY to your API key. Python requires pip install requests; JavaScript requires Node.js 18+; save it as example.mjs.
curl --fail-with-body https://api.inworld.ai/v1/images/generations \
  -H "Authorization: Basic $INWORLD_API_KEY" \
  -H 'Content-Type: application/json' \
  -o response.json \
  -d '{
    "model": "microsoft/mai-image-2.7-flash",
    "prompt": "A blue circle on a white background."
  }'
Model MAI Image 2.7 FlashImages API

Pricing and providers

Access MAI Image 2.7 Flash through Inworld LLM Inference or speech to speech via Microsoft. By using the providers below you agree to their terms, listed under each provider's name in the Legal section.

Modalities
MicrosoftThis pagemicrosoft/mai-image-2.7-flash
$1.75$10.00——32K—
TextImage→Image
Prices in USD per 1M tokens.

Start building with MAI Image 2.7 Flash

Access MAI Image 2.7 Flash and every other model through LLM Inference or speech to speech. Create a free account and start in minutes.