> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.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.

此节点设计用于将两张图像组合成单个批量。如果图像的尺寸不匹配，它会自动重新调整第二张图像的尺寸以匹配第一张图像的尺寸，然后再将它们组合。

## 输入

| 参数名称  | 数据类型    | 作用                                          |
| ----- | ------- | ------------------------------------------- |
| `图像1` | `IMAGE` | 第一张要组合进批量的图像。如果需要，它作为第二张图像将被调整到的尺寸的参考。      |
| `图像2` | `IMAGE` | 第二张要组合进批量的图像。如果它们不同，它会被自动重新调整尺寸以匹配第一张图像的尺寸。 |

## 输出

| 参数名称    | 数据类型    | 作用                                   |
| ------- | ------- | ------------------------------------ |
| `image` | `IMAGE` | 组合后的图像批量，必要时第二张图像已重新调整尺寸以匹配第一张图像的尺寸。 |
