Decompose an image with Seedream
seedream_decompose_imageDecompose an image into a base image and up to 16 editable transparent layers for editing, compositing, or asset extraction.
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 |