Nodes/RES4LYF/SharkOptions
ComfyUI Node Runs on cloud

SharkOptions

The noise and denoise settings for RES4LYF samplers

By ClownsharkBatwing·Created 2 years ago·Updated 18 days ago· 1,222
SharkOptions
  • options
  • options
noise_type_initgaussian
s_noise_init1.00
denoise_alt1.00
channelwise_cfgfalse

The Shark and ClownsharK samplers keep their basic controls on the node, but the extra tuning gets pushed out into little OPTIONS nodes you chain into a side input. SharkOptions is one of those: it bundles the initial-noise and denoise settings so the sampler stays readable and you can swap option sets without rewiring. Think of it as a settings cartridge.

If you're new to RES4LYF this is the kind of node you can ignore at first - the sampler runs fine without any options attached. You reach for SharkOptions when you want to change the type of noise the latent starts from, or do an img2img-style partial denoise the pack's way.

How it works

It produces an OPTIONS object that plugs into the sampler's optional options input. The sampler reads it and applies the settings during its run. It also takes an optional OPTIONS input, so you can chain several option nodes together - each one layers its settings onto the stack - which is how the pack keeps a dozen advanced knobs off the main sampler face.

The inputs and outputs that matter

  • noise_type_init (default gaussian) - the noise the latent is seeded with. There are 25 choices (brownian, laplacian, perlin, pink, uniform, and a pile more). gaussian is the normal one and what you should stay on until you have a reason; the exotic types are for texture and experimentation, and can noticeably change grain and structure.
  • s_noise_init (default 1) - a scale on that initial noise. Leave at 1 unless you're deliberately under/over-noising.
  • denoise_alt (default 1) - the pack's alternate denoise control. Instead of splitting the schedule like the normal denoise, it multiplies the sigmas, which tracks more consistently across schedulers. Drop it below 1 for img2img-style partial denoise; the README singles this out as useful for img2img.
  • channelwise_cfg (default false) - an advanced CFG mode; leave off unless a workflow you're following turns it on.
  • options (OPTIONS, optional in and out) - for chaining.

Output is options (OPTIONS) → the sampler (or the next options node).

How to install it

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

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

Portable ComfyUI uses the embedded pip. Restart, hard-refresh with F5. rgthree-comfy gives you the tidy nested sampler menus the README recommends. No downloads.

Common issues & troubleshooting

Nothing changed. SharkOptions only does something if its output is wired into a Shark/ClownsharK sampler's options input. If it's dangling, it's decoration. Also, most defaults here are already the neutral values - a fresh SharkOptions with everything default is basically a no-op, which is fine.

Weird grain or structure. You probably changed noise_type_init off gaussian. The alternative noise types are legitimately useful but they're not free - some push a strong texture. Set it back to gaussian to get a clean baseline, then change one thing at a time.

denoise vs denoise_alt confusion. They're different tools. The sampler's own denoise splits the sigma schedule; denoise_alt here multiplies it. For img2img the multiply version often behaves more predictably when you also change schedulers - but don't stack big changes on both at once or you won't know which did what.

Chaining order. When you chain multiple option nodes, later ones layer onto earlier ones. If two option nodes set the same thing, mind which sits closest to the sampler.

CategoryRES4LYF/sampler_options

Inputs (5)

NameTypeDefaultDescription
noise_type_initCOMBOgaussian25 options: none, brownian, gaussian, gaussian_backwards, laplacian, perlin, +19
s_noise_initFLOAT1.00-10000–10000
denoise_altFLOAT1.00-10000–10000
channelwise_cfgBOOLEANfalse
optionsoptOPTIONS

Outputs (1)

NameTypeDescription
optionsOPTIONS