seedream/5-pro-layer-decompositionlayer-decompositionoutputs imagedocs.kie.aipast runsReturns resultObject.layers_data[] alongside resultUrls. The downloader must persist z_index, name and bounding_box per layer — resultUrls alone loses the ordering and labels. Separated layers always output PNG regardless of output_format.auto/1K/1.5K/2K · takes image
image vs image_url vs image_urls vs image_input vs input_urls vs imageUrls — the same idea, two names55 modelsCopying a payload between these models silently drops the field, because the receiving model has never heard of that key. uses image: recraft/crisp-upscale, recraft/remove-background — uses image_url: kling/v2-5-turbo-image-to-video-pro, kling/v2-1-master-image-to-video, kling/v2-1-pro +16 — uses image_urls: kling-2.6/image-to-video, kling-3.0/video, kling/v3-turbo-image-to-video +16 — uses image_input: nano-banana-2, nano-banana-2-1, nano-banana-pro — uses input_urls: kling-2.6/motion-control, kling-3.0/motion-control, bytedance/seedance-1.5-pro +6 — uses imageUrls: veo3, veo3_fast, veo3_lite.
output_format accepts different values on different models23 modelsA value that works on one of these is rejected on another. accepts mov,mp4: bytedance/seedance-2-5 — accepts jpeg,png: seedream/5-lite-text-to-image, seedream/5-lite-image-to-image, seedream/5-flash-text-to-image +14 — accepts jpg,png: nano-banana-2, nano-banana-2-1, nano-banana-pro — accepts jpeg,png,webp: qwen2-1/text-to-image, qwen2-1/image-to-image.
Returns resultObject.layers_data[] alongside resultUrls. The downloader must persist z_index, name and bounding_box per layer — resultUrls alone loses the ordering and labels. Separated layers always output PNG regardless of output_format.
| Field | Type | Accepts | Default |
|---|---|---|---|
promptOptional. Names which elements to separate; auto-detects when omitted. Supports <bbox>x1 y1 x2 y2</bbox> with normalized 0-1000 coordinates. | text | 0…5000 chars | — |
image_urlrequiredpng/jpeg/webp/bmp/tiff/gif — not heic/heif. Up to 30MB, 262144-36000000 pixels, aspect 1:16 to 16:1. | url | image | — |
sizeOutput resolution. auto picks based on the input. | enum | auto | 1K | 1.5K | 2K | "auto" |
output_formatFile format of the generated image. | enum | png | jpeg | "jpeg" |