heartlib
HeartMuLa/heartlib · Python · Apache-2.0
Open lyric+tag music generation stack for 2026
HeartMuLa ships generation, codec and lyric transcription pieces. Useful if you want a modular open music foundation rather than a single Gradio app.
Score
Setup at a glance
git clone https://github.com/HeartMuLa/heartlib.git && python ./examples/run_music_generation.py --model_path=./ckpt --version=3B Deep dive
heartlib is the open-source library behind HeartMuLa's music generation: a scriptable Python codebase for generating full songs from text, with released checkpoints at multiple sizes (the example usage runs the 3B model).
The project has been shipping steadily — HeartCodec encoder releases, MuLaCover for cover generation, and periodic model updates tracked on the repo — each component published separately so you can mix codecs and generators.
Example scripts show the minimal path from checkpoint to audio, and the companion Hugging Face repositories hold the weights and codec assets.