
MAI-Image 2.5 Pro Text-to-Image API by MICROSOFT
Microsoft AI's highest-fidelity text-to-image model, generating photorealistic, visually dense scenes from natural language with strong object and character consistency and accurate in-image text.
MAI-Image 2.5 Pro Text-to-Image 由 Microsoft 开发。Atlas Cloud(由 Atlas Cloud AI LLC 运营)仅提供接入服务,并不拥有该模型。所有商标均归其各自所有者所有。
MAI-Image-2.5-Pro Text-to-Image
MAI-Image-2.5-Pro is Microsoft AI's highest-fidelity image model to date — a text-to-image generation model built for work where quality is the top priority. It uses a diffusion-based generative approach that progressively refines the image, producing strong alignment between the input text and the generated output. Compared with the standard MAI-Image-2.5, the Pro tier is tuned for robust object consistency, stronger visual reasoning, and deeper world knowledge, which makes it especially reliable on visually dense, multi-object scenes and on prompts that leave details to be inferred.
Released in public preview on July 23, 2026 (model version 2026-06-19), it is the premium tier of the MAI-Image-2.5 family, alongside the balanced base model and the cost-efficient Flash variant.
Key Capabilities
- Object consistency across complex scenes — Objects retain the same identity, materials, proportions, markings, and orientation throughout a visually dense composition.
- Character consistency across views and moments — A person or character remains recognizably the same across poses, camera angles, expressions, clothing, and lighting conditions.
- Material and physical-property accuracy — Materials look and behave according to their real-world properties, including reflection, translucency, weight, texture, and deformation.
- Spatial and geometric reasoning — Objects are placed coherently in three-dimensional space, with credible scale, perspective, occlusion, and structural relationships.
- Photorealistic image synthesis — Realistic imagery with consistent visual structure, natural lighting, accurate skin tones, depth, and texture.
- High-fidelity portraits — Expressive, natural-looking portraits with accurate facial structure, lighting, and skin texture.
- Accurate in-image text rendering — A standout strength of the 2.5 generation: legible, correctly spelled text in labels, posters, packaging, and signage.
- World knowledge — Understands cultural references, real-world objects, and complex concepts, so vague or shorthand instructions still resolve into coherent scenes.
- Product, branding & commercial design — Design-aware output suitable for product imagery, marketing visuals, brand assets, and commercial creative workflows.
Request Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | microsoft/mai-image-2.5-pro/text-to-image | Model name. |
prompt | string | Yes | — | Text prompt describing the image to generate. Maximum context length: 32,000 tokens. |
size | string | No | 1024*1024 | Image dimensions in width*height format (e.g., 1024*1024, 1280*720). Each dimension is a minimum of 768 and a maximum of 1360; the product of width × height must fall between 589,824 and 1,048,576. |
enable_base64_output | boolean | No | false | If enabled, the output is returned as a BASE64 string instead of a URL. Available through the API only. |
enable_sync_mode | boolean | No | false | If true, the request waits for the result to be generated and uploaded before returning, so the result arrives directly in the response. Available through the API only. |
Because the total pixel budget is capped rather than the shape, either dimension can exceed 1024 as long as the product stays within the limit — which is how non-square aspect ratios such as 1280*720 are expressed.
Response
A generation request returns a prediction object with a status of created, processing, completed, timeout, or failed. Poll the returned urls.get endpoint (or use enable_sync_mode) until the task completes; data.outputs then holds the array of generated image URLs, or BASE64 strings when enable_base64_output is set. The response also carries has_nsfw_contents flags per output, executionTime, and a timings.inference breakdown in milliseconds.
Pricing
Pricing for this model has two components: the input text tokens in the prompt, and a fixed per-image output fee.
| SKU | Description | Unit Price |
|---|---|---|
sku_input_1m_token | Price per 1M input (prompt) tokens | $5.00 |
sku_output_image | Fixed fee per generated image | $0.12 |
Pricing Formula
cost = countTokens(prompt) / 1,000,000 × $5.00 + $0.12
For typical prompts of a few hundred tokens the token component is negligible, so the effective cost is approximately $0.12 per generated image.
Examples
| Prompt Length | Token Count | Token Cost | Output Image Fee | Total |
|---|---|---|---|---|
| Short | 50 | ~$0.000250 | $0.12 | ~$0.1203 |
| Medium | 500 | ~$0.002500 | $0.12 | ~$0.1225 |
| Long | 2,000 | ~$0.010000 | $0.12 | ~$0.1300 |
Best Use Cases
- Hero and campaign imagery — Flagship marketing visuals where fidelity and material realism matter more than cost per image.
- Complex multi-object scenes — Interiors, storefronts, table-top spreads, and crowded compositions that require every object to stay consistent.
- Character-driven series — Storyboards, comics, and campaign sets where the same person or character must recur across shots.
- Product & packaging visualization — Product renders that need accurate reflections, translucency, and surface behavior.
- Signage, posters & packaging — Designs that depend on legible, correctly rendered in-image text.
- Concept art & production design — Translating abstract or shorthand briefs into coherent, richly detailed visuals.
Pro Tips
- Lead with the subject, then the environment, then the style, lighting, and mood — the model resolves prompts in roughly that hierarchy.
- Name materials explicitly ("brushed aluminum", "frosted glass", "wet asphalt") to take advantage of the model's material-property accuracy.
- For in-image text, keep the inscription short and quote it exactly in the prompt.
- Specify camera language (focal length, angle, depth of field) when you want photographic realism rather than illustration.
- For recurring characters, repeat the same descriptive block verbatim across requests to help identity carry over.
- Pick a
sizewhose aspect ratio matches the deliverable — portrait for people, landscape for scenes — while staying inside the total pixel budget.
Technical Specifications
| Spec | Value |
|---|---|
| Model Developer | Microsoft AI |
| Model Version | 2026-06-19 |
| Release Date | July 23, 2026 (public preview) |
| Architecture | Diffusion-based generative model |
| Input | Text prompt (natural language) |
| Output | PNG image (URL, or BASE64 when requested) |
| Max Prompt Length | 32,000 tokens |
| Resolution Range | 768–1360 px per dimension; 589,824–1,048,576 total pixels |
| Default Resolution | 1024×1024 |
| Supported Languages | English (primary) |
Responsible Use
Despite data filtering and system-level content classifiers, image generation models can still produce unexpected or harmful output. Apply content safety mitigations appropriate to your use case, respect copyright and trademark when prompting, and disclose that images are AI-generated when publishing them.
Related Models
- MAI-Image-2.5-Pro Edit — The same Pro model driving image-to-image editing.
- MAI-Image-2.5 Text-to-Image — The balanced base tier, tuned for surgical edits and consistency.
- MAI-Image-2.5-Flash Text-to-Image — Faster, lower-cost text-to-image variant.



















