> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/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.

`ImageBatch` 节点用于将两张图像合并为一个批次。如果图像的尺寸不匹配，它会自动将第二张图像重新缩放以匹配第一张图像的尺寸，然后再进行合并。

## 输入

| 参数    | 描述                                        | 数据类型    |
| ----- | ----------------------------------------- | ------- |
| `图像1` | 要合并到批次中的第一张图像。它作为尺寸参考，如有必要，第二张图像将据此进行调整。  | `IMAGE` |
| `图像2` | 要合并到批次中的第二张图像。如果尺寸不同，它会自动重新缩放以匹配第一张图像的尺寸。 | `IMAGE` |

## 输出

| 参数      | 描述                                   | 数据类型    |
| ------- | ------------------------------------ | ------- |
| `image` | 合并后的图像批次，如有需要，第二张图像已重新缩放以匹配第一张图像的尺寸。 | `IMAGE` |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageBatch/zh.md)
