Nodes/Kinburg-Nodes/Set Accumulator (gen info)
ComfyUI Node

Set Accumulator (gen info)

Carry each branch's settings to the compare, automatically

By Kinburg·Created 3 months ago·Updated 6 days ago· 1
Set Accumulator (gen info)
  • data
  • data
nameSETTINGS
index0

You ran five branches with different settings, and now you want the settings shown under each result so the compare actually tells you what differed. That's the job of the generation-info accumulator chain: Generation Info walks a branch and dumps its settings as a GEN_INFO bundle, Set Accumulator (gen info) tags each branch's dump with a name and index, and a matching Get Accumulator (gen info) collects them so a Generation Info Filter can line the dumps up field-by-field across images. This node is the middle link - the label that makes the collected order meaningful.

How it works

The Set node is a pass-through, like the rest of the accumulator family: data (a GEN_INFO bundle from the Generation Info node's data output) comes in and leaves unchanged. The label is name (default SETTINGS) plus an index that auto-increments when you copy the node. A Get Accumulator (gen info) with the same name collects one bundle per branch, in index order, and hands the whole thing to the Filter, which emits a per-image settings string (one block per dump, in accumulator index order) - that's what renders under each thumbnail in Image Compare.

Because the wiring is plain links created by the Get side's Collect button, the ordering is honest: index order is branch order, and a bypassed or muted branch drops out on re-collect so the blocks stay aligned with the surviving images.

Inputs and output

  • data - the GEN_INFO bundle for this branch, straight from a Generation Info node. Passes through unchanged.
  • name - accumulator name, must match the Get node exactly. Default SETTINGS.
  • index - position in the collected bundle, 0–9999.

The data output is your pass-through.

Install

Part of the Kinburg-Nodes pack: ComfyUI Manager (search "Kinburg-Nodes") or git clone https://github.com/Kinburg/Kinburg-Nodes into custom_nodes, then restart. No extra dependencies.

The gotcha

The ordering contract is everything here: the Filter lines dumps up by accumulator index, so if the index order doesn't match your image order in the compare, the settings land under the wrong image silently. Keep indexes in step with branch order, and press Collect again on the Get side after adding or removing Sets. One more subtlety from the docs: if a node reports its own runtime facts (the pack's Chimera exposes gen_extra_info), the Generation Info node's extra input merges it in front of the walked settings into a single dump - so that branch still feeds exactly one Set Accumulator (gen info). Wire such a node straight into the accumulator instead, and that branch's dump loses the shared settings, which makes the Filter's differences mode keep every field.

CategoryKinburg-Nodes/flow/accumulators

Inputs (3)

NameTypeDefaultDescription
dataGEN_INFO
nameSTRINGSETTINGSAccumulator name. A Get Accumulator (gen info) with the same name collects every Set that shares it.
indexINT00–9999Position in the collected bundle. Auto-increments when you copy the node.

Outputs (1)

NameTypeDescription
dataGEN_INFO