Logo de Yue2 Music

Yue2 Music

OrganizaçãoPopular
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 生成、翻唱、改编、改谱、换词和智能体编辑.

Visão geral

Publicado pormultimodal-art-projection
RepositórioYuE
Nome da habilidadeyue2-music
Estrelas
9.5K
Forks
1K
Arquivos incluídos
13
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 13

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por multimodal-art-projection no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Yue2 Music no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/multimodal-art-projection/YuE/tree/main/skills/yue2-music
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Yue2 Music em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Yue2 Music automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Yue2 Music não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Yue2 Music faz?

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 生成、翻唱、改编、改谱、换词和智能体编辑.

Por que usar Yue2 Music no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Yue2 Music é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Yue2 Music no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/multimodal-art-projection/YuE/tree/main/skills/yue2-music. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Yue2 Music?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Yue2 Music?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Yue2 Music com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Yue2 Music é gratuita?

Sim. A habilidade é publicada no GitHub por multimodal-art-projection sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