
MAI-Image-2.6 and MAI-Image-2.6-Flash now available on AI Gateway
Quick Answer
Microsoft's MAI-Image-2.6 and MAI-Image-2.6-Flash are now available on AI Gateway, enabling users to generate and edit images with a single API key.
Quick Take
The models support photorealistic imagery and targeted edits, with MAI-Image-2.6 prioritizing quality and MAI-Image-2.6-Flash focusing on speed and cost efficiency.
Key Points
- Generate images from text or edit existing images using AI SDK or CLI.
- Supports up to five reference images for guided edits and combinations.
- MAI-Image-2.6 focuses on high-quality outputs; MAI-Image-2.6-Flash offers faster generation.
- Output sizes can reach up to 1536 × 1536 pixels.
- One API key required, no separate provider account needed.
📖 Reader Mode
~1 min readMAI-Image-2.6 and MAI-Image-2.6-Flash from Microsoft are now available on AI Gateway. Generate images from text or edit existing images through the AI SDK or the AI CLI, with one API key and no provider account.
Both models support photorealistic imagery, text rendering, and targeted edits to products, portraits, and layouts. You can provide up to five reference images to guide edits or combine subjects, with output sizes up to 1536 × 1536.
MAI-Image-2.6 (
microsoft/mai-image-2.6) for final assets, when image quality matters more than speed.MAI-Image-2.6-Flash (
microsoft/mai-image-2.6-flash) for faster generation at a lower cost, when you need many iterations, such as exploring prompts or generating variations.
Use microsoft/mai-image-2.6 or microsoft/mai-image-2.6-flash as the model ID. To generate an image, call generateImage with a text prompt:
Edit images by passing it as input with an instruction:
Try MAI Image 2.6 and MAI Image 2.6 Flash in the model playground, or see the image generation guide.
— Originally published at vercel.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from Vercel AI
See more →
The Agent Stack
The Agent Stack by Vercel AI provides essential building blocks for creating production-grade agents, enabling seamless integration across multiple AI models and secure operations. It features components like AI Gateway for model routing, Workflow SDK for durable execution, and Vercel Connect for scoped access, streamlining agent development and deployment across various platforms.

