Riffusion

Real-time music generation using Stable Diffusion on spectrograms.

Open SourceSelf HostedOffline CapableGPU Required (6GB+ VRAM)
0.0 (0)

About

Riffusion turned Stable Diffusion into a music generator by fine-tuning it on spectrogram images, the visual representation of audio frequencies over time. A text prompt produces a spectrogram, which is then converted into playable audio, and prompt interpolation lets the system morph smoothly between styles for continuous, real-time generation. The repository includes the diffusion pipeline with image conditioning, spectrogram conversion utilities, a command-line interface, a Streamlit playground for interactive experimentation, and a Flask server for inference APIs. It targets Python 3.9 to 3.10 and runs on CUDA GPUs, Apple Silicon, or CPU, with a GPU recommended for real-time use. Released under the MIT license, the open source project is no longer actively maintained, but the code remains a widely referenced demonstration of applying image diffusion to audio, used by musicians, researchers, and hobbyists exploring AI music.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Intermediate (3/5)
License
MIT
Minimum VRAM
6 GB
Added
Apr 3, 2026

Related Tools

Latent diffusion model for text-to-audio, music, and speech generation.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate

Audio super-resolution model for upsampling audio to higher sample rates.

Open SourceSelf HostedOfflineGPU 6GB+
Intermediate
Featured

State-of-the-art music source separation model by Meta for splitting tracks.

Open SourceSelf HostedOffline
Easy

Fast music generation model producing full songs with lyrics in seconds.

Open SourceSelf HostedOfflineGPU 8GB+
Intermediate

Audio diffusion model by Harmonai for generating music samples.

Open SourceSelf HostedOfflineGPU 8GB+
Advanced

PyTorch library for deep learning research on audio generation including MusicGen and AudioGen.

Open SourceSelf HostedOfflineGPU
Intermediate
Browse all Music & Audio Generation tools