Microsoft | MAI-Image-2.7 | Image to Image.

  • microsoft
  • Image to Image
  • $0.045–$0.322 per image, depending on aspect ratio and input images

MAI-Image-2.7 Image to Image edits up to five reference images from text instructions to create product mockups, campaign visuals, and new compositions.

View API docs

What Microsoft | MAI-Image-2.7 | Image to Image is good at.

  • Best for

    Place a supplied product in a new setting to preview campaign directions.

    Keep a copy of the approved product reference and compare its silhouette, color, and label with the result before moving to layout.

  • Limits and tips

    Getting good results

    Order the instruction with what to keep first, what to change second, and how the final frame should look last. With multiple references, assign each one a…

  • Related model

    Bria | RMBG 3.0

    Run it on the same input to compare output, speed and price.

    View model

Model documentation

About this model

MAI-Image-2.7 Image to Image edits up to five reference images from text instructions to create product mockups, campaign visuals, and new compositions.

Overview

MAI-Image-2.7 Image to Image Overview

MAI-Image-2.7 Image to Image turns written edits and one to five reference images into a new image. This is Microsoft’s flagship variant, intended for work where prompt adherence and visual detail matter. On each::labs, the MAI-Image-2.7 Image to Image API lets you choose a fixed aspect ratio or let the model select one. Start with a reference that shows the main subject clearly. State which parts must remain, then describe replacements or additions. If you supply several images, say what each one contributes: the first may define the product while the second guides the setting. An edited image is a new interpretation of the source, not a guaranteed pixel-for-pixel change. Compare it with the original before sharing it, particularly when a package label or a recognizable shape matters.

Capabilities

Capabilities

  • Edit an existing image from a text instruction
  • Guide a new composition with one to five references
  • Request background replacement, reframing, or changes to lighting
  • Choose a fixed aspect ratio or use automatic framing
  • Request an opaque or transparent background
  • Return generated results as an array of images

Use cases

Use Cases for MAI-Image-2.7 Image to Image

Product photography

Place a supplied product in a new setting to preview campaign directions. Keep a copy of the approved product reference and compare its silhouette, color, and label with the result before moving to layout.

Campaign adaptations

Rework an existing creative for a different placement. Ask for the same subject and specify the new framing or background, then check that the crop still leaves room for the headline and call to action.

Composite mockups

Supply a subject image and a separate scene reference. Describe which image contributes each element and how they should relate in the final composition. Review the first result before adding more references or changes. Leave enough separation between objects to check the result at thumbnail size.

Tips & tricks

Tips and Tricks

Order the instruction with what to keep first, what to change second, and how the final frame should look last. With multiple references, assign each one a role using its order in the input. Run a focused edit first; if it gets the main change right, build on that result with another instruction. Review the image before changing several instructions at once. A stable prompt makes it easier to see whether the adjustment improved the intended part of the image. Keep the prompt short enough to isolate the change.

  • Keep the kettle, handle, and lid from the reference. Replace the background with a warm gray studio wall and add a soft shadow beneath the kettle.
  • Keep the bottle from image one. Use image two as a guide for the stone counter and window lighting. Leave open space on the right for a headline.

Technical spec

Technical Specifications

The required inputs are a prompt of up to 12,000 characters and an array of one to five reference image URLs. Use reachable URLs rather than local paths. The optional aspect ratio supports 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, and auto; the default is 1:1. Background treatment can be opaque or transparent. Leave it unset for the model default. Results are returned as an array of images. Aspect ratio affects pricing, and reference count and resolution can also affect the price of an edit. The image array is the output to pass to the next step in a workflow.

Things to be aware of

Things to Be Aware Of

Check that every reference URL is accessible for the run and that you have permission to submit the material. If an edit looks too different from the source, reduce the number of changes and give the model a clearer source image. Automatic framing may choose a larger image and increase the charge. Before using transparency for production artwork, inspect the edges over the intended background. For final delivery, check the composition at its actual placement size rather than relying only on the preview. Inspect any small details that are easy to miss in a preview.

Key considerations

Key Considerations

Decide what the reference must preserve before you write the edit. If two source images conflict, say which image controls the subject and which controls the new setting. The standard variant is a starting point when detail is a priority. Use a fixed ratio when the design must fit a known frame. Compare results with the brief at the intended display size, and reserve time to fix details that should not vary between drafts. Save the input and the chosen output for review.

Limitations

Limitations

The endpoint requires a reference image, and it cannot guarantee that text, faces, logos, or product geometry remain identical after the edit. It is not a layered editor or a pixel-exact masking tool. If exact preservation is required, keep the original artwork and apply the final localized changes in a graphics editor. An aspect ratio sets frame proportions, not an exact pixel size. Manually review outputs before treating them as finished assets.

Questions about this model

The short answers. For anything specific to your setup, talk to our team.

Talk to an engineerPlan for your expected volume.
  • MAI-Image-2.7 Image to Image edits an existing image or creates a new composition from reference images and a written instruction. On each::labs, provide one to five image URLs and describe what should change or stay the same, such as keeping a product in place while replacing the background.

Ready to close the gap?

Find the model. Build the workflow. Ship the result.