GET

/v1/schemas/fal/image/microsoft/mai-image-2.5-pro

kind inputactivity imagehash eda481ca…extracted Aug 1, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
4c4c6f5f05285380f1f28e8c38e693fc00c4baf75aaf369ecfc4eacb104f2c4a
{
  "fetchedAt": 1785560543,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

5 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
prompt*stringThe text prompt to generate an image from.length ≥ 3 · length ≤ 5000
aspect_ratioenumThe aspect ratio of the generated image. Use "auto" to let the model decide based on the prompt.auto | 1:1 | 4:3 | 3:4 | 16:9 | 9:16 · +2 more · default: "auto"
output_formatenumThe format of the generated image.jpeg | png | webp · default: "png"
num_imagesintegerThe number of images to generate.1 ≤ n ≤ 4 · default: 1
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.default: false

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"microsoft/mai-image-2.5-pro","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}