
Mai Image 2.5 Text to Image
MAI-Image-2.5 is Microsoft's photorealistic image generation and editing model that turns text prompts or uploaded images into high-quality, design-ready visuals with fine-grained, pixel-level control.
Ask your agent
Say it in your own words. Your agent picks this tool, fills in the details and brings back the answer.
Make an image with Mai Image 2.5 Text to Image: a cozy coffee shop in São Paulo at golden hour.
More examples
Create a product photo of our new sneaker on a white background.
Reviews
No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.
How it works
- Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
- Ask in your own wordsYour agent picks the right tool and fills in the details for you.
- Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call, input and output
Image generation API by Microsoft, callable through Superpowers. It costs $5.40 per image, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.microsoft-mai-image-2.5", or over MCP with run_tool. 98 other providers in this category take the same input and can be compared side by side.
- Tool id
- Price per call
- $5.40 / image
Call it
Also over MCP asrun_toolcurl -X POST https://superpowers.tools/v1/run \
-H 'Authorization: Bearer $SP_KEY' \
-d '{"tool":"fal.microsoft-mai-image-2.5","input":{"prompt":""},"idempotency_key":"example-request-1"}'Input
5 fields · 1 required{
"type": "object",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"description": "The text prompt to generate an image from."
},
"aspect_ratio": {
"type": "string",
"description": "The aspect ratio of the generated image. Use \"auto\" to let the model decide based on the prompt.",
"default": "auto",
"enum": [
"auto",
"1:1",
"4:3",
"3:4",
"16:9",
"9:16",
"3:2",
"2:3"
]
},
"output_format": {
"type": "string",
"description": "The format of the generated image.",
"default": "png",
"enum": [
"jpeg",
"png",
"webp"
]
},
"sync_mode": {
"type": "boolean",
"description": "If `True`, the media will be returned as a data URI and the output data won't be available in the request history.",
"default": false
},
"num_images": {
"type": "integer",
"description": "The number of images to generate.",
"default": 1
}
}
}Normalized output
Example for this type of toolThe shape tools of this type share in normalized. Agents read it from GET /v1/tools/fal.microsoft-mai-image-2.5 or MCP inspect_tool.
{
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
},
"required": [
"url"
]
}
}
},
"required": [
"images"
]
}