LayerUtility: ImageBlend V2
ImageBlend V2
- background_image
- layer_image
- layer_mask
- image
This is a Photoshop layer, in a node. Stack a layer_image on top of a background_image, pick a blend mode, set the opacity, and you get the composite. That's the entire pitch, and it's a genuinely useful one - ComfyUI's native compositing is thin, and having real blend modes (multiply, screen, overlay, and the rest) as a single drop-in node is one of the reasons the LayerStyle pack got so popular. If you know how layers work in any image editor, you already know how to use this.
The mechanism is exactly what it looks like: the two images are combined pixel-for-pixel according to the chosen blend_mode, then mixed with the background by opacity. This is the simple compositor in the pack - it assumes the layer and background are already the same size and lined up, and it does not move, scale, or rotate anything. If you need to position or resize the layer, that's the "Advance" variant's job. Use this one when the layer is already where it should be and you just want the blend math.
The settings are few and familiar. blend_mode is the heart of it - 30 modes, the full Photoshop set: normal, multiply, screen, overlay, color burn, linear dodge(add), darken, lighten, and 22 more. This is where the creative work happens: multiply for shadows and darkening, screen for glows and light, overlay for contrast, linear dodge(add) for additive light effects. opacity (0–100) fades the whole thing. invert_mask defaults to true, which catches people out - if your mask is behaving backwards, that's the switch. Speaking of which, there's an optional layer_mask input so the blend only applies where the mask allows, which is how you composite a masked cutout rather than the whole rectangular layer.
One output: image, the finished composite. Chain more of these to stack layers, exactly like a layer panel.
Install is the pack standard: search "ComfyUI Layer Style" in ComfyUI Manager, or cd ComfyUI/custom_nodes && git clone https://github.com/chflame163/ComfyUI_LayerStyle, then pip install -r requirements.txt and restart. No models to download.
The main thing to get right is picking this versus the Advance version. If your layer already fits the background - a texture overlay, a light leak, a gradient, a same-size render you want blended - ImageBlend V2 is the clean, fast choice. The moment you need to place a smaller element, scale it, or rotate it, switch to ImageBlendAdvance, because this node won't transform anything and you'll get a size mismatch or a layer stuck in the top-left. And the ever-present LayerStyle caveat: if the node doesn't appear after installing the pack, the pack failed to import (a dependency conflict, the pack's trademark failure) - check the console for the traceback, "Try Fix" in Manager, reinstall the requirements into your venv.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| background_image | IMAGE | — | |
| layer_image | IMAGE | — | |
| invert_mask | BOOLEAN | true | — |
| blend_mode | COMBO | 30 options: normal, dissolve, darken, multiply, color burn, linear burn, +24 | |
| opacity | INT | 1000–100 | — |
| layer_maskopt | MASK | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |