All Models

Microsoft logo

MAI Image 2.7 API

MAI Image 2.7 creates images from written briefs and edits supplied images through natural-language direction. Its generation controls support photographic and illustrated compositions, while image inputs provide material for revisions and combinations.

Model overview

Model ID
microsoft/mai-image-2.7
Output Type
Image
Pricing
From $0.05 / run
Provider
Microsoft
Hosting
External
Try in Studio
Generate

Pricing depends on the selected inputs. See the rates below.

Coastal photographer portrait in warm afternoon light.
Coastal photographer portrait in warm afternoon light.

Supported modes

Text to Image

A written brief directs the subject, composition and visual treatment.

image.generate

Edit

Source images provide visual material for a prompted revision or combination.

image.edit

What you can create

Editorial scene concepts

Editorial portraits combine a person, setting and lighting treatment. Props, materials and composition support visual storytelling.

Product environment studies

Product concepts place an object in an imagined scene, with supplied images anchoring its appearance in the composition.

Image revisions and combinations

Image revisions alter or combine source pictures while retaining selected details and exploring a different visual direction.

Pricing

Image editing

Price per run for each listed option.

OfferingPrice (USD)
Images count: 1$0.05 / run
Images count: 2$0.06 / run
Images count: 3$0.06 / run
Images count: 4$0.07 / run
Images count: 5$0.08 / run

Image generation

Price per run for each listed option.

OfferingPrice (USD)
Resolution: 1K$0.07 / run
Resolution: 2K$0.14 / run

Text to Image options

OptionDetailsDefault
Prompt *
prompt
Text prompt for image generation. Put text you want rendered (titles, labels, signs) in quotes.โ€”
Aspect ratio
aspect_ratio
The aspect ratio of the generated image. Defaults to 1:1. Options: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21, 4:1, 1:4."1:1"
Resolution
resolution
Output resolution. 1k is about 1 megapixel (1024x1024 at 1:1); 2k doubles each side (2048x2048 at 1:1). Options: 1k, 2k."1k"

Run MAI Image 2.7 on Protoface

Use MAI Image 2.7 in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

Model publisher

About Microsoft

Microsoft develops MAI models through Microsoft AI, with research spanning image creation, speech, transcription, coding, and reasoning. Its creative-media work includes MAI-Image for generating and editing visuals and MAI-Voice for speech synthesis, supporting tasks such as product imagery, presentation graphics, photo cleanup, and expressive spoken audio.

  • Image generation
  • Image editing
  • Speech synthesis

Related models

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai