GET
/v1/schemas/fal/image/bytedance/seedream/v5/flash/layerize
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traced4de3eccbc58a2d65a2a3f7b33157e8691cdb5edeb1b759595ae54c9bd26e421{
"fetchedAt": 1793250001,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
7 properties · 1 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| image_url* | string | URL of the image to decompose into a base image and independently editable layers. The image must contain between 512x512 and 6000x6000 total pixels, have an aspect ratio between 1/16 and 16, and be no larger than 30 MB. | |
| output_format | enum | Format of the base image. Separated layers always use PNG. | jpeg | png · default: "png" |
| prompt | string | Optional instructions describing which elements to separate. When empty, the model automatically separates the major elements. Normalized `<bbox>left top right bottom</bbox>` tags may be used for precise coordinate targeting. | default: "" |
| image_size | enum | Resolution tier for the output base image and layers. `auto` adapts to the input image while preserving each element's aspect ratio. | auto | auto_1K | auto_1.5K | auto_2K · default: "auto" |
| 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bytedance/seedream/v5/flash/layerize","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}