GET
/v1/schemas/fal/image/fal-ai%2Fbytedance%2Fseedream%2Fv4%2Fedit
Accept:
Request body
9 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | The text prompt used to edit the image | |
| image_urls* | string[] | List of URLs of input images for editing. Presently, up to 10 image inputs are allowed. If over 10 images are sent, only the last 10 will be used. | |
| num_images | integer | Number of separate model generations to be 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 |
| 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 |
| image_size | ImageSize | enum | The size of the generated image. The minimum total image area is 921600 pixels. Failing this, the image size will be adjusted to by scaling it up, while maintaining the aspect ratio. | default: {"height":2048,"width":2048} |
| seed | integer | Random seed to control the stochasticity of image generation. | nullable |
| enhance_prompt_mode | enum | The mode to use for enhancing prompt enhancement. Standard mode provides higher quality results but takes longer to generate. Fast mode provides average quality results but takes less time to generate. | standard | fast · default: "standard" |
| 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"fal-ai/bytedance/seedream/v4/edit","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}