Skip to main content
This node creates an empty latent tensor specifically formatted for use with the HunyuanVideo 1.5 model. It generates a blank starting point for video generation by allocating a tensor of zeros with the correct channel count and spatial dimensions for the model’s latent space.

Inputs

ParameterDescriptionData TypeRequiredRange
widthThe width of the video frame in pixels.INTYes-
heightThe height of the video frame in pixels.INTYes-
lengthThe number of frames in the video sequence.INTYes-
batch_sizeThe number of video samples to generate in a batch (default: 1).INTNo-
Note: The spatial dimensions of the generated latent tensor are calculated by dividing the input width and height by 16. The temporal dimension (frames) is calculated as ((length - 1) // 4) + 1.

Outputs

Output NameDescriptionData Type
samplesAn empty latent tensor with dimensions suitable for the HunyuanVideo 1.5 model. The tensor has a shape of [batch_size, 32, frames, height//16, width//16]. The output also includes a downscale_ratio_spacial value of 16.LATENT
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): 6f53c99967149dd7c92e4d20a4ee80bd23d856ebab0a14a8201c55db847a525e