Nodes/ComfyUI-WanKeyframeBuilder/Wan Keyframe Builder (Continuation)
ComfyUI Node

Wan Keyframe Builder (Continuation)

A ComfyUI node in WanKeyframeBuilder with 28 inputs and 5 outputs.

By ckinpdx·Created 8 months ago·Updated 8 months ago· 5
Wan Keyframe Builder (Continuation)
  • image1
  • image2
  • image3
  • image4
  • image5
  • image6
  • image7
  • image8
  • continuation_image
  • images
  • masks
  • keyframes
  • svi_reference_only
  • svi_keyframe_segments
num_frames81
spacing_mode
last_strength1.00
middle_strength0.80
continuation_frames3
continuation_strength_mode
continuation_strength1.00
continuation_strength_start0.80
continuation_strength_end0.20
continuation_decay_rate3.0
place_first_keyframetrue
first_keyframe_strength1.00
frame_240
frame_380
frame_460
frame_580
frame_6100
frame_7120
frame_8140
CategoryWanKeyframeBuilder

Inputs (28)

NameTypeDefaultDescription
image1IMAGEFirst reference image. Placed on the timeline and used for SVI/reference.
num_framesINT811–4096Total frames in the output timeline. Should be 4n+1 (e.g., 81, 121, 161) for Wan models.
spacing_modeCOMBOEven: auto-distribute keyframes. Manual: use frame position inputs.
last_strengthFLOAT1.000–1Mask strength for the LAST keyframe. 1.0 = fully locked.
middle_strengthFLOAT0.800–1Mask strength for middle keyframes.
continuation_framesINT31–64Number of frames to use from continuation input (taken from END of previous video).
continuation_strength_modeCOMBOUniform: all continuation frames use same strength. Decay: exponential decay from start to end.
continuation_strengthFLOAT1.000–1Strength for continuation frames (uniform mode).
continuation_strength_startFLOAT0.800–1Starting strength for first continuation frame (decay mode).
continuation_strength_endFLOAT0.200–1Ending strength for last continuation frame (decay mode).
continuation_decay_rateFLOAT3.00.1–10Exponential decay rate. Higher = sharper drop. 3.0 = moderate, 5.0+ = aggressive.
place_first_keyframeBOOLEANtruePlace image1 on the timeline (after continuation if present, otherwise at frame 0).
first_keyframe_strengthFLOAT1.000–1Mask strength for image1 wherever it is placed.
frame_2INT400–4095Position for keyframe 2 (used in manual mode)
frame_3INT800–4095Position for keyframe 3 (used in manual mode)
frame_4INT600–4095Position for keyframe 4 (used in manual mode)
frame_5INT800–4095Position for keyframe 5 (used in manual mode)
frame_6INT1000–4095Position for keyframe 6 (used in manual mode)
frame_7INT1200–4095Position for keyframe 7 (used in manual mode)
frame_8INT1400–4095Position for keyframe 8 (used in manual mode)
image2optIMAGE
image3optIMAGE
image4optIMAGE
image5optIMAGE
image6optIMAGE
image7optIMAGE
image8optIMAGE
continuation_imageoptIMAGEFrames from previous generation. Last N frames will be used for motion context.

Outputs (5)

NameTypeDescription
imagesIMAGE
masksMASK
keyframesIMAGE
svi_reference_onlyIMAGE
svi_keyframe_segmentsIMAGE