Get Accumulator (captions)
One caption per line, perfectly aligned to the images
- captions
The labels under a comparison image matter more than they get credit for. baseline vs upscaled vs seed 999 is what turns a grid of similar images into something you can actually read. Get Accumulator (captions) collects the short label from every Set Accumulator (captions) node sharing a name and joins them with a newline - exactly the "one caption per line" format the pack's Image Compare (HTML) node reads.
Like the prompts twin, the separator is hardcoded on purpose. Image Compare expects one caption per line, so the node joins with a plain newline and the contract can't drift. It's the caption-flavored sibling of Get Accumulator (texts) (generic, any separator) and Get Accumulator (prompts) (full prompts, ----joined); you'd typically use all three in one workflow - captions for the short label, prompts for the full source text, and the settings from Generation Info for the parameters.
The inputs that matter:
name- the accumulator name; must match the Set Accumulator (captions) nodes. Press Collect to wire them in, in index order.skip_empty- on by default; skips empty or bypassed branches so they don't leave blank caption lines.
The output:
captions- one STRING, one caption per line, ready for Image Compare'scaptionsinput.
The caption can be plain text or a ColorCaption JSON line (which styles text and band color on the compare page and on drawn captioned images). Feed ColorCaption into a Set Accumulator (captions) on each branch, collect here, and every image in the grid carries its own colored label.
The workflow shape: each branch of a sweep ends in a Set Accumulator (captions) with a descriptive label ("euler_a · seed 42", "dpmpp · seed 99"), and this node collects them so Image Compare renders each image with its identity underneath. Copy a Set and the index auto-increments, so scaling from three branches to eight is copying, not renumbering.
Install via ComfyUI Manager (search "Kinburg-Nodes") or:
cd ComfyUI/custom_nodes
git clone https://github.com/Kinburg/Kinburg-Nodes
then restart. No dependencies beyond the pack - pure string joining. One-author personal collection, per-package docs, 1395 automated checks. The one thing to keep straight: captions are one-liners (this node), full prompts go through Get Accumulator (prompts) - swap them and the compare page renders garbage in both places.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| name | STRING | CAPTIONS | Accumulator name to collect — must match the Set Accumulator (captions) nodes. Press 'Collect' to (re)wire after adding/removing Sets. |
| skip_empty | BOOLEAN | true | Skip empty / bypassed branches so they don't leave blank caption lines. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| captions | STRING | — |