> ## 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.

# ImageGrid - ComfyUI Built-in Node Documentation

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

> 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/ImageGrid/en.md)

The Image Grid node combines multiple images into a single, organized grid or collage. It takes a list of images and arranges them into a specified number of columns, resizing each image to fit a defined cell size and adding optional padding between them. The result is a single, new image containing all the input images in a grid layout.

## Inputs

| Parameter     | Data Type | Required | Range     | Description                                                                                      |
| ------------- | --------- | -------- | --------- | ------------------------------------------------------------------------------------------------ |
| `images`      | IMAGE     | Yes      | -         | A list of images to be arranged into the grid. The node requires at least one image to function. |
| `columns`     | INT       | No       | 1 - 20    | The number of columns in the grid (default: 4).                                                  |
| `cell_width`  | INT       | No       | 32 - 2048 | The width, in pixels, of each cell in the grid (default: 256).                                   |
| `cell_height` | INT       | No       | 32 - 2048 | The height, in pixels, of each cell in the grid (default: 256).                                  |
| `padding`     | INT       | No       | 0 - 50    | The amount of padding, in pixels, to place between images in the grid (default: 4).              |

## Outputs

| Output Name | Data Type | Description                                                                 |
| ----------- | --------- | --------------------------------------------------------------------------- |
| `image`     | IMAGE     | The single output image containing all the input images arranged in a grid. |
