GET
/v1/schemas/fal/image/bytedance/seedream/v5/pro/text-to-image
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traceba4389e4dc272759566f124912cff342cd7986df2fb8e5b0faded65f650dcf74{
"fetchedAt": 1793250001,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
8 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt used to generate the image. | |
| output_format | enum | The file format of the generated image. | jpeg | png · default: "jpeg" |
| enhance_prompt_mode | enum | Prompt optimization mode. `standard` prioritizes image quality; `fast` reduces generation time. | standard | fast · default: "standard" |
| image_size | ImageSize | enum | The size of the generated image. Total pixels must be between 921600 and 4624220, with aspect ratio between 1/16 and 16. | default: "auto_2K" |
| 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. Disabling it requires account authorization; unauthorized requests are always checked. | default: true |
| watermark | boolean | Whether to add the provider's visible watermark. | default: false |
| 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 |
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":"bytedance/seedream/v5/pro/text-to-image","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}