🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

MAI Image 2.7 Edit: AI Image Editor

MAI Image 2.7 Edit API: Microsoft's frontier-quality image editing with accurate text, 2K output and transparent backgrounds. Pay per image, no subscription.

Interactive model controls

Edit or combine up to 5 reference images with Microsoft MAI Image 2.7 using natural language instructions. Supports 1K/2K or custom sizes and transparent backgrounds.

📝

Overview

About this model

MAI Image 2.7 Edit is Microsoft's standard-tier MAI Image 2.7 model, here for editing and combining 1-5 reference images from a text instruction. It follows long prompts closely (up to 32,000 characters), renders quoted text accurately, outputs 1K (about 1 megapixel) or 2K (about 4 megapixels) at seven aspect ratios or a custom WIDTHxHEIGHT, and can produce transparent PNG/WebP assets.

1Marketing: Posters, ads and social graphics with accurate on-image headlines.
2Design: Logos, stickers and cut-out assets with transparent backgrounds.
3E-commerce: Product scenes and restyled photography. Combine up to 5 reference images into one result.
4Content: Editorial art, thumbnails and cover images at scale.
💰

Pricing & Value

Cost analysis

muapiapp$0.035 per image + $0.008 per reference image

Flat across 1K and 2K. Each reference image adds $0.008.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Edit instruction describing the change (1-32,000 characters). Use several images to combine them into one.

Default ValueTurn this photo into a warm watercolor illustration while keeping the composition and the people's faces recognisable
Image URLsarray

1-5 public JPEG/PNG/WebP image URLs. One image is edited; two or more are combined. References are used at up to about 1 megapixel.

Default Valuehttps://d3adwkbyhxyrtq.cloudfront.net/webassets/videomodels/kling-o3-image-edit-in.jpg
Sizestring

Aspect ratio (1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16) or a custom WIDTHxHEIGHT such as 2048x2048. Custom sizes need both sides divisible by 16, each at least 768, and at most 4,194,304 total pixels. Leave empty to follow the first reference image's aspect ratio.

Default Value-
ResolutionEnum (2 options)

1K is about 1 megapixel, 2K about 4 megapixels. Applies to aspect-ratio sizes only.

Default Value1K
BackgroundEnum (2 options)

Use transparent for cut-out assets (needs png or webp output).

Default Valueopaque
Output FormatEnum (3 options)

Output image format.

Default Valuepng
📖

Implementation Guide

Developer documentation

How to Use MAI Image 2.7 Edit

  1. Write your prompt: Describe the subject, style and lighting. Put any text that must appear in the image in quotes.
  2. Add reference images: Send 1-5 public JPEG, PNG or WebP URLs in images_list. One image is edited; two or more are combined.
  3. Pick size (optional): Leave size empty to follow the first reference image, or set an aspect ratio or a custom WIDTHxHEIGHT.
  4. Submit: Send the request and poll for the result, or pass a webhook query parameter.
curl -X POST https://api.muapi.ai/api/v1/mai-image-2.7-image-edit \
  -H "x-api-key: $MUAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Turn this photo into a watercolor illustration", "images_list": ["https://example.com/photo.jpg"]}'
❓

Common Questions

Frequently asked

What does it cost?

$0.035 per image plus $0.008 per reference image. Pricing is flat across 1K and 2K and across sizes.

How do I get a transparent background?

Set `background` to `transparent` and use `png` or `webp` as `output_format`.

What custom sizes are allowed?

Both sides must be divisible by 16, each at least 768, and the total at most 4,194,304 pixels (for example 2048x2048 or 3072x1344).

How many images per request?

One image per request, in the format set by `output_format`.

How many reference images can I use?

Between 1 and 5. A single image is edited; two or more are combined into one result. References are used at up to about 1 megapixel.