awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
CompVis avatar

CompVis/latent-diffusion

0
View on GitHub↗
14,072 stars·1,731 forks·Jupyter Notebook·MIT·17 views

Latent Diffusion

Latent Diffusion is a framework for high-resolution image synthesis that performs the denoising process within a compressed latent space. It uses variational autoencoders to encode images into a lower-dimensional representation, reducing the computational cost of noise prediction compared to operating on raw pixels.

The project enables text-to-image generation by integrating natural language descriptions through cross-attention conditioning. It also supports image inpainting and restoration, filling masked or missing image areas with generated content, and example-based synthesis using retrieved visual samples.

The system includes capabilities for training both the regularized autoencoder models used for compression and the latent diffusion models used for synthesis. It supports various sampling methods, including unconditional image generation and classifier-free guidance to balance sample fidelity and diversity.

Features

  • Latent Diffusion Models - Provides a latent diffusion model framework that performs the denoising process within a compressed latent space.
  • Diffusion Model Training - Includes workflows for training latent diffusion models on large datasets of diverse visual examples.
  • Latent Space Encoders - Implements latent space encoders to compress high-resolution images for efficient diffusion processing.
  • Text-to-Image Generators - Generates high-resolution images from natural language descriptions using latent diffusion pipelines.
  • Cross-Attention Conditioning - Uses cross-attention conditioning to integrate text and image embeddings into the denoising network.
  • Variational Autoencoders - Uses variational autoencoders to compress high-resolution images into a lower-dimensional latent space.
  • Iterative Denoising Pipelines - Implements iterative denoising pipelines to recursively remove Gaussian noise from random signals.
  • Latent Noise Prediction - Performs iterative noise prediction within a compressed representation to improve computational efficiency.
  • Classifier-Free Guidance - Implements classifier-free guidance to balance image fidelity and diversity during the denoising process.
  • Image Inpainting - Provides image inpainting capabilities to restore missing areas by combining known pixels with generated content.
  • Example-Based Synthesis - Implements example-based synthesis to create new visuals based on retrieved image patterns.
  • Image Generation - Supports unconditional image generation by sampling directly from the trained model.
  • Example-Based Synthesis - Creates new images by combining natural language prompts with similar visual examples retrieved from a database.
  • High-Resolution Synthesis - Synthesizes high-fidelity, high-resolution images from trained generative models.
  • Image Restoration and Generation - Provides image restoration and inpainting to fill masked areas and restore the visual whole.
  • Area Filling and Clearing - Fills missing image areas and gaps with generated visual content.
  • Latent Inpainting Masks - Supports mask-based latent inpainting to reconstruct missing image regions within the compressed space.
  • Generation - Listed in the “Generation” section of the Awesome Diffusion Models awesome list.
  • Others - Listed in the “Others” section of the Ailia Models awesome list.
  • Text to Image - Listed in the “Text to image” section of the Ailia Models awesome list.

Star history

Star history chart for compvis/latent-diffusionStar history chart for compvis/latent-diffusion

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Curated searches featuring Latent Diffusion

Hand-picked collections where Latent Diffusion appears.
  • Stable Diffusion Image Generation Tools

Open-source alternatives to Latent Diffusion

Similar open-source projects, ranked by how many features they share with Latent Diffusion.
  • lucidrains/dalle2-pytorchlucidrains avatar

    lucidrains/DALLE2-pytorch

    11,310View on GitHub↗

    This is a PyTorch implementation of a text-to-image model designed for synthesizing high-fidelity images from natural language descriptions. It utilizes a diffusion image generator to transform latent embeddings into visual data through an iterative denoising process. The system employs a two-stage latent mapping process, using a CLIP-based latent prior to map text embeddings to image embeddings before decoding them into pixels. It features a cascading diffusion decoder that produces high-resolution imagery by passing low-resolution outputs through a sequence of models at increasing scales.

    Pythonartificial-intelligencedeep-learningtext-to-image
    View on GitHub↗11,310
  • stability-ai/stablecascadeStability-AI avatar

    Stability-AI/StableCascade

    6,548View on GitHub↗

    StableCascade is a generative AI system and latent diffusion framework designed for text-to-image synthesis and image-to-image transformations. It utilizes a multi-stage cascade architecture that encodes and decodes images via a latent space to produce high-fidelity visual imagery. The system includes a cascade diffusion pipeline for controlling image structure through inpainting, outpainting, and super-resolution. It also provides a toolkit for image-to-image generation and the creation of image variations using embeddings. The framework supports model optimization through low-rank adaptati

    Jupyter Notebook
    View on GitHub↗6,548
  • kwai-kolors/kolorsKwai-Kolors avatar

    Kwai-Kolors/Kolors

    4,607View on GitHub↗

    Kolors is a generative model implementation for synthesizing photorealistic images from natural language descriptions and visual references. It utilizes a latent diffusion model framework to produce high-fidelity imagery, operating within a compressed latent space to improve generation efficiency and quality. The system functions as a multilingual image generator, interpreting text prompts in multiple languages to produce semantically accurate visual outputs. It includes a custom model training pipeline that uses low-rank adaptation to teach the model specific subjects or artistic styles from

    Python
    View on GitHub↗4,607
  • huggingface/diffusion-models-classhuggingface avatar

    huggingface/diffusion-models-class

    4,331View on GitHub↗

    This project is an educational course and collection of training materials focused on generative diffusion models. It provides a curriculum and practical guides for training, fine-tuning, and deploying models capable of synthesizing images, audio, and video. The material covers specific implementation strategies including noise-based synthesis, iterative refinement, and latent space compression. It provides instruction on guiding generative outputs through conditional synthesis and prompt adherence optimization, as well as techniques for image inpainting and text-based editing. The project i

    Jupyter Notebook
    View on GitHub↗4,331
See all 30 alternatives to Latent Diffusion→

Frequently asked questions

What does compvis/latent-diffusion do?

Latent Diffusion is a framework for high-resolution image synthesis that performs the denoising process within a compressed latent space. It uses variational autoencoders to encode images into a lower-dimensional representation, reducing the computational cost of noise prediction compared to operating on raw pixels.

What are the main features of compvis/latent-diffusion?

The main features of compvis/latent-diffusion are: Latent Diffusion Models, Diffusion Model Training, Latent Space Encoders, Text-to-Image Generators, Cross-Attention Conditioning, Variational Autoencoders, Iterative Denoising Pipelines, Latent Noise Prediction.

What are some open-source alternatives to compvis/latent-diffusion?

Open-source alternatives to compvis/latent-diffusion include: lucidrains/dalle2-pytorch — This is a PyTorch implementation of a text-to-image model designed for synthesizing high-fidelity images from natural… stability-ai/stablecascade — StableCascade is a generative AI system and latent diffusion framework designed for text-to-image synthesis and… kwai-kolors/kolors — Kolors is a generative model implementation for synthesizing photorealistic images from natural language descriptions… huggingface/diffusion-models-class — This project is an educational course and collection of training materials focused on generative diffusion models. It… facebookresearch/dit — DiT is a latent diffusion model and transformer-based generative AI framework implemented in PyTorch. It functions as… lucidrains/imagen-pytorch — This is a PyTorch-based implementation of diffusion models for synthesizing photorealistic images and video. It…