ComfyUI > Nodes > ComfyUI 1hewNodes > Image Blend Mode by Alpha

ComfyUI Node: Image Blend Mode by Alpha

Class Name

1hew_ImageBlendModeByAlpha

Category
1hewNodes/image/blend
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI 1hewNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 1hewNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Image Blend Mode by Alpha Description

Blends two images with various modes and optional alpha mask for nuanced artistic effects.

Image Blend Mode by Alpha:

The 1hew_ImageBlendModeByAlpha node is designed to blend two images using a variety of blend modes, with the option to incorporate an alpha mask for more nuanced control. This node is particularly useful for AI artists looking to create complex image compositions by layering an overlay image onto a base image. The node supports a wide range of blend modes, such as "normal," "multiply," "screen," and "overlay," among others, allowing for diverse artistic effects. By adjusting the opacity and utilizing an optional mask, you can achieve precise control over how the overlay image interacts with the base image. This node is essential for tasks that require sophisticated image blending techniques, enabling you to enhance your creative projects with professional-grade visual effects.

Image Blend Mode by Alpha Input Parameters:

overlay_image

The overlay_image parameter is the image that you want to layer on top of the base image. This image will be blended with the base image according to the selected blend mode and opacity settings. It is crucial for defining the visual content that will be combined with the base image.

base_image

The base_image parameter serves as the foundational image onto which the overlay image will be blended. This image remains the primary visual element, with the overlay image adding additional effects or details based on the blend mode.

overlay_mask

The overlay_mask is an optional parameter that allows you to specify a mask to control the transparency of the overlay image. This mask can be used to selectively apply the overlay image to certain areas of the base image, providing more detailed control over the blending process.

blend_mode

The blend_mode parameter determines the method used to blend the overlay image with the base image. Options include "normal," "multiply," "screen," "overlay," and many others, each offering a unique visual effect. The default mode is "normal," which simply overlays the images without additional effects.

overlay_fit

The overlay_fit parameter specifies how the overlay image should be positioned relative to the base image. Options include "stretch," which scales the overlay to fit the base image dimensions, and "center," which places the overlay at the center of the base image. The default setting is "stretch."

opacity

The opacity parameter controls the transparency level of the overlay image, with a range from 0.0 (completely transparent) to 1.0 (completely opaque). The default value is 1.0, meaning the overlay image is fully visible.

invert_mask

The invert_mask parameter is a boolean option that, when enabled, inverts the overlay mask. This means areas that were originally masked will become visible, and vice versa. The default setting is False.

Image Blend Mode by Alpha Output Parameters:

image

The image output parameter is the resulting image after the overlay image has been blended with the base image according to the specified parameters. This output is the final composition that reflects the chosen blend mode, opacity, and any mask effects applied during the blending process.

Image Blend Mode by Alpha Usage Tips:

  • Experiment with different blend_mode settings to achieve various artistic effects, such as using "multiply" for shadow effects or "screen" for highlighting.
  • Utilize the overlay_mask to apply the overlay image selectively, which can be particularly useful for creating complex compositions with multiple layers.
  • Adjust the opacity to fine-tune the visibility of the overlay image, allowing for subtle or pronounced blending effects.

Image Blend Mode by Alpha Common Errors and Solutions:

"Invalid blend mode selected"

  • Explanation: This error occurs when a blend mode that is not supported by the node is selected.
  • Solution: Ensure that the blend_mode parameter is set to one of the supported options listed in the node's documentation.

"Overlay image and base image dimensions do not match"

  • Explanation: This error arises when the dimensions of the overlay image do not match those of the base image, which can affect the blending process.
  • Solution: Use the overlay_fit parameter to adjust the overlay image to fit the base image dimensions, either by stretching or centering it.

"Opacity value out of range"

  • Explanation: This error indicates that the opacity value is set outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the opacity parameter to a value within the specified range to ensure proper blending.

Image Blend Mode by Alpha Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI 1hewNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Image Blend Mode by Alpha