qwenillustrious / diffusers /docs /source /en /api /models /autoencoder_kl_hunyuan_video.md
lsmpp's picture
Add files using upload-large-folder tool
47c146e verified

AutoencoderKLHunyuanVideo

The 3D variational autoencoder (VAE) model with KL loss used in HunyuanVideo, which was introduced in HunyuanVideo: A Systematic Framework For Large Video Generative Models by Tencent.

The model can be loaded with the following code snippet.

from diffusers import AutoencoderKLHunyuanVideo

vae = AutoencoderKLHunyuanVideo.from_pretrained("hunyuanvideo-community/HunyuanVideo", subfolder="vae", torch_dtype=torch.float16)

AutoencoderKLHunyuanVideo

[[autodoc]] AutoencoderKLHunyuanVideo

  • decode
  • all

DecoderOutput

[[autodoc]] models.autoencoders.vae.DecoderOutput