MAI Image 2.7 creates images from written briefs and edits supplied images through natural-language direction. Its generation controls support photographic and illustrated compositions, while image inputs provide material for revisions and combinations.
Model overview
- Model ID
microsoft/mai-image-2.7- Output Type
- Image
- Pricing
- From $0.05 / run
- Provider
- Microsoft
- Hosting
- External

MAI Image 2.7 Text to Image API example
curl -X POST https://api.protoface.com/v1/run/microsoft/mai-image-2.7 \
-H "Authorization: Bearer $PROTOFACE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"operation": "image.generate",
"prompt": "A bright editorial travel portrait of a woman photographer in her thirties wearing an ocher-yellow jacket, holding a small black camera at waist level on a coastal path. Friendly relaxed expression, tousled dark hair, clear face and eyes, waist-up framing. A white lighthouse and pale turquoise sea are softly visible behind her. Warm afternoon sunlight, fresh sea air, realistic skin texture, luminous natural colors, polished lifestyle magazine photography. Keep her head, hands and camera fully inside the central portion of a landscape composition. No text, logos 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 Edit API example
curl -X POST https://api.protoface.com/v1/run/microsoft/mai-image-2.7 \
-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 presenter recognizable. Replace the background with a warm radio studio and match the lighting on the subject."
}'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
A written brief directs the subject, composition and visual treatment.
image.generateEdit
Source images provide visual material for a prompted revision or combination.
image.editWhat you can create
Editorial scene concepts
Editorial portraits combine a person, setting and lighting treatment. Props, materials and composition support visual storytelling.
Product environment studies
Product concepts place an object in an imagined scene, with supplied images anchoring its appearance in the composition.
Image revisions and combinations
Image revisions alter or combine source pictures while retaining selected details and exploring a different visual direction.
Pricing
Image editing
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Images count: 1 | $0.05 / run |
| Images count: 2 | $0.06 / run |
| Images count: 3 | $0.06 / run |
| Images count: 4 | $0.07 / run |
| Images count: 5 | $0.08 / run |
Image generation
Price per run for each listed option.
| Offering | Price (USD) |
|---|---|
| Resolution: 1K | $0.07 / run |
| Resolution: 2K | $0.14 / run |
Text to Image options
Edit options
Run MAI Image 2.7 on Protoface
Use MAI Image 2.7 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










