Microsoft's highest-fidelity image model for production-grade text-to-image generation via Fal.AI. Built for hero imagery, detailed compositions, precise text rendering, photorealism, stylized illustration, commercial design, and visually rich concept work.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "microsoft/mai-image-2.5-pro",
"input": {
"prompt": "A photorealistic concept-art poster of a university campus at sunset, cinematic lighting, a banner reading \"LOUISVILLE\" in bold serif type.",
"aspect_ratio": "auto",
"output_format": "png",
"num_images": 1
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | The text prompt to generate an image from. |
num_images | integer | No | 1 | The number of images to generate. |
aspect_ratio | string | No | auto | The aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt. auto1:14:33:416:99:163:22:3 |
output_format | string | No | png | The format of the generated image. jpegpngwebp |
sync_mode | boolean | No | false | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Generate a cinematic marketing poster where a specific headline must render legibly in the image.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "microsoft/mai-image-2.5-pro",
"input": {
"prompt": "A photorealistic concept-art poster of a university campus at sunset, cinematic lighting, a banner reading \"LOUISVILLE\" in bold serif type.",
"aspect_ratio": "auto",
"output_format": "png",
"num_images": 1
}
}'Generate multiple images at once in a fixed vertical aspect ratio for stories/reels-style placements.
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "microsoft/mai-image-2.5-pro",
"input": {
"prompt": "A stylized illustration of a coffee cup on a marble counter, warm morning light, minimalist commercial design.",
"aspect_ratio": "9:16",
"output_format": "webp",
"num_images": 4
}
}'POST /v1/predictions