MAI-Image-2.7 Preview Prompt Generator

Generate optimized prompts for Microsoft AI's MAI-Image-2.7 and 2.7-Flash, in public preview since November 2026, or the generally available 2.6 models. Create new images or edit your own, with clear rules for text in images, portraits, product shots, multiple reference images and transparent backgrounds (2.7 models).

Current model
MAI-Image-2.7 (preview, Nov 17, 2026)
Artificial Analysis image editing
#1 on Nov 16, 2026, per Microsoft
Transparent backgrounds
Supported on 2.7 and 2.7-Flash
Variants
2.7 · 2.7-Flash · 2.6 · 2.6-Flash

Be specific: describe who/what is in the image with details

0/6

Quick Palettes

Generated Prompt

Fill in the form and click "Generate" to create an optimized MAI-Image-2.7 Preview prompt.

Tip: Be as specific as possible with your subject description. Instead of "a dog," try "a golden retriever puppy with a red bandana."

MAI-Image-2.7 Preview Tips

  • • Structure: Scene → Subject → Key Details → Composition/Camera → Lighting → Style → Constraints
  • • Anti-slop: swap "stunning/masterpiece/8K" for concrete facts ("overcast daylight", "50mm feel", "brushed aluminum")
  • • In-image text is a MAI-Image strength, and Microsoft lists better text rendering in 2.7 — quote the literal text and specify font, color, size, and placement
  • • For edits, say "Change only X, keep everything else identical" and list what to preserve — MAI-Image edits surgically
  • • Foundry edits accept up to 5 reference images — say which image supplies which element ("subject from image 1, style from image 2")
  • • For people, ask it to preserve facial identity across pose/expression/viewpoint changes
  • • No negative-prompt field — fold exclusions into plain words ("no watermark, no duplicate text")
  • • Need a transparent background? Use 2.7 or 2.7-Flash, and describe only the subject, not a scene behind it
  • • Pick a Flash model for fast, cheap drafts and a full model for final images. 2.7 goes up to 4,194,304 pixels in total (2048×2048 if square), and the 2.6 models go up to 1.5K

MAI-Image Prompt Templates

Copy-ready image briefs built around what this model actually rewards. Swap the [BRACKETED] parts for your own subject and settings, then paste straight into the tool.

Surgical Object Replacement

Editing

A MAI-Image strength: localised edits that leave the rest untouched.

In the supplied image, replace [OBJECT] with [NEW OBJECT]. Match the new object's scale, perspective, lighting direction and shadow to the existing scene exactly. Leave every other pixel of the image — background, other objects, colour grade, grain — completely unchanged.

In-Image Text Update

Editing

Changing text on a sign or label without re-rendering the image.

In the supplied image, change the text on [WHERE, e.g. the storefront sign] from its current wording to read exactly "[NEW TEXT]". Match the existing font style, weight, colour, perspective and any surface texture or wear. Leave the rest of the image untouched.

Identity-Preserving Repose

People

Facial identity preservation across pose and viewpoint changes.

Using the supplied portrait as the identity reference, generate the same person [NEW POSE / VIEWPOINT, e.g. turned three-quarters to camera right, looking slightly upward] with [NEW EXPRESSION]. Preserve their exact facial structure, skin tone, hair and distinguishing features. New setting: [SETTING]. Lighting: [LIGHTING].

Artifact Cleanup

Editing

Removing blur, noise or unwanted elements without touching the subject.

In the supplied image, remove [WHAT TO REMOVE, e.g. the motion blur on the subject / the power lines across the sky / the sensor dust spots] and reconstruct the area cleanly to match its surroundings. Preserve the subject's detail, the original lighting and the existing colour grade exactly. Do not sharpen or alter anything outside the corrected region.

Photoreal Product Scene

Product

Text-to-image generation with MAI's photorealism.

A [PRODUCT] on [SURFACE] in [SETTING]. [MATERIAL AND FINISH DETAIL]. [CAMERA ANGLE] at [HEIGHT]. Lit by [LIGHTING SETUP] with [SHADOW BEHAVIOUR]. Photorealistic rendering, accurate material response, true-to-life colour, sharp focus on [FOCAL POINT]. Output 1024x1024.

Background Replacement

Editing

Swapping the environment while keeping the subject pixel-accurate.

Replace the background of the supplied image with [NEW BACKGROUND]. Keep the subject exactly as it is — same pose, same edges, same detail. Relight only the subject's rim and edges so they sit believably in the new environment, matching [LIGHT DIRECTION AND COLOUR TEMPERATURE]. Clean cut-out with no halo or fringing.

MAI-Image Update Log

