Nodes/ComfyUI Impact Pack/Edit BasicPipe
ComfyUI Node Runs on cloud

Edit BasicPipe

Swap one part of a bundled model pipe without rewiring

By ltdrdata·Created 3 years ago·Updated 4 months ago· 3,248
Edit BasicPipe
  • basic_pipe
  • model
  • clip
  • vae
  • positive
  • negative
  • basic_pipe

Once you start using Impact Pack's pipes to keep your graph tidy, you hit a question: you've got a BASIC_PIPE carrying model, clip, vae, positive and negative - but now you want to change just the positive prompt for a second pass, keeping everything else. Do you unbundle the whole thing, edit one wire, and rebundle? No. Edit BasicPipe swaps individual elements inside a pipe in place. Feed it the pipe plus only the parts you want to replace, and out comes an updated pipe.

It's a small quality-of-life node, and the click-through on it suggests people who find it actually want it - it solves a genuinely annoying rewiring chore. Multi-pass workflows lean on it: same model, same vae, different prompt or different conditioning at each stage.

How it works

A basic pipe is just those five things zipped together. Edit BasicPipe unzips it, substitutes whichever inputs you've connected, leaves the rest exactly as they were, and zips it back up. The elegance is that anything you don't wire passes through untouched, so you only ever attach the one or two things you're changing.

The inputs and outputs

  • basic_pipe - the pipe you're editing. The only required input.
  • model, clip, vae, positive, negative - all optional. Connect one to replace that element; leave it empty to keep the pipe's existing value.

Output is a single basic_pipe with your substitutions applied, ready to feed a KSampler (pipe), a detailer pipe, or another edit node down the line.

That's the entire node. The restraint is the point - it doesn't add processing, it just lets you edit a bundle surgically.

How to install it

ComfyUI Manager is the simple path: search ComfyUI Impact Pack, install, restart. Manual: cd ComfyUI/custom_nodes && git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack, install requirements into ComfyUI's own Python (pip install -r requirements.txt, or ..\..\..\python_embeded\python.exe -m pip install -r requirements.txt on Windows portable), then restart. Auto-install was dropped in v7.6, so run the requirements yourself. A small SAM model downloads to ComfyUI/models/sams on first launch - part of the pack's setup, not something this node needs.

Common issues

Your edit didn't take. If you meant to replace the positive conditioning but wired it into the wrong slot (or left it disconnected), the pipe passes the original through unchanged - which is the correct behavior, just not what you wanted. Double-check the input you connected matches the element you meant to swap.

You need to see what's in the pipe. Edit BasicPipe changes elements but doesn't expose them. To read the current model/clip/vae/conditioning back out, use FromBasicPipe (or the v2 variant, which also re-exports the pipe so you can edit and inspect in one chain - the README notes FromBasicPipe_v2 is "useful when editing EditBasicPipe").

Wrong pipe type. This edits a BASIC_PIPE. For a DETAILER_PIPE (the bundle with detectors and wildcards), that's the separate Edit DetailerPipe node - they're not interchangeable.

CategoryImpactPack/Pipe

Inputs (6)

NameTypeDefaultDescription
basic_pipeBASIC_PIPE
modeloptMODEL
clipoptCLIP
vaeoptVAE
positiveoptCONDITIONING
negativeoptCONDITIONING

Outputs (1)

NameTypeDescription
basic_pipeBASIC_PIPE