Model icon
mai-image-2.6
Text to Image
Image to Image
View more Microsoft models
Model:
Microsoft AI's MAI Image 2.6 API for photorealistic text-to-image generation, precise image editing and multi-reference composition from up to 5 images, with legible in-image text and optional web grounding. Choose MAI Image 2.6 for final production assets or MAI Image 2.6 Flash for fast, high-volume generation.
Input
405/32000
Added 0/5

Drop files here, paste files, or add a URL. JPEG, PNG or WebP · up to 10 MB each

Output

Example Output

This is sample data. Generate a new result to see real output.

Task ID:task_01M74X76GZ9YS1FR1W77YH2ZFECreated:2026-11-11T08:57:30
Status:finishedProgress:100%
Generated image 1
Examples
Pricing details

Pay as you go. No subscription, no hidden fees.

1 credit = $0.005
ModelText input /1M tokensImage input /1M tokensImage output /1M tokens
MAI Image 2.6
$4.00/1M tokens
800 credits/1M tokens
$5.00/1M tokensSave 20%
$6.40/1M tokens
1280 credits/1M tokens
$8.00/1M tokensSave 20%
$30.40/1M tokens
6080 credits/1M tokens
$38.00/1M tokensSave 20%
MAI Image 2.6 Flash
$1.40/1M tokens
280 credits/1M tokens
$1.75/1M tokensSave 20%
$2.00/1M tokens
400 credits/1M tokens
$2.50/1M tokensSave 20%
$15.20/1M tokens
3040 credits/1M tokens
$19.00/1M tokensSave 20%
How it's billed: Input and output tokens are billed separately, per 1M tokens.

Charges are based on the final output.

MAI IMAGE 2.6 API

Microsoft's image model for photorealistic generation, accurate in-image text, and multi-image editing

MAI Image 2.6 API - Photorealistic Generation & Multi-Image Editing

Access the MAI Image 2.6 API instantly on PoYo, no waitlist required. Microsoft built MAI-Image-2.6 for photorealistic images, lifelike people, product and commercial visuals, and text that reads correctly inside the image. One REST call covers text-to-image, single-image editing, and composition from up to 5 reference images.

Choose mai-image-2.6 for the highest quality or mai-image-2.6-flash for faster, lower-cost runs with the same request fields. Pick one of seven aspect ratios at 1K or 2K, or set a custom WIDTHxHEIGHT up to 1536×1536, and turn on enable_web_search when the image depends on current information.

Available MAI Image 2.6 API Models on PoYo

01

MAI Image 2.6 (mai-image-2.6)

Microsoft's main MAI Image 2.6 model for final assets: photorealistic scenes, portraits, product shots, and posters with exact headlines. Billed at 800 credits per 1M text input tokens, 1,280 per 1M reference image tokens, and 6,080 per 1M output tokens, so a 1K square image uses about 6.23 credits.
02

MAI Image 2.6 Flash (mai-image-2.6-flash)

The faster, lower-cost variant for drafts, previews, and high-volume jobs. It accepts exactly the same fields as MAI Image 2.6. Billed at 280, 400, and 3,040 credits per 1M text input, reference image, and output tokens, so a 1K square image uses about 3.11 credits.

Key Features of MAI Image 2.6 API

Text-to-image, editing, and multi-image composition through one request format, with custom sizes and optional web search.

01

Photorealistic and Cinematic Imagery

Stock photos rarely match a specific brief, and a staged shoot takes days to organize. Describe the subject, lens, light and motion, and MAI Image 2.6 returns an image that reads as a real photograph, with believable lighting, natural texture and camera effects such as motion blur and shallow depth of field. Microsoft lists photorealistic and cinematic quality, high-fidelity portraits and product imagery among the model's strongest areas.

  • Realistic lighting, reflections and fine detail
  • Camera cues such as motion blur and depth of field
  • Portraits, products and cinematic scenes
