Nodes/was-node-suite-comfyui/Create Grid Image
ComfyUI Node Runs on cloud

Create Grid Image

Turn a folder of outputs into one contact sheet

By WASasquatch·Created 3 years ago·Updated about a year ago· 1,812
Create Grid Image

      WAS's README describes this one precisely: "Create a image grid from images at a destination with customizable glob pattern. Optional border size and color." The key detail that makes this node different from most image nodes in ComfyUI is right there - it doesn't read images out of your live graph, it points at a folder on disk and pulls in whatever matches a glob pattern (*.png, **/* for everything recursively, and so on), then tiles all of it into a single grid image with an optional border between tiles.

      The reason you'd want that is one of the most common ComfyUI workflows there is: the batch comparison. Run an X/Y sweep across seeds, CFG values, or sampler steps, save every result to a folder, and now you've got dozens of separate PNGs you'd otherwise have to open one at a time to compare. Create Grid Image turns that folder into one contact sheet you can actually scan at a glance - which seed had the composition you liked, which CFG value started blowing out detail, all visible in a single image instead of a file browser full of near-identical thumbnails.

      One thing worth flagging so you grab the right tool the first time: WAS also ships Create Grid Image from Batch, a related but genuinely different node that builds its grid from an in-graph batch tensor of images rather than from files on disk. If your images already exist as a batch inside the current workflow run, that's the one you want - Create Grid Image (this node) is specifically for images that have already been saved to a destination and you're assembling after the fact.

      Inputs line up with the README's own description: a folder path, a glob pattern to select which files in it get included, and border size/color settings (documented as optional). Output is a single IMAGE - the assembled grid - ready to preview or save like any other image output.

      Installing it: ComfyUI Manager, search "WAS Node Suite," install, restart - the straightforward path. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/WASasquatch/was-node-suite-comfyui, then pip install -r requirements.txt (portable: python_embeded\python.exe -s -m pip install -r requirements.txt; manual/venv: activate the venv first), restart ComfyUI. No model or unusual dependency here - it's file I/O and image compositing.

      Where it bites: the glob pattern is the part most likely to trip you up - get the pattern wrong (forgetting the **/ prefix if your images are in subfolders, or being too broad and pulling in files you didn't mean to include) and you'll either get an empty grid or one with more tiles than you expected. Double-check the path is one your ComfyUI process actually has read access to, especially if you're running in a container or a hosted environment where the folder structure might not match what you'd expect locally. Beyond that, the standing caveat for the whole pack: WAS Node Suite has been unmaintained since December 2023 (its README says "Retired"), and the community's recurring complaint is the entire suite failing to import after a ComfyUI update rather than individual nodes breaking on their own - check your console for that before assuming this node specifically is at fault.

      Categoryx

      Inputs (0)

      No inputs

      Outputs (0)

      No outputs