ComfyUI Node

Collage

A ComfyUI node in Kinburg-Nodes/image with 9 inputs and 1 output.

By Kinburg·Created 2 months ago·Updated 3 days ago· 1
Collage
  • input_images
  • background_image
  • image
output_width2480
output_height3508
cols3
gap10
margin20
background_color#FFFFFF
folder_path
CategoryKinburg-Nodes/image

Inputs (9)

NameTypeDefaultDescription
output_widthINT24801–16384Width of the output collage, in px.
output_heightINT35081–16384Height of the output collage, in px.
colsINT31–100Number of columns; the row count is derived from the image count.
gapINT100–2000Spacing between cells, in px.
marginINT200–2000Outer margin around the grid, in px.
background_colorSTRING#FFFFFFCanvas color as HEX (#RRGGBB), used when no background_image is connected.
input_imagesoptIMAGEImages to arrange. If not connected, images are loaded from folder_path instead.
background_imageoptIMAGEOptional background, stretched to the output size. Overrides background_color (first frame only).
folder_pathoptSTRINGFallback source: load every image in this folder (natural-sorted) when input_images isn't connected.

Outputs (1)

NameTypeDescription
imageIMAGE