Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now

MAI Image 2.7 Flash Edit

MAI Image 2.7 Flash Edit by Microsoft edits images from a text instruction, combining up to five reference images.
API docs
microsoft/mai-image-2.7-flash/edit

MAI Image 2.7 Flash Edit by Microsoft edits images from a text instruction, combining up to five reference images.

Try the model

Playground

Open playground
Input

PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 5

Images to edit or use as references, 1 to 5 files or URLs.
Instruction describing the edit.
Output shape. Leave unset to stay close to the input image.
Advanced settings
transparent returns an alpha channel (png or webp output).
Image file format.
Result
Example
  1. e85b9bb1-f26d-4fa2-98cd-bfbc78a132e0.png

    What would you like to do next?

    Open original

Saved example result. No new generation was requested.

Displayed run estimate: $0.025. Final charges follow the model’s billing rules below.

MAI Image 2.7 Flash Edit

MAI Image 2.7 Flash Edit changes one or more input images from a text instruction. Up to five images can be combined as references.

Fields

FieldTypeDefaultNotes
imagesimage files or URLs, required—1 to 5 images.
promptstring, required—The edit to make.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16—Unset keeps a size close to the input.
backgroundopaque / transparentopaquetransparent needs png or webp.
output_formatpng / jpeg / webppngFile format.

Billing

$0.025 per image with one input image, plus $0.003 for each additional input image.

Input imagesPrice
1$0.025
5$0.037
Failed runs are not charged.

Also on SandBase

Related: microsoft/mai-image-2.7-flash, microsoft/mai-image-2.5/edit.