ComfyUI > Nodes > ComfyUI 1hewNodes > Multi Image Stitch

ComfyUI Node: Multi Image Stitch

Class Name

1hew_MultiImageStitch

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 Stitch Description

Combines multiple images into one, supporting vertical/horizontal stitching and auto-resizing.

Multi Image Stitch:

The 1hew_MultiImageStitch node is designed to seamlessly combine multiple images into a single cohesive output. This node is particularly useful for AI artists who want to create composite images by stitching together various image elements. It offers flexibility in terms of how images are aligned and combined, allowing for both vertical and horizontal stitching. The node can handle images of different sizes, automatically resizing or padding them to ensure a smooth and visually appealing transition between images. By using this node, you can efficiently create complex image compositions without needing extensive manual adjustments, making it an essential tool for creative projects that require image merging.

Multi Image Stitch Input Parameters:

images

This parameter accepts a list of images that you want to stitch together. The images should be provided in a specific order, as the node will process them sequentially. The node can handle images of varying sizes and will adjust them as needed to ensure a seamless stitch. There is no strict limit on the number of images you can input, but keep in mind that more images may require more processing time.

direction

This parameter determines the direction in which the images will be stitched together. Options typically include "horizontal" or "vertical," allowing you to choose whether the images are combined side-by-side or stacked on top of each other. The choice of direction will affect the final composition and should be selected based on your creative vision.

match_image_size

This boolean parameter specifies whether the images should be resized to match each other's dimensions before stitching. When set to True, the node will resize images to ensure they align perfectly, preserving the aspect ratio. This is particularly useful when combining images of different sizes to maintain a consistent look.

spacing_width

This parameter defines the width of the space between stitched images. It allows you to add a visual separation between images, which can enhance the overall composition. The value is typically specified in pixels, and you can adjust it based on your design preferences.

spacing_color

This parameter sets the color of the spacing between images. You can choose a color that complements your images or matches the overall theme of your composition. The color is usually specified in RGB format, allowing for a wide range of customization options.

pad_color

This parameter determines the color used for padding when images are resized or aligned. Padding is added to ensure that images of different sizes can be stitched together seamlessly. Like the spacing color, the pad color is specified in RGB format, providing flexibility in design choices.

Multi Image Stitch Output Parameters:

stitched_image

The output of the node is a single image that results from stitching together the input images according to the specified parameters. This composite image reflects the chosen direction, spacing, and color settings, providing a unified visual output. The stitched image can be used as a final artwork or as a base for further creative modifications.

Multi Image Stitch Usage Tips:

  • To achieve a seamless look, ensure that the match_image_size parameter is set to True when working with images of different dimensions.
  • Experiment with different spacing_width and spacing_color settings to create unique visual effects and enhance the overall composition of your stitched image.
  • Use the pad_color parameter to blend the edges of images smoothly, especially when combining images with contrasting backgrounds.

Multi Image Stitch Common Errors and Solutions:

"No images provided"

  • Explanation: This error occurs when the node is executed without any input images.
  • Solution: Ensure that you provide at least one image in the input list before running the node.

"Mismatched image dimensions"

  • Explanation: This error can happen if the match_image_size parameter is set to False and the images have significantly different dimensions.
  • Solution: Set the match_image_size parameter to True to automatically resize images for a better fit.

"Invalid color format"

  • Explanation: This error indicates that the spacing_color or pad_color parameters are not specified in a valid RGB format.
  • Solution: Double-check the color values and ensure they are provided in the correct RGB format, such as (255, 255, 255) for white.

Multi Image Stitch 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 Stitch