SKILL.md--- name: yue2-music description: Generate instrumental music and songs, cover, transcribe, and edit with YuE2 and SheetSage2/MERT2. Use for text-to-instrumental generation, instrumental covers, YuE2 full/melody/off generation, audio-to-ABC covers, style or lyric changes, score editing, agentic reharmonization, melody preservation, singable lyric adaptation, and reproducible listening comparisons; also for YuE2 纯音乐生成、器乐翻奏、翻唱、改编、改谱、换词和智能体编辑. --- # YuE2 Music Turn a musical request into a reproducible song and an audible comparison. Use released model interfaces. Retain an original song and its plan before making changes. Recommended agent: **GPT-6 Astra**. YuE2 composes the default score and renders the audio; the agent operates the workflow and checks the results. ## Instrumental generation and covers For instrumental, no-vocals, or 纯音乐 requests, follow [instrumental/SKILL.md](instrumental/SKILL.md). A simple style description is enough. Default to YuE2 planning, move every Vocal note to Ins, and render the revised score. Only write a new score with the agent when the user explicitly asks for agent composition. Given audio or ABC, use the instrumental cover workflow and retain the reference melody. Deliver playable audio and the actual prompt; the user does not need to specify voice names or inference parameters. Script and setup paths in that workflow are relative to `instrumental/`. ## Choose the workflow | Request | Workflow | | --- | --- | | Instrumental music from text, audio, or ABC | [Instrumental workflow](instrumental/SKILL.md) → audio + prompt | | Generate with editable melody and harmony | YuE2 `cot="full"` → ABC → song | | Generate with a melody plan and free accompaniment | YuE2 `cot="melody"` → chord-free ABC → song | | Generate without symbolic planning | YuE2 `cot="off"` → song; no editable ABC | | Cover a recording | SheetSage2 → inspect/correct ABC → strip chords → YuE2 `melody` | | Cover an ABC melody | Inspect/convert native ABC → strip chords → YuE2 `melody` | | Change harmony, instruments, tempo, structure, or lyrics | Copy full plan → edit ABC/text → regenerate | | Agentic editing | Export plan/baseline → bounded editing agent → check invariants → render → compare | | Analyze musical features | Use MERT2 only when continuous features are needed | ```text audio → SheetSage2 [loads MERT-v2-FullSong itself] → ABC style + lyrics → YuE2 full/melody planning → ABC edit/validate style + lyrics + ABC → YuE2 semantic generation → synthesis → latents → VAE → song style + lyrics → YuE2 off generation → synthesis → latents → VAE → song ``` Do not feed public MERT feature tensors to YuE2 as codec tokens. YuE2 exposes no audio-reference, phoneme-alignment, or local-inpainting argument. ## Set up the needed models Read [models-and-setup.md](references/models-and-setup.md). Install the YuE2 runtime from the official GitHub repository source.