Skip to main content
The WanSoundImageToVideoExtend node extends an existing video latent by generating additional frames, optionally guided by audio, a reference image, and a control video. It takes a starting video latent and produces a longer video sequence, using the provided conditioning and audio cues to influence the new content.

Inputs

ParameterDescriptionData TypeRequiredRange
positivePositive conditioning prompts that guide what the video should includeCONDITIONINGYes-
negativeNegative conditioning prompts that specify what the video should avoidCONDITIONINGYes-
vaeVariational Autoencoder used for encoding and decoding video framesVAEYes-
lengthTotal number of frames to generate for the video sequence (default: 77, step: 4)INTYes1 to MAX_RESOLUTION
video_latentInitial video latent representation that serves as the starting point for extension. The width, height, batch size, and frame offset are derived from this latent.LATENTYes-
audio_encoder_outputOptional audio embeddings that can influence video generation based on sound characteristics. When provided, the audio is interpolated and used to create an audio embedding bucket that is added to the conditioning.AUDIOENCODEROUTPUTNo-
ref_imageOptional reference image that provides visual guidance for the video generation. The image is upscaled to match the target dimensions and encoded into a latent, which is then added to both positive and negative conditioning.IMAGENo-
control_videoOptional control video that can guide the motion and style of the generated video. The video is upscaled, encoded, and added to both positive and negative conditioning. The control video is truncated to the specified length.IMAGENo-

Outputs

Output NameDescriptionData Type
positiveProcessed positive conditioning with video context applied, including audio embeddings, reference latents, reference motion, and control video if providedCONDITIONING
negativeProcessed negative conditioning with video context applied, including audio embeddings (zeroed out), reference latents, reference motion, and control video if providedCONDITIONING
latentGenerated video latent representation containing the extended video sequence, initialized as zeros with dimensions derived from the input video_latent and the target lengthLATENT
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): 73e5aa3dd8085c7c0ed58f5cdafe71db04c20fcc521a965aeb8bbc3364c79031