Microsoft: MAI Image 2.5

One API key. Live prices. Ready-to-run code.

MAI-Image-2.5 is Microsoft's image generation and editing model designed for high-quality text-to-image creation and precise image-to-image editing.

Served by OneInfer. Use it with the same API key and pay-as-you-go wallet as every other model in the catalog.

ProviderOneInfermicrosoft/MAI-Image-2.5

Call MAI Image 2.5 in 4 steps

Step 1 of 4

Create a key in the Console. The same key works for every model on OneInfer.

Context
32K
Input
text, image
Output
image
Tool calling
Not listed

About this model

MAI-Image-2.5 is Microsoft's image generation and editing model designed for high-quality text-to-image creation and precise image-to-image editing. It supports prompt-driven image generation as well as targeted edits that preserve unaffected regions of an input image. The model is designed to produce realistic imagery with consistent visual structure and is suited for concept visualization, creative content generation, production design, advertising, image editing, and other professional visual workflows. It supports multiple reference images for editing and produces PNG image outputs with up to 1,048,576 total pixels.

Input modalities

  • text

    Accepted as model input

  • image

    Accepted as model input

Providers

Available routing options for this model through OneInfer.

  • Available
    Text input tokens
    $5.00 / 1M tokens
    Cached text input tokens
    Free
    Routing
    OneInfer optimized

Pricing

Current OneInfer pricing for this model.

UsagePrice
Text input tokensstandard, 1024x1024$5.00 / 1M tokens
Cached text input tokensstandard, 1024x1024Free
Image input tokensstandard, 1024x1024$8.00 / 1M tokens
Image output tokensstandard, 1024x1024$47.00 / 1M tokens

Performance and benchmarks

Independent evaluations and live cluster operational metrics

We haven’t measured this model yet.

API guide

API docs
  1. Generate your access token

    Use your API key to generate the JWT access token required by the Models API.

  2. Add the JWT token

    Copy the generated JWT token and replace JWT_TOKEN in the example below.

  3. Check your credits

    If your balance is too low, before calling the model.

  4. Run the API example

    Choose your preferred language, copy the example, and send your first model request.

    curl -X POST https://api.oneinfer.ai/v1/ula/generate-image \
      -H "Authorization: Bearer YOUR_JWT_TOKEN" \
      -H "Content-Type: application/json" \
      -d '{
      "model": "microsoft/MAI-Image-2.5",
      "messages": [
        {
          "role": "user",
          "content": "A futuristic city skyline at dusk"
        }
      ],
      "number": 1,
      "size": "1024x1024",
      "quality": "standard"
    }'

Community reviews and ratings

Visitor and developer evaluations of Microsoft: MAI Image 2.5's real-world intelligence, code accuracy, and speed

No ratings yet

Top community tags

Be the first to rate and tag this model's coding and reasoning strengths.

No community reviews yet

Be the first to share developer feedback on Microsoft: MAI Image 2.5's latency, code accuracy, and reliability in production.