Skip to content
MAI Image 2.7 logo

MAI Image 2.7: Text-to-image generation and editing model by Microsoft AI

Microsoft AI

Key facts · verified Nov 30, 2026

MAI Image 2.7 is a Microsoft AI image generation model released on 17 Nov 2026. Pricing: ~$35 per 1,000 images (Microsoft Foundry, public preview). It ranks #5 on LMArena's text-to-image leaderboard (Elo 1378, read 1 Dec 2026). Source: microsoft.ai.

[MAI Image models](https://learn.microsoft.com/en-us/azure/foundry/foundry-models/how-to/use-foundry-models-mai-image) are a family of image models developed by Microsoft AI that deliver text-to-image generation and image-to-image edits. MAI-Image-2.7 supports transparent background generation. MAI Image 2.7 costs about $35 per 1,000 images, while the Flash variant costs about $10 per 1,000 images, according to Microsoft.

Pricing & specs checkedSource: vendor documentation · checked Nov 30, 2026LMArena: 1378 Elo (rank 5) · source · retrieved Dec 1, 2026
Pricing

~$35 per 1,000 images (Microsoft Foundry, public preview)

Context

Not published

LMArena Elo

1378

LMArena rank

#5

Key Features

Image Generation

Overview and Model Variants

MAI Image 2.7 is an image generation and editing model developed by Microsoft AI and hosted on Microsoft Foundry sold through Azure. The model belongs to the MAI Image family of diffusion-based generative models. MAI Image 2.7 is offered in two preview variants: MAI-Image-2.7 and MAI-Image-2.7-Flash. Both variants use model version 2026-11-02 and support Global Standard deployment. The Flash variant provides the same image generation and editing capabilities as the standard MAI-Image-2.7 model but is offered as a faster, lower-cost option. Both variants support text-to-image generation as well as image-to-image editing capabilities through dedicated API endpoints.

Core Capabilities and Features

MAI Image 2.7 uses a diffusion-based process to refine images progressively based on natural language prompts. Key capabilities include precise image editing, multi-reference image processing, high-fidelity portrait creation, photorealistic image synthesis, commercial design generation, and accurate text rendering on items like labels, packaging, and signage. The model applies visual reasoning across scene structure, lighting, object scale, and spatial positioning to create coherent visual outputs. MAI Image 2.7 introduces support for generating images with transparent backgrounds, making it suitable for creating logos, icons, product visual assets, and design components intended to overlay other content.

Deployment and Authentication

Deployment of MAI Image 2.7 can be managed using the Microsoft Foundry portal or through the Azure Command Line Interface using the cognitiveservices account deployment create command. To deploy the model, users require an Azure subscription, permissions to manage Microsoft Foundry resources in a supported region, and the Cognitive Services Contributor role on the Azure AI Foundry resource. When using the command line interface, deployments specify the model format as Microsoft, the model version as 2026-11-02, and the SKU name as GlobalStandard. Authentication to the model endpoints is supported using either Microsoft Entra ID bearer tokens or Azure API keys.

Text-to-Image Generation and Editing APIs

Microsoft Foundry provides two dedicated REST API endpoints for MAI Image 2.7. Text-to-image generation uses an endpoint ending in images generations. Image-to-image editing uses an endpoint ending in images edits. The image editing API accepts multipart form data and can ingest up to five JPEG or PNG reference images submitted simultaneously by repeating the image form field. The editing workflow allows users to remove objects, replace elements, alter attributes, perform inpainting, update text, and clean up visual artifacts while keeping existing scene composition and layout intact.

Request Parameters and Safety Guidelines

Requests to both generation and editing APIs require a model deployment name and a text prompt. The maximum prompt context length supported by MAI Image 2.7 is 32,000 tokens. For text-to-image requests, users can optionally specify pixel dimensions for width and height. For image editing requests, at least one reference image file must be provided. Responses return a JSON object containing base64-encoded PNG image data inside a data array. Photorealistic image edits involving minors are restricted by default, though enterprise-tier customers receive automatic approval upon requesting access to that feature.

Key Takeaways

  • MAI Image 2.7 is a diffusion-based model family developed by Microsoft AI for text-to-image generation and image-to-image editing in Microsoft Foundry.
  • The model supports generating output images with transparent backgrounds for asset design and commercial use cases.
  • MAI Image 2.7 accepts text prompts up to 32,000 tokens in length and up to five JPEG or PNG reference images for image editing tasks.
  • Deployments can be authenticated using API keys or Microsoft Entra ID tokens and managed via the Azure CLI or Microsoft Foundry portal.

Official Resources

Full Specifications

~$35 per 1,000 images (Microsoft Foundry, public preview)
Identity
DeveloperMicrosoft AI
ReleasedNov 2026
StatusPublic preview on Microsoft Foundry since 17 November 2026
Cost
Price per image~$0.035 (about $35 per 1,000 images)
Capability
Image-to-imageYes — edits an object’s colour, material or position, consistent across successive edits
Access
APIYes — Microsoft Foundry (public preview); also via fal, Genspark, OpenRouter and Vercel
Measured quality
LMArena Elo1378 (checked Dec 2026)
LMArena rankRank 5