ComfyUI > Nodes > ComfyUI > Batch Images

ComfyUI Node: Batch Images

Class Name

BatchImagesNode

Category
image/batch
Author
ComfyAnonymous (Account age: 763days)
Extension
ComfyUI
Latest Updated
2026-05-13
Github Stars
112.77K

How to Install ComfyUI

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

Batch Images Description

Streamline image batch processing for AI artists, manage multiple images efficiently, ensure uniformity, save time.

Batch Images:

The BatchImagesNode is designed to streamline the process of combining multiple images into a single batch, making it an essential tool for AI artists who work with large sets of images. This node allows you to efficiently manage and process multiple images simultaneously, which can significantly enhance your workflow when dealing with image manipulation tasks. By batching images, you can apply consistent transformations or analyses across all images in the batch, ensuring uniformity and saving time. The node automatically handles differences in image dimensions and channels, ensuring that all images are compatible for batching. This capability is particularly beneficial when preparing images for machine learning models or when you need to perform batch processing tasks such as filtering, resizing, or augmenting images.

Batch Images Input Parameters:

images

The images input parameter is a dynamic list of images that you wish to batch together. This parameter accepts multiple images, with a minimum of 2 and a maximum of 50 images. The images are automatically adjusted to have the same number of channels and dimensions, ensuring compatibility for batching. This input is crucial as it determines the set of images that will be processed together, allowing you to apply uniform operations across the entire batch. The flexibility in the number of images you can input makes it suitable for various tasks, from small-scale projects to larger datasets.

Batch Images Output Parameters:

output

The output of the BatchImagesNode is a single batched image tensor. This output represents the combined set of input images, organized in a format that is ready for further processing or analysis. The batched image maintains the integrity of the individual images while allowing for efficient batch operations. This output is particularly useful for tasks that require consistent processing across multiple images, such as training machine learning models or applying batch transformations.

Batch Images Usage Tips:

  • Ensure that all input images are of similar types and formats to avoid unnecessary complications during the batching process.
  • Use this node when you need to apply the same transformation or analysis to multiple images, as it will save time and ensure consistency across your dataset.
  • Consider the order of images in your input list, as the first image's dimensions will be used as a reference for resizing other images.

Batch Images Common Errors and Solutions:

"Input images have incompatible dimensions"

  • Explanation: This error occurs when the input images have significantly different dimensions that cannot be automatically adjusted by the node.
  • Solution: Ensure that all input images are of similar dimensions or manually resize them before inputting them into the node.

"Exceeded maximum number of images"

  • Explanation: This error is triggered when the number of input images exceeds the maximum limit of 50.
  • Solution: Reduce the number of images in your input list to 50 or fewer before attempting to batch them.

"No images provided"

  • Explanation: This error occurs when the input list contains fewer than the minimum required number of images, which is 2.
  • Solution: Add more images to your input list to meet the minimum requirement of 2 images for batching.

Batch Images Related Nodes

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

Batch Images