opensi·si

The 2D variational autoencoder (VAE) model with KL loss used in [HunyuanImage2.1].

AutoencoderKLHunyuanImage

The 2D variational autoencoder (VAE) model with KL loss used in [HunyuanImage2.1].

The model can be loaded with the following code snippet.

from diffusers import AutoencoderKLHunyuanImage

vae = AutoencoderKLHunyuanImage.from_pretrained("hunyuanvideo-community/HunyuanImage-2.1-Diffusers", subfolder="vae", dtype=torch.bfloat16)

AutoencoderKLHunyuanImage

[[autodoc]] AutoencoderKLHunyuanImage

  • decode
  • all

DecoderOutput

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

Source and license

Source: Diffusers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.