GET
/v1/schemas/fal/image/bytedance%2Fseedream%2Fv5%2Fpro%2Ftext-to-image
Accept:
Request body
6 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt used to generate the image. | |
| num_images | integer | Number of separate model generations to run with the prompt. | 1 ≤ n ≤ 6 · default: 1 |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. | default: true |
| image_size | ImageSize | enum | The size of the generated image. Total pixels must be between 1024x1024 and 2048x2048, with aspect ratio between 1/16 and 16. | default: "auto_2K" |
| output_format | enum | The file format of the generated image. | jpeg | png · default: "jpeg" |
| sync_mode | boolean | 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bytedance/seedream/v5/pro/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}