Notice: Black Friday 2026 × Cyber Monday: Get up to 30% extra on top-ups, DeepSeek free to use · View the promotion
21:9 widescreen Hero image: soft-lit empty space on the left, a floating semi-transparent glass image card and prismatic light bands on the right, in ice blue, coral pink and warm gold gradients, engraved with the glowing text mai-image-2.7.

Microsoft

MAI Image 2.7

mai-image-2.7/edit

The precision-focused tier in Microsoft's MAI image series, supporting text-to-image and image-to-image editing, capable of object removal and replacement, inpainting, and enhancement, accepting up to 5 reference images per request for multi-image fusion, and maintaining stable composition across multiple editing rounds

Try mai-image-2.7/edit

Input

Output

image
Fill in the parameters and run — results show up here.

Pricing

mai-image-2.7/edit per image

Specifications Unit Price
1K $0.0621
2K $0.2481

Positioning overview

This is an image-to-image model for image editing: it accepts one or more reference images plus a text prompt and outputs a static image that has been partially modified, replaced, or enhanced. It supports object removal, attribute adjustments, local repainting, and multi-reference fusion while preserving the overall composition and layout, and it lets you specify the aspect ratio, output resolution, and image format. It suits designers and e-commerce and advertising asset production teams who delegate retouching, compositing, and style-adjustment tasks to the model, then confirm the details manually.

Key highlights

  • Local edits keep the composition stable — object removal, replacement, and attribute modification are supported, and the original layout and spatial positions are preserved as far as possible during editing, reducing rework caused by recomposition.
  • Fuse up to five reference images in a single pass — a single request can take up to 5 images, used to combine people, products, styles, or scenes, with the prompt describing how they should be fused and the intended result.
  • Controllable output specifications — choose 1K or 2K resolution, seven aspect ratios, and PNG, JPEG, or WebP format, with an opaque or transparent background, making it easy to fit into different asset workflows.
  • Suited to multi-round refinement edits — maintains strong visual consistency across successive editing rounds, making it suitable for gradually adjusting image details, text, and local effects.

Capabilities

  • Reference-image-driven local editing: input at least 1 and at most 5 reference images plus a prompt to remove, replace, modify the attributes of, or locally repaint a specified region, outputting a static image whose overall composition stays stable.
  • Multi-reference fusion: a single request can carry up to 5 reference images to combine people, products, styles, or scenes into one image, with the prompt describing the role of each reference image and the intended result.
  • Resolution and aspect ratio selection: output resolution can be 1K or 2K; seven aspect ratios are offered in landscape and portrait versions of square, 4:3, 3:2, and 16:9, so you get an image at the size matching your target layout.
  • Output format and background control: output format can be PNG, JPEG, or WebP, and the background can be opaque or transparent, convenient for direct use on web pages, in print, or in design assets that need a transparent base layer.
  • Multi-round iterative editing: maintains image consistency across successive edits, letting you progressively adjust objects, text, and local effects around the same reference image, which suits incremental revisions of a design draft.

Applicable scenarios

  • Local optimization of e-commerce product images — operations staff upload a product image and a simple scene reference image, use a prompt to replace the background or remove clutter, and output a 1K or 2K image that can go directly into product detail pages and ad slots.
  • Multi-image compositing of advertising assets — a design team inputs a product image, a person image, and a style reference image, has the model fuse the elements into a single key visual, and outputs static assets for posters, banners, and social media.
  • Multi-round fine-tuning of design drafts — a designer uses the first draft as a reference image and submits prompts repeatedly to adjust local colors, text, or object positions, outputting images that progressively approach the target effect for review and finalization.
  • Repair and enhancement of old assets — content creators upload old images that lack sharpness or need relighting or restyling, describe the desired effect in a prompt, and obtain enhanced images for republishing or redesign.

Limitations and selection advice

Output resolution is capped at 2K, with no 4K option; if you need a 4K final asset, use another model that supports 4K output. A single editing request can carry at most 5 reference images, so more sources cannot be fused in one request. Prompts are limited to 20,000 characters, and input images must use HTTPS links. Output is a static image; no video or audio is generated. Although multi-round editing maintains strong consistency, it does not guarantee fully identical characters or exact reproduction of the image, so details still need human verification before delivery.

  • New model New model now available: mai-image-2.7/flash/edit
  • New model New model launched: mai-image-2.7/flash/text-to-image
  • New model New model released: mai-image-2.7/edit

Frequently asked questions

View all FAQs →
  • What editing operations can this model perform?

    It supports object removal, object replacement, attribute modification, local inpainting, and image enhancement, while keeping the composition and layout stable across multiple consecutive edits. When making these edits, write what to change and what to keep into the prompt, and leave the rest for the model to infer from the visual context.

  • What is the maximum number of reference images I can pass in a single request?

    Up to 5 images, at least 1, passed in via the image_urls array. For multi-reference fusion, pass the person, product, style, and scene each as separate reference images, and state in the prompt what role each image plays; the model will fuse them according to the visual context.

  • What is the maximum output resolution?

    Maximum 2K; no 4K option is offered. resolution accepts 1K or 2K, defaulting to 1K; if 4K output is required, you need to switch to another model that supports 4K.

  • How can I write prompts for better editing results?

    Organize the prompt in this order: first anchor what to keep, then write the changes, and finally write the blending requirements: ① Clearly state the composition, subject, lighting, and layout to preserve; ② Specify the exact objects to remove, replace, or modify and their target state; ③ Explain how the new elements should blend with the scene in terms of lighting, scale, and position. This model reasons from visual context when a prompt is ambiguous, so spelling out the constraints in full is more effective than piling on adjectives.

Related Models

View all models →

Same Type