Op. Edit Basic Pipe
Swap one piece of a pipe, keep the rest
- pipe
- model
- clip
- vae
- positive
- negative
- pipe
Once your whole workflow rides on a BASIC_PIPE, you hit a very predictable problem: you need to change one thing on it. A different VAE for the decode. A swapped model for a refiner pass. New conditioning halfway through. This node is the surgical tool for exactly that - feed it a pipe and only the pieces you want to replace, and it hands back the same pipe with those slots overwritten and everything else untouched. The "Optional" in the name is the whole trick: every replacement input is optional, so you wire in only what you're changing.
BASIC_PIPE is the model-CLIP-VAE-positive-negative bundle that Impact Pack standardized, and this is the equivalent of Impact Pack's own EditBasicPipe. If you've used rgthree's Context Edit to override a value on a Context wire, same energy - override in place, leave the rest alone.
How it works
A pipe is five things bundled together. This node unpacks them, replaces any slot you supplied a new value for, keeps the originals for the slots you left empty, and re-bundles. Leave every optional input disconnected and it's a no-op passthrough. Wire in a new vae only and you've swapped the VAE while preserving the model, CLIP, and both conditionings. It's the clean way to mutate a pipe without rebuilding it from scratch.
The inputs and outputs that matter
- pipe (required) - the BASIC_PIPE you're editing.
- model (optional) - a new MODEL to drop in.
- clip (optional) - a new CLIP.
- vae (optional) - a new VAE. Handy when your loader's baked-in VAE is weak and you want a better external one for the decode.
- positive / negative (optional) - new CONDITIONING to overwrite the pipe's prompts.
These five optional slots are the contents of a BASIC_PIPE, which is a nice way to see what's actually inside one. One output: pipe, the edited bundle.
Installing it
Tiny pure-Python pack, no model downloads, nothing heavy. ComfyUI Manager → Install Custom Nodes → search "antrobots ComfyUI Nodepack" → Install → restart, or clone it manually:
cd ComfyUI/custom_nodes
git clone https://github.com/antrobot1234/antrobots-comfyUI-nodepack
and restart. It lives under antrobots-ComfyUI-nodepack/flow-control.
Common issues
The big distinction to keep straight: this node overwrites slots, while Encode Conditioning (PIPE) appends to them. If you want to genuinely replace a pipe's prompt, this is the node - feed new positive/negative conditioning and the old ones are gone. If you want to add to the existing prompt, that's the other node. People mix these up constantly.
Because the replacement inputs take fully-typed values (a real MODEL, a real CONDITIONING, etc.), you can't feed raw prompt text here - encode it first. And a passthrough with nothing connected is legal but pointless; if the node seems to "do nothing," check that you actually wired a replacement into one of the optional slots. It's a small solo pack, so if you hit a real bug, the README's ask is to open a GitHub issue.
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| pipe | BASIC_PIPE | — | |
| modelopt | MODEL | — | |
| clipopt | CLIP | — | |
| vaeopt | VAE | — | |
| positiveopt | CONDITIONING | — | |
| negativeopt | CONDITIONING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| pipe | BASIC_PIPE | — |