ComfyUI Node: Blend

Class Name

Blend

Category
postprocessing/Blends
Author
EllangoK (Account age: 2833days)
Extension
ComfyUI-post-processing-nodes
Latest Updated
2024-08-09
Github Stars
0.16K

How to Install ComfyUI-post-processing-nodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-post-processing-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-post-processing-nodes 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Blend Description

Powerful image post-processing tool for blending two images with various modes, enhancing visual effects and artistic looks.

Blend:

The Blend node is a powerful tool designed for image post-processing, allowing you to seamlessly combine two images using various blending modes. This node is particularly useful for creating complex visual effects, enhancing image compositions, and achieving a desired artistic look. By adjusting the blend factor and selecting different blend modes, you can control the intensity and style of the blending effect, making it a versatile option for AI artists looking to refine their creations.

Blend Input Parameters:

image1

This parameter represents the first input image that will be blended with the second image. It is essential for defining the base layer of the blend operation.

image2

This parameter represents the second input image that will be blended with the first image. It is crucial for defining the overlay layer of the blend operation.

blend_factor

The blend factor is a floating-point value that determines the weight of each image in the final blend. A value of 0.0 means only the first image is visible, while a value of 1.0 means only the second image is visible. The default value is 0.5, allowing for an equal mix of both images. The blend factor can range from 0.0 to 1.0, with a step of 0.01.

blend_mode

The blend mode parameter allows you to choose the method used to combine the two images. Available options include "normal", "multiply", "screen", "overlay", and "soft_light". Each mode applies a different mathematical operation to blend the images, resulting in various visual effects.

Blend Output Parameters:

IMAGE

The output is a single blended image that combines the two input images according to the specified blend factor and blend mode. This image can be used for further processing or as a final output in your artistic workflow.

Blend Usage Tips:

  • Experiment with different blend modes to achieve unique visual effects. For example, "multiply" can create darker, more intense images, while "screen" can produce lighter, more ethereal results.
  • Adjust the blend factor incrementally to fine-tune the balance between the two images and achieve the desired level of blending.
  • Use high-resolution images for better quality results, especially when using complex blend modes like "overlay" and "soft_light".

Blend Common Errors and Solutions:

Unsupported blend mode: <mode>

  • Explanation: This error occurs when an invalid blend mode is specified.
  • Solution: Ensure that the blend mode is one of the supported options: "normal", "multiply", "screen", "overlay", or "soft_light".

Image shape mismatch

  • Explanation: This error occurs when the two input images have different dimensions.
  • Solution: Make sure both images have the same dimensions before blending. If necessary, resize one of the images to match the other.

Invalid blend factor

  • Explanation: This error occurs when the blend factor is outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the blend factor to be within the valid range, ensuring it is between 0.0 and 1.0.

Blend Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-post-processing-nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.