ComfyUI > Nodes > ComfyUI-HunyuanVideoWrapper > HunyuanVideo VAE Loader

ComfyUI Node: HunyuanVideo VAE Loader

Class Name

HyVideoVAELoader

Category
HunyuanVideoWrapper
Author
kijai (Account age: 2506days)
Extension
ComfyUI-HunyuanVideoWrapper
Latest Updated
2025-05-12
Github Stars
2.4K

How to Install ComfyUI-HunyuanVideoWrapper

Install this extension via the ComfyUI Manager by searching for ComfyUI-HunyuanVideoWrapper
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-HunyuanVideoWrapper in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

HunyuanVideo VAE Loader Description

Efficiently decode and manage video data using VAEs in HunyuanVideo framework.

HunyuanVideo VAE Loader:

The HyVideoVAELoader node is designed to facilitate the loading and management of Variational Autoencoders (VAEs) specifically tailored for video processing within the HunyuanVideo framework. This node plays a crucial role in decoding video data from latent representations, enabling the transformation of compressed data back into a visual format. By leveraging the capabilities of VAEs, this node allows for efficient handling of video data, making it possible to work with high-dimensional video content in a more manageable form. The primary goal of the HyVideoVAELoader is to streamline the process of video data reconstruction, ensuring that users can easily decode and manipulate video content for various creative and analytical purposes.

HunyuanVideo VAE Loader Input Parameters:

vae_type

The vae_type parameter specifies the type of Variational Autoencoder to be used for video processing. It determines the architecture and configuration of the VAE, which can impact the quality and efficiency of video decoding. The default value is "884-16c-hy", and users can choose different types based on their specific needs and the characteristics of the video data they are working with.

vae_precision

The vae_precision parameter defines the numerical precision used during the VAE operations. This can affect the performance and accuracy of the video decoding process. While the context does not specify default values, users can typically choose between options like float32 or float16, depending on their hardware capabilities and the desired balance between speed and precision.

sample_size

The sample_size parameter indicates the dimensions of the video samples to be processed by the VAE. This parameter is crucial for ensuring that the VAE can handle the video data correctly, and it may need to be adjusted based on the resolution and aspect ratio of the input video. The context does not provide specific default values, so users should set this parameter according to their video data requirements.

vae_path

The vae_path parameter specifies the file path to the VAE model to be loaded. This allows users to utilize pre-trained VAE models stored on their system, facilitating the reuse of models across different projects. The path should be set to the location where the desired VAE model is stored.

logger

The logger parameter is used to specify a logging mechanism for tracking the VAE loading and decoding process. This can be helpful for debugging and monitoring the performance of the node. Users can provide a custom logger or use the default logging settings.

device

The device parameter determines the hardware device on which the VAE operations will be executed. This can be set to options like cpu or cuda to leverage the computational power of different hardware configurations. Choosing the appropriate device can significantly impact the speed and efficiency of the video decoding process.

HunyuanVideo VAE Loader Output Parameters:

video

The video output parameter represents the decoded video data obtained from the latent representations processed by the VAE. This output is crucial for users who need to visualize or further manipulate the video content after decoding. The video parameter provides the reconstructed video in a format that can be easily integrated into various creative workflows or analytical tasks.

HunyuanVideo VAE Loader Usage Tips:

  • Ensure that the vae_type and sample_size parameters are appropriately set to match the characteristics of your video data for optimal decoding results.
  • Utilize the device parameter to leverage GPU acceleration if available, as this can significantly enhance the performance of the video decoding process.

HunyuanVideo VAE Loader Common Errors and Solutions:

"VAE model not found at specified path"

  • Explanation: This error occurs when the vae_path parameter is set to a location where the VAE model file does not exist.
  • Solution: Verify that the vae_path is correctly set to the directory containing the desired VAE model file and that the file is accessible.

"Incompatible sample size for VAE"

  • Explanation: This error indicates that the sample_size parameter does not match the expected input dimensions for the specified VAE type.
  • Solution: Adjust the sample_size parameter to align with the input requirements of the chosen VAE type, ensuring compatibility with the video data being processed.

HunyuanVideo VAE Loader Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-HunyuanVideoWrapper
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.