Skip to content

Batch Images

comfyUI节点-Batch Images|图像组合批次

Documentation

  • Class name: ImageBatch
  • Category: image
  • Output node: False

The ImageBatch node is designed for combining two images into a single batch. If the dimensions of the images do not match, it automatically rescales the second image to match the first one’s dimensions before combining them.

Input types

ParameterComfy dtypeDescription
image1IMAGEThe first image to be combined into the batch. It serves as the reference for the dimensions to which the second image will be adjusted if necessary.
image2IMAGEThe second image to be combined into the batch. It is automatically rescaled to match the dimensions of the first image if they differ.

Output types

ParameterComfy dtypeDescription
imageIMAGEThe combined batch of images, with the second image rescaled to match the first one’s dimensions if needed.