Skip to main content
The WanSCAILToVideo node prepares conditioning and an empty latent space for video generation. It processes optional inputs like reference images, pose videos, CLIP vision outputs, and previous frame chunks, embedding them into the positive and negative conditioning for a video model. The node outputs the modified conditioning and a blank latent tensor of the specified video dimensions.

Inputs

Note: The pose_video and pose_video_mask inputs are processed only for the first length frames. The reference_image is processed only for the first image in the batch. When reference_image is provided, it is encoded into a latent and embedded into both positive and negative conditioning. When clip_vision_output is provided, it is applied to both positive and negative conditioning. The pose_video is downscaled to half the resolution of the main video before encoding. When previous_frames is provided, only the last previous_frame_count frames are used as the extension anchor, and the video_frame_offset is adjusted accordingly. In Replacement Mode (replacement_mode=True), the reference image is composited on a black background using the reference image mask as an alpha matte.

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): 30e14959248c46e624e2ce2e3d079cd5aad94c12b66d74d4979ef70143b871e3