Official MAI Image 2.6 sample from Microsoft: a motion-blurred tennis player running across a green court, with a racket in the foreground

02

Accurate Headlines and Titles Inside the Image

Image models often misspell the words a poster or cover depends on. Text rendering is where Microsoft measured the largest gain over MAI Image 2.5, at +91 Elo on Arena. Put the exact copy in quotes and say where it goes, and MAI Image 2.6 sets headlines, subtitles and author names into the layout, so a design draft arrives with its text already in place.

  • Quote exact copy in the prompt
  • Posters, covers, banners, and packaging layouts
  • Check spelling before publishing final assets
Two MAI Image 2.6 outputs: a vintage Lumen Bay travel poster with its festival date and a book cover titled The Quiet Orchard by Mara Ellison

03

Edit a Reference Image While Keeping the Subject

Reshooting a product for every campaign costs time and money. Send one image in image_urls, describe the change and say what must stay the same. Microsoft built MAI Image 2.6 for precise edits that keep the composition intact, from new backgrounds and lighting to object replacement, attribute changes, text updates and motion-blur cleanup, so one product photo becomes many campaign shots.

  • One image in image_urls for a single-image edit
  • Replace objects, backgrounds, lighting or text
  • State which details must stay unchanged
A sage-green ceramic bottle on a white studio background, and the MAI Image 2.6 edit placing the same bottle on a wet rock beside a mountain stream at golden hour

04

Combine up to 5 Reference Images in One Scene

A campaign visual usually starts from scattered material: a product shot, a color palette, a texture, a location and a mood reference. Pass up to 5 of them in image_urls and describe the result you want. In Microsoft's example, a color swatch, an action shot, a canyon rock texture, a knit close-up and a product photo become one canyon hero image of the same magenta running shoe from a single prompt.

  • Up to 5 reference images per request
  • Mix products, people, styles, colors and scenes
  • Refer to inputs as image 1, image 2 and so on
Official Microsoft example of MAI Image 2.6 multi-reference editing: five references, including a color swatch, a canyon texture and a magenta running shoe, combined into one canyon hero image of the shoe

05

Seven Aspect Ratios or a Custom Size

Fixed square outputs rarely fit banners, stories and print layouts. Choose 1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16 at 1K or 2K, or pass a custom WIDTHxHEIGHT. Microsoft limits the total pixel count rather than each side, so a wide banner such as 3072x768 works as long as it stays within 2,359,296 pixels.

  • Seven ratios at 1K or 2K
  • Custom sizes in multiples of 32 pixels
  • Each side at least 768, up to 2,359,296 pixels
A 3072x768 MAI Image 2.6 Flash website banner of misty mountains at sunrise with the headline Explore Further

06

Web Grounding for Real Places and Current Information

Real landmarks, products and recent events need details a model may not have learned in training. Set enable_web_search to true and MAI Image 2.6 grounds the image in current web content before it generates. Microsoft's example asks for the Metrópolis Building in Madrid "as it stands today" at the corner of Calle de Alcalá and Gran Vía, and the result shows the building's dark dome, gilded details and street corner.

  • Turn on with enable_web_search: true
  • For real places, products and recent events
  • No extra charge on PoYo; check facts before publishing
Official MAI Image 2.6 web grounding example from Microsoft: the Metrópolis Building with its dark dome and gilded details at a sunny intersection in Madrid

Who Can Benefit from MAI Image 2.6 API?

01

E-Commerce Product Photography

Send one product photo and generate lifestyle scenes, seasonal backgrounds, and room placements with MAI Image 2.6 while the product keeps its shape and color. Build a full catalog set without a new photo shoot.

02

Marketing and Advertising Teams

Draft campaign visuals with the headline already in place, test layouts with MAI Image 2.6 Flash, and render the chosen concept with MAI Image 2.6. Custom sizes match each ad placement.

03

Social Media Content

Create posts, stories, and covers in 1:1, 9:16, or 16:9 from short prompts. MAI Image 2.6 Flash keeps high-volume content queues fast and low-cost.

