ComfyUI  >  Nodes  >  KJNodes for ComfyUI >  Image Add Multi

ComfyUI Node: Image Add Multi

Class Name

ImageAddMulti

Category
KJNodes/image
Author
kijai (Account age: 2192 days)
Extension
KJNodes for ComfyUI
Latest Updated
6/25/2024
Github Stars
0.3K

How to Install KJNodes for ComfyUI

Install this extension via the ComfyUI Manager by searching for  KJNodes for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter KJNodes for ComfyUI 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

Image Add Multi Description

Blend multiple images with various modes for AI artists to create complex compositions easily.

Image Add Multi:

The ImageAddMulti node is designed to blend multiple images together using various blending modes. This node allows you to specify the number of images you want to blend and choose from different blending methods such as addition, subtraction, multiplication, and difference. This functionality is particularly useful for AI artists who want to create complex compositions by merging multiple images in a controlled manner. The node provides a flexible way to combine images, enabling you to achieve a wide range of visual effects by simply adjusting the blending mode and the number of input images.

Image Add Multi Input Parameters:

inputcount

inputcount determines the number of images you want to blend together. You can set this value between 2 and 1000, with the default being 2. Increasing this count allows you to blend more images, which can create more complex and nuanced visual effects.

image_1

image_1 is the first image input for the blending operation. This parameter is required and serves as the base image to which subsequent images will be blended.

image_2

image_2 is the second image input for the blending operation. This parameter is also required and will be blended with image_1 based on the selected blending mode.

blending

blending specifies the blending mode to be used for combining the images. The available options are add, subtract, multiply, and difference, with the default being add. Each mode offers a different way of blending the images:

  • add: Adds the pixel values of the images.
  • subtract: Subtracts the pixel values of the second image from the first.
  • multiply: Multiplies the pixel values of the images.
  • difference: Calculates the absolute difference between the pixel values of the images.

Image Add Multi Output Parameters:

images

images is the output parameter that contains the blended image. This image is the result of applying the specified blending mode to the input images. The output image will reflect the combined visual effect based on the chosen blending method and the number of input images.

Image Add Multi Usage Tips:

  • To achieve a smooth blend between images, use the add blending mode and ensure that the images have similar brightness and contrast levels.
  • Experiment with different blending modes to create unique visual effects. For example, the difference mode can produce interesting high-contrast results.
  • Adjust the inputcount parameter to blend more images and create more complex compositions. Keep in mind that blending too many images may result in a loss of detail.

Image Add Multi Common Errors and Solutions:

"KeyError: 'image_X'"

  • Explanation: This error occurs when the specified number of input images (inputcount) does not match the actual number of images provided.
  • Solution: Ensure that the number of images provided matches the inputcount value. For example, if inputcount is set to 3, you should provide image_1, image_2, and image_3.

"TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'"

  • Explanation: This error occurs when one of the image inputs is not provided or is None.
  • Solution: Make sure all required image inputs are provided and are valid images. Check that the image files are correctly loaded and passed to the node.

"ValueError: images must have the same dimensions"

  • Explanation: This error occurs when the input images have different dimensions, which prevents them from being blended correctly.
  • Solution: Ensure that all input images have the same dimensions. You may need to resize the images to match each other before blending them.

Image Add Multi Related Nodes

Go back to the extension to check out more related nodes.
KJNodes for ComfyUI
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.