ComfyUI > Nodes > ComfyUI_NetDist > Combine images

ComfyUI Node: Combine images

Class Name

CombineImageBatch

Category
remote/image
Author
city96 (Account age: 552days)
Extension
ComfyUI_NetDist
Latest Updated
2024-05-22
Github Stars
0.27K

How to Install ComfyUI_NetDist

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

Combine images Description

Merge two image batches into one for unified processing, essential for AI art generation workflows.

Combine images:

The CombineImageBatch node is designed to merge two batches of images into a single batch. This can be particularly useful when you have multiple sets of images that you want to process together or when you need to combine different image sources for further manipulation. The node ensures that the images are concatenated along the batch dimension, making it easier to handle and process them as a unified set. This functionality is essential for workflows that require batch processing of images, such as in AI art generation, where combining different image batches can lead to more complex and interesting results.

Combine images Input Parameters:

images_a

This parameter represents the first batch of images that you want to combine. It is essential that the images in this batch have the same dimensions as those in the second batch to avoid any size mismatch errors. The images should be in a format that the node can process, typically as tensors. This parameter does not have a default value and must be provided for the node to function correctly.

images_b

This parameter represents the second batch of images that you want to combine with the first batch. Similar to images_a, the images in this batch must have the same dimensions as those in the first batch. Providing images with different dimensions will result in a size mismatch error. This parameter also does not have a default value and must be provided for the node to function correctly.

Combine images Output Parameters:

images

The output parameter images is the combined batch of images resulting from concatenating images_a and images_b. This combined batch can then be used for further processing or analysis. The output is a single tensor that includes all the images from both input batches, making it easier to handle large sets of images in subsequent steps of your workflow.

Combine images Usage Tips:

  • Ensure that the images in both images_a and images_b have the same dimensions to avoid size mismatch errors.
  • Use this node when you need to merge different sets of images for batch processing, which can be particularly useful in AI art generation workflows.
  • If you encounter size mismatch errors, consider resizing or cropping your images to ensure they have the same dimensions before using this node.

Combine images Common Errors and Solutions:

Imagine size mismatch! {images_a.size()}, {images_b.size()}

  • Explanation: This error occurs when the images in images_a and images_b have different dimensions, making it impossible to concatenate them.
  • Solution: Ensure that all images in both batches have the same dimensions. You may need to resize or crop the images to achieve this consistency before using the CombineImageBatch node.

Combine images Related Nodes

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