GET
/v1/schemas/fal/image/bytedance/seedream/v5.5/layerize
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source tracec667519ef1d71db004503bafcbb1b510a671b321e610abc9a9a1f50b66fa3550{
"fetchedAt": 1794546001,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
9 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. | |
| 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 |
| output_format | enum | Format of the base image. Separated layers always use PNG. | jpeg | png · default: "png" |
| max_images | integer | Maximum number of output images, including the base image. Higher values usually produce a finer decomposition. Above 30, images are always returned as URLs and `sync_mode` is ignored. | 2 ≤ n ≤ 100 · default: 30 |
| watermark | boolean | Whether to add the provider's visible watermark. | default: false |
| 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_text_recognition | boolean | If `True`, formatted text layers include a rich-text OCR result in `text_recognition`. | default: false |
| 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 |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"bytedance/seedream/v5.5/layerize","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}