ClownOptions Step Size
Overshoot control for RES4LYF samplers
- options
- options
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. Optionaloptionsin 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(defaulthard) - how the overshoot is shaped. Twelve options (hard,soft,softer,lorentzian,sinusoidal,exp, …);soft/softerare gentler and safer to start with,hardis the most aggressive.overshoot_substep/overshoot_mode_substep- the same pair, applied to the substeps that higher-order solvers (the2s/3s/5ssamplers) 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.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| overshoot_mode | COMBO | hard | How step size overshoot scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly. |
| overshoot_mode_substep | COMBO | hard | How substep size overshoot scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly. |
| overshoot | FLOAT | 0.00-100–100 | Boost the size of each denoising step, then rescale to match the original. Has a softening effect. |
| overshoot_substep | FLOAT | 0.00-100–100 | Boost the size of each denoising substep, then rescale to match the original. Has a softening effect. |
| optionsopt | OPTIONS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| options | OPTIONS | — |