A C/C++-native diffusion inference engine; choose for lightweight, dependency-free embedded or CPU deployment.
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
- 7.1k
- C++
- MIT
multimodal diffusion model library / generative AI
Diffusers is a PyTorch library providing reusable pipelines, schedulers, and pretrained models for diffusion-based generation across image, video, and audio domains.
Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.
A C/C++-native diffusion inference engine; choose for lightweight, dependency-free embedded or CPU deployment.
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.
An audio/music/speech-generation toolkit; choose it for an audio-only pipeline, but it lacks image and video diffusion support.
Amphion (/æmˈfaɪən/) is a toolkit for Audio, Music, and Speech Generation. Its purpose is to support reproducible research and help junior researchers and engineers get started in the field of audio, music, and speech generation research and development.
An Apple MLX-native diffusion runtime; choose it for memory-efficient on-device inference on Mac, but it is Apple-only and narrower.
Apple MLX native implementations of state-of-the-art generative image & video models
The original Stable Diffusion reference implementation; choose it for legacy SD1.x research rather than a maintained framework.
A latent text-to-image diffusion model
A standalone implementation of Kandinsky 2; choose it if that specific architecture is your target and you do not need a general library.
Kandinsky 2 — multilingual text2image latent diffusion model
A simple educational PyTorch re-implementation of Stable Diffusion; choose it for learning or a minimal baseline.
Yet another PyTorch implementation of Stable Diffusion (probably easy to read)
An older OpenMMLab generative-AI toolbox with diffusion and GAN models; choose if you are already in the MM ecosystem, expecting stale maintenance.
OpenMMLab Multimodal Advanced, Generative, and Intelligent Creation Toolbox. Unlock the magic 🪄: Generative-AI (AIGC), easy-to-use APIs, awsome model zoo, diffusion models, for text-to-image generation, image/video restoration/enhancement, etc.
An audio/music generation library (MusicGen/EnCodec); choose it when your target is exclusively high-quality audio generation.
Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
The original latent diffusion research codebase; choose it for reproducing the LDM papers rather than for production.
High-Resolution Image Synthesis with Latent Diffusion Models
Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.
A browser UI for Stable Diffusion; choose it when users need an interactive GUI rather than a programmatic Python API.
Stable Diffusion web UI
These projects were analysed and named diffusers among their alternatives. The relationship is not symmetric — how diffusers rates them is a separate judgement, made when diffusers is analysed in its own right.
calls diffusers “Use it when you want a maintained pip-installable library with pipeline APIs for Stable Diffusion and many other diffusion models instead of the original CompVis research scripts.”
A latent text-to-image diffusion model
calls diffusers “Choose it when you want a single Python library and pipeline abstraction covering FLUX plus many other diffusion models, at the cost of a much heavier dependency than the seed's minimal code.”
Official inference repo for FLUX.1 models
calls diffusers “Choose if you prefer diffusion-based audio models or need to leverage the diffusers ecosystem.”
Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio compressor / tokenizer, along with MusicGen, a simple and controllable music generation LM with textual and melodic conditioning.
calls diffusers “a maintained unified inference/training API for LDM-family and other diffusion checkpoints instead of the original monolithic scripts”
High-Resolution Image Synthesis with Latent Diffusion Models
calls diffusers “Broad, actively maintained diffusion library; choose for a standardized multi-model ecosystem instead of a single DALL-E 2 codebase.”
Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch
calls diffusers “choose when you want a Python/PyTorch library supporting training and inference across diffusion model families rather than C/C++ portability.”
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
calls diffusers “Choose when you need PyTorch, broad model support, and training utilities instead of Apple-silicon-only MLX inference.”
Apple MLX native implementations of state-of-the-art generative image & video models