seedream-v5-flash/layer-decomposition
Run in Apifox
Seedream 5.0 Flash layer decomposition splits one image into a base plate plus up to 16 transparent layers, with z-index and bounding boxes. Resolution can be auto, 1K, 1.5K, or 2K. Billing is per output image at one shared unit price, for poster teardown and later recomposition.
Request Body Params application/json Required
{
"imageUrl" : "https://example.com/input.png" ,
"resolution" : "auto" ,
"outputFormat" : "jpeg"
} Request Code Samples
curl --location 'https://www.runninghub.ai/openapi/v2/seedream-v5-flash/layer-decomposition' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Content-Type: application/json' \
--data '{
"imageUrl": "https://example.com/input.png",
"resolution": "auto",
"outputFormat": "jpeg"
}' Responses Task result query endpoint: /openapi/v2/query
{
"taskId" : "2013508786110730241" ,
"status" : "RUNNING" ,
"errorCode" : "" ,
"errorMessage" : "" ,
"results" : null ,
"clientId" : "f828b9af25161bc066ef152db7b29ccc" ,
"promptTips" : "{\"result\": true, \"error\": null, \"outputs_to_execute\": [\"4\"], \"node_errors\": {}}"
} Modified at 2026-09-28 04:00:01