04

Interior Design and Real Estate

Combine a room photo with furniture or decor references to preview staging ideas. MAI Image 2.6 matches lighting and shadows so the result reads as one photograph.

05

Publishing and Education

Produce book covers, posters, and lesson illustrations with titles rendered inside the image. Use web search for current places and events, then review the details before publishing.

06

AI Image Apps and Agents

Add text-to-image and editing to your product or agent with one REST call. Submit a task, get a task_id at once, and receive the image by polling or webhook.

MAI Image 2.6 vs MAI Image 2.6 Flash — Model Comparison

Microsoft AI's two MAI Image 2.6 models side by side, based on Microsoft's announcements and model card. Both accept the same request fields and support the same features on PoYo, so the choice comes down to maximum quality or faster, lower-cost generation.

FeatureMAI Image 2.6MAI Image 2.6 Flash
Microsoft's positioningBest overall: high-quality generation with precise, controllable editingFastest and lowest cost: production-ready quality at less than half the flagship's price
Key advantageHighest overall quality: photorealism, portraits, product visuals and +91 Elo text rendering over MAI Image 2.5Speed and cost: 2.8x faster than GPT-Image-2-Medium with 72% greater efficiency, with the same features as 2.6
Best forFinal campaign assets, complex edits, detailed commercial design and high-fidelity textInteractive apps, automated pipelines, personalization and high-volume production
Leaderboard rankNo. 2 text-to-image and editing on Arena; No. 2 text-to-image and No. 1 editing on Artificial Analysis (as of September 4, 2026)No separate rank published
Text-to-imageYesYes
Image editingYes, up to 5 reference imagesYes, up to 5 reference images
Web groundingYesYes
Maximum output2,359,296 pixels (1536×1536 equivalent)2,359,296 pixels (1536×1536 equivalent)
ReleaseAnnounced August 10, 2026September 4, 2026

How to Use MAI Image 2.6 API on PoYo

Step 1: Register & Create API Key
Sign in to PoYo and create an API key in the dashboard. The same key works for MAI Image 2.6, MAI Image 2.6 Flash, and every other model on PoYo.
Create API Key →

Step 2: Top Up Credits
Add credits to your account. Each request reserves a maximum based on its size, prompt, and reference images, then is charged by the tokens it actually used; failed tasks are not charged.
Add Credits →

Step 3: Integrate the API
Send POST https://api.poyo.ai/api/generate/submit with "model": "mai-image-2.6" or "mai-image-2.6-flash" and an input object with prompt, plus optional image_urls, size, resolution, and enable_web_search. Poll the returned task_id or pass a callback_url to receive the finished image.
View Documentation →

Frequently Asked Questions about MAI Image 2.6 API

What is MAI Image 2.6?

MAI Image 2.6 (MAI-Image-2.6) is Microsoft AI's image generation and editing model, announced on August 10, 2026. It is a 20-billion-parameter diffusion model that creates photorealistic images, portraits, product visuals and posters with legible text, and edits images using up to 5 references. It launched at No. 2 on the Arena text-to-image leaderboard. PoYo offers it as mai-image-2.6, alongside the faster mai-image-2.6-flash, through one REST API.

How do I use the MAI Image 2.6 API?

Microsoft offers the model in public preview through Microsoft Foundry, which requires an Azure resource and a model deployment. On PoYo you only need an API key: send POST https://api.poyo.ai/api/generate/submit with the model ID and a prompt from Python, Node.js, cURL or any HTTP client, then poll the task_id or receive a callback. You can test prompts in the playground on this page before writing code.

How much does the MAI Image 2.6 API cost?

Microsoft Foundry lists MAI Image 2.6 from $5, $8 and $38 per 1M text input, image input and image output tokens, and MAI Image 2.6 Flash from $1.75, $2.50 and $19. On PoYo, mai-image-2.6 costs 800, 1,280 and 6,080 credits per 1M of the same tokens, and Flash costs 280, 400 and 3,040. A 1K square image uses about 6.23 credits on 2.6 and 3.11 on Flash, and failed tasks are free.

