Model In, Model Out
A typed passthrough for keeping MODEL wires tidy
- model
- MODEL
There's no trick here, and that's the point: MODEL goes in, the exact same MODEL comes out, unchanged. This is a pure passthrough, and its entire value is organizational, not functional.
Big ComfyUI graphs get messy fast - a model wire crossing half the canvas to get from a checkpoint loader to a sampler three screens away, tangled with a dozen other noodles. ComfyUI ships a generic Reroute node for exactly this problem, but it's untyped - it'll happily accept anything, which means it gives you no protection and no labeling specific to what's actually flowing through it. JNodes_ModelInOut is the typed version for MODEL specifically: because the pin type is locked to MODEL, ComfyUI itself will refuse to let you accidentally wire a CLIP or a VAE into it, and you (or anyone reading your graph later) can tell at a glance what kind of wire this junction point is for.
How it works
There's nothing to configure. Wire a MODEL into it, wire the output wherever it needs to go. It exists purely as a bend-point in the graph - useful for routing a long model wire around other nodes cleanly, for marking a spot where you want to visually flag "the model gets swapped or patched here" even if nothing's patching it yet, or simply for breaking up a graph that's gotten hard to read.
The inputs and outputs
model(MODEL) - the model to pass through.MODELoutput - the same model, unchanged.
How to install it
Via ComfyUI Manager: Install Custom Nodes, search "JNodes", install, restart. Or by hand:
cd ComfyUI/custom_nodes
git clone https://github.com/JaredTherriault/ComfyUI-JNodes
pip install -r ComfyUI-JNodes/requirements.txt
then restart ComfyUI. No model downloads - nothing to fetch here, it's a graph-organization node.
Common issues & troubleshooting
Expecting it to actually do something to the model. It won't apply a lora, patch weights, or change anything about the model object - if you were hoping this was a hook point for model modification, it isn't; you want an actual patching node (a lora loader, ModelSamplingDiscrete, etc.) wired in instead of or alongside this one.
Adding it "just because" adds nothing but clutter. For a small graph with a short, easy-to-follow model wire, this node buys you nothing over connecting the pins directly - it's a tool for taming genuinely large or tangled graphs, not something to sprinkle everywhere by default.
Confusing it with a generic Reroute. If you actually want a bend-point that accepts any type (for organizing a graph with mixed wire types passing through one area), ComfyUI's built-in Reroute node is the more flexible choice. Reach for ModelInOut specifically when you want the type lock as documentation.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MODEL | MODEL | — |