The 3D variational autoencoder (VAE) model with KL loss used in HunyuanImage2.1 for its refiner pipeline.
AutoencoderKLHunyuanImageRefiner
The 3D variational autoencoder (VAE) model with KL loss used in HunyuanImage2.1 for its refiner pipeline.
The model can be loaded with the following code snippet.
from diffusers import AutoencoderKLHunyuanImageRefiner
vae = AutoencoderKLHunyuanImageRefiner.from_pretrained("hunyuanvideo-community/HunyuanImage-2.1-Refiner-Diffusers", subfolder="vae", dtype=torch.bfloat16)
AutoencoderKLHunyuanImageRefiner
[[autodoc]] AutoencoderKLHunyuanImageRefiner
- 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.