ComfyUI Node
BD Parts Compose
Assemble all parts in a PARTS_BUNDLE back into a flat image at output_size. Each part is placed at its scaled xyxy position. Back-to-front order by depth_median (larger = farther; closer parts paint on top). Standard alpha compositing — every part's RGBA mask drives the blend.
BD Parts Compose
- parts
- image
- alpha
◄output_size0►
◄triggertrue►
Category🧠BrainDead/Segmentation
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| parts | PARTS_BUNDLE | — | |
| output_sizeopt | INT | 00–8192 | Max side length of output canvas. 0 = use frame_size as-is. Set to e.g. 3072 if you upscaled per-part 3x. |
| triggeropt | BOOLEAN | true | If false, returns blank canvas — useful when piping is_last from an iterator to delay composite until the final pass. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| alpha | MASK | — |