Nodes/komojini-comfyui-nodes/🔥(adv) FlowBuilderSetter
ComfyUI Node

🔥(adv) FlowBuilderSetter

🔥(adv) FlowBuilderSetter — the flame-labeled advanced flow setter

By komojini·Created 3 years ago·Updated 2 years ago· 77
🔥(adv) FlowBuilderSetter
  • value
  • value
â—„keyâ–º
â—„batch_size1â–º

🔥(adv) FlowBuilderSetter is, functionally, the same node as FlowBuilderSetter (adv) - the advanced flow setter from komojini-comfyui-nodes - just registered under a second class name with a different display title. The pack's __init__.py maps both FlowBuilderSetter (adv) and FlowBuilder (advanced) Setter to the same Python class and gives this one the flame-prefixed label. So if you see two "advanced" setter entries in your node menu, pick either; they behave identically.

Which means everything on the FlowBuilderSetter (adv) page applies here, but let's recap the parts that matter because this node carries the most concepts of any flow variant:

The flow half. Place it before an output node. Its Queue button runs only the subgraph feeding it: the pack mutes unrelated nodes, queues the prompt, waits, and restores everything. That's the "run only what changed" behavior the whole pack is built around.

The setter half. Whatever value passes through gets stored in the pack's in-memory cache under the key you provide, and a matching Getter/CachedGetter anywhere else in the graph can read it back. The key is the pairing label - Getter dropdowns list the Setter keys present, and matching Getters retitle themselves Get_<key>.

The advanced half. On top of the single-run button, the UI adds:

  • batch_size looping - run the flow N times, each pass only executing the relevant subgraph;
  • Auto Queue - loop continuously until you stop it;
  • Disable Unrelated Nodes - the toggle that turns the mute-unrelated trick on and off;
  • a status readout showing which pass is running.

Inputs and output. Required value (*) and key (STRING); optional batch_size (INT, default 1); one * output that passes value through.

The honest advice. This is the most feature-complete flow node in the pack, and also the most to go wrong. The mute/restore JS is 2024-era code on a frontend that has moved twice since, so on a current ComfyUI build the batch loop and node muting are exactly where you'd expect breakage. Start with one run (batch_size 1, unrelated-nodes toggle on), confirm the subgraph-only behavior works, and only then trust the loop. And remember the ordering rule: a Getter only reads this node's cached value if this node executed first.

Install. One pack for everything:

ComfyUI Manager → search "komojini-comfyui-nodes" → Install → restart

or cd ComfyUI/custom_nodes && git clone https://github.com/komojini/komojini-comfyui-nodes. No models, no heavy deps beyond the pack's pytube/opencv requirements.

Categorykomojini/flow

Inputs (3)

NameTypeDefaultDescription
value*—
keySTRING—
batch_sizeoptINT11–10000—

Outputs (1)

NameTypeDescription
value*—