Yue2 Music logo

Yue2 Music

OrganizationPopular
multimodal-art-projection
yue2-music

Generate, cover, transcribe, and edit songs with YuE2 and SheetSage2/MERT2. Use for 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 生成、翻唱、改编、改谱、换词和智能体编辑.

Overview

Publishermultimodal-art-projection
RepositoryYuE
Skill nameyue2-music
Stars
9.5K
Forks
1K
Bundled files
13
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 13 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by multimodal-art-projection on GitHub. Read the source before you install it.

Installation

Install the Yue2 Music AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/multimodal-art-projection/YuE.git /tmp/YuE
mkdir -p .claude/skills
cp -r /tmp/YuE/skills/yue2-music .claude/skills/yue2-music
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Yue2 Music in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Yue2 Music on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Yue2 Music is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Choose the workflow

RequestWorkflow
Generate with editable melody and harmonyYuE2 cot="full" → ABC → song
Generate with a melody plan and free accompanimentYuE2 cot="melody" → chord-free ABC → song
Generate without symbolic planningYuE2 cot="off" → song; no editable ABC
Cover a recordingSheetSage2 → inspect/correct ABC → strip chords → YuE2 melody
Cover an ABC melodyInspect/convert native ABC → strip chords → YuE2 melody
Change harmony, instruments, tempo, structure, or lyricsCopy full plan → edit ABC/text → regenerate
Agentic editingExport plan/baseline → bounded editing agent → check invariants → render → compare
Analyze musical featuresUse 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. Install the YuE2 runtime from the official GitHub repository source. Use a separate environment for SheetSage2 because dependency pins differ. Download the public model snapshots and record their revisions. This skill's original instructions, helpers, and templates are licensed under Apache 2.0. Copyright (c) 2026 the YuE2 authors. Model weights and third-party dependencies retain their applicable licenses.

Use the supported baseline: one request at a time, BF16-capable NVIDIA GPU with 24 GB VRAM, default YuE2 settings. Do not silently shorten a requested song or lower inference settings to hide an OOM. Free allocations or choose suitable hardware; report changes.

Use YuE2-Vae for listening and YuE2-Vae-legacy when reproducing the supplied benchmark protocol. Keep decoded files separate. Do not infer their roles from the word “legacy.”

Run helper paths below relative to this skill folder, with the appropriate environment's Python. Select snapshots using --model, --revision, and --vae-revision, or local model directories plus --offline. Use fresh output directories.

Generate and retain the plan

Start with assets/prompt.json, an original example. Put genre, instruments, vocal character, language and intended tempo in style; put section tags and actual words in lyrics. Keep implementation notes out of lyrics.

bash
python scripts/run_yue2.py generate --request assets/prompt.json --output outputs/pop
python scripts/run_yue2.py all-modes --request assets/prompt.json --output outputs/modes
python scripts/run_yue2.py plan --request assets/prompt.json --output outputs/plan

Inspect result.json, truncation, score.abc, request.json, and audio. Keep exact tokens and latent.npy; the helper saves native artifacts. Preserve all requested modes and failures. A successful process or playable file does not establish musical quality.

Read generation-and-covers.md for Python, CLI, exact plan continuation, CFG, sampling, and cached decoding. Load unchanged plans with SymbolicPlan.load; submit modified ABC as a new input. CLI --resume verifies a completed result; it does not continue interrupted generation.

Cover a recording

  1. Transcribe in the SheetSage2 environment. Select the vocal melody or the full lead melody, including instrumental passages.
  2. Inspect warnings and correct missed notes, meter or key before attributing errors to YuE2. Preserve source audio and raw transcription.
  3. Export chord-free ABC. Select a retained voice explicitly when dropping a part; removing chords alone should preserve both melodic voices and their rests.
  4. Render with cot="melody", target style and suitable lyrics. This supplies a symbolic melody condition; it does not preserve the source singer's identity or waveform.
bash
# SheetSage2 environment.
python scripts/transcribe.py reference.wav --task melody-full --output outputs/transcription
python scripts/abc_tools.py strip-chords outputs/transcription/score.abc outputs/cover.abc

# YuE2 environment; the request supplies target style and lyrics.
python scripts/run_yue2.py generate --request assets/prompt.json --cot melody \
  --abc-file outputs/cover.abc --output outputs/cover-song

cot="melody" does not remove chord symbols automatically. To retain the original harmony as well, use full transcription and cot="full"; call this score-conditioned regeneration with melody and harmony.

Edit or delegate an edit

Read editing-workflows.md and abc-editing.md before changing a score.

  1. Render a baseline from the full plan. Freeze its original directory.

  2. Define invariants: exact pitches; pitch plus rhythm; contour only; or bounded melodic adaptation. Specify voices/passages, lyrics, instruments, tempo, meter and structure.

  3. If delegation is available, give a score-editing agent raw ABC, prompt, lyrics, the requested change and the edit brief. Request a new ABC, revised style/lyrics as needed, and an edit manifest. Give a separate reviewer the before/after artifacts and constraints. Without delegation, perform these stages yourself. Keep model generation sequential per GPU.

  4. Check musical events, not character strings: ties, accidentals and compressed rests matter. Run:

    bash
    python scripts/abc_tools.py inspect edits/jazz.abc
    python scripts/abc_tools.py compare outputs/plan/score.abc edits/jazz.abc --voices Vocal
    python scripts/run_yue2.py generate --request edits/jazz.json --cot full \
      --abc-file edits/jazz.abc --output outputs/jazz

    Add --allow-tempo-change for intentional tempo changes. Exact comparison should fail for intentional rhythm changes; audit permitted differences from its report instead of relabeling the result “melody preserved.” Keep the edited score connected through --abc-file or request abc_path; omitting both with abc: null generates a fresh plan and discards the edit.

  5. Regenerate after changing style, lyrics or ABC. Old acoustic latents can be decoded again, but cannot implement a musical or lyric edit.

  6. Compare full songs and short passages around the edit. Revise when the requested effect fails; retain each attempt and its actual prompt.

For lyric translation, adapt syllables, stress, vowels and breath points. Keep a syllable/phoneme-to-note sidecar. Do not invent a phonemes field or mistake the sidecar for hard acoustic alignment. Use ASR/PER and listening as separate evidence.

Deliver an audible result

Read listening-and-evaluation.md. Return playable audio, full prompt/lyrics, before/after ABC, invariant checks and requested evaluations. Keep model/decoder identity and failures visible.

bash
python scripts/listen.py outputs/pop outputs/jazz --output outputs/comparison

This creates a local HTML player, copies audio, and includes the exact requests. It does not publish or upload. Distinguish symbolic checks, ASR, listening and quality scores. Deliver custom edit manifests and before/after comparison reports alongside the page; the player copies a fixed set of native artifacts, not arbitrary sidecars. Do not claim exact note realization, instrument removal or sample-accurate preservation from an ABC check or SongBench score alone.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Yue2 Music AI skill do?

Generate, cover, transcribe, and edit songs with YuE2 and SheetSage2/MERT2. Use for 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 生成、翻唱、改编、改谱、换词和智能体编辑.

Why use Yue2 Music on TypingMind?

Because you install it once and use it with any model. Yue2 Music is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Yue2 Music in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/multimodal-art-projection/YuE/tree/main/skills/yue2-music. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Yue2 Music?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Yue2 Music?

As many as you like. As long as a model supports skills, you can use Yue2 Music with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Yue2 Music AI skill free?

Yes. It is published on GitHub by multimodal-art-projection under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