MotorwaySeed
Carry your seed on the bus, where it belongs
- MOTORWAY ππ¨
- MOTORWAY ππ¨
- INT
MotorwaySeed is the node from this pack you'll probably actually reach for: a seed widget that also acts as a Motorway on-ramp. It takes a seed value and puts it on the bus under the key seed (the key field's default), then hands you both the Motorway and the seed as an INT output.
Why does that matter? Because the seed is the single most annoying wire to drag across a big graph - every sampler wants one, and in a pipe-based workflow it should ride the bus like everything else. This node is explicitly designed as an entry point: its optional MOTORWAY input has the tooltip "If not connected will act as a 'Motorway Start' node." Plug an existing Motorway in and it just adds the seed and passes the bag along; leave it unplugged and it creates a fresh bag, same as MotorwayStart. You could literally start a workflow with nothing but this node, since the bag it creates is the same dict-like object MotorwayStart hands you.
The seed widget itself is a standard ComfyUI seed control - an INT from 0 up to 1.8e19 - so you get the usual randomize/control-after-generate behavior on it. Mechanically, the node does one update("seed", value) into the bag. Downstream, any Motorway output whose key field says seed will give you this value back, no matter how far along the pipe you are. That's the entire pitch of the pack in one node: store once by name, fetch by name anywhere.
The one trap beginners hit is treating the seed like a per-node local. If you want every sampler in the graph to use the same seed, they all need to read from the same key - which means type seed (exactly, case-sensitive) into each sampler-side Motorway output's key field. Type Seed anywhere and you'll get the pack's signature error, 'MotorwayClass' object has no attribute 'hash_', which just means "that key was never written."
Installation is standard for this pack:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
then restart ComfyUI, or grab it via ComfyUI Manager (search "agilly1989"). No models, no Python dependencies - pure Python, zero extra friction.
The usual honesty applies: this is a one-person beta pack whose README opens with "IF THINGS BREAK ITS BECAUSE I BROKE IT." The seed node itself is small and reliable, which is exactly why it's the pack's most likely starting point - it's the least exotic piece of a genuinely useful idea. If you only ever adopt one node from this pack, this is the one.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| seed | INT | 00β18446744073709550000 | β |
| MOTORWAY ππ¨opt | MOTORWAY ππ¨ | Optional Input. If not connected will act as a "Motorway Start" node | |
| keyopt | STRING | seed | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β |
| INT | INT | β |