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

# ImageGrid - ComfyUI Built-in Node Documentation

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

图像网格节点将多张图像合并为一张排列有序的网格或拼贴图。它接收图像列表，将其排列成指定列数，将每张图像调整至设定的单元格尺寸，并在图像之间添加可选间距。最终输出一张包含所有输入图像的新图像，以网格布局呈现。

## 输入

| 参数      | 描述                            | 数据类型  | 是否必填 | 范围        |
| ------- | ----------------------------- | ----- | ---- | --------- |
| `图像`    | 要排列到网格中的图像列表。该节点至少需要一张图像才能运行。 | IMAGE | 是    | -         |
| `列数`    | 网格中的列数（默认值：4）。                | INT   | 否    | 1 - 20    |
| `单元格宽度` | 网格中每个单元格的宽度，单位为像素（默认值：256）。   | INT   | 否    | 32 - 2048 |
| `单元格高度` | 网格中每个单元格的高度，单位为像素（默认值：256）。   | INT   | 否    | 32 - 2048 |
| `间距`    | 网格中图像之间的间距，单位为像素（默认值：4）。      | INT   | 否    | 0 - 50    |

## 输出

| 输出名称    | 描述                    | 数据类型  |
| ------- | --------------------- | ----- |
| `image` | 包含所有输入图像按网格排列的单张输出图像。 | IMAGE |

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

***

**Source fingerprint (SHA-256):** `79d0942c79d3966d06fe804f839c1d677764cef90265bd621bf915fe6de0ad46`
