APIMart
MAI-Image-2.6 Flash model icon
Image

MAI-Image-2.6 Flash

Microsoft's MAI-Image-2.6 Flash supports text-to-image, reference editing and multi-image composition. Each request produces one PNG and is billed for actual text-input, reference-image and output-image tokens.

Text to ImageUp to 5 References1K / 2KBing GroundingToken Billing

Service Highlights

  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Input
Reference Image

Run estimates image-output tokens only; text and reference-image input cost extra. The estimate is — when auto or reference-based dimensions are unknown.

Output
Generated 1

Generated image links are valid for 72 hours after completion. Save your images promptly.

MAI-Image-2.6 Flash API Pricing

Transparent pricing with no hidden fees. Pay only for what you use.

VariantTierGoldCurrent pricePlatinumDiamondOfficialYour savings
mai-image-2.6-flash

Prices are estimates; actual cost is billed by token usage.

1K · 1024×10240.1556Credits(~$0.0156)/pic0.1479Credits(~$0.0148)/pic0.1401Credits(~$0.014)/pic0.1946Credits(~$0.0195)/pic20%
2K · 1536×15360.3502Credits(~$0.035)/pic0.3327Credits(~$0.0333)/pic0.3152Credits(~$0.0315)/pic0.4378Credits(~$0.0438)/pic20%

* Actual costs are subject to final output.

* Image-output estimate only, using 1024×1024 for 1K and 1536×1536 for 2K. Text and reference-image input are billed separately; actual tokens determine the final charge.

MAI-Image-2.6 Flash Capabilities

Generation and editing controls for MAI-Image-2.6 Flash

MAI-Image-2.6 Flash Image Generation

Use mai-image-2.6-flash to generate from text or edit images with references. Set output dimensions for text-to-image and enable Bing grounding when needed.

Text-to-Image Creation

Describe a photograph, poster or product scene. Include the composition, lighting and any text, then review the result before publishing.

Up to Five References

Edit a single image or combine up to five references. Use public image URLs or Base64 inputs and describe the intended changes.

1K and 2K Output

For text-to-image, select a resolution tier and an aspect ratio from 1:4 to 4:1, or let the model choose with auto. 4K is not supported.

Exact Pixel Sizes

Set paired width and height, each at least 768 pixels, within 2,359,296 total pixels. Use multiples of 32; 3072×768 is valid.

Bing Search Grounding

Enable web_grounding to retrieve current information with Bing before generating people, places or events. It is off by default.

Reference-Led Dimensions

For image editing, the model chooses the output dimensions from the references. Size, resolution, width and height settings do not control the result.

One PNG per Request

Each request returns one PNG. Billing includes actual text input, reference-image input and image-output tokens; failed tasks are fully refunded.

MAI-Image-2.6 Flash Creative Workflows

Practical ideas for marketing, product and visual-content teams

Text-Rich Marketing Creative

Create campaign drafts, posters and social graphics from a brief. Check text, layout and brand details before use.

Product and Branding Imagery

Explore polished product shots, packaging concepts, branded compositions, and commercial artwork from concise creative directions.

Portrait and People Concepts

Explore portrait-led editorial, lifestyle and campaign concepts. Review the result for accuracy, consent and appropriate use.

3D Concepts and Mockups

Develop rendered-object studies, dimensional visual directions, and 3D-style mockups during early creative exploration.

Photorealistic Storyboards

Turn scene descriptions into photorealistic or cinematic frames for mood boards, pitch materials, and previsualization.

Reference-Guided Creation

Combine up to five references for a product scene or design direction, describing which elements to retain or change.

MAI-Image-2.6 Flash API FAQ

Models, inputs, output limits, billing and result handling

What is MAI-Image-2.6 Flash?

Microsoft’s MAI-Image-2.6 Flash supports text-to-image, reference editing and multi-image composition. Use mai-image-2.6-flash as the API model. Consult the platform pricing table for current rates.

How many reference images can I use?

Provide up to five HTTP(S) image URLs or Base64 data URLs in image_urls. JPEG and PNG are supported; WebP and GIF are converted to PNG. Public URLs must remain accessible.

What sizes can text-to-image produce?

Use 1K or 2K with an integer aspect ratio from 1:4 to 4:1, or auto. Exact width and height must each be at least 768, with at most 2,359,296 total pixels. For example, 3072×768 is valid; 2048×2048 and 4K are not.

How do size settings interact with reference images?

For text-to-image, paired width/height override size and resolution; pixel-valued size overrides resolution. Exact dimensions round down to multiples of 32. With references, the model determines dimensions and these settings do not apply.

What does web_grounding do?

Set web_grounding to true to use Bing retrieval before generation, especially for real people, places and events. It defaults to false. Retrieved context does not replace checking the final image.

Can I use masks or generate several formats at once?

No. Each request generates one PNG and n must be 1. Mask editing is not supported, and this page does not provide mask or output-format settings.

How is the final charge calculated?

The service charges actual text-input, reference-image and output-image tokens. Output-image tokens equal width × height ÷ 1024. An upfront charge is reconciled after completion. The displayed output estimate excludes text-input, reference-image and web-grounding costs, and failed tasks are fully refunded.

How do I get and save the result?

Submit to POST /v1/images/generations, then query GET /v1/tasks/{task_id}. Download completed images within 72 hours. A paused status check does not mean generation failed; resume querying the existing task.