Nodes/ComfyUI_agilly1989_motorway/TripleCLIPLoader_motorway_edition
ComfyUI Node

TripleCLIPLoader_motorway_edition

Three text encoders, one CLIP — the SD3/Flux loader, Motorway style

By agilly1989·Created 2 years ago·Updated about a year ago· 7
TripleCLIPLoader_motorway_edition
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
clip_name1
clip_name2
clip_name3
OUTPUT_CLIP_keyCLIP

Some modern models don't use one text encoder, they use three at once. SD3 and Flux want a big T5 plus a CLIP-L and/or CLIP-G, all loaded together and fused into a single CLIP object. That's the whole job of the stock TripleCLIPLoader, and this _motorway_edition clone does the same thing through the agilly1989 "Motorway" pipe system instead of a plain wire.

The Motorway, in short: start with MotorwayStart, then every _motorway_edition node swaps data wires for short key strings, reading from and writing to a shared dict that flows down one MOTORWAY connection. The clones are generated at import time from ComfyUI's own node registry, so the underlying behavior is identical to the stock node - this is a plumbing change, not a model change.

What it does. You pick three files from models/text_encoders - for SD3 that's typically clip_l, clip_g, and a t5xxl variant; for Flux you mostly care about T5 plus CLIP-L. The node loads all three into one CLIP and stores it in the Motorway. Nothing else. No prompt encoding here - that still happens downstream in whatever text-encode node matches your model's recipe.

The inputs that matter. This one is a loader, so MOTORWAY is optional: feed it an existing Motorway to drop the CLIP into, or leave it unconnected and the node acts as a fresh start point. clip_name1, clip_name2, and clip_name3 are the three dropdowns (each listing what's in your text_encoders folder), and OUTPUT_CLIP_key defaults to CLIP - that's the key the loaded CLIP is stored under. The only output is the MOTORWAY port. To actually use it, your later nodes need to read the CLIP by key, and watch the case: this stores under CLIP uppercase, while consumer key fields default to lowercase clip. If your conditioning node comes up empty, that mismatch is usually why.

Common issues. Beyond the key case, the usual TripleCLIPLoader rules apply: the three files have to be the right encoders for the right model, and mismatched variants (a T5 that's too small, a CLIP-L not meant for the checkpoint) produce quietly worse prompts rather than loud errors. Also note the pack README's caveat: motorway-ed clones of nodes with custom JS don't get made, and if a node isn't showing up in your menu, the current main branch of the pack has the clone registration commented out in __init__.py.

Install via ComfyUI Manager (search "ComfyUI_agilly1989_motorway") or git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway into custom_nodes, then restart. No model downloads, no dependencies. Solo-dev pack, explicitly beta, README reads "if things break it's because I broke it" - fine for a convenience wrapper, not something to build a career on.

Categoryagilly1989 Nodes/Motorway-ed/advanced/loaders

Inputs (5)

NameTypeDefaultDescription
clip_name1COMBO0 options:
clip_name2COMBO0 options:
clip_name3COMBO0 options:
OUTPUT_CLIP_keySTRINGCLIP
MOTORWAY 🚌💨optMOTORWAY 🚌💨

Outputs (1)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