LoadImageOutput_motorway_edition
Pull an image out of the pipe and stash it as IMAGE + MASK
- MOTORWAY ππ¨
- MOTORWAY ππ¨
Every once in a while a node shows up that's basically a remap: take an image that's already in the Motorway pipe, and write it back under fresh keys - IMAGE and MASK. That's LoadImageOutput_motorway_edition in a sentence.
It reads one key (image, by default) out of the pipe and stores it under both IMAGE and MASK keys. Why would you want that? Because a lot of nodes, including most of the Motorway-ed clones, expect their inputs at conventional key names. If some upstream node wrote your pixels under an offbeat key, this node is the bridge that re-labels them to the names the rest of your graph assumes - the IMAGE/MASK pairing in particular, since plenty of nodes take an image and a mask together. It's the pipe-world equivalent of a reroute node: nothing clever happens, but the plumbing suddenly lines up.
It's a genuinely thin utility. That's fine - a thin utility that saves you from renaming keys across a dozen nodes is still worth having in the toolbox.
The wrapper
MOTORWAY ππ¨- the pipe. Required.INPUT_image_key(defaultimage) - which key holds the image you want remapped.OUTPUT_IMAGE_key(defaultIMAGE) - where the image gets re-stored.OUTPUT_MASK_key(defaultMASK) - where the mask gets re-stored.
Both outputs land in the same pipe you fed in, and the only output port is the pipe itself. If you want to hand the result to a normal (non-pipe) node, pull either key back out with a Motorway AxB ramp.
Installing
Part of the Motorway pack:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
# restart ComfyUI
Or ComfyUI Manager β search ComfyUI_agilly1989_motorway β Install. No model downloads, no extra pip dependencies.
Gotchas
- You need a
MotorwayStartupstream to create the pipe, and something upstream that wrote theimagekey. - Keys are exact strings -
Key: 'image' doesn't exist in motorwaymeans nothing upstream stored that key. - Don't expect this node to do anything to the pixels. It's a re-label, not a transform. If you came here looking for a resize or a color op, this isn't it.
- Beta pack, as always: author's README says "IF THINGS BREAK ITS BECAUSE I BROKE IT," and generated clones have been toggled off in some releases. Missing from the menu after install is a version thing.
A node whose whole job is "put this here and also here" sounds silly until you're ten nodes deep and every key name is load-bearing. That's this node's moment.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β | |
| INPUT_image_key | STRING | image | β |
| OUTPUT_IMAGE_key | STRING | IMAGE | β |
| OUTPUT_MASK_key | STRING | MASK | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MOTORWAY ππ¨ | MOTORWAY ππ¨ | β |