MusicGPT
Rust application that runs Meta's MusicGen locally via ONNX with chat and web interfaces, no Python needed.
About
No Python, no PyTorch, no setup ceremony: MusicGPT packages Meta's MusicGen models into a single Rust binary that runs text-to-music generation locally on macOS, Linux, and Windows through the ONNX runtime. It operates in two modes, a terminal chat interface and a local web UI with chat history, background generation, and on-demand playback, and the web server can be exposed over the network to drive generation from another device. Model sizes from small to large download on first use; the smallest model produces short clips on an Apple Silicon laptop, while larger variants are compute-hungry and benefit from CUDA through the recommended Docker image. Installation comes via Homebrew, cargo install musicgpt, Docker, or prebuilt binaries for each platform. The application code is MIT licensed, though the MusicGen weights it downloads remain under Meta's CC-BY-NC-4.0 non-commercial terms, which limits commercial use of the output pipeline. Around 1,400 GitHub stars reflect its niche as the easiest way to run open music generation models locally, with melody conditioning and infinite audio streams on the roadmap.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Music & Audio Generation
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Jul 29, 2026
Related Tools
Audio generation framework by Meta including MusicGen for text-to-music.
Latent diffusion model for text-to-audio, music, and speech generation.
Audio super-resolution model for upsampling audio to higher sample rates.
State-of-the-art music source separation model by Meta for splitting tracks.
Fast music generation model producing full songs with lyrics in seconds.
PyTorch library for deep learning research on audio generation including MusicGen and AudioGen.