Image Passthrough
The most boring node in the pack, and that's the point
- image
- image
Some nodes do heavy lifting. This one does a hand-off. Image Passthrough takes an IMAGE, returns the exact same IMAGE, and asks for nothing in return. It looks useless until you need a single image to reach five different places and the wire from your Load Image is now stretched across half the canvas like a rubber band.
The job here is fan-out and tidiness. Your Load Image node outputs one image; downstream you want it feeding a VAE Encode, a reference for ControlNet, a preview, and a comparison node. The clean way is to run that one image through a passthrough and branch from a visible socket - one source, many consumers, the pattern the whole utility layer of ComfyUI is built on. It's also a decent waypoint when you're restructuring a graph: drop an Image Passthrough where the image "enters" a region, and you can rewire the region without touching the loader. The mechanism is embarrassingly simple - the source returns the tensor unchanged, no copy, no re-encode, so it costs literally nothing at runtime.
Be honest about alternatives, though. ComfyUI's built-in Reroute is the lighter tool for pure wire-bending, and for most "make this graph readable" problems that's the one the community reaches for. Image Passthrough earns its keep when you want a typed waypoint - a socket that will only ever accept an image - or when you're standardizing on this pack's passthrough family so every value and object in the graph travels through the same style of node.
Inputs and outputs that matter
- image (in) - an IMAGE tensor (single image or a batch; it doesn't care).
- image (out) - the identical tensor, ready to fan out.
Leave the input disconnected and the output is empty, so it's a harmless placeholder while you build.
Installing it
Part of wenchengxiang/ComfyUI-Practical-Tools. ComfyUI Manager → Custom Nodes Manager → search "ComfyUI-Practical-Tools" → Install → restart. Or clone manually:
cd ComfyUI/custom_nodes
git clone https://github.com/wenchengxiang/ComfyUI-Practical-Tools
then restart. No pip dependencies, no model downloads - pure Python on ComfyUI's bundled stack.
Issues and gotchas
Not much can go wrong with a node that does nothing, which is the charm. The one thing worth saying: a passthrough won't force a re-run of the upstream loader by itself. ComfyUI caches aggressively, and if your upstream nodes haven't changed, the image that flows through here is the cached one - which is correct behavior, just remember it isn't a "refresh" button. If your real problem is a canvas full of tangled noodles rather than a missing fan-out point, skip this and grab Reroute; you'll be happier.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| imageopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |