Image Collage

Composite multiple images into ONE large 2K/4K image, arranged by a smart layout.

Overview

The Image Collage node takes every image wired into its input and arranges them into a single composited image. Connect 2–30 image producers — or a List of image URLs — to the input handle. No image is ever cropped — every source is shown in full. Two layout algorithms:

Each image is fit inside its cell (centered, no distortion, no crop). It’s a local FFmpeg operation — no external provider, no browser.

Configuration

Field Type Default Description
Layout Select smart smart (justified rows, height floats) or grid (uniform letterboxed cells)
Aspect Ratio Select 4:3 Choose from 1:1, 4:3, 3:2, 16:9, 21:9, 4:5, 3:4, 2:3, 9:16 — each shown as a proportional shape in the picker. In grid mode this is the exact output canvas ratio; in smart mode it’s a target shape that steers the row count while the real output height floats. Any W:H is accepted via the API.
Resolution Select 4K Long-edge resolution: 2K (2560px) or 4K (3840px)
Gap Number 24 Space between cells + outer margin, in px on the output canvas (0–200)
Background Color Color #ffffff Shown in the gaps between images and in the letterbox space of grid cells

In grid mode the canvas is exactly resolution (long edge) × aspectRatio — e.g. 4K + 16:9 = 3840×2160, 2K + 1:1 = 2560×2560, 4K + 4:3 = 3840×2880. In smart mode the width comes from that same target but the height floats so no image is cropped (bounded to at most 2× the target long edge; extreme inputs are uniformly scaled down, never cropped).

Auto-Attach to a Character Board (API)

Not exposed in the node’s canvas config panel — these are request-body-only fields on POST /v1/image-collage, used by the Character Studio’s Board page (see the Character node) and available to direct API callers.

Field Type Default Description
attachToCharacterId uuid (none) Character to attach the finished collage to. Combine with attachToColumn + attachName so the worker appends the result to that character on completion — even if the caller disconnects mid-generation.
attachToColumn "boards" (none) The only valid attach target from this route.
attachName string (none) Name the board is saved under. The Character Studio auto-suffixes on collision (e.g. “Evening gown 2”); the API does not dedupe for you.
attachBoardType "identity" | "looks" (none) Board kind recorded on the entry. The Character Studio’s Board page always sends "identity".

All four are optional and independent of layout/resolution/aspectRatio/gap/backgroundColor — pricing (below) is unaffected by whether the result is attached.

Inputs & Outputs

Inputs: Image (2–30, required) — accepts any image producer or a List of image URLs on a single multi-input handle. Outputs: Image (PNG)

Credit Cost

Priced by output resolution:

Resolution Credits
2K 2
4K 4

Independent of the number of input images (all compositing is a single local FFmpeg pass).

Best Practices

Common Use Cases

Tips