Hunyuan Image Latent To Video Latent

HunyuanImageLatentToVideoLatent

Copies the given latent's samples tensor along the time axis ((length - 1) // 4) + 1 times to form a longer latent (see EmptyHunyuanLatentVideo's implementation for why this specific number of copies is used). Then, prepares a noise_mask tensor of the same shape such that the value of the mask for a given time step is given by the function shown at https://www.desmos.com/calculator/vhw74mr1vh.

Pack: ComfyUI-HunyuanImageLatentToVideoLatent

custom_nodes.ComfyUI-HunyuanImageLatentToVideoLatent

Inputs (6)

NameTypeRequired
lengthINTrequired
latentLATENTrequired
use_noise_maskBOOLEANrequired
noise_sFLOATrequired
noise_oFLOATrequired
noise_wFLOATrequired

Outputs (1)

NameType
LATENTLATENT