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
1. Price: huggingface.co/m-a-p/YuE2-3B
Open weights, free to download; self-hosted (24 GB NVIDIA GPU).
huggingface.co/m-a-p/YuE2-3BNo quote yet: price is read from the official pages.
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 GitHub3. Credit the author: LICENSE on GitHub
“This recommendation does not waive the attribution requirements for sharing model weights or adapted weights.”
No illegal, harmful, deceptive or impersonating use; credit on outputs is optional, attribution needed when sharing weights.
LICENSE on GitHub4. Agent access: github.com/multimodal-art-projection/YuE
There is no package or API. Files are downloaded by hand from the official site.
github.com/multimodal-art-projection/YuELicense 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
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 .
Make a first song from the included example; the model files download from Hugging Face on first use.
python examples/generate.py --output outputs/first-song
Mistakes to avoid
The main branch now holds YuE2; the original YuE is kept on its own branch.
Without chords the accompaniment can adapt to the new style.
Editing makes a new complete recording.
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.
“The individual creator permission does not authorize commercial use of the model weights by companies.” LICENSE on GitHub
“This recommendation does not waive the attribution requirements for sharing model weights or adapted weights.” LICENSE on GitHub
“The individual creator permission does not authorize commercial use of the model weights by companies.” LICENSE on GitHub
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
“to publish, distribute, sell, license or otherwise monetize those outputs, subject to the responsible-use conditions below.” LICENSE on GitHub
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.
- 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/)
Made with YuE2 #YuE2Alternatives
YuE2 This page
Pick the original YuE when a company needs open song weights under Apache 2.0.
Pick ACE-Step 1.5 for an MIT-licensed song generator that runs in under 4 GB of graphics memory.
Pick MiniMax Music 3 for another open-weight song generator that writes songs up to five minutes from lyrics and a style.
Open-source transformer text-to-audio model that generates multilingual speech, music and simple sound effects.
Meta AudioCraft (MusicGen, AudioGen)
Meta's self-hosted MusicGen and AudioGen models; code MIT, weights CC BY-NC 4.0.
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.