Skip to main content
WanAnimateToVideo prepares conditioning data and an initial latent for generating animated videos with Wan, using inputs such as a reference image, pose, face, background, and optional motion from a previous chunk. It also supports generating longer videos in chunks by reading and updating a video_frame_offset value. This node is marked as experimental.

Inputs

Parameter Constraints:
  • When continue_motion is provided, only its last continue_motion_max_frames frames are used.
  • Input videos (face_video, pose_video, background_video, character_mask) are offset by video_frame_offset before use. If the offset is greater than or equal to the input’s frame count, that input is ignored, except for a single-frame character_mask.
  • If character_mask has only one frame, that frame is repeated for every frame of the output.
  • When pose_video is shorter than length, its last frame is repeated to fill the remaining frames; the output length is not changed.
  • If clip_vision_output is provided, it is added to both positive and negative conditioning.
  • If reference_image is not provided, a black image (all zero values) is used as the default reference.
  • If continue_motion is not provided, the initial motion frames are filled with constant gray (0.5 intensity) frames.
  • When continue_motion is used, video_frame_offset is reduced by the number of carried-over frames before the next chunk offset is calculated, so overlapping frames are not processed twice.
  • background_video fills the motion frames after the reference-motion portion; it does not replace the reference image or the carried-over continue_motion frames.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): a95bae4c7ae4ddc8a95bc9dafa2ca920b1d2166802615189537dce16949bfc03