GET
/v1/schemas/fal/image/meta/muse-image/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracec2984985c55efd83b338e9d08e493b5113d7af84e61807e971d87278e6df3de1{
"fetchedAt": 1789534838,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
5 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt used to generate or edit the image. | length ≥ 1 |
| aspect_ratio | string | Any custom output aspect ratio as "width:height", for example "16:9", "5:4", or "1920:1200". Common presets are "21:9", "16:9", "4:3", "3:2", "1:1", "2:3", "3:4", "9:16", "9:21". The ratio must be between 1:16 and 16:1, the range Muse supports. Only the ratio is used: Muse renders it at its own fixed resolution of roughly 2.5 megapixels, so "1920:1200" and "960:600" both return the same 1920x1200 image. If omitted, Muse chooses the output dimensions automatically. | nullable |
| sync_mode | boolean | If `True`, the image is returned as a data URI and is not persisted in the request history. | default: false |
| num_images | integer | The number of images to generate. | 1 ≤ n ≤ 10 · default: 1 |
| output_format | enum | The format of the generated image. | jpeg | png | webp · default: "webp" |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"meta/muse-image/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}