Nodes/RES4LYF/Legacy2_ClownOptions_FrameWeights
ComfyUI Node Runs on cloud

Legacy2_ClownOptions_FrameWeights

Feed a raw per-frame weight curve to RES4LYF

By ClownsharkBatwing·Created 2 years ago·Updated 22 days ago· 1,222
Legacy2_ClownOptions_FrameWeights
  • frame_weights
  • options
  • options

This is the Legacy version of RES4LYF's frame-weighting option, and it's the bare-bones one: it takes a raw weight curve you supply and passes it to the sampler, full stop. No shape presets, no ease-in/ease-out menu - just a SIGMAS curve in, an OPTIONS bundle out. If you already know exactly what per-frame weighting you want and you've got a node producing that curve, this is the direct route. (The newer ClownOptions_Frameweights builds the curve for you from descriptive settings; this one trusts you to bring your own.)

Frame weights matter for video. When you generate with a model like Wan, weighting frames differently across the clip is how you make a guide fade in, hold a reference on the opening frames, or otherwise shape an effect over time. RES4LYF's temporal features - per-frame conditioning and frame-by-frame control on Wan - are what this feeds into.

How it works

You hand it a SIGMAS list - one weight per frame, essentially an envelope over the timeline - and it wraps that into an OPTIONS object the RES4LYF sampler reads while sampling the video. The sampler then scales whatever it's modulating (guidance strength, effect) frame-by-frame according to your curve. Because there's no curve generation here, the shape is entirely whatever you piped in.

The inputs and output

  • frame_weights (SIGMAS, required) - the per-frame weight curve. This is the whole node. Build it with any node that emits SIGMAS - a schedule node, a float-list, or the newer Frameweights node used purely as a generator.
  • options (OPTIONS, optional) - chain this onto other ClownOptions nodes.

Output is a single options (OPTIONS) for the sampler.

Installing RES4LYF

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

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

Portable users use the embedded pip (python_embedded/Scripts/pip.exe). Restart, hard-refresh with F5. No models needed by the pack, though you'll want a video model loaded to use frame weights at all.

Common issues

You have nothing to plug into it. Unlike the current Frameweights node, this one has no built-in curve generator - the frame_weights input is required and there's no default. If you don't already have a SIGMAS source, use the newer ClownOptions_Frameweights instead, which makes the curve from menus.

Curve length vs frame count. The number of weights should line up with the frames you're generating. A mismatch produces odd weighting at the ends. Regenerate the curve for your actual clip length.

No effect on stills. It's a video tool; a single frame has nothing to weight.

It's the legacy node. The display name is Legacy2_ClownOptions_FrameWeights. It works, but for new builds the current node is friendlier. And as with every ClownOptions node, the output has to reach a sampler's options input to do anything.

CategoryRES4LYF/legacy/sampler_options

Inputs (2)

NameTypeDefaultDescription
frame_weightsSIGMAS
optionsoptOPTIONS

Outputs (1)

NameTypeDescription
optionsOPTIONS