Nodes/RES4LYF/Legacy_ClownsharKSampler
ComfyUI Node Runs on cloud

Legacy_ClownsharKSampler

The original all-in-one, with shift built in

By ClownsharkBatwing·Created 2 years ago·Updated 21 days ago· 1,222
Legacy_ClownsharKSampler
  • model
  • positive
  • negative
  • sigmas
  • latent_image
  • guides
  • options
  • output
  • denoised
noise_type_initgaussian
noise_type_sdebrownian
noise_mode_sdehard
eta0.25
noise_seed0
sampler_mode
sampler_nameres_2m
implicit_sampler_namedefault
schedulerbeta57
steps30
implicit_steps0
denoise1.00
denoise_alt1.00
cfg5.0
shift3.0
base_shift0.8
truncate_conditioningtrue

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, but res_2m is here and it's still the right everyday pick.
  • scheduler (default beta57) - the sigma schedule; beta57 is the pack's signature and a solid default for flow-matching models.
  • shift (default 3) and base_shift (default 0.85) - the timestep shift. shift matches the ModelSampling "shift" (or Flux "max_shift"); base_shift is 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.

CategoryRES4LYF/legacy/samplers

Inputs (24)

NameTypeDefaultDescription
modelMODEL
noise_type_initCOMBOgaussian22 options: none, brownian, gaussian, gaussian_backwards, laplacian, perlin, +16
noise_type_sdeCOMBObrownian22 options: none, brownian, gaussian, gaussian_backwards, laplacian, perlin, +16
noise_mode_sdeCOMBOhardHow noise scales with the sigma schedule. Hard is the most aggressive, the others start strong and drop rapidly.
etaFLOAT0.25-100–100Calculated noise amount to be added, then removed, after each step.
noise_seedINT0-1–18446744073709550000
sampler_modeCOMBO3 options: standard, unsample, resample
sampler_nameCOMBOres_2m29 options: res_2m, res_3m, res_2s, res_3s, rk_exp_5s, deis_2m, +23
implicit_sampler_nameCOMBOdefault10 options: default, gauss-legendre_5s, gauss-legendre_4s, gauss-legendre_3s, gauss-legendre_2s, crouzeix_2s, +4
schedulerCOMBObeta5711 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +5
stepsINT301–10000
implicit_stepsINT00–10000
denoiseFLOAT1.00-10000–10000
denoise_altFLOAT1.00-10000–10000
cfgFLOAT5.0-100–100
shiftFLOAT3.0-1–100
base_shiftFLOAT0.8-1–100
truncate_conditioningCOMBOtrue2 options: false, true
positiveoptCONDITIONING
negativeoptCONDITIONING
sigmasoptSIGMAS
latent_imageoptLATENT
guidesoptGUIDES
optionsoptOPTIONS

Outputs (2)

NameTypeDescription
outputLATENT
denoisedLATENT