CLIPTextEncodeSDXLRefiner_motorway_edition
The SDXL refiner's encoder, keyed into the pipe
- MOTORWAY 🚌💨
- MOTORWAY 🚌💨
The SDXL refiner is a second model that runs after the base to clean up fine detail, and it encodes text differently: it has no negative-prompt pathway at all, and it takes an ascore aesthetic-score number alongside the prompt. CLIPTextEncodeSDXLRefiner is the stock node for that, and this _motorway_edition is its clone for agilly1989's motorway pipe pack - same encode, but the CLIP comes out of a shared keyed bag and the conditioning goes back in.
Honestly, the refiner is a niche these days - most people found the base-plus-refiner two-pass workflow finicky and moved on to better base models. But if you're running one, this node is a faithful clone: it instantiates the original class, feeds it whatever the bag holds under the key you name, and writes the result back. Nothing about the SDXL refiner's behavior changes; only the plumbing does.
What's on it
The schema is the stock refiner encode plus motorway plumbing:
MOTORWAY 🚌💨- the bag, in and out.INPUT_clip_key(defaultclip) - the key holding the refiner checkpoint's CLIP.ascore- the aesthetic score, a float defaulting to 6.0. This is a real setting with a real effect: it's a crude quality slider that nudges the refiner's sampling. 6 is the sensible default; the extremes read as "harshly overprocessed" and "too timid."widthandheight- resolution hints, 1024×1024 by default.text- the refiner prompt. Note there's no negative box here - that's not a motorway quirk, the refiner architecture genuinely doesn't do negative prompts, and there's a reason: it only ever sees the image to polish, not the scene to avoid.OUTPUT_CONDITIONING_key(defaultCONDITIONING) - where the result lands in the bag.
Single output, the motorway itself, like every node in the family.
Install and the honest caveats
One pack, one install, and it's painless - pure Python with no pip requirements and nothing to download:
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
Then restart ComfyUI, or pull it from ComfyUI Manager under ComfyUI_agilly1989_motorway.
The same caveat that follows every node in this pack: it's a beta, single-author project, the README banner literally reads "BIG BROKEN WITH ASYNC WILL FIX WHEN I GET THE TIME/MOTIVATION," and the auto-generated _motorway_edition clones have been disabled in newer releases (the registration is commented out of __init__.py). If the node isn't in your menu after install, that's why - and honestly, the plain CLIPTextEncodeSDXLRefiner plus two Motorway ramps gets you the same result with far less to go wrong. And when you do see the motorway's classic 'MotorwayClass' object has no attribute 'hash_' error, it means a key you referenced was never written into the bag: check your key strings, because pipe routing has no wires left to tell you what's actually connected.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — | |
| INPUT_clip_key | STRING | clip | — |
| ascore | FLOAT | 6.000–1000 | — |
| width | INT | 10240–16384 | — |
| height | INT | 10240–16384 | — |
| text | STRING | — | |
| OUTPUT_CONDITIONING_key | STRING | CONDITIONING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — |