YuE2 turns lyrics and style prompts into editable melody-and-chord scores, then renders full songs with vocals and accompaniment. It supports creation, zero-shot covers, and agent-assisted score editing.
Overview
YuE2 unifies symbolic and audio music generation. Given lyrics and a style description, it plans melody and chords, exposes that score for inspection and edits, and synthesizes a complete recording with vocals and backing parts.
A mixture-of-transformers backbone predicts score and semantic tokens autoregressively, then generates acoustic latents with flow matching. A VAE decodes stereo audio, typically at 48 kHz without quantization when run on supported GPU hardware.
The staged Python API follows plan, generate semantic, synthesize, and decode steps. Settings include full chain-of-thought planning for new songs, melody-focused planning for covers, direct generation from lyrics, or supplying your own ABC score. Outputs retain scores, tokens, latents, and generation metadata alongside audio files.
SheetSage2 transcribes recordings into ABC for cover workflows; the yue2-music agent skill documents how agents can compose, transcribe, edit scores, and compare versions. Benchmarks such as WildSongBench are published for quality comparisons against other systems.
Key features
- Editable melody-and-chord planning
- Full song vocals and accompaniment
- ABC score import and export
- Zero-shot style covers
- Agent skill workflows
- SheetSage2 transcription integration
- 48 kHz stereo output
- Best-of-N candidate selection
Use cases
- Lyrics-to-song prototyping
- Rearranging covers in new styles
- Iterative harmony and lyric edits
- Agent-driven instrumental tracks
- Research and listening benchmarks