Using MAI-Image-2 on Microsoft Foundry

Implementation guide · MAI · Microsoft AI

Serverless

Microsoft Foundry exposes MAI-Image-2 through model ID mai-image-2. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.

Last refreshed 2026-06-15. Next refresh: weekly.

Quick Start

  1. 1
    Create an account at Microsoft Foundry and generate an API key.
  2. 2
    Use the Microsoft Foundry SDK or REST API to call mai-image-2 — see the documentation for request format.
  3. 3
    You'll be billed $5.00/1M input, $33.00/1M output tokens. See full pricing.

Code Examples

See Microsoft Foundry documentation for integration details.

Pricing on Microsoft Foundry

TypePrice (per 1M)
Input tokens$5.00
Output tokens$33.00

Capabilities

VisionMultimodal

About MAI-Image-2

Microsoft AI second-generation image generation model. 2x faster than its predecessor, with improved handling of natural lighting, diverse skin tones, and in-image text. Ranked top-3 on Arena.ai leaderboard at launch. Available via MAI Playground and Microsoft Foundry API; rolling out to Copilot and Bing Image Creator. Official announcement: march 19, 2026.

Model Specs

Released2026-03-19
ArchitectureDiffusion

Provider

Microsoft Foundry

Microsoft

Redmond, Washington, United States