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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "seedream_decompose_image"
}
}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 |