YuE
Open foundation model that turns lyrics into full songs — vocals and backing — across many genres.
| Language | Python |
|---|---|
| Category | ML & generative |
| License | Apache-2.0 |
| Platforms | Linux Windows macOS |
| Install | Clone the repo and run the inference scripts |
| First released | 2025 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Generates complete songs with singing from your lyrics
- A rare open alternative to Suno and Udio
- Handles multiple languages and styles
Limitations
- Needs a strong GPU and long generation times
- Setup is heavier than a single pip install
- Two-stage generation with large model downloads
Best for
Self-hosting open full-song generation with vocals from your own lyrics.
Minimal example
# Clone the repo, then from inference/ run:
python infer.py \
--stage1_model m-a-p/YuE-s1-7B-anneal-en-cot \
--stage2_model m-a-p/YuE-s2-1B-general \
--genre_txt ../prompt_egs/genre.txt \
--lyrics_txt ../prompt_egs/lyrics.txt \
--output_dir ../output