ConsistencyDecoder is a Python package from OpenAI that introduces an improved decoding method for variational autoencoders (VAEs) used in Stable Diffusion pipelines. Instead of relying solely on the standard GAN or VAE decoder, this approach leverages a Consistency Distilled Diff VAE, designed to produce higher-quality and more stable outputs from encoded latents. The project provides a simple API for encoding with a Stable Diffusion VAE and decoding using the new consistency model, allowing for side-by-side comparisons with traditional decoders. It demonstrates how consistency models can enhance visual fidelity while maintaining efficiency, reducing artifacts common in GAN-decoded outputs. The repository includes installation instructions, usage examples, and visual comparisons to highlight improvements. Though compact, it provides an accessible entry point for experimenting with advanced decoding strategies in diffusion-based generative models.

Features

  • Consistency Distilled Diff VAE for improved decoding in Stable Diffusion
  • Compatible with Hugging Face Diffusers StableDiffusionPipeline
  • Provides side-by-side comparisons of GAN, VAE, and consistency decoders
  • Simple API for encoding latents and decoding with the new method
  • Example images included for testing and reproducibility
  • Lightweight Python package installable directly from GitHub

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ConsistencyDecoder

ConsistencyDecoder Web Site

Other Useful Business Software
Earn up to 15% annual interest with Nexo. Icon
Earn up to 15% annual interest with Nexo.

Let your crypto work for you

Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform. Geographic restrictions, eligibility, and terms apply.
Get started with Nexo.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ConsistencyDecoder!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Artificial Intelligence Software

Registered

2025-10-04