> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# 图像表格（ImageGrid）

<div class="node-meta"><code>ImageGrid</code><span>image/batch</span><span>角色：图像处理</span></div>

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

## 参数

| 参数            | 类型         | 默认 / 范围    | 说明                  |
| ------------- | ---------- | ---------- | ------------------- |
| `images`      | IMAGE · 图像 | —（连线输入）    | IMAGE 张量批次，可一次处理多张。 |
| `columns`     | INT        | 1 \~ 20    | —                   |
| `cell_width`  | INT        | 32 \~ 2048 | —                   |
| `cell_height` | INT        | 32 \~ 2048 | —                   |
| `padding`     | INT        | 0 \~ 50    | 框与内容之间的留白。          |

## 输出

| 输出     | 类型    | 说明 |
| ------ | ----- | -- |
| images | IMAGE | 图像 |

## 怎么接

- **上游**：LoadImage / VAEDecode
- **下游**：VAEEncode / SaveImage / 下一个图像节点
- **接线**：接在 LoadImage 或 VAEDecode 之后，处理结果再交给 VAEEncode（重绘）、SaveImage（出图）或下一个图像节点；这类节点可以任意串联成处理流水线。

## 使用案例

属于「图像处理」类节点，向下游提供图像数据。从 `images`、`columns`（4）、`cell_width`（256） 开始填就能跑起来。典型接法：`LoadImage` → 本节点 → `VAEEncode`。输出类型是 IMAGE，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

![ImageGrid 端口与连线示意](/svg/ImageGrid.svg)

## 同类节点

[组合图像批次](/nodes/05/ImageBatch.md) · [从批次获取图像](/nodes/05/ImageFromBatch.md) · [复制图像批次](/nodes/05/RepeatImageBatch.md) · [批量图像](/nodes/05/BatchImagesNode.md) · [图像去重](/nodes/05/ImageDeduplication.md) · [将图块列表合并为图像](/nodes/05/ImageMergeTileList.md) · [融合图像序列](/nodes/05/MergeImageLists.md) · [重设图像批次](/nodes/05/RebatchImages.md) · [打乱图像数据集](/nodes/05/ShuffleDataset.md) · [打乱图像文本数据集](/nodes/05/ShuffleImageTextDataset.md) · [将图像拆分为图块列表](/nodes/05/SplitImageToTileList.md)
