Files
diffusers/docs/source/en/api/models/autoencoder_kl_hunyuan_video15.md
YiYi Xu 6156cf8f22 Hunyuanvideo15 (#12696)
* add


---------

Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-161-123.ec2.internal>
Co-authored-by: yiyi@huggingface.co <yiyi@ip-26-0-160-103.ec2.internal>
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-30 20:27:59 -10:00

1.2 KiB

AutoencoderKLHunyuanVideo15

The 3D variational autoencoder (VAE) model with KL loss used in HunyuanVideo1.5 by Tencent.

The model can be loaded with the following code snippet.

from diffusers import AutoencoderKLHunyuanVideo15

vae = AutoencoderKLHunyuanVideo15.from_pretrained("hunyuanvideo-community/HunyuanVideo-1.5-Diffusers-480p_t2v", subfolder="vae", torch_dtype=torch.float32)

# make sure to enable tiling to avoid OOM
vae.enable_tiling()

AutoencoderKLHunyuanVideo15

autodoc AutoencoderKLHunyuanVideo15

  • decode
  • encode
  • all

DecoderOutput

autodoc models.autoencoders.vae.DecoderOutput