Give it a prompt, or a prompt and up to five images; get one PNG. Two tiers: 2.7 ($0.044 list, $0.05 billed per 1K image in the test) and 2.7 Flash ($0.0132 list, $0.02 billed). In a test of 113 image models (2026-12-04; two runs on the text, count and sign-edit probes, one on the rest, judged by eye), both tiers spelled all three lines of a poster exactly on both runs, got all five relations in a spatial scene, and drew natural skin. 2.7 was one of the few that kept a man's face "the same" when composing him with a product and a set from three references. Counts were right on one run of two on both tiers. Every edit redrew the whole picture: the sign text came out exact, but the frame zoomed in, cropped the window lettering on one run, and garbled the small CLOSED sign on the door. Pick Flash for drafts and posters; 2.7 when a face must hold in a composite.
Use instead: qwen-image-3-make-and-edit-images or minimax-h3-make-and-edit-images
when an edit must keep the frame; wan-2-7-make-and-edit-images for exact counts at a
similar price; nano-banana-targeted-fix for a local fix. To compare every model, see
guide-choose-an-image-model.
Run it
Call describe on the model before the first run in a job, and run(..., estimate: true)
to see the price.
run("fal/microsoft/mai-image-2.7/text-to-image", {
"prompt": "<prompt, see below>",
"image_size": "portrait_4_3",
"resolution": "1K"
}, into="<job>/stills", unit="poster_mai", tag="poster")
run("fal/microsoft/mai-image-2.7/edit", {
"prompt": "<edit prompt, see below>",
"image_urls": ["<job>/refs/man.png", "<job>/refs/can.png", "<job>/refs/cafe.png"],
"image_size": "landscape_16_9"
}, into="<job>/stills", unit="composite_mai", tag="composite")
Flash takes the same fields at fal/microsoft/mai-image-2.7/flash/text-to-image and
fal/microsoft/mai-image-2.7/flash/edit.
image_size:square_hd(the default for text-to-image),portrait_4_3,landscape_4_3,portrait_3_2,landscape_3_2,portrait_16_9,landscape_16_9, or{width, height}of exactly 1,048,576 or 4,194,304 px (sides at least 768, multiples of 16).- Edits need
image_size. Without it the estimate is refused. The test set it to match the source (landscape_16_9for a 16:9 photo). resolution:1K(default) or2K. 2K costs $0.1595 on 2.7 and $0.0473 on Flash (list). It is ignored for a custom{width, height}.- Edits bill the input images. 2.7 edit billed $0.09 with one input and $0.16 with three; Flash edit $0.03 and $0.05. Text-to-image billed $0.05 and $0.02.
image_urls: required on edits, at most 5.- No seed, no
num_images, nonegative_prompt, no rewrite switch. Runs differ by sampling alone; make each take its own call. background: "transparent"(withpngorwebp) andoutput_format(pngdefault,jpeg,webp) exist. Transparency was not tested.- Prompt up to 20,000 characters.
Prompt
Microsoft's MAI Image guidance (Foundry forgebook and Microsoft Learn, checked 2026-12-04): put the subject first, then comma-separated cues for style, lighting, camera and composition. Wrap any literal text in double quotes. The vendor says the Flash/efficient variants handle short text only. There is no vendor guidance for editing: the test named each input by its number ("image 1", "image 2") with its role, then "Do not change anything else", and that held.
The poster probe, as sent (portrait_4_3):
A vintage-style bakery poster, portrait format. Flat dark green background (color #1F3D2B) with a thin cream border. Cream lettering (color #F3E9D2), centred. Headline at the top in large bold vintage serif capitals reads exactly "MAPLE & RYE BAKERY". Below it, a smaller subhead in spaced sans-serif capitals reads exactly "FRESH BREAD DAILY". At the bottom, a small footer in the same cream reads exactly "Open 7am–3pm". A simple cream line illustration of a round loaf of bread between the subhead and the footer. No other text, letters or numbers anywhere.
The three-reference composite, as sent (image_urls man, can, café, in that order):
Image 1: subject (the bearded man: face, beard, dark sweater). Image 2: product (the matte black can labelled "NORTHWIND COLD BREW"). Image 3: setting (the café table by the rainy window).
Create a photorealistic photo: the man from image 1 sits at the table from image 3, holding the can from image 2 at chest height with its label facing the camera. Preserve his face, beard and skin tone exactly as in image 1. Preserve the can's shape, finish and label text exactly as in image 2: "NORTHWIND COLD BREW". Eye-level shot across the table, soft rainy daylight from the window. No other text, no logos.
What held, and what didn't:
- Text: all three poster lines exact on both runs, both tiers, en dash included.
- "Simple line illustration" was ignored: 2.7 drew a shaded loaf with ornamental rules; Flash added flourishes and wheat sprigs. Write "outline only, no fill or shading" when it matters.
- Counts: "exactly three red apples and exactly two green pears" was right on one run of two on each tier; the miss was four apples both times.
- Spatial: all five relations right on both tiers (cube on sphere, cone to its right, cat under the table).
- Skin: natural, light from the left as asked, age right. Both tiers put real brand names on book spines in the blurred background.
- Sign edit: "MAPLE & OAK BAKERY" exact on both runs, both tiers, but the frame was redrawn and zoomed (see Tips and traps).
- Remove and add: the man removed cleanly and one bike placed left of the door on both tiers. 2.7's bike was dark red; Flash added a car and put a basket on the bike.
- Composite: all three references held and the label was exact on both tiers. 2.7's face read "same", Flash's "close". Each added props (a coffee cup; a phone and saucer).
- Claymation restyle: only partly clay on both (the face stays photographic), and the backdrop came out mid-grey, not the light grey asked.
What you get
One PNG per call. At 1K: portrait_4_3 returned 768×1024, square_hd 1024×1024,
landscape_16_9 1360×768. Flash edit at portrait_4_3 returned 880×1184. An edit of a
1920×1080 source at landscape_16_9 returned 1360×768, so the edit is smaller than its
source at 1K.
Examples
Test images from the prompts above.
Man, can and café composed from three reference photos (2.7: face and label kept).
Three-line bakery poster (2.7: all three lines exact).
Street photo edited: the sign now reads MAPLE & OAK BAKERY (2.7: zoomed in, BREAD cropped).
Tips and traps
- Edits redraw the frame. Both runs of the sign edit came back zoomed in; on one, the window's "BREAD" was cropped off. The CLOSED sign on the door was garbled every time, and Flash gave the passer-by glasses on one run. Don't use it where the rest of the picture must survive.
- Price an edit with all its inputs: three references cost nearly twice one.
- Background brands: both tiers wrote real magazine and fashion brand names on book spines in a portrait. Ask for "plain unlabeled book spines" or a plain background when the still is for a client.
- No seed: to compare takes, make two calls and keep both files.
- Leaving
resolutionout bills 1K; 2K costs about 3.6× as much on both tiers.
Check it
- Text: read every line at 3× zoom, the dash and the ampersand included.
- Counts: count each kind of object by eye against the prompt.
- Edits: put the source and the edit side by side with
python-contact-sheet(imagesmode) and check the framing, every other sign and the people; the small lettering is what goes first. - Composite: compare the face with image 1 and read the label letter for letter.


