MAI-Image 2.7 (Text-to-Image)

Microsoft's MAI-Image 2.7 turns a prompt into a 1K or 2K picture in seven shapes, with a transparent background option. About $0.035 a 1K picture.

MAI-Image 2.7 is the image model of Microsoft. It turns a text prompt into a picture in preset shapes, as a PNG, JPEG or WebP file. On November 17, 2026 it ranked fourth on the Artificial Analysis text-to-image leaderboard (Elo 1214).

Describe the picture in prompt (up to 8,000 characters). image_size picks one of seven shapes (square, 4:3, 3:2 and 16:9, each also in portrait); resolution is 1K (about one megapixel) or 2K (each side doubled). background transparent makes a picture with a clear background (PNG or WebP output). It makes one picture per request.

Inputs: prompt (required), image_size, resolution, background and output_format. Output: images, the picture as one image file.

Price: billed on what the run uses, at list. A picture costs $34 per million image tokens (1,024 for a 1K picture, so $0.0348) and the prompt $5 per million text tokens, rounded up to $0.0001: a 1K picture costs about $0.035, a 2K picture about $0.14. The price shown before the run is an upper bound held on your balance; you are charged exactly what the run cost. It does not edit a picture you send (use MAI-Image 2.7 (Edit)), take custom pixel sizes or make video.

Price: From $0.0349 per run, depending on resolution and prompt. One run with default settings costs $0.0349.

Run MAI-Image 2.7 (Text-to-Image) via API

curl -X POST https://api.flymy.ai/api/v1/flymyai/mai-image-2_7-text-to-image/predict \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A red paper boat on calm water at sunrise, soft morning light","resolution":"1K"}'

API documentation · Create a free account · Pricing

Related models