# Vercel AI Gateway adds Microsoft's MAI-Image-2.6 and MAI-Image-2.6-Flash models

published: 2026-10-13T20:06:08.123Z
topic: infrastructure
source: https://vercel.com/changelog/mai-image-2-6-and-mai-image-2-6-flash-now-available-on-ai-gateway
url: https://aiagentnews.io/stories/vercel-ai-gateway-adds-microsoft-s-mai-image-2-6-and-mai-image-2-6-flash-models

Vercel's AI Gateway now offers Microsoft's MAI-Image-2.6 and MAI-Image-2.6-Flash image models, which can generate images from text and edit existing ones. Developers can call them through the AI SDK or the AI CLI with a single Vercel API key and no separate provider account.

Both models are available on AI Gateway from Microsoft, and Vercel says they support photorealistic imagery, text rendering, and targeted edits to products, portraits, and layouts. Users can pass up to five reference images to guide edits or combine subjects, with output sizes up to 1536 × 1536.

Vercel recommends MAI-Image-2.6, using the model ID microsoft/mai-image-2.6, for final assets where image quality matters more than speed. It recommends MAI-Image-2.6-Flash, with the ID microsoft/mai-image-2.6-flash, for faster generation at a lower cost when many iterations are needed, such as exploring prompts or creating variations.

The changelog includes sample code showing image generation with generateImage from the ai package using a text prompt, and editing by passing an existing image as input along with an instruction. The models can also be tried in Vercel's model playground.

## Why it matters if you build agents

Agent builders can add Microsoft image generation and editing without signing up with a separate provider, using the same gateway key they already use for other models.

The Flash variant suits agents that run many generation attempts, while the standard model fits final outputs. Check the 1536 × 1536 size limit and the five-image reference cap before designing an image workflow around them.
