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

  • microsoft
  • Text to Image
  • $0.026–$0.14 per image, depending on aspect ratio

MAI-Image-2.7 Text to Image generates images from prompts for editorial illustrations, campaign concepts, and product mockups without a source image.

View API docs

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

  • Best for

    Give the model a concrete scene rather than an article title alone.

    Describe who or what should appear, the mood, and where there should be room for a headline. Review the image for unintended objects and distracting background…

  • Limits and tips

    Getting good results

    Name the subject and action first, then add visual cues such as camera angle, light direction, and materials. Put composition instructions in the prompt and…

  • Related model

    Alibaba | Qwen Image | 2.1 | Turbo | Text to Image

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

    View model

Model documentation

About this model

MAI-Image-2.7 Text to Image generates images from prompts for editorial illustrations, campaign concepts, and product mockups without a source image.

Overview

MAI-Image-2.7 Text to Image Overview

MAI-Image-2.7 Text to Image creates an image from a written prompt without a reference photo. This is Microsoft’s flagship variant, intended for work where prompt adherence and visual detail matter. On each::labs, the MAI-Image-2.7 Text to Image API lets you choose a fixed aspect ratio or let the model select one. Start with a subject and setting, then describe the framing, lighting, and visual treatment. A clear brief gives you a starting point for comparison: when the first result is close, adjust one instruction at a time rather than rewriting the entire prompt. A fixed aspect ratio helps plan for a specific placement, whether that is a square tile, a vertical story, or a wide banner. Pick transparency only when the image needs to be placed over a separate background.

Capabilities

Capabilities

  • Generate images directly from written prompts
  • Describe subjects, composition, lighting, and visual treatment
  • Explore alternate assets by revising a prompt between runs
  • 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 Text to Image

Editorial illustrations

Give the model a concrete scene rather than an article title alone. Describe who or what should appear, the mood, and where there should be room for a headline. Review the image for unintended objects and distracting background details.

Campaign concepts

Draft several treatments for the same brief by changing lighting or materials between runs. Keep the framing consistent while deciding on a direction, then create a separate version for each placement rather than expecting one crop to fit every channel.

Product mockups

Explore packaging, finish, or lighting before a photoshoot. Treat these generated assets as concepts, not accurate representations of a real product. If you already have a product photo and its details matter, start from the image-editing variant instead.

Tips & tricks

Tips and Tricks

Name the subject and action first, then add visual cues such as camera angle, light direction, and materials. Put composition instructions in the prompt and choose the aspect ratio separately. When comparing results, keep the subject wording stable and change one decision, such as the setting or the visual style. 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.

  • Editorial illustration of a rain-soaked city bus stop at dusk, amber lights reflected in the pavement, wide framing, empty left third for a headline.
  • Single white ceramic mug in three-quarter view, soft daylight from the left, simple silhouette, centered composition, no text or logos.

Technical spec

Technical Specifications

The only required input is a prompt of up to 12,000 characters. This endpoint does not accept reference images; use the corresponding image-to-image endpoint if a source photo must guide the result. 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; auto can choose a larger output and costs more than a fixed ratio. 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 for invented or malformed details when a generated image depicts a familiar product, location, or subject. For a concept that resembles an existing asset, confirm the output fits the brief and review the intended use before sharing. 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 whether you are exploring a style or preparing for a specific placement. For exploration, keep the subject stable. For an asset tied to a layout, tell the model how much room to leave for text or other artwork. 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

This model does not accept source images and cannot guarantee exact lettering, logo fidelity, or factual accuracy. The result is a rendered image, not a file with independently editable objects or type. For final brand assets, place approved text and logos in your design editor and check any visual detail that must be accurate. 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 Text to Image is a Microsoft image generation model that creates pictures from written prompts, without a source photo. On each::labs, describe the subject, setting, and visual direction, then choose an aspect ratio or leave the square default. The endpoint returns an image result rather than editable design layers.

Ready to close the gap?

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