Legacy_ClownsharKSampler
The original all-in-one, with shift built in
- model
- positive
- negative
- sigmas
- latent_image
- guides
- options
- output
- denoised
If ComfyUI is showing you a node called Legacy_ClownsharKSampler, you're almost certainly loading an old workflow, and it will still run - that's the whole reason it exists. RES4LYF's policy is to keep previous generations available with "Legacy" prepended rather than break your saved graphs. There are actually two tiers now (Legacy and Legacy2), and this plain-Legacy node is the oldest of the ClownsharKSampler lineage. The current one is ClownsharKSampler_Beta. Nothing wrong with running this; just don't expect it to match newer tutorials exactly.
What it is
It's the same core idea as every ClownsharKSampler: an all-in-one node that fuses the solver picker with the thing that runs it, so model, conditioning, scheduler, steps and CFG all live on one node. RES4LYF is the pack (by ClownsharkBatwing) that became the default home for sampler tuning on flow-matching models - Flux, SD3.5, Wan, Chroma - because its high-order res_ solvers suit the near-straight denoising trajectory those models use, where the old Karras defaults fall apart.
The one thing that visibly separates this older node from the newer ones is that shift lives right on it. Later generations moved shift out to the ModelSampling nodes; here it's a first-class widget, which is honestly convenient if you don't want an extra node in the graph.
The inputs that matter
You need a model and a latent_image. After that:
- sampler_name (default
res_2m) - the solver. This legacy node offers a shorter list (29 choices) than the current ones, butres_2mis here and it's still the right everyday pick. - scheduler (default
beta57) - the sigma schedule;beta57is the pack's signature and a solid default for flow-matching models. - shift (default 3) and base_shift (default 0.85) - the timestep shift.
shiftmatches the ModelSampling "shift" (or Flux "max_shift");base_shiftis Flux-only. Set either to -1 to disable it from inside the node. On a straight trajectory, shift is roughly where scheduler tuning went, so it's worth playing with. - cfg (default 5), steps (default 30), denoise/denoise_alt - behave like KSampler. Drop CFG to 1.0 on guidance-distilled Flux.
- truncate_conditioning (default
true) - a conditioning-handling toggle from this era of the node. If you're rebuilding an old screenshot workflow, match whatever it showed.
eta controls SDE noise injection; implicit_steps/implicit_sampler_name add implicit refinement (leave at 0 unless you want it). Optional sigmas overrides the scheduler; guides takes RES4LYF guide images. Outputs are output (finished latent → VAE Decode) and denoised.
Installing it
ComfyUI Manager: search custom nodes for RES4LYF, install, restart. Manually, from your ComfyUI folder:
cd custom_nodes
git clone https://github.com/ClownsharkBatwing/RES4LYF/
cd RES4LYF
pip install -r requirements.txt
Run pip install inside the venv (or portable Python), restart, hard-refresh F5. No models to download.
Common issues
Because this is the original node, its layout doesn't line up with the current readme, and that mismatch is the main source of confusion. If you're recreating a previous-version workflow from screenshots, the readme's own advice applies: you may need to delete and recreate the sampler and guide nodes and re-enter the settings by hand, and if the old screenshot used truncate_conditioning=true you'd add that in the newer node's extra_options box. If nothing loads, the pack isn't installed. And if you're starting from scratch rather than restoring something, save yourself the friction and use ClownsharKSampler_Beta.
Inputs (24)
| Name | Type | Default | Description |
|---|---|---|---|
| model | MODEL | — | |
| noise_type_init | COMBO | gaussian | 22 options: none, brownian, gaussian, gaussian_backwards, laplacian, perlin, +16 |
| noise_type_sde | COMBO | brownian | 22 options: none, brownian, gaussian, gaussian_backwards, laplacian, perlin, +16 |
| noise_mode_sde | COMBO | hard | How noise scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly. |
| eta | FLOAT | 0.25-100–100 | Calculated noise amount to be added, then removed, after each step. |
| noise_seed | INT | 0-1–18446744073709550000 | — |
| sampler_mode | COMBO | 3 options: standard, unsample, resample | |
| sampler_name | COMBO | res_2m | 29 options: res_2m, res_3m, res_2s, res_3s, rk_exp_5s, deis_2m, +23 |
| implicit_sampler_name | COMBO | default | 10 options: default, gauss-legendre_5s, gauss-legendre_4s, gauss-legendre_3s, gauss-legendre_2s, crouzeix_2s, +4 |
| scheduler | COMBO | beta57 | 11 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +5 |
| steps | INT | 301–10000 | — |
| implicit_steps | INT | 00–10000 | — |
| denoise | FLOAT | 1.00-10000–10000 | — |
| denoise_alt | FLOAT | 1.00-10000–10000 | — |
| cfg | FLOAT | 5.0-100–100 | — |
| shift | FLOAT | 3.0-1–100 | — |
| base_shift | FLOAT | 0.8-1–100 | — |
| truncate_conditioning | COMBO | true | 2 options: false, true |
| positiveopt | CONDITIONING | — | |
| negativeopt | CONDITIONING | — | |
| sigmasopt | SIGMAS | — | |
| latent_imageopt | LATENT | — | |
| guidesopt | GUIDES | — | |
| optionsopt | OPTIONS | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| output | LATENT | — |
| denoised | LATENT | — |