NaiveReuse Keyframes From List ππ π
Batch-generate a NaiveReuse schedule
- prev_kf
- mult_multival
- NAIVEREUSE_KF
The batch counterpart to NaiveReuse Keyframe - instead of chaining points by hand, feed this node a list of values and a span, and it builds the whole schedule at once.
What it does
mults_float is where the list of strength values goes in, fed as a connected list rather than typed as a single number - the -1 default shown on the widget is just the placeholder for when nothing's wired in. start_percent and end_percent (0 and 1 by default) bound the span across the sampling process the generated keyframes get spread over. inherit_missing (default true) is carried over from the shared keyframe API across this pack, though it has little practical effect here since NaiveReuse has no mode or tune to inherit. print_keyframes (default false) - flip this on the first time you use the node, and it prints the actual generated start_percent/mult pairs to the console so you can check the schedule before committing to a render.
prev_kf chains this generated block onto an existing hand-built NaiveReuse Keyframe chain, and mult_multival lets a mask or per-frame list modulate strength further on top. Output is NAIVEREUSE_KF, the same type as the single Keyframe node.
When to use this over the Interpolation node
This node is for when you already have - or want to compute - a specific set of values rather than a smooth mathematical ramp: a hand-tuned list, or values generated by some other process upstream. If you just want a clean ramp from one number to another, NaiveReuse Keyframes Interp. is the more direct tool.
What actually feeds mults_float
Same pattern as the equivalent ContextRef node: wire in a connected list of numbers - a Float list primitive, or a batch produced upstream - rather than trying to type a value directly into the widget, whose own -1 default only shows when nothing's connected. Start with a small, hand-typed list of two or three values while you're learning how the node spaces them across start_percentβend_percent, then scale up once you trust the shape it produces.
Installing it
ComfyUI Manager: search AnimateDiff Evolved, author Kosinkadink, install, restart. Manual: clone https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved into custom_nodes, restart.
Common issues
Given how little public testing exists for NaiveReuse specifically, lean on print_keyframes more than you'd normally bother to - it's a cheap way to catch a malformed list, whether that's the wrong length or values outside the expected 0β1 range, before it wastes a full render's worth of GPU time.
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| mults_float | FLOAT | -1.000 | β |
| start_percent | FLOAT | 0.0000β1 | β |
| end_percent | FLOAT | 1.0000β1 | β |
| inherit_missing | BOOLEAN | true | β |
| print_keyframes | BOOLEAN | false | β |
| prev_kfopt | NAIVEREUSE_KEYFRAME | β | |
| mult_multivalopt | MULTIVAL | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| NAIVEREUSE_KF | NAIVEREUSE_KEYFRAME | β |