Pricing
Compare models →| Resolution | Price per image |
|---|---|
| 1K | $0.025 |
| 2K | $0.041 |
The selected resolution tier determines the price. Supported aspect ratios do not add a separate fee.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text prompt for image generation. Put text you want rendered (titles, labels, signs) in quotes.Characters: 0–20000 |
aspect_ratio | string | The aspect ratio of the generated image. Defaults to 1:1.1:116:99:164:33:43:22:321:99:214:11:4"1:1" |
resolution | string | Output size tier: 1k (default) or 2k. At 1:1 these correspond to 1024x1024 and 2048x2048. Dimensions vary with aspect ratio; these are not fixed side lengths, and switching tiers does not always double each side.1k2k"1k" |
README
MAI-Image-2.7 Flash Text-to-Image
MAI-Image-2.7 Flash Text-to-Image creates an image from a written description. Choose a size tier and a preset aspect ratio for photos, posters, product concepts and other visual designs. Flash provides a lower-cost option within the MAI-Image-2.7 family.
Why Choose This?
- Text-based generation — Describe a subject, scene, style and composition.
- Size options — Choose the
1kor2ktier.
- Preset framing — Select from 11 landscape, portrait and square aspect ratios.
- Text-led designs — Include lettering for posters, labels and signs, then review the result.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Non-empty image description, up to 20,000 characters. Put any text you want rendered in quotation marks. |
| aspect_ratio | No | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21, 4:1 or 1:4. Default: 1:1. |
| resolution | No | 1k or 2k. Default: 1k. Pixel dimensions depend on the selected aspect ratio; see Notes. |
How to Use
- Write a prompt — Describe the subject, composition, lighting and style.
- Choose framing and resolution — Select a preset aspect ratio and the
1kor2ktier.
- Submit — Generate and review the image.
Pricing
| Resolution | Price per image |
|---|---|
| 1K | $0.025 |
| 2K | $0.041 |
The selected resolution tier determines the price. Supported aspect ratios do not add a separate fee.
Best Use Cases
- Product concepts — Explore product and brand imagery.
- Campaign drafts — Create poster, packaging and promotional concepts.
- Lifestyle imagery — Generate portrait and everyday scenes.
- Visual planning — Develop storyboards and mood boards.
Pro Tips
- Describe the subject, composition, lighting and desired style.
- Put the exact wording for labels or headlines in quotation marks.
- Choose an aspect ratio that fits the intended placement before generating.
Notes
- Only the listed aspect ratios are supported; custom ratios and exact pixel dimensions are not exposed here.
1kand2kare size tiers, not fixed side lengths. At1:1, they correspond to 1024×1024 and 2048×2048. Other aspect ratios use different dimensions, and a side may exceed 2048 pixels.
- Switching from
1kto2kdoes not necessarily double each side for every aspect ratio.
- Review spelling, layout, faces and fine details before using the generated image.
Related Models
- MAI-Image-2.7 Flash Edit — Edit or combine input images.
- MAI-Image-2.7 Text-to-Image — Another text-to-image 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 Text-to-Image API example
The catalog lists POST https://api.opensi.com.ai/api/v3/microsoft/mai-image-2.7-flash/text-to-image 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",
"aspect_ratio": "1:1",
"resolution": "1k"
}MAI-Image-2.7 Flash Text-to-Image API — Frequently asked questions
What is the Mai Image 2.7 Flash Text To Image API?
Mai Image 2.7 Flash Text To Image is a Microsoft model for image generation, exposed as a REST API on OpenSIAI. Create images from text with MAI-Image-2.7 Flash. Choose 1K or 2K and preset aspect ratios for photos and design concepts. You can call it programmatically or try it from the playground above.
How do I call the Mai Image 2.7 Flash Text To Image 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/text-to-image.
How much does Mai Image 2.7 Flash Text To Image cost per run or per second?
Mai Image 2.7 Flash Text To Image starts at $0.025 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 Text To Image accept?
Key inputs: prompt, aspect_ratio, resolution. 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/text-to-image.
How long does Mai Image 2.7 Flash Text To Image take to generate?
Reported generation time on OpenSIAI is around 17 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 Text To Image 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.
