GET
/v1/schemas/fal/image/fal-ai/bytedance/seedream/v5/lite/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above.Source tracefc885582bd64e4f125afc26aa2fce433593ccd5ce7027ace75132e34a3e59f5a{
"fetchedAt": 1783328807,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
7 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 be run with the prompt. | 1 ≤ n ≤ 6 · default: 1 |
| max_images | integer | If set to a number greater than one, enables multi-image generation. The model will potentially return up to `max_images` images every generation, and in total, `num_images` generations will be carried out. In total, the number of images generated will be betw… | 1 ≤ n ≤ 6 · default: 1 |
| 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 |
| 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 2560x1440 and 4096x4096. In case the image size does not fall within these parameters, the image size will be adjusted to by scaling. | default: "auto_2K" |
| return_byteplus_urls | boolean | If set to true returns seedance-2 trusted URLs. Please note these urls expire in 24 hours. | default: false |
Types
1 $defsImageSizeobject
| height | integer | The height of the generated image. | 0 < n ≤ 14142 · default: 512 |
| width | integer | The width of the generated image. | 0 < n ≤ 14142 · default: 512 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bytedance/seedream/v5/lite/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}