seedream_decompose_image
Decompose any PNG or JPEG into a base image and up to 16 editable transparent layers. Isolate image elements for targeted edits without altering the original composition.
Instructions
Decompose one image into a base image and up to 16 editable transparent layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Output size: auto, 1K, 1.5K, or 2K. | auto |
| image | Yes | One PNG or JPEG URL/base64 image to decompose. | |
| prompt | No | Optional elements to decompose; omit for automatic decomposition. Supports <bbox> coordinates. | |
| watermark | No | Whether to add an AI-generated watermark. | |
| callback_url | No | Optional webhook URL for async delivery. | |
| output_format | No | Base image format; layers are always PNG. | jpeg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |