Nodes/RES4LYF/ClownOptions Step Size
ComfyUI Node Runs on cloud

ClownOptions Step Size

Overshoot control for RES4LYF samplers

By ClownsharkBatwing·Created 2 years ago·Updated 18 days ago· 1,222
ClownOptions Step Size
  • options
  • options
overshoot_modehard
overshoot_mode_substephard
overshoot0.00
overshoot_substep0.00

ClownOptions Step Size is one of RES4LYF's little "options" nodes - small boxes that carry a bundle of settings into the main sampler so its own panel doesn't have fifty widgets. This one controls overshoot: deliberately stepping a bit past the target at each sampling step and correcting back. Done right, a touch of overshoot can sharpen detail and fight the flat, over-smooth look; done wrong it introduces artifacts. It's a fine-tuning knob, not a first-day setting.

Here's the mental model. A sampler moves the latent from one noise level to the next each step. Overshoot pushes slightly beyond where the step would land, then the next step reels it in - a bit like taking a longer stride and settling. Some solvers and some models respond well to it. This is squarely in the "modulate the sampling process itself for quality" territory that RES4LYF is built around, and it's the kind of thing you tweak once your sampler, scheduler and steps are already dialed.

How it works

The node produces an OPTIONS object. You feed that into a RES4LYF sampler (or chain it through other ClownOptions nodes, since they share the OPTIONS type). It does nothing on its own - it's a settings carrier.

The inputs and outputs that matter

  • options (OPTIONS) out - wire into your sampler's options input. Optional options in lets you stack this with other ClownOptions nodes.
  • overshoot (default 0) - how far past each step to reach. Zero means off, which is why the node is a no-op until you raise it. Nudge it up in small amounts.
  • overshoot_mode (default hard) - how the overshoot is shaped. Twelve options (hard, soft, softer, lorentzian, sinusoidal, exp, …); soft/softer are gentler and safer to start with, hard is the most aggressive.
  • overshoot_substep / overshoot_mode_substep - the same pair, applied to the substeps that higher-order solvers (the 2s/3s/5s samplers) take within each step. Only relevant if you're running a substep sampler; leave at defaults otherwise.

How to install it

ComfyUI Manager: search RES4LYF, install, restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/ClownsharkBatwing/RES4LYF
cd RES4LYF
pip install -r requirements.txt

then restart and hard-refresh (F5). Nothing to download.

Common issues & troubleshooting

You added the node and nothing changed. overshoot defaults to 0 - the node is inert until you actually set a value. This trips people constantly with the ClownOptions family: plugging it in isn't enough, you have to turn a dial.

Artifacts, ringing, or a crunchy look. Too much overshoot. Back the value off, and switch overshoot_mode from hard to soft/softer. Overshoot is easy to overdo - a little goes a long way.

The substep settings seem to do nothing. They only bite on substep samplers (names ending in 2s, 3s, 5s, etc.). On a multistep or Euler-style sampler there are no substeps to affect.

CategoryRES4LYF/sampler_options

Inputs (5)

NameTypeDefaultDescription
overshoot_modeCOMBOhardHow step size overshoot scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly.
overshoot_mode_substepCOMBOhardHow substep size overshoot scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly.
overshootFLOAT0.00-100–100Boost the size of each denoising step, then rescale to match the original. Has a softening effect.
overshoot_substepFLOAT0.00-100–100Boost the size of each denoising substep, then rescale to match the original. Has a softening effect.
optionsoptOPTIONS

Outputs (1)

NameTypeDescription
optionsOPTIONS