Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

YuE2

by HKUST / M-A-P

3B song generator that turns lyrics and a style prompt into full songs, with an editable melody and chord score.

AI music and sound generators Open source

GitHub repoWebsite

2. Commercial use: LICENSE on GitHub

“The individual creator permission does not authorize commercial use of the model weights by companies.”

Companies need a separate commercial license for the weights; an individual creator using it for their own outputs does not.

LICENSE on GitHub

License checked Oct 25, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error

YuE2: songs from lyrics with an editable melody

YuE2 is a free AI music model that turns lyrics and a short style description into a full song with vocals and backing music. It first writes a melody and chord plan you can read and change, then sings it. Individual creators may sell the songs; companies need a separate license.

Where you can use it

A finished song from your lyrics

Give it your lyrics and a style such as "English, jazz-funk, warm lead vocal", and get a stereo song file.

Change the tune before it is sung

Open the written melody and chords, change the harmony, tempo or form yourself or with an AI helper, and render a new version.

A cover in a new style

Turn a recording you have rights to into a melody score, then sing it again in another style with new or the same lyrics.

Instrumental music without vocals

Ask for calm piano music for reading or similar background tracks; the melody moves to an instrument instead of a voice.

Songs for your own channel

As a solo creator, make songs for your videos or releases and earn money from them, with no fees to the model makers.

Quick song sketches for a pitch Idea

Try several styles of the same lyrics, such as pop and jazz, to agree on a direction before a musician records the real track.

As reported by HKUST / M-A-P: A 3.6-minute song in 71 seconds on an RTX 4090; 6.9632 SongBench Avg for YuE2 (best-of-8), the highest mean in its own comparison.

YuE2 popularity

37 / 100
Gid Score, same scale as developer tools
13,747
GitHub stars
YuE2: GitHub starsmultimodal-art-projection/YuE 13,747

How the Gid Score is calculated

How to start

Tell your AI assistant

“Install YuE2 from github.com/multimodal-art-projection/YuE (main branch) in a Python 3.12 venv on this Linux GPU machine, generate a song from examples/song.json with YuE2Pipeline and m-a-p/YuE2-3B, and save the score next to the audio.”

Show codeStep 1 or Step 2

Use Linux, Python 3.12 and an NVIDIA graphics card with 24 GB of memory. Install the project into a virtual environment.

git clone https://github.com/multimodal-art-projection/YuE.git
cd YuE
python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .

Mistakes to avoid

Following the old YuE v1 commands (infer.py, --stage1_model) on the main branch
Use YuE2Pipeline or examples/generate.py from main; v1 commands live on the YuE-v1 branch

The main branch now holds YuE2; the original YuE is kept on its own branch.

Using cot="full" and a score with chord symbols for a cover
For covers, pass cot="melody" and a melody score without chords

Without chords the accompaniment can adapt to the new style.

Expecting an edited score to change only part of the existing recording
Treat every edit as a new full render, and keep the earlier file

Editing makes a new complete recording.

Building a song feature for a company app on the free license
Get a commercial license for the weights first, or use the Apache 2.0 YuE v1

The individual creator permission excludes companies.

License

Weights CC BY-NC 4.0 with individual-creator permission; code Apache-2.0 license. The code is Apache 2.0, but the model is CC BY-NC 4.0 with an extra permission. Individual creators may sell the songs they make, research use is free, and companies must ask for a commercial license.

Commercial use
With conditions

“The individual creator permission does not authorize commercial use of the model weights by companies.” LICENSE on GitHub

Credit
Depends on item

“This recommendation does not waive the attribution requirements for sharing model weights or adapted weights.” LICENSE on GitHub

Inside your app or game
Not allowed

“The individual creator permission does not authorize commercial use of the model weights by companies.” LICENSE on GitHub

Pass the files on to your users
With conditions

Non-commercial sharing of the weights only, with attribution to YuE2, the model name and its source.

“For attribution, identify YuE2, the model name and its source repository” LICENSE on GitHub

Monetized YouTube
Allowed

“to publish, distribute, sell, license or otherwise monetize those outputs, subject to the responsible-use conditions below.” LICENSE on GitHub

AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is YuE2 free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with YuE2. Paste them into your prompt or AGENTS.md.

License rules
- YuE2 (AI music and sound generators). 3B song generator that turns lyrics and a style prompt into full songs, with an editable melody and chord score. Price: free; commercial use with conditions; credit depends on the item; cannot ship inside an app.
  Connect: download from https://huggingface.co/m-a-p/YuE2-3B (no API).
  Rule: Individual creators may sell and monetize outputs with no fees; companies need a separate commercial license.
  Rule: Academic use is free for non-commercial research and education.
  Rule: No illegal, harmful, deceptive or impersonating use; credit on outputs is optional, attribution needed when sharing weights.
  License: https://github.com/multimodal-art-projection/YuE/blob/main/MODEL_LICENSE (checked 2026-10-25; details: https://agentgid.com/assets/yue2/)
Can an agent use it by itself?
No.
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Made with YuE2 #YuE2
This card for machines

Alternatives

YuE2 This page

Free With conditions Download

YuE

Pick the original YuE when a company needs open song weights under Apache 2.0.

Free Commercial OK Download

ACE-Step 1.5

Pick ACE-Step 1.5 for an MIT-licensed song generator that runs in under 4 GB of graphics memory.

Free Commercial OK Download

MiniMax Music 3

Pick MiniMax Music 3 for another open-weight song generator that writes songs up to five minutes from lyrics and a style.

Free With conditions Download

Bark

Open-source transformer text-to-audio model that generates multilingual speech, music and simple sound effects.

Free Commercial OK Download

Meta AudioCraft (MusicGen, AudioGen)

Meta's self-hosted MusicGen and AudioGen models; code MIT, weights CC BY-NC 4.0.

Free Non-commercial PyPI

All ai music and sound generators

Questions

Can I put YuE2 songs on YouTube or streaming services and earn money?

Yes, as an individual creator, with no fees or royalties to the model makers, as long as you follow the responsible-use conditions.

Can my company build a product on YuE2?

Not under the public license. Companies need a separate commercial license for the model weights.

Do I have to credit YuE2 on my songs?

No. Credit on songs is optional, though the makers ask for "YuE2" or #YuE2. Sharing the model files themselves does require attribution.

What do I get besides the audio?

The output folder also keeps the score, intermediate tokens, generation settings and model names, so a song can be edited and made again.