Project ◆ Hidden gem

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.

62.2 / 100 · Score
★ 3.8k Stars
+5 30-day growth
35 min Time to first run
Not required API key

Score

Trend 32
Activity 49
Quality 65
Community 49
Relevance 100

Setup at a glance

DeployCli
GPU12 GB
API keyNot required
UI languages
Doc languagesen
Install
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.

Use cases

Tag-conditioned songs
Lyric transcription experiments
Custom music pipelines

Good for / Not ideal for

Good for

Engineers assembling music toolchains

Not ideal for

People who only want a one-click UI

Trend · 30d

Alternatives