ComfyUI Node
Merge Media 🔀
Overlays a foreground over a background. Should handle alpha channels nicely. If the images are different sizes, the foreground will be stretched to match the background. If the image counts are different, the shorter layer (and its alpha channel) will be looped to fill the gap.
Merge Media 🔀
- foreground
- background
- images
◄blend1.00►
◄foreground_image_shapeB-H-W-C►
◄background_image_shapeB-H-W-C►
◄output_image_shapeB-H-W-C►
◄blend_modeNormal►
◄swap_inputsfalse►
Categorymedia
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| foreground | IMAGE | — | |
| background | IMAGE | — | |
| blendopt | FLOAT | 1.000.01–1 | — |
| foreground_image_shapeopt | COMBO | B-H-W-C | 2 options: B-H-W-C, B-C-H-W |
| background_image_shapeopt | COMBO | B-H-W-C | 2 options: B-H-W-C, B-C-H-W |
| output_image_shapeopt | COMBO | B-H-W-C | 2 options: B-H-W-C, B-C-H-W |
| blend_modeopt | COMBO | Normal | 9 options: Normal, Multiply, Screen, Overlay, Soft Light, Hard Light, +3 |
| swap_inputsopt | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |