Nodes/ComfyUI_agilly1989_motorway/SamplerCustom_motorway_edition
ComfyUI Node

SamplerCustom_motorway_edition

SamplerCustom on the bus — the middle ground between KSampler and the raw chain

By agilly1989·Created 2 years ago·Updated about a year ago· 7
SamplerCustom_motorway_edition
  • MOTORWAY 🚌💨
  • MOTORWAY 🚌💨
INPUT_model_keymodel
INPUT_positive_keypositive
INPUT_negative_keynegative
INPUT_sampler_keysampler
INPUT_sigmas_keysigmas
INPUT_latent_image_keylatent_image
add_noisetrue
noise_seed0
cfg8.0
OUTPUT_output_keyoutput
OUTPUT_denoised_output_keydenoised_output

Between the friendly KSampler and the fully-assembled-it-yourself SamplerCustomAdvanced sits SamplerCustom. It keeps the nice parts - it builds its own noise from a seed and applies its own CFG - while letting you supply the sampler and the sigmas yourself. So you can run a custom scheduler or a custom sampler object without having to hand-assemble a guider and a noise generator. For a lot of people that's the sweet spot: the power of custom sampling, minus most of the ceremony.

In the Motorway pack it's the bus-flavored version of that same middle ground. The model and conditionings arrive by key, and the sampler + sigmas too.

On the bus

Inputs, all fetched from the MOTORWAY 🚌💨 bus by key:

  • INPUT_model_key (default model) - the checkpoint on the bus.
  • INPUT_positive_key / INPUT_negative_key (defaults positive / negative) - your two conditionings.
  • INPUT_sampler_key (default sampler) - the sampler object (e.g. SamplerDPMAdaptative_motorway_edition's output).
  • INPUT_sigmas_key (default sigmas) - the schedule from a scheduler node.
  • INPUT_latent_image_key (default latent_image) - the latent to denoise.

The widgets it keeps for itself: add_noise (whether to inject seed noise), noise_seed (the reproducibility dial - same seed, same image, assuming the rest of the chain is deterministic), and cfg (guidance scale, default 8 - normal 5–9 territory on SD 1.5/SDXL).

Outputs are written back to the bus under OUTPUT_output_key (default output) and OUTPUT_denoised_output_key (default denoised_output). The output latent is the one you'd feed a VAE decoder.

Install

No dependencies, no models:

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

or ComfyUI Manager → search ComfyUI_agilly1989_motorway → install → restart.

The fine print

Same pack caveats as every motorway node: beta project ("IF THINGS BREAK ITS BECAUSE I BROKE IT"), and the _motorway_edition clones were auto-generated by a cloner that build 1.1.7 removed - fresh installs may not show this node. The stock SamplerCustom in core is always there.

Bus debugging is the same drill: KeyError: 'hash_...' doesn't exist in motorway names the key that was never stored, and the usual culprits are a case mismatch (NOISE vs noise-style) or a producer that never wrote at all. Work the chain from the inputs backward.

One more honest note: since add_noise is off, noise_seed and cfg don't exist, and you control noise via the seed only when add_noise is on. If your image looks identical no matter what seed you type, check that add_noise - a common "why is nothing changing" moment that has nothing to do with the bus.

Categoryagilly1989 Nodes/Motorway-ed/sampling/custom_sampling

Inputs (12)

NameTypeDefaultDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨
INPUT_model_keySTRINGmodel
INPUT_positive_keySTRINGpositive
INPUT_negative_keySTRINGnegative
INPUT_sampler_keySTRINGsampler
INPUT_sigmas_keySTRINGsigmas
INPUT_latent_image_keySTRINGlatent_image
add_noiseBOOLEANtrue
noise_seedINT00–18446744073709550000
cfgFLOAT8.00–100
OUTPUT_output_keySTRINGoutput
OUTPUT_denoised_output_keySTRINGdenoised_output

Outputs (1)

NameTypeDescription
MOTORWAY 🚌💨MOTORWAY 🚌💨