ComfyUI > Nodes > ComfyUI 1hewNodes > Multi Image Overlay

ComfyUI Node: Multi Image Overlay

Class Name

1hew_MultiImageOverlay

Category
1hewNodes/multi
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

Multi Image Overlay Description

Facilitates sequential overlay of multiple images for complex compositions using alpha channels.

Multi Image Overlay:

The 1hew_MultiImageOverlay node is designed to facilitate the overlaying of multiple images in a sequential manner, allowing for complex image compositions. This node is particularly useful for AI artists who wish to combine several images into a single cohesive output, leveraging the power of alpha compositing for RGBA images. The node processes images in a specified order, ensuring that each subsequent image is overlaid on top of the previous ones. This method allows for creative layering effects, where images can be blended seamlessly using their alpha channels. For RGB images, which lack an alpha channel, the node treats them as fully opaque, ensuring that they are integrated into the composition without transparency. The primary goal of this node is to provide a flexible and efficient way to create multi-layered image compositions, enhancing the creative possibilities for users.

Multi Image Overlay Input Parameters:

fit_mode

The fit_mode parameter determines how each image is adjusted to fit the canvas during the overlay process. It offers three options: top_left, center, and stretch. Top_left aligns the image to the top-left corner of the canvas, center places the image in the center, and stretch scales the image to fit the entire canvas. This parameter is crucial for controlling the positioning and scaling of images, impacting the final composition's appearance. The default value is center.

color

The color parameter specifies the background color used when the output does not include an alpha channel. It accepts a string representation of the color, with the default being "1.0", which corresponds to white. This parameter is important for defining the background appearance when images are composited without transparency.

output_alpha

The output_alpha parameter is a boolean that determines whether the final output should include an alpha channel. When set to True, the output retains transparency information, allowing for further compositing. If False, the output is flattened against the specified background color. The default value is False.

image_1

The image_1 parameter is the first image input for the overlay process. It serves as the base layer upon which subsequent images are overlaid. This parameter is essential as it sets the initial canvas size and color space for the composition.

Multi Image Overlay Output Parameters:

image

The image output parameter represents the final composited image resulting from the overlay process. This output is a single image that combines all input images according to the specified parameters, such as fit_mode and output_alpha. It is the culmination of the node's processing, providing a ready-to-use image for further artistic applications or final output.

Multi Image Overlay Usage Tips:

  • To achieve a seamless blend of images, ensure that your input images have compatible dimensions or use the fit_mode parameter to adjust their positioning and scaling effectively.
  • Experiment with the output_alpha parameter to decide whether you need a transparent output for further compositing or a flattened image against a background color.
  • Use the color parameter to set a background that complements your image composition, especially when output_alpha is set to False.

Multi Image Overlay Common Errors and Solutions:

No images provided

  • Explanation: This error occurs when no images are supplied to the node for processing.
  • Solution: Ensure that at least one image is connected to the image_1 input parameter to initiate the overlay process.

Mismatched image dimensions

  • Explanation: This error arises when input images have incompatible dimensions, leading to unexpected results during compositing.
  • Solution: Use the fit_mode parameter to adjust the images to a common size or manually resize the images before inputting them into the node.

Invalid color format

  • Explanation: This error occurs when the color parameter is set to an unrecognized format.
  • Solution: Ensure that the color parameter is specified in a valid string format, such as "1.0" for white or "0.0" for black.

Multi Image Overlay 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.

Multi Image Overlay