Legacy_ClownSampler
The standalone SAMPLER version of RES4LYF's solver, kept for old workflows
- latent_guide
- latent_guide_inv
- latent_guide_mask
- latent_guide_weights
- sigmas_override
- SAMPLER
RES4LYF went through a rewrite, and rather than break every workflow that used the old nodes, the pack kept the previous generation around with "Legacy" prepended to their names. Legacy_ClownSampler is one of those: the standalone SAMPLER-producing node from before the current all-in-one ClownsharKSampler. If you opened someone's older saved workflow and found this node instead of the modern one, that's exactly why - it still works, it's just not what you'd start a new workflow with today.
Where the current ClownsharKSampler bundles model, latent, guides, and scheduler into one node, this legacy version does one job: it outputs a SAMPLER object you plug into a regular ComfyUI KSampler (or KSampler Advanced), the same way you'd plug in any stock sampler.
How it works
This is RES4LYF's core solver engine - 69 samplers is a pack-wide figure, and this node exposes the pieces of that system directly. eta controls how much noise gets added after each SDE step; noise_mode sets how that amount scales (hard/hard_sq/soft/softer in increasing gentleness, or exp for values well above 1.0). noise_sampler_type picks the texture of that injected noise - fractal, gaussian, pyramid variants, and more. rk_type is the actual solver: names ending in "m" (multistep, like res_2m) reuse previous steps as estimates and run at Euler speed; names ending in "s" (substep, like res_2s) cost one model call per digit in the name but buy real accuracy, especially with noise. The res family are the pack's headline refinements of the dpmpp lineage. multistep and implicit_steps layer refinement passes on top (diminishing returns past 2-3), and the latent_guide*/guide_mode group adds optional img2img-style steering toward a reference latent.
The inputs and outputs that matter
rk_type- the solver itself.res_2mis a solid, fast default; thes-suffixed variants (res_2s,res_3s) trade speed for accuracy.eta/noise_mode/noise_sampler_type- SDE noise strength, its scaling curve, and its texture.etaat 0 disables SDE injection entirely (pure ODE).noise_seed(default -1 increments the last seed used).latent_guide/latent_guide_inv/latent_guide_mask/latent_guide_weight/guide_mode- optional guidance toward a reference latent, useful for img2img-style work.sigmas_override- feed a custom sigma schedule here to bypass whatever scheduler yourKSampleris using.- Output:
SAMPLER- wire this into aSamplerCustom-style node'ssamplerslot, the same place any stock sampler object would go.
How to install it
Via ComfyUI Manager: search "RES4LYF" and install. Manually, from ComfyUI/custom_nodes:
git clone https://github.com/ClownsharkBatwing/RES4LYF/
cd RES4LYF
pip install -r requirements.txt
Activate your venv first if you use one; on portable installs, use python_embedded\Scripts\pip.exe in place of pip. Restart ComfyUI afterward. If you also want the newer nested sampler-picker menu (not needed for this legacy node to function, but useful if you're comparing against the current one), install rgthree-comfy too and enable "Auto Nest Subdirectories" in its settings.
Common issues & troubleshooting
Should you actually be using this? Only if you're loading an old saved workflow that already has it. For anything new, the current ClownsharKSampler is the maintained, documented path - this node is a compatibility shim, not the recommended starting point.
Generation is much slower than expected. Check rk_type - anything ending in a high digit-s suffix (res_5s, for instance) costs that many model calls per step. That's the accuracy/speed trade-off working as intended, not a bug.
Results look flat or over-smoothed. Try a nonzero eta with noise_mode on soft or softer - pure ODE sampling (eta = 0) can look duller than SDE sampling on some solvers, and this pack's whole premise is that controlled noise injection helps.
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| eta | FLOAT | 0.25-100–100 | Calculated noise amount to be added, then removed, after each step. |
| eta_var | FLOAT | 0.00-100–100 | Calculate variance-corrected noise amount (overrides eta/noise_mode settings). Cannot be used at very low sigma values; reverts to eta/noise_mode for final steps. |
| s_noise | FLOAT | 1.00-100–100 | Ratio of calculated noise amount actually added after each step. >1.0 will leave extra noise behind, <1.0 will remove more noise than it adds. |
| d_noise | FLOAT | 1.00-100–100 | Ratio of calculated noise amount actually added after each step. >1.0 will leave extra noise behind, <1.0 will remove more noise than it adds. |
| noise_mode | COMBO | hard | How noise scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly. |
| noise_sampler_type | COMBO | brownian | 17 options: fractal, gaussian, gaussian_backwards, uniform, pyramid-cascade_B, pyramid-interpolated, +11 |
| alpha | FLOAT | 0.0-10000–10000 | Fractal noise mode: <0 = extra high frequency noise, >0 = extra low frequency noise, 0 = white noise. |
| k | FLOAT | 1-10000–10000 | Fractal noise mode: all that matters is positive vs. negative. Effect unclear. |
| noise_seed | INT | -1-1–18446744073709550000 | Seed for the SDE noise that is added after each step if eta or eta_var are non-zero. If set to -1, it will use the increment the seed most recently used by the workflow. |
| rk_type | COMBO | res_2m | 29 options: res_2m, res_3m, res_2s, res_3s, rk_exp_5s, deis_2m, +23 |
| exp_mode | BOOLEAN | false | Convert linear RK methods to exponential form. |
| multistep | BOOLEAN | false | For samplers ending in S only. Reduces cost by one model call per step by reusing the previous step as the current predictor step. |
| implicit_steps | INT | 00–100 | Number of implicit Runge-Kutta refinement steps to run after each explicit step. |
| cfgpp | FLOAT | 0.00-10000–10000 | CFG++ scale. Use in place of, or with, CFG. Currently only working with RES, DPMPP, and DDIM samplers. |
| latent_guide_weight | FLOAT | 0.00-100–100 | — |
| guide_mode | COMBO | mean | The mode used. noise_mean and inversion are currently for test purposes only. |
| rescale_floor | BOOLEAN | true | Latent_guide_weight(s) control the minimum value for the latent_guide_mask. If false, they control the maximum value. |
| latent_guideopt | LATENT | — | |
| latent_guide_invopt | LATENT | — | |
| latent_guide_maskopt | MASK | — | |
| latent_guide_weightsopt | SIGMAS | — | |
| sigmas_overrideopt | SIGMAS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| SAMPLER | SAMPLER | — |