ComfyUI > Nodes > ComfyUI-LogicUtils > Concat Grid (Batch to single grid)

ComfyUI Node: Concat Grid (Batch to single grid)

Class Name

ConcatGridNode

Category
image
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LogicUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LogicUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Concat Grid (Batch to single grid) Description

Combines images into customizable grids for structured presentations and creative displays.

Concat Grid (Batch to single grid):

The ConcatGridNode is designed to seamlessly combine multiple images into a cohesive grid or collage. This node is particularly useful for artists and designers who want to present a collection of images in a structured format, whether for showcasing, comparison, or creative expression. By offering flexible layout options, such as horizontal, vertical, or square-like arrangements, the node allows you to tailor the presentation to your specific needs. The node can adjust the images to fit the grid either by resizing them to match dimensions or by adding padding to maintain their original size. This versatility makes it an essential tool for creating visually appealing image compositions without the need for manual adjustments.

Concat Grid (Batch to single grid) Input Parameters:

images

This parameter accepts a collection of images that you wish to combine into a grid. The images can be provided as a list, tuple, or a tensor. The node will process these images to create a unified grid layout based on the specified direction and match method.

direction

The direction parameter determines how the images will be arranged in the grid. It offers three options: "horizontal" for side-by-side alignment, "vertical" for stacking images from top to bottom, and "square-like" for arranging images in an NxN grid, where N is the ceiling of the square root of the number of images. The default setting is "horizontal."

match_method

This parameter specifies how the images should be adjusted to fit the grid. The "resize" option scales the images so that their matching dimension is consistent (height for horizontal, width for vertical, or cell-size for square-like). Alternatively, the "pad" option retains the original image size but adds transparent padding to ensure uniformity in the matching dimension. The default method is "resize."

Concat Grid (Batch to single grid) Output Parameters:

IMAGE

The output of the ConcatGridNode is a single image that represents the combined grid of the input images. This output image is the result of arranging the input images according to the specified direction and match method, providing a visually cohesive presentation.

Concat Grid (Batch to single grid) Usage Tips:

  • To create a balanced grid, consider using the "square-like" direction when you have a large number of images, as it automatically arranges them in a visually appealing NxN format.
  • Use the "resize" match method if you want all images to have a uniform appearance, which is particularly useful for creating professional-looking presentations.

Concat Grid (Batch to single grid) Common Errors and Solutions:

No images provided to Concat Grid

  • Explanation: This error occurs when the node does not receive any images to process.
  • Solution: Ensure that you provide a valid list, tuple, or tensor of images as input to the node.

Invalid image format

  • Explanation: The node expects images in a specific format, such as a tensor or a list of PIL images.
  • Solution: Convert your images to the required format before passing them to the node. Use image processing libraries like PIL to ensure compatibility.

Concat Grid (Batch to single grid) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LogicUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Concat Grid (Batch to single grid)