ComfyUI Node: Hunyuan Image Latent To Video Latent

Authored by philiprodriguez

Created

Updated

1 stars

Category

latent

Inputs

length INT
latent LATENT
use_noise_mask BOOLEAN
noise_s FLOAT
noise_o FLOAT
noise_w FLOAT

Outputs

LATENT

Extension: ComfyUI-HunyuanImageLatentToVideoLatent

A ComfyUI node which copies a 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) and 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 at https://www.desmos.com/calculator/vhw74mr1vh.

Authored by philiprodriguez

Run ComfyUI workflows in the Cloud!

No downloads or installs are required. Pay only for active GPU usage, not idle time. No complex setups and dependency issues

Learn more