heartlib: Open-Source Music Foundation Models
The most powerful open-source music generation model of 2026
A family of open-sourced music foundation models
- ๐ผ HeartMuLa — music language model generating music conditioned on lyrics and tags with multilingual support
- ๐ง HeartCodec — 12.5 Hz music codec with high reconstruction fidelity
- ๐ HeartTranscriptor — whisper-based model tuned for lyrics transcription
- ๐ HeartCLAP — audio–text alignment model for unified embedding space
Latest releases — 7B and 3B versions
- ๐ฅ HeartMuLa-7B — comparable to Suno in musicality, fidelity and controllability
- ๐ฌ MuLaCover — controllable cover-song and music-remix model
- ๐ง HeartCodec-oss-encoder — audio tokenization and reconstruction
Local deployment in one step
... git clone https://github.com/HeartMuLa/heartlib.git
... pip install -e .
License & citation
... Apache 2.0 License
FAQ
Q: How do I generate music?
A: ... python ./examples/run_music_generation.py --model_path=./ckpt --version="3B"
Q: What versions are available?
A: ... HeartMuLa-3B and HeartMuLa-7B (7B being the latest)
Q: How do I install it locally?
A: ... git clone ... / pip install -e .
๐ต Start generating music with heartlib today!
... https://github.com/HeartMuLa/heartlib