Nodes/Comfyui-zhenzhen/zhenzhen-seedream-v5-pro-layer-decomposition-lowprice
ComfyUI Node

zhenzhen-seedream-v5-pro-layer-decomposition-lowprice

Seedream V5 layer decomposition in ComfyUI

By T8mars·Created about a year ago·Updated 2 days ago· 740
zhenzhen-seedream-v5-pro-layer-decomposition-lowprice
  • image
  • api_config
  • images
  • masks
  • image_urls
  • image_count
  • task_id
  • response
prompt
resolutionauto
output_formatpng
skip_errorfalse
seed0
modelseedream-v5-pro-layer-decomposition

If you've ever stared at a finished image and wished you could pull it apart - the subject on one layer, the background on another, props separated out - this is the node for that. Comfly_seedream_v5_pro_layer_decomposition_lowprice feeds one source image to Seedream V5 Pro's layer-decomposition model through the domestic low-price shop and gets back the image split into separate layers with masks, ready to composite, re-light, or re-arrange in ComfyUI. The README mentions up to 16 layers on the wider-audit overseas model; the domestic one is the same idea at the cheap rate.

It's a low-price node, so credentials come from an api_config dictionary built by the pack's Comfly_seedance2_low_price_settings node. Async submit → poll → download, then the node reassembles the returned layers into tensors you can actually use.

The inputs that matter

  • image - required; the source image you want decomposed.
  • prompt - optional guidance for how to split. Leave it empty for automatic decomposition.
  • resolution - auto (default), 1k, 1.5k, or 2k. Higher output = slower + pricier.
  • output_format - png or jpeg. Use png if you're going to composite the layers; jpeg artifacts kill clean masks.
  • model - seedream-v5-pro-layer-decomposition (domestic, default) or dola-seedream-5.0-pro-layer-decomposition (overseas, wider audit, up to 16 layers).

The interesting outputs are the list-based ones: images (the layers as IMAGE tensors, one per element) and masks (a matching MASK list, so each layer comes with its own alpha-ready matte). image_urls gives you the raw URLs, image_count tells you how many came back, and task_id / response round out the debug story.

The seed here is ComfyUI cache-control only - explicitly documented in the tooltip as not sent to Seedream. Fixed seed reuses the cached result; that's all it does.

Installing it

cd ComfyUI/custom_nodes
git clone https://github.com/T8mars/Comfyui-zhenzhen

or ComfyUI Manager (search "Comfyui-zhenzhen"), restart, wire a settings node with your api.seedance.nz token into api_config. No model downloads.

Common issues

  • Layers don't line up - decomposition isn't pixel-perfect by default. If you're re-assembling, use the masks rather than the raw layer bounding boxes.
  • Mask is jagged - check output_format is png; jpeg will wreck the matte edges.
  • Blank output with no error - skip_error is on. Turn it off to see the actual failure.

This is a niche-but-powerful node: character cutouts for re-compositing, background replacement that keeps the subject matte, prop isolation for e-commerce. If you've been doing this by hand with a mask tool, the API version is a lot less fiddly.

Categoryzhenzhen/Seedance2 Low Price

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
promptSTRING
resolutionCOMBOauto4 options: auto, 1k, 1.5k, 2k
output_formatCOMBOpng2 options: png, jpeg
api_configoptZHENZHEN_SEEDANCE2_CONFIG
skip_erroroptBOOLEANfalse
seedoptINT00–18446744073709550000ComfyUI cache seed only; this value is not sent to Seedream. Fixed reuses the cached result.
modeloptCOMBOseedream-v5-pro-layer-decomposition2 options: seedream-v5-pro-layer-decomposition, dola-seedream-5.0-pro-layer-decomposition

Outputs (6)

NameTypeDescription
imagesIMAGE
masksMASK
image_urlsSTRING
image_countINT
task_idSTRING
responseSTRING