Get Accumulator (prompts)
Your sweep's full prompts, aligned to the images that made them
- prompts
A comparison of images is only half useful if you can't see which prompt produced each one. Get Accumulator (prompts) exists so those prompts travel with their images: it collects every Set Accumulator (prompts) node sharing a name and joins them with a hardcoded --- line - which is exactly how the pack's Image Compare (HTML) node splits multi-line prompts back apart. The two ends can't mismatch, because the separator isn't a setting.
That's the whole design thesis of this node versus its generic twin: Get Accumulator (texts) lets you pick any separator, but for the compare-tuned case the pack hardcodes the contract. The --- line is what makes Image Compare line up one prompt block per image, so when you collect prompts from the same branches that fed the images, the page shows each image under its own full prompt.
The inputs that matter:
name- the accumulator name; must match the Set Accumulator (prompts) 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 stray separators.
The output:
prompts- one STRING, prompt blocks joined by---lines, ready for Image Compare'spromptsinput.
The workflow it belongs to: a parameter sweep where each branch ends in a Set Accumulator (prompts) alongside a Set Accumulator (images). Collect both with their Get nodes, and the comparison page gets the images and the exact prompts that produced them. If you've ever stared at a winning image and couldn't remember which variant of the prompt made it, this is the fix - the answer is stored next to the pixels.
The pair to know: Get Accumulator (captions) is the same idea for short labels (joined with a newline, one caption per line) - use that for the one-liner header and this for the full prompt. Between the two, Image Compare can show both the label and the complete source text under every image.
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 - string assembly. One-author personal collection, per-package docs, 1395 automated checks. Nothing here is fiddly except remembering the --- separator is the contract: don't hand-join prompts with newlines and feed them in, or Image Compare will treat every line as a separate block.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| name | STRING | PROMPTS | Accumulator name to collect — must match the Set Accumulator (prompts) nodes. Press 'Collect' to (re)wire after adding/removing Sets. |
| skip_empty | BOOLEAN | true | Skip empty / bypassed branches so they don't leave stray separators. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompts | STRING | — |