> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageBatch - ComfyUI Built-in Node Documentation

> Complete documentation for the ImageBatch node in ComfyUI. Learn its inputs, outputs, parameters and usage.

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.

## Inputs

| Parameter | Description                                                                                                                                           | Data Type |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `image1`  | The 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. | `IMAGE`   |
| `image2`  | The second image to be combined into the batch. It is automatically rescaled to match the dimensions of the first image if they differ.               | `IMAGE`   |

## Outputs

| Parameter | Description                                                                                                 | Data Type |
| --------- | ----------------------------------------------------------------------------------------------------------- | --------- |
| `image`   | The combined batch of images, with the second image rescaled to match the first one's dimensions if needed. | `IMAGE`   |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageBatch/en.md)
