Nodes/AnimateDiff Evolved/NaiveReuse Keyframes From List πŸŽ­πŸ…πŸ…“
ComfyUI Node Runs on cloud

NaiveReuse Keyframes From List πŸŽ­πŸ…πŸ…“

Batch-generate a NaiveReuse schedule

By KosinkadinkΒ·Created 3 years agoΒ·Updated 8 days agoΒ· 3,519
NaiveReuse Keyframes From List πŸŽ­πŸ…πŸ…“
  • prev_kf
  • mult_multival
  • NAIVEREUSE_KF
β—„mults_float-1.000β–Ί
β—„start_percent0.000β–Ί
β—„end_percent1.000β–Ί
β—„inherit_missingtrueβ–Ί
β—„print_keyframesfalseβ–Ί

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.

CategoryAnimate Diff πŸŽ­πŸ…πŸ…“/context opts/context extras/naivereuse

Inputs (7)

NameTypeDefaultDescription
mults_floatFLOAT-1.000β€”
start_percentFLOAT0.0000–1β€”
end_percentFLOAT1.0000–1β€”
inherit_missingBOOLEANtrueβ€”
print_keyframesBOOLEANfalseβ€”
prev_kfoptNAIVEREUSE_KEYFRAMEβ€”
mult_multivaloptMULTIVALβ€”

Outputs (1)

NameTypeDescription
NAIVEREUSE_KFNAIVEREUSE_KEYFRAMEβ€”