Skip to main content

Edit or composite one to five source images with Microsoft MAI-Image-2.7 while preserving facial identity, proportions, and scene lighting.

From $0.052/image

Workbench

Input

Image editing
175/10000

Reordering updates prompt references. Removing media also removes its references; review your prompt.

State which elements to preserve and refer to multiple uploads naturally ('the first photo', 'the second photo'). at least 1 characters · at most 10000 characters
affects price1/5

Drop files or media links, paste, or browse · Up to 5 files · Max 10 MB · JPG · PNG · WEBP · GIF

  • image 1
1 / 5 files
Upload 1 to 5 source images; each additional reference adds the per-input fee to the base output price. at least 1 items · at most 5 items
Safety checkerOff

SpicyAPI does not run a safety checker on this model. Your prompt and media go to the model as written, and the model itself decides what comes back.

Checking your account before enabling submission and pricing.

Output

Ready for a new run
burnt-orange-trench-editExample result

Missing the model you need?

MICROSOFT · MAI-IMAGE-2.7

MAI-Image-2.7 API at a glance

Precision 2K image generation and multi-image editing with tight subject fidelity.

Output ceiling
2K
Select 1k or 2k on text-to-image across eleven aspect ratios, including ultrawide 21:9 and banner 4:1.
Edit inputs
5 refs
Pass one to five photos to re-dress subjects, swap locations, or composite people into a target scene.
Content policy
Filtered
Microsoft enforces strict safety screening; all five adult-content ladder rungs were refused at zero charge.

Results

What you can make with MAI-Image-2.7

  • 1K 4:3 still life (1152 x 864) showing cobalt glass reflections and engraved MORNING ROAST brass plaque.

    High identity retention in edits

    In our single-photo and two-photo tests, MAI-Image-2.7 kept the woman's facial structure, expression, and studio proportions stable while changing garments and stage lighting.

    1K 4:3 still life (1152 x 864) showing cobalt glass reflections and engraved MORNING ROAST brass plaque.

  • 2K 16:9 architectural render (2720 x 1536) of a glass-and-timber lakeside library at sunrise.

    Eleven preset aspect ratios

    Text-to-image spans standard portrait, square, 16:9 widescreen, 21:9 cinema, and extreme 4:1 or 1:4 banner proportions.

    2K 16:9 architectural render (2720 x 1536) of a glass-and-timber lakeside library at sunrise.

  • Single-image edit (836 x 1254) replacing studio attire with a burnt-orange wool trench coat and warm rim light.

    Per-input transparent edit billing

    Edit requests bill a fixed output base plus a small per-input charge for each reference photo from one through five.

    Single-image edit (836 x 1254) replacing studio attire with a burnt-orange wool trench coat and warm rim light.

Content test

Is MAI-Image-2.7 uncensored? What we tested

Content levels tested on MAI-Image-2.7, by mode
LevelText to imageImage editing
Mild
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
Moderate
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
Strong
RefusedTested Nov 25, 2026
RefusedTested Nov 25, 2026
Very strong
RefusedTested Nov 25, 2026
Not tested yet
Maximum
RefusedTested Nov 25, 2026
Not tested yet
How we test

How each mode behaves

All modes
Microsoft filters suggestive and adult content strictly; blocked requests fail as content_rejected with full refund and zero charge.
Text to image
MAI-Image-2.7 may invent short secondary slogans on signage or book spines unless the prompt explicitly forbids extra lettering.
Image editing
Edit accepts one to five input images and does not expose aspect_ratio or resolution overrides; output dimensions follow the primary input image.

Use cases

What to build with the MAI-Image-2.7 API

  • Wardrobe and lighting restyling

    Swap a studio jacket for a tailored burnt-orange wool trench coat while preserving the subject's exact face, posture, and grey studio backdrop.

  • Two-photo scene compositing

    Combine a dark concert stage photo and a separate portrait so the subject appears behind the vintage microphone under matching amber stage spotlights.

  • Widescreen architectural visualization

    Render 2K 16:9 exteriors such as a Nordic timber library overlooking misty fjord water at dawn with glowing interior pendants.

  • Editorial tabletop and menu stills

    Compose travertine stone, colored glass, and engraved brass signage in 4:3 with crisp sunlit shadows for food and hospitality concepts.

Prompts

MAI-Image-2.7 prompt examples you can copy

  • Text to image

    Cobalt espresso cup and brass card

    Editorial studio still life of a cobalt glass espresso cup on travertine marble beside a brass menu card reading 'MORNING ROAST', crisp sunlit shadows, 50mm lens.

    Why it works. Pairs tactile materials with a quoted two-word heading so lighting and reflections stay physically consistent across glass and brushed brass.

    Try this prompt
  • Text to image

    Nordic timber library at dawn (2K)

    Wide architectural photograph of a Nordic timber library overlooking calm misty fjord water at dawn, warm interior pendant lamps glowing through tall glass.

    Why it works. Uses 16:9 at 2k to separate cool exterior dawn mist from warm interior timber lighting across a 2720 x 1536 frame.

    Try this prompt
  • Image editing

    Tailored trench coat wardrobe swap

    Keep the woman's exact face, pose, and studio backdrop from image 1, replace her jacket with a tailored burnt-orange wool trench coat and add warm late-afternoon rim lighting.

    Why it works. Locks face, pose, and backdrop explicitly before requesting the garment material and directional rim light.

    Try this prompt
  • Image editing

    Two-photo velvet stage composite

    Keep the stage, microphone, and spotlight atmosphere from image 1, and place the woman from image 2 as the lead singer wearing a burgundy velvet gown.

    Why it works. Assigns the environment to the first upload and the performer identity to the second upload in plain English.

    Try this prompt

Pricing

MAI-Image-2.7 API pricing

One image starts at $0.052.

Get started

How to use the MAI-Image-2.7 API in three steps

  1. Step 1

    Pick generation or multi-image editing

    Send text-to-image with a written brief when starting from a blank canvas, or send edit with one to five source URLs when an existing portrait or scene must anchor the result.

  2. Step 2

    Specify layout, materials, and exact words

    State subject, material finish, lighting direction, and any quoted sign copy upfront. When you want no extra slogans or book titles added to props, say so directly.

  3. Step 3

    Choose resolution and framing for generation

    Pick 1k for quick proofs or 2k for high-detail scenes like 2720 x 1536 widescreen architecture. On edit requests, the canvas follows your source photo automatically.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

FAQ

MAI-Image-2.7 API FAQ

About MAI-Image-2.7

Run MAI-Image-2.7 through the API or Playground when you need clean 2K compositions and tightly anchored multi-image edits.

All MAI-Image-2.7 models2

Related models and next tasks