MAI-Image-2.7 & 2.7-Flash (public preview)

● LatestNovember 17, 2026
  • MAI-Image-2.7 can now create images from text as well as edit them, and it has a faster, cheaper version, MAI-Image-2.7-Flash. Both support transparent backgrounds.
  • Both are in public preview in Microsoft Foundry and through partners including fal, Genspark, OpenRouter and Vercel. You can also try them in MAI Labs, where the new Canvas workspace uses Flash.
  • Microsoft puts the cost at about $35 per 1,000 images for 2.7 and $10 for Flash, at 1024×1024.
  • Microsoft says 2.7 ranked #1 for image editing on Artificial Analysis as of November 16 (1,215 Elo), 4 points ahead of GPT Image 2.6 Sunburst (max).
  • MAI-Image-2.6 and 2.6-Flash are now generally available in Foundry, with retirement listed for May 1, 2027. Foundry listed November 24, 2026 as the retirement date for the 2.5 models.

MAI-Image-2.7 (editing preview)

October 27, 2026
  • Microsoft AI released MAI-Image-2.7 in preview as an image EDITING model, available to try in the MAI Playground, Arena and Artificial Analysis. At the time, text-to-image was "coming soon", with no API, Foundry listing or pricing.
  • Microsoft says it improves on 2.6 across all 10 use cases and all 7 editing actions evaluated by Artificial Analysis, launching at #3 on Arena Edit and #2 on the Artificial Analysis editing leaderboard.
  • Strongest at restyling and relighting whole scenes, changing in-image text and symbols, restoring and enhancing assets, and edits that depend on how objects, light and environment interact. Text-to-image followed on November 17.

MAI-Image-2.6 & 2.6-Flash

August 10, 2026
  • Announced August 10, 2026; public preview in Microsoft Foundry from September 4, 2026, and available to try in the MAI Playground.
  • +79 Elo overall and +91 Elo on text rendering versus MAI-Image-2.5; launched at #2 on the Arena text-to-image leaderboard.
  • Generation and editing with multiple reference images, web grounding (uses current web content and documents to inform visuals), dynamic aspect ratios and resolutions up to 1.5K.
  • Better portraits, 3D imagery and commercial work such as product, branding and cinematic shots.
  • MAI-Image-2.6-Flash targets production volume at less than half the price of the full model. Foundry preview pricing: 2.6 at $5 / $8 / $38 and Flash at $1.75 / $2.50 / $19 per 1M text-input / image-input / image-output tokens.

MAI-Image-2.5 & 2.5-Flash

June 2026
  • Diffusion model with a flow-matching objective for text-to-image and image-to-image editing (model version 2026-06-02).
  • Ranked #2 for image editing and #3 for text-to-image on Arena at launch; PNG output up to 1024×1024.
  • Known for surgical localized edits, facial-identity preservation and in-image text; wired into PowerPoint, OneDrive and Bing Image Creator / Copilot.

How to Use the Prompt Generator

1

Pick Mode & Describe Your Vision

Choose Generate or Edit and a model variant (full or Flash). Pick a use case (product photo, portrait, slide graphic, logo, retouch, etc.), then describe your scene and subject, set style, composition and lighting, and add any text that must appear in the image. For edits, fill in the “Preserve” field so face, layout, and brand elements stay locked.

2

Generate Your Prompt

Click Generate. The tool orders your inputs the way MAI-Image prefers, swaps vague praise for concrete visual facts, quotes in-image text with font and placement directives, and adds a “Change only X, keep everything else identical” instruction plus a preserve list when you're editing.

3

Copy & Create

Paste into Microsoft Foundry, OpenRouter or MAI Labs. For iterative edits, reuse the prompt as a base and make one small change at a time, repeating the preserve list each round to prevent drift.

Frequently Asked Questions

What is MAI-Image-2.7?

MAI-Image-2.7 is Microsoft AI's newest image model. It first appeared on October 27, 2026 as an editing-only preview. On November 17, Microsoft announced its public preview with text-to-image, along with a faster, cheaper version called MAI-Image-2.7-Flash. Both models can create and edit images and support transparent backgrounds. Microsoft lists precise editing, multi-reference editing, text in images and portraits among the strengths of 2.7.

Should I use MAI-Image-2.7 or 2.6?

Use 2.7 if you want the newest model or need a transparent background. It is still in preview, and Microsoft does not recommend preview models for production. MAI-Image-2.6 and 2.6-Flash are generally available in Microsoft Foundry, and their listed retirement date is May 1, 2027. Microsoft documents web grounding and automatic aspect ratios only for the 2.6 models. Choose your model in the Model Variant field.

What's new in MAI-Image-2.6?

