ComfyUI Node
BFS Head Swap Paste Back
Composites processed crops back into the original frames, with edge-aware feathering and optional mask confinement. The other half of the sampler's paste_back: off, for refining a crop before it goes home.
BFS Head Swap Paste Back
- cropped_images
- original_images
- crop_bboxes
- confine_mask
- images
◄feather16►
CategoryBFS/video
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| cropped_images | IMAGE | Processed crops, at any resolution. | |
| original_images | IMAGE | The frames to paste into. | |
| crop_bboxes | BOUNDING_BOX | Connect the sampler's crop_bboxes output -- one box per frame. This is a socket, not something to fill in: typing a single box by hand would paste every frame into the same fixed rectangle. | |
| feather | INT | 160–256 | — |
| confine_maskopt | MASK | Confines the paste to the mask instead of the whole box, in the crop's space. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |