MAI Image 2.7 Flash turns written ideas into still images and revises supplied pictures. Written direction establishes subjects, settings and visual treatment, while image inputs guide changes of scene and combined compositions.
Model overview
- Model ID
microsoft/mai-image-2.7-flash- Output Type
- Image
- Pricing
- From $0.02 / run
- Provider
- Microsoft
- Hosting
- External

MAI Image 2.7 Flash Text to Image API example
curl -X POST https://api.protoface.com/v1/run/microsoft/mai-image-2.7-flash \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.generate",
"prompt": "A clean, bright studio product photograph of one lemon-yellow city bicycle in complete side profile, with a small woven basket, brown saddle and simple black tires, against a seamless soft peach background. The entire bicycle, both wheels and handlebars are comfortably inside the frame with generous space around them. Soft sunlight from the upper left and a gentle shadow on the floor, crisp recognizable shapes, restrained premium product photography, uncluttered landscape composition. No text, logos, labels or watermark.",
"aspect_ratio": "4:3",
"resolution": "2k"
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
MAI Image 2.7 Flash Edit API example
curl -X POST https://api.protoface.com/v1/run/microsoft/mai-image-2.7-flash \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.edit",
"images": "https://example.com/your-image.png",
"prompt": "Keep the traveler and suitcase recognizable. Change the setting to a bright boutique hotel lobby."
}'Replace example input URLs with your own public URLs or uploaded asset IDs. This request uses the selected mode and settings.
Supported modes
Text to Image
The prompt establishes the subject, setting and art direction.
image.generateEdit
Supplied pictures anchor the visual content while instructions direct the change.
image.editWhat you can create
Campaign concept variations
Creative explorations vary settings, props and color treatments around a central subject. These images support visual direction for campaigns, products and editorial stories.
Travel and lifestyle scenes
Editorial compositions combine people, environments and narrative details. Mood, lighting and material treatments give the scene its visual character.
Reference-guided revisions
Picture revisions carry selected elements into a different composition. Source images provide visual material for changes of scene, retained details and combined subjects.
Pricing
Image editing
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Images count: 1 | $0.02 / run |
| Images count: 2 | $0.02 / run |
| Images count: 3 | $0.02 / run |
| Images count: 4 | $0.03 / run |
| Images count: 5 | $0.03 / run |
Image generation
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Resolution: 1K | $0.03 / run |
| Resolution: 2K | $0.05 / run |
Text to Image options
Edit options
Run MAI Image 2.7 Flash on Protoface
Use MAI Image 2.7 Flash in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

About Microsoft
Microsoft develops MAI models through Microsoft AI, with research spanning image creation, speech, transcription, coding, and reasoning. Its creative-media work includes MAI-Image for generating and editing visuals and MAI-Voice for speech synthesis, supporting tasks such as product imagery, presentation graphics, photo cleanup, and expressive spoken audio.
- Image generation
- Image editing
- Speech synthesis










