Nodes Browser

ComfyDeploy: How ComfyUI-HunyuanImageLatentToVideoLatent works in ComfyUI?

What is 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.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-HunyuanImageLatentToVideoLatent and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine