← All models
Microsoft AI · Image model
MAI-Image-2.6 Flash
microsoft/mai-image-2.6-flash- Image
MAI-Image-2.6 Flash is the lower-latency, lower-cost member of the [MAI-Image-2.6](/microsoft/mai-image-2.6) family from Microsoft AI, built for latency-sensitive, high-throughput production image generation and editing at comparable quality to the precision tier....
Specifications
- Input
- text, image
- Output
- image
- Editing
- yes, up to 5 reference images
- Images per call
- 1
- Served by
- Azure
Request options
Validated against these values; anything else returns 400 with the allowed list.
- aspect_ratio
- 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, auto
Use it
POST /api/v1/images · /images/edits · MCP generate_image · edit_image · full reference
curl https://omnirail.org/api/v1/images \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"microsoft/mai-image-2.6-flash","prompt":"a lighthouse at dawn, 35mm film","aspect_ratio":"1:1"}'