# YuE — card for AI agents

Original open lyrics-to-song model (2025) that generates full songs with vocals and accompaniment under Apache-2.0.

Category: AI music and sound generators · maker HKUST / M-A-P · checked 2026-11-10

## Price
- Price: Free
- Free tier: Open weights, free to download; self-hosted.

## License
Apache-2.0 (YuE v1 code and weights) — https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/LICENSE

- commercial: **yes** (Commercial use OK)
  > each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work
  (https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/LICENSE)
- attribution: **required** (Credit required)
  > The only requirement is to credit our name: YuE by HKUST/M-A-P
  (https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/README.md)
- in app: **yes** (Can ship inside your app)
  > each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work
  (https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/LICENSE)
- youtube: **yes** (OK in monetized YouTube videos)
  > We encourage artists and content creators to freely incorporate outputs generated by YuE into their own works, including commercial projects.
  (https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot)

## Rules to follow
- Keep the Apache-2.0 notice when you redistribute the weights.
- You must make sure outputs do not plagiarise existing works; labelling uploads as AI-generated is recommended.
- YuE2 (the newer release in the same repo) is CC BY-NC and listed separately.
- Credit "YuE by HKUST/M-A-P": the 2025-01-29 licence note calls it the only requirement (the licence section only encourages it).

## How to connect
- Download only
- Repository: https://github.com/multimodal-art-projection/YuE
- Website: https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot

## Notes
Two-stage pipeline: 7B stage-1 models (English, Chinese, Japanese/Korean; CoT and in-context variants) plus a 1B stage-2 model. v1 code lives on the YuE-v1 branch. Hugging Face API, Oct 25, 2026 (YuE-s1-7B-anneal-en-cot): 2838 downloads, 462 likes; GitHub multimodal-art-projection/YuE: 12705 stars.

## Numbers (AgentGid data)
- Gid Score: 37
- GitHub stars: 13,747

## Lines to paste into your prompt or AGENTS.md

```
- YuE (AI music and sound generators). Original open lyrics-to-song model (2025) that generates full songs with vocals and accompaniment under Apache-2.0. Price: free; commercial use OK; credit required.
  Connect: download from https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot (no API).
  Rule: Keep the Apache-2.0 notice when you redistribute the weights.
  Rule: You must make sure outputs do not plagiarise existing works; labelling uploads as AI-generated is recommended.
  Rule: YuE2 (the newer release in the same repo) is CC BY-NC and listed separately.
  Rule: Credit "YuE by HKUST/M-A-P": the 2025-01-29 licence note calls it the only requirement (the licence section only encourages it).
  License: https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/LICENSE (checked 2026-11-10; details: https://agentgid.com/assets/yue/)
```

Not verified: GitHub stars are for the shared repo (YuE v1 and YuE2).

## Links
- AgentGid page: https://agentgid.com/assets/yue/
- Is it free for commercial use? https://agentgid.com/assets/yue/commercial-use/
- Source: https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot
- Source: https://github.com/multimodal-art-projection/YuE/tree/YuE-v1
- Source: https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/LICENSE
- Source: https://huggingface.co/api/models/m-a-p/YuE-s1-7B-anneal-en-cot


## YuE: whole songs with vocals from your lyrics

YuE is a free AI music model that turns your lyrics and a few style words into a song with a singing voice and backing music. You run it yourself on a strong graphics card; it is not a website. The first version is Apache 2.0, so songs and the model can be used commercially.

### Where to use it
- A song from your own lyrics: Write verses and a chorus, add style words such as "uplifting pop, female, airy vocal", and get a sung song with music behind it.
- A new song in the style of a reference: Give it about 30 seconds of a reference track you have rights to, ideally the chorus, and it writes a new song that sounds similar.
- Songs in Chinese, Japanese or Korean: Pick the matching model version to write lyrics in Mandarin, Cantonese, Japanese or Korean as well as English.
- Music for videos you publish: Use generated songs in your own videos, podcasts or releases, including paid ones. The team asks you to mark them as made with AI.
- A song generator inside your app: Run the model on your own GPU server so users of your app can turn their lyrics into songs, without paying per song to an outside service. (idea, not from the official pages)
- Jingles and theme songs: Make a short sung jingle with your product name for an ad, a podcast intro or an event, then pick the best of several tries. (idea, not from the official pages)

### How to start
- Prepare a Linux machine with an NVIDIA graphics card and CUDA 11.8 or newer, then install the listed Python packages in a fresh environment.

```
conda create -n yue python=3.8 # Python >=3.8 is recommended.
conda activate yue
conda install pytorch torchvision torchaudio cudatoolkit=11.8 -c pytorch -c nvidia
```

- Get the YuE-v1 code and the sound tokenizer files; the model files download on the first run.

```
git clone --branch YuE-v1 https://github.com/multimodal-art-projection/YuE.git
cd YuE/inference/
git clone https://huggingface.co/m-a-p/xcodec_mini_infer
```

- Write genre.txt (genre, instrument, mood, gender, timbre) and lyrics.txt (sections like [verse] and [chorus], separated by a blank line), then run infer.py.

### License
The YuE v1 code and models are Apache 2.0, free for paid products. Songs you make may be used in commercial work. You must make sure a song does not copy existing music.

### Good to know
- It needs a lot of graphics memory. With 24 GB or less, generate at most two sections at a time; whole songs want 80 GB.
- It is slow. Thirty seconds of music take a few minutes even on a fast card.
- The same project now hosts the newer YuE2 under a different, non-commercial license. YuE v1 lives on its own branch.
- The team recommends labelling uploads as made with AI, for example "AI-generated" or "YuE-generated".

Checked 2026-11-10 against: https://github.com/multimodal-art-projection/YuE/tree/YuE-v1, https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/README.md, https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/LICENSE, https://github.com/multimodal-art-projection/YuE/blob/YuE-v1/requirements.txt, https://github.com/multimodal-art-projection/YuE/blob/main/README.md, https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot, https://huggingface.co/m-a-p/YuE-s1-7B-anneal-en-cot/raw/main/README.md, https://huggingface.co/api/models/m-a-p/YuE-s1-7B-anneal-en-cot

### Mistakes to avoid
- Don't: Cloning the main branch and following its README for YuE v1 → Do: Clone with --branch YuE-v1; main now holds YuE2 with a different install and license (The original YuE code, docs and license are kept on the YuE-v1 branch.)
- Don't: Using the -cot model with --use_audio_prompt or --use_dual_tracks_prompt → Do: Switch --stage1_model to the matching -icl model for reference-song modes (Reference-song (ICL) mode needs its own checkpoint.)
- Don't: Putting a long verse in one section or starting with [intro] → Do: Keep each section short (about 30 seconds of singing), separate sections with a blank line, start with [verse] or [chorus] (Each section maps to about 30 seconds and the [intro] label is less stable.)
- Don't: Raising --run_n_segments to a whole song on a 24 GB card → Do: Stay at 2 sections on 24 GB or less, or use an 80 GB card or several GPUs for full songs (Long generations run out of graphics memory.)

### Questions
- Can I sell or monetize songs made with YuE? Yes. The team encourages using outputs in your own works, including commercial projects; you are responsible for not copying existing music.
- Do I have to credit YuE? The license section encourages credit to "YuE by HKUST/M-A-P", especially for public and commercial use; an older news entry calls it a requirement, so crediting is the safe choice.
- How long can a song be? Several minutes. Each lyric section becomes about 30 seconds, and the number of sections you generate sets the length.
- Can it make music without singing? The README points to a separate project issue for instrumental-only output; it is not a built-in switch.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