What is the difference between MAI Image 2.6 and MAI Image 2.6 Flash?

Flash is an optimized version of MAI Image 2.6 for latency-sensitive, high-throughput work. Microsoft describes it as production-ready quality at less than half the flagship's price, generating images 2.8x faster than GPT-Image-2-Medium. Both accept the same fields and support text-to-image, up to 5 reference images, custom sizes and web grounding. Microsoft suggests exploring ideas with Flash and rendering final assets that need more precision with MAI Image 2.6.

How does MAI Image 2.6 rank against other image models?

Microsoft reports that MAI Image 2.6 launched at No. 2 on the Arena text-to-image leaderboard, ahead of leading models from Google, Meta and xAI, with a 79 Elo gain over MAI Image 2.5. As of September 4, 2026, it ranked No. 2 for text-to-image and image editing on Arena, and No. 1 for image editing on Artificial Analysis. Leaderboards change often, so test it with your own prompts in the playground.

Can MAI Image 2.6 edit images or use reference images?

Yes. Add 1 to 5 public image URLs in image_urls. With one image, the model edits it according to the prompt; with several, it combines people, products, styles and scenes into one image, and you can refer to them as image 1, image 2 and so on. In editing mode the output is about 1 megapixel and follows the references, and inputs larger than 1 megapixel are downscaled before generation.

What resolutions and aspect ratios does MAI Image 2.6 support?

Microsoft caps output at 2,359,296 pixels, the equivalent of 1536×1536, and either side can be longer as long as the total stays within that limit. On PoYo, choose 1:1, 4:3, 3:4, 3:2, 2:3, 16:9 or 9:16 at 1K or 2K, or pass a custom WIDTHxHEIGHT with both sides divisible by 32 and at least 768. 4K output is not available, and each request returns one PNG.

What is web grounding in MAI Image 2.6?

Web grounding lets the model draw on current web content before it generates, so images of real places, products or recent events reflect up-to-date details instead of only what it learned in training. On PoYo, set enable_web_search to true on either model, and there is no extra charge. Check facts, names and details in the result before you publish it.

Can I use MAI Image 2.6 for commercial projects?

Microsoft's MAI Playground is for trying the model, and Microsoft limits it to personal, non-commercial use. For products, client work and other commercial projects, use the API instead: PoYo bills mai-image-2.6 and mai-image-2.6-flash by actual tokens with no subscription. Microsoft's acceptable use rules still apply, such as not creating content that deceives or impersonates real people.

Is MAI Image 2.6 open source or available on Hugging Face?

No. Microsoft has not published open weights for MAI Image 2.6, and its model card lists Microsoft Foundry and MAI Playground as the distribution channels. To use the model in your own application, call it through an API such as Microsoft Foundry or PoYo. On PoYo the same API key also works for every other image, video and audio model on the platform.

How long does MAI Image 2.6 take to generate an image?

In PoYo tests in November 2026, most tasks finished in about 15 to 50 seconds, depending on the size, the number of reference images and queue load. Submitting returns a task_id immediately, so your application is never blocked: poll the status endpoint with that ID, or pass a callback_url to receive a POST request when the task finishes or fails.

Why Use PoYo for MAI Image 2.6 API Access

01

Unified API Access

Call mai-image-2.6 and mai-image-2.6-flash with the same request format and API key you use for every other image, video, and audio model on PoYo.

02

Transparent Usage-Based Pricing

See the token rates and the reserved maximum before you submit. The final charge follows actual usage, never exceeds the reserve, and failed tasks are free.

03

Playground Testing

Try prompts, aspect ratios, custom sizes, reference images, and web search in the browser, then copy the JSON request into your code.

04

Developer-Friendly Integration

Use documented request fields, task polling, and callback URLs, so long renders never block your application.