microsoft/mai-image-2.5-flash

mai-image-2.5-flash
Docs
Schema

[Core Function] MAI Image 2.5 Flash is Microsoft's fast, cost-efficient text-to-image generation model. [Strengths] It excels at quickly generating solid images from a text prompt with the same dimension controls as MAI Image 2.5. [Best For] Highly recommended for: rapid prototyping, batch generation, and cost-sensitive workloads. [Limitations] Do NOT request dimensions below 768 on any side or a width x height product above 1,048,576 pixels; output is always PNG, and maximum fidelity is lower than MAI Image 2.5. [Routing] Choose this model when speed or cost matters more than maximum fidelity. For the highest quality, use MAI Image 2.5.

$0.0388/img
text-to-image

Input

Text description of the image to generate
Image height in pixels (>=768). Must be provided together with `width`; width x height must not exceed 1,048,576.
Image width in pixels (>=768). Must be provided together with `height`; width x height must not exceed 1,048,576.

Result

No results yet

Run the model to preview the output here.

Next:

README

Parameters

Name Description Type Required Enums
prompt Text description of the image to generate string Yes -
height Image height in pixels (>=768). Must be provided together with width; width x height must not exceed 1,048,576. integer No -
width Image width in pixels (>=768). Must be provided together with height; width x height must not exceed 1,048,576. integer No -

Pricing

Unit: $/img

Pricing
$0.0388/img
  • microsoft/mai-image-2.5: [Core Function] MAI Image 2.5 is Microsoft’s flagship text-to-image generation model. [Strengths] It excels at producing high-quality, detailed images from a text prompt with precise control over output dimensions. [Best For] Highly recommended for: concept art, marketing visuals, and high-fidelity image generation. [Limitations] Do NOT request dimensions below 768 on any side or a width x height product above 1,048,576 pixels (e.g. beyond 1024x1024); output is always PNG. [Routing] Use this model by default for quality-sensitive generation. For faster, cheaper generation, route to MAI Image 2.5 Flash.
  • microsoft/mai-image-2.5-edit: [Core Function] MAI Image 2.5 Edit is Microsoft’s flagship image editing model. [Strengths] It excels at applying high-quality, prompt-guided edits and transformations to a single source image. [Best For] Highly recommended for: restyling, object/scene modification, and detailed prompt-driven edits. [Limitations] Do NOT provide more than one source image or non-JPEG/PNG inputs; it accepts exactly one JPEG or PNG image, and output is always PNG. [Routing] Use this model by default for quality-sensitive edits. For faster, cheaper edits, route to MAI Image 2.5 Flash Edit.
  • microsoft/mai-image-2.5-flash-edit: [Core Function] MAI Image 2.5 Flash Edit is Microsoft’s fast, cost-efficient image editing model. [Strengths] It excels at quickly applying prompt-guided edits to a single source image. [Best For] Highly recommended for: rapid edits, batch processing, and cost-sensitive workloads. [Limitations] Do NOT provide more than one source image or non-JPEG/PNG inputs; it accepts exactly one JPEG or PNG image, output is always PNG, and fidelity is lower than MAI Image 2.5 Edit. [Routing] Choose this model when speed or cost matters more than maximum fidelity. For the highest quality, use MAI Image 2.5 Edit.

More in this series