Motorway 1x5
The seed that feeds a whole stage
- MOTORWAY ππ¨
- ANY_(A)
- MOTORWAY ππ¨
- ANY (A)
- ANY (B)
- ANY (C)
- ANY (D)
- ANY (E)
The Motorway 1x5 is the fan-out node for when one value has to reach half a dozen consumers. One input in, five outputs out, all riding the keyed pipe from agilly1989/ComfyUI_agilly1989_motorway. If you've ever wished a single seed could feed your sampler, your variation node, and three other places without five copies of the same wire, this is the node you were looking for.
The pack is one author's reimplementation of the "pipe" idea for ComfyUI. Rather than a fixed set of slots, the motorway is a bag of values tagged with string keys; any ramp node can write values in and read values out by name. The 1x5 is a small write / big read shape - the classic "distribute" node. You write one thing in and read it (plus up to four other things already on the bus) out to wherever they're needed.
How it works. The single ANY_(A) input is a write: fill ANY_(A)_key and the value is stored on the MotorwayClass under that name, hashed to an attribute via sha256. The five outputs read by key. ANY (A) echoes what you just wrote (same key), while ANY (B) through ANY (E) read whatever earlier ramps stored under their keys. The bus is cloned before outputs are produced, so all five reads come from one snapshot - the node can't return a value written by a later node.
Inputs and outputs that matter. The required MOTORWAY ππ¨ input must already be live from a MotorwayStart. ANY_(A) in, ANY (A)βANY (E) out - all wildcards, accepting any type. The five _key fields are the whole interface: A names the write and the first read; BβE name the other reads. The natural setup is a seed in on A with seed as the key, then feed output A to the sampler while pulling your model, clip, vae and latent off B, C, D, E - one node standing in for five wires.
Install. ComfyUI Manager (search "ComfyUI_agilly1989_motorway") or:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
Restart ComfyUI. No dependencies or downloads - pure Python.
Common issues. Expect the pack's signature error if a read key doesn't match any write: 'MotorwayClass' object has no attribute 'hash_'. Keys are exact and case-sensitive, and writes must happen upstream of reads. Blank read keys silently drop outputs and shrink the tuple, which trips ComfyUI's fixed output count. And keep the beta reality in mind - the README's first line admits the thing is broken and will get fixed when the author feels like it. It's a genuinely useful little pack, but "works on my system" is doing a lot of work in its documentation.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β | |
| ANY_(A)opt | * | β | |
| ANY_(A)_keyopt | STRING | β | |
| ANY_(B)_keyopt | STRING | β | |
| ANY_(C)_keyopt | STRING | β | |
| ANY_(D)_keyopt | STRING | β | |
| ANY_(E)_keyopt | STRING | β |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β |
| ANY (A) | * | β |
| ANY (B) | * | β |
| ANY (C) | * | β |
| ANY (D) | * | β |
| ANY (E) | * | β |