ComfyUI Node

Motorway 0x5

Five values off the Motorway, when a 4x0 isn't enough

By agilly1989Β·Created 2 years agoΒ·Updated about a year agoΒ· 7
Motorway 0x5
  • MOTORWAY πŸšŒπŸ’¨
  • MOTORWAY πŸšŒπŸ’¨
  • ANY (A)
  • ANY (B)
  • ANY (C)
  • ANY (D)
  • ANY (E)
β—„ANY_(A)_keyβ€”β–Ί
β—„ANY_(B)_keyβ€”β–Ί
β—„ANY_(C)_keyβ€”β–Ί
β—„ANY_(D)_keyβ€”β–Ί
β—„ANY_(E)_keyβ€”β–Ί

Motorway 0x5 is the five-lane off-ramp of agilly1989's "pipe" pack. It pulls five values off the MOTORWAY πŸšŒπŸ’¨ bus by key, in one node. Where a 0x4 is the classic KSampler bundle, 0x5 is the "KSampler bundle plus" - model, positive, negative, latent and seed in a single pull, or whatever five things your step of the pipeline happens to need.

If you haven't met the pack: it's a key-value data bus for ComfyUI. MotorwayStart creates an empty bus, on-ramps store values under string keys, and 0xN off-ramps like this one pull them back out. It scratches the same "stop dragging wires everywhere" itch as rgthree's Context nodes, just as an any-typed key-value bag instead of a typed bundle.

How it works

Nothing clever beyond the family's standard: the bus goes in, you type keys into the five _key widgets, and each matching value comes out on ANY (A) through ANY (E) as type *. The bus is cloned at every node (snapshot semantics), keys are exact strings hashed with SHA-256, and duplicate keys overwrite. It's Motorway 0x4 with one more lane.

The five-seed variant is genuinely handy: keep seed on the bus from a MotorwaySeed start node, and a single 0x5 hands your sampler everything including the seed - the whole generate step is one clean bundle.

Inputs and outputs that matter

  • MOTORWAY πŸšŒπŸ’¨ (required) - the bus.
  • ANY_(A)_key … ANY_(E)_key (optional) - the five keys to pull.
  • Outputs: MOTORWAY πŸšŒπŸ’¨ plus ANY (A)–ANY (E).

Leave blank keys unused; outputs simply don't connect.

Installing

cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway

or ComfyUI Manager β†’ "ComfyUI_agilly1989_motorway", restart. No pip dependencies, no models to download.

Where people get burned

  • 'MotorwayClass' object has no attribute 'hash_' - one of the five keys isn't on the bus. Exact-match, so check spacing, and check ordering: the store must execute before the pull.
  • Over-bundling. If you find yourself pulling five values you only occasionally use together, you've probably over-fitted one ramp. Two 0x1s + a 0x3 is often clearer than forcing a five-bundle.
  • Beta. README's own warning: active development, flows break between versions. Don't build a fragile masterpiece on it without pinning.

For most workflows, 0x4 is the one you actually want; 0x5 earns its keep specifically for the seed-plus-sampler pattern.

Categoryagilly1989 Nodes/Motorways

Inputs (6)

NameTypeDefaultDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”
ANY_(A)_keyoptSTRINGβ€”
ANY_(B)_keyoptSTRINGβ€”
ANY_(C)_keyoptSTRINGβ€”
ANY_(D)_keyoptSTRINGβ€”
ANY_(E)_keyoptSTRINGβ€”

Outputs (6)

NameTypeDescription
MOTORWAY πŸšŒπŸ’¨MOTORWAY πŸšŒπŸ’¨β€”
ANY (A)*β€”
ANY (B)*β€”
ANY (C)*β€”
ANY (D)*β€”
ANY (E)*β€”