Nodes/was-node-suite-comfyui/Image Blending Mode
ComfyUI Node Runs on cloud

Image Blending Mode

Photoshop blend modes inside ComfyUI

By WASasquatch·Created 3 years ago·Updated about a year ago· 1,812
Image Blending Mode

      If you've ever stacked two layers in Photoshop and flipped through Multiply, Screen, Overlay, Soft Light - this is that, as a node. Core ComfyUI can blend two images by plain opacity, and that's it. Image Blending Mode gives you the whole menu of compositing math: multiply darkens, screen lightens, overlay boosts contrast, and a dozen others besides. The README describes it exactly this way - "blend two images by various blending modes."

      Why you'd want it

      Because a lot of nice-looking results are just one layer blended over another. Dropping a light-leak or bokeh overlay onto a portrait with Screen. Grunging up a clean render by Multiplying a texture over it. Faking a color grade by Soft-Light-ing a solid tint. Adding grain, adding glow, mixing a depth pass into a beauty pass. None of that needs a model - it's pure image math - and doing it inside your graph means it happens automatically on every generation instead of you exporting to an editor. Our ecosystem notes file WAS Node Suite under exactly this heading: the general post-processing toolkit for the stuff core ComfyUI leaves out.

      How to use it

      You give it two images - think of them as a bottom layer and a top layer - pick a blend mode, and set how strongly the top one applies (a blend/opacity amount, so you can dial the effect from subtle to full-strength). The output is a single blended image you can carry on processing or save.

      The mode is where all the character lives. Quick mental model if the names blur together:

      • Multiply - always darkens; great for shadows, textures, ink.
      • Screen - always lightens; great for glows, light leaks, highlights.
      • Overlay / Soft Light - darken the darks and lighten the lights; contrast and color grading.

      The rest (difference, hard light, dodge, burn and friends) are situational - worth flipping through when you're chasing a look, because the "right" one is usually the one you find by trying four.

      The one thing that bites

      The two images generally need to be the same dimensions. Blend a 512×768 over a 1024×1024 and you'll either get an error or a misaligned mess. Run your overlay through an Image Resize node first so both layers match. If your composite comes out shifted or cropped, size mismatch is the first thing to check.

      Installing it

      It's part of WAS Node Suite. Install the pack via ComfyUI Manager - search was-node-suite-comfyui, install, restart - or clone it:

      cd ComfyUI/custom_nodes
      git clone https://github.com/WASasquatch/was-node-suite-comfyui
      

      then install requirements.txt and restart. The blend math leans on the pack's imaging dependencies, which install with the requirements; there are no separate model files.

      Troubleshooting

      WAS Node Suite has been unmaintained since December 2023 - still widely used, just no active development. The failure you're most likely to hit is the whole pack throwing "Import Failed" after a ComfyUI update, which is a dependency-version clash (opencv is the usual offender, since WAS pins an older one). Reinstall requirements.txt into the correct venv (activate it first, or run the bundled install.bat) and it comes back. Beyond that, this node is simple and dependable once loaded.

      Categoryx

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs