Nodes/ComfyUI_agilly1989_motorway/BasicGuider_motorway_edition
ComfyUI Node

BasicGuider_motorway_edition

The no-frills guider that just follows the prompt

By agilly1989·Created 2 years ago·Updated about a year ago· 7
BasicGuider_motorway_edition
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
INPUT_model_keymodel
INPUT_conditioning_keyconditioning
OUTPUT_GUIDER_keyGUIDER

In the custom-sampling half of ComfyUI, a "guider" is the thing that decides how the model gets steered on each denoising step. BasicGuider is the most boring one in the drawer, and that's a compliment: it takes a model and a positive conditioning, and guides toward it with no separate negative prompt and no CFG knob. It's the guider you reach for with models that already have guidance baked in - the Flux-style, guidance-distilled crowd - where a negative prompt would do nothing anyway.

This _motorway_edition is the clone wired for agilly1989's Motorway pipe. Instead of dragging a wire from your CLIPTextEncode to this node and another from this node to the sampler, everything travels inside a single MOTORWAY 🚌💨 connection and you just type key names.

How it works

The wrapper reads two things out of the Motorway by key and writes one back:

  • INPUT_model_key - where the model lives (default model)
  • INPUT_conditioning_key - where your positive conditioning lives (default conditioning)
  • OUTPUT_GUIDER_key - where to store the built guider (default GUIDER)

Under the hood it instantiates the real core BasicGuider, feeds it the model and conditioning pulled from those keys, and stashes the result under the output key. The only thing that comes out of the node is the Motorway itself, so downstream you'd wire this Motorway into a SamplerCustom (or its Motorway-ed cousin), which reads the GUIDER key and does the actual sampling.

Keep the defaults honest: if upstream Motorway nodes wrote the model under model and conditioning under conditioning, you don't have to change anything. If you named keys differently, update the fields to match - a key that doesn't exist yet throws the pack's signature error, 'MotorwayClass' object has no attribute 'hash_'.

Why BasicGuider and not CFGGuider

Good question, and the answer is the same one that confuses people about modern models. CFGGuider does classic classifier-free guidance: positive plus negative plus a CFG scale, which means running the model twice per step. BasicGuider skips all of that. For SD1.5 and SDXL you want CFGGuider - the negative prompt is load-bearing there. For guidance-distilled models, CFG 1 is the default and the negative field is inert, so BasicGuider is the right call and it's also faster, because you're not paying for the second pass. Get this backwards and you'll either burn your image with a doubled-up CFG or stare at a negative prompt that visibly does nothing.

Install

cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway

Restart, or install via ComfyUI Manager by searching "ComfyUI_agilly1989_motorway". No pip deps, no models to download - the pack is just the Motorway class and its generated wrappers.

The fine print

Every Motorway chain needs a MotorwayStart (or a primitive starter) feeding it, keys overwrite if you reuse them further down the chain, and the whole pack is an explicitly-beta labor of love: the README opens with "BIG BROKEN WITH ASYNC WILL FIX WHEN I GET THE TIME/MOTIVATION," and the current hotfix has the _motorway_edition clones commented out of __init__.py, so on the newest main they may not appear at all. An old workflow that references them and comes up "missing node"? That's why. The author's Discord DMs are a dead end by his own admission - an issue on GitHub is the way.

Categoryagilly1989 Nodes/Motorway-ed/sampling/custom_sampling/guiders

Inputs (4)

NameTypeDefaultDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨
INPUT_model_keySTRINGmodel
INPUT_conditioning_keySTRINGconditioning
OUTPUT_GUIDER_keySTRINGGUIDER

Outputs (1)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