FluxGuidance_motorway_edition
Flux's guidance dial — the one number that isn't CFG
- MOTORWAY 🚌💨
- MOTORWAY 🚌💨
Flux has a guidance parameter, and it is not CFG. CFG extrapolates between a prompted and unprompted model run - that's why CFG doubles render time. Flux instead feeds a guidance number into the model as a conditioning embedding, so a single pass does the work. The number you see in every Flux workflow - 3.5 for Flux Dev - is set by this node. The _motorway_edition version from agilly1989/ComfyUI_agilly1989_motorway wraps the core node so it reads conditioning off the Motorway pipe, stamps the guidance value on, and writes the result back to a key.
The inputs that matter
- guidance (float, default 3.5) - the value that gets embedded into the conditioning. This is the dial you actually tune. Flux Dev likes 3.5; higher (5–8) buys more prompt adherence but drifts toward that waxy "plastic" look; lower loosens adherence. If you're on a guidance-distilled Flux-derivative, that baked-in guidance means this number's role changes or disappears entirely.
- INPUT_conditioning_key (default
conditioning) - where the source conditioning is on the Motorway. - OUTPUT_CONDITIONING_key (default
CONDITIONING) - the key the stamped conditioning is written to.
Output is the MOTORWAY pipe.
How it works
Under the hood the core node writes {"guidance": 3.5} into the conditioning's metadata. The diffusion model reads that when it runs and scales its text adherence accordingly - it's part of the input, not a post-hoc correction. That's also why the "don't touch CFG on Flux, use guidance" advice exists: raising CFG on a Flux checkpoint does run the extra pass and usually just burns the image. This node is the correct, cheap dial.
Its sibling is FluxDisableGuidance, which writes None instead of a number - the two are opposite ends of the same switch. On the Motorway both follow the same convention: conditioning in, CONDITIONING out.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/agilly1989/ComfyUI_agilly1989_motorway
Restart ComfyUI, or install via ComfyUI Manager under "ComfyUI_agilly1989_motorway." No extra dependencies.
And the standing caveat for the whole pack: v1.1.7's pyproject.toml reads "HOTFIX - REMOVED MONKEYPATCH AND GENERATED NODES," and the generated clones are commented out of __init__.py. Core Motorway nodes work; the _motorway_edition clones may not be in your menu until the author re-enables them. If it's absent, core FluxGuidance does the identical stamp, and a ramp can get the result onto the bus manually.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — | |
| INPUT_conditioning_key | STRING | conditioning | — |
| guidance | FLOAT | 3.50–100 | — |
| OUTPUT_CONDITIONING_key | STRING | CONDITIONING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| MOTORWAY 🚌💨 | MOTORWAY 🚌💨 | — |