Skip to contentx402 is live on Robinhood Chain: agents can now pay for any model, per call, in USDG →
OmniRail
← All models

Microsoft AI · Image model

MAI-Image-2.5

microsoft/mai-image-2.5
  • Image
Released Jun 2, 2026

Microsoft AI's MAI-Image-2.5 is a high-quality image generation model available via Azure AI Foundry. It produces photorealistic and artistic images from text prompts with support for various aspect ratios.

Specifications

Input
text, image
Output
image
Editing
yes, up to 1 reference image
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.5","prompt":"a lighthouse at dawn, 35mm film","aspect_ratio":"1:1"}'