Compared with MAI-Image-2.5, Microsoft reports +79 Elo overall and +91 Elo on text rendering. It adds generation and editing with multiple reference images, web grounding (it can use current web content and documents to inform an image), dynamic aspect ratios and resolutions up to 1.5K (2.5 topped out at 1024×1024). Microsoft also highlights better portraits, 3D imagery, and product, branding and cinematic shots. The Flash variant is described as production-ready quality at less than half the price.

What was MAI-Image-2.5?

MAI-Image-2.5 is Microsoft AI's in-house image model (model version 2026-06-02), built by the Microsoft AI Superintelligence team. It is a diffusion model trained with a flow-matching objective that handles both text-to-image generation and precise image-to-image editing. At launch it ranked #2 for image editing and #3 for text-to-image on the Arena (LMArena) leaderboards — ahead of Imagen Ultra 4.0, FLUX-2-max, and Seedream-4.5, and behind OpenAI's gpt-image-2 and Google's nano-banana-2. A cheaper, faster MAI-Image-2.5-Flash variant launched alongside it.

How does this prompt generator work?

You fill in structured inputs — scene, subject, style, composition, lighting, intended use, mode, and constraints. Our AI assembles them into MAI-Image's preferred order (Scene → Subject → Details → Composition/Camera → Lighting → Style → Constraints), strips out vague "slop" words in favor of concrete visual facts, formats in-image text correctly, and adds a preserve list when you're editing — so the prompt drops straight into Foundry, MAI Labs, or other MAI-Image surfaces.

What is MAI-Image best at?

Three things stand out: (1) surgical localized editing — replacing an object, updating in-image text, removing motion blur, or inpainting without changing the rest of the image; (2) facial-identity preservation — keeping a person recognizable across pose, expression, and viewpoint changes; and (3) photorealism with accurate in-image text rendering. That makes it strong for branding, product shots, portraits, presentations, and retouching existing images.

What is the difference between Generate and Edit mode?

Generate creates a brand-new image from a text description. Edit modifies an existing image you upload — write the instruction as "Change only X, keep everything else identical," then list what to preserve (face, layout, lighting, brand text). MAI-Image is specifically tuned for these targeted, surgical edits, and Foundry edits accept up to 5 reference images, so being explicit about what stays the same gives the cleanest results.

How good is text rendering in MAI-Image?

Text in images is one of its core strengths. Microsoft reported a +91 Elo gain for 2.6 over 2.5, and lists improved text rendering for 2.7. To get the best results, put the exact text in double quotes, specify the font style, weight, color, and size, and state where it should sit in the frame. Keep the text short and spell unusual brand names out letter-by-letter. This is why it is wired into PowerPoint — it can render readable headlines and labels directly inside a generated graphic.

Where can I use the prompts?

MAI-Image-2.7 and 2.7-Flash are in public preview in Microsoft Foundry and through partners including fal, Genspark, OpenRouter (microsoft/mai-image-2.7 and microsoft/mai-image-2.7-flash) and Vercel. You can also try them in MAI Labs. MAI-Image-2.6 and 2.6-Flash are generally available in Foundry and are also on OpenRouter. The Foundry API uses /mai/v1/images/generations for new images and /mai/v1/images/edits for edits. These prompts also work well with other image models because they use clear, specific language.

How much does MAI-Image cost?

Microsoft puts MAI-Image-2.7 at about $35 per 1,000 images and 2.7-Flash at about $10, at 1024×1024. During its Foundry preview, MAI-Image-2.6 cost $5 per 1M text-input tokens, $8 per 1M image-input tokens and $38 per 1M image-output tokens, and 2.6-Flash cost $1.75 / $2.50 / $19. Those prices may have changed since 2.6 became generally available, so check Foundry for current rates. (This prompt generator itself is free.)

Does MAI-Image support negative prompts, and what size are the images?

There is no separate negative-prompt parameter — phrase exclusions in plain language inside the prompt ("no watermark, no duplicate text, no extra fingers"), which our generator does for you. MAI-Image-2.7 makes images of up to 4,194,304 pixels in total, which is 2048×2048 for a square image; one side can be longer if the total stays within that limit. MAI-Image-2.6 supports dynamic aspect ratios and up to 2,359,296 pixels in total, which is 1536×1536 for a square image. Foundry returns PNG files.

Is this tool free to use?

Yes. You get 1 free prompt generation per day with no signup required. For unlimited access, sign up for a Promptslove membership which includes all AI tools and 29,000+ premium prompts.

Want Unlimited AI Prompt Generation?

Get unlimited access to all AI tools, 29,000+ premium prompts, courses, and resources designed to maximize your creative output.