Pricing
Compare models →| Input images | Price per request |
|---|---|
| 1 | $0.0129 |
| 3 | $0.0181 |
| 5 | $0.0233 |
The total includes a base generation fee and a fee for each input image. Every supplied image counts toward the input-image fee.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Describe the edit, or how to combine the input images. Say what to change and what must stay the same, such as layout, faces or product labels.Characters: 0–20000 |
imagesRequired | array | Input images (1-5). One image is edited; several are combined.Items: 1–5JSON schema{
"items": {
"type": "string"
}
} |
README
MAI-Image-2.7 Flash Edit
MAI-Image-2.7 Flash Edit edits an image or combines several references using written instructions. Use it to explore changes to objects, colors, materials and text. Flash provides a lower-cost option within the MAI-Image-2.7 family.
Why Choose This?
- Instruction-based editing — Describe the change you want to make.
- Multiple references — Work with one image or combine up to five references.
- Product and design variations — Explore colors, materials, backgrounds and layouts.
- Text edits — Request changes to lettering on labels, signs and posters.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Non-empty editing instructions, up to 20,000 characters. Describe what to change and what you want to retain. |
| images | Yes | 1–5 input images. Upload files or provide public image URLs. When using multiple images, describe the role of each reference. |
How to Use
- Add images — Upload 1–5 images or provide public image URLs.
- Describe the edit — Explain what to change and what to retain. For multiple images, describe the role of each reference.
- Submit — Generate and review the edited image.
Pricing
| Input images | Price per request |
|---|---|
| 1 | $0.0129 |
| 3 | $0.0181 |
| 5 | $0.0233 |
The total includes a base generation fee and a fee for each input image. Every supplied image counts toward the input-image fee.
Best Use Cases
- Product variations — Explore colors, materials and packaging concepts.
- Scene edits — Change objects or backgrounds in an existing composition.
- Reference-based design — Combine visual references into a new design.
- Text updates — Edit wording in posters, labels and signs.
Pro Tips
- Specify the intended change and the details you want to retain.
- For multiple inputs, refer to images in their submitted order and explain what each contributes.
- Put replacement text in quotation marks and check the result for spelling and layout.
Notes
- Both
promptandimagesare required. Provide a non-empty instruction and 1–5 images.
- Output dimensions are selected automatically from the inputs and may differ from the original image dimensions.
- Large input images may be resized for processing.
- Review text, faces, product details and areas outside the intended edit; generated results may change details you wanted to retain.
Related Models
- MAI-Image-2.7 Flash Text-to-Image — Generate an image from text.
- MAI-Image-2.7 Edit — Another editing option in the MAI-Image-2.7 family.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
MAI-Image-2.7 Flash Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/microsoft/mai-image-2.7-flash/edit for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"images": [
"https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/aprkzw5xyxhf.jpg"
]
}MAI-Image-2.7 Flash Edit API — Frequently asked questions
What is the Mai Image 2.7 Flash Edit API?
Mai Image 2.7 Flash Edit is a Microsoft model for image editing, exposed as a REST API on OpenSIAI. Edit or combine 1–5 images with MAI-Image-2.7 Flash using text instructions for object changes, recoloring and text updates. You can call it programmatically or try it from the playground above.
How do I call the Mai Image 2.7 Flash Edit API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/microsoft/mai-image-2.7-flash/edit.
How much does Mai Image 2.7 Flash Edit cost per run or per second?
Mai Image 2.7 Flash Edit starts at $0.0103 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Mai Image 2.7 Flash Edit accept?
Key inputs: prompt, images. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/microsoft/mai-image-2.7-flash/edit.
How long does Mai Image 2.7 Flash Edit take to generate?
Reported generation time on OpenSIAI is around 34 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Mai Image 2.7 Flash Edit outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Microsoft). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
