Claude Music Generate logo

Claude Music Generate

Community
AgriciDaniel
claude-music-generate

Generates music from text descriptions and lyrics using ACE-Step 1.5's Python API. Creates full songs with vocals, instrumentals, or both. Supports 50+ languages, 10-600 second duration, quality presets (draft/standard/high/max), and batch generation.

Overview

PublisherAgriciDaniel
Repositoryclaude-music
Skill nameclaude-music-generate
Stars
89
Forks
28
Bundled files
Instructions only
LicenseMIT
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AgriciDaniel on GitHub. Read the source before you install it.

Installation

Install the Claude Music Generate 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.
    https://github.com/AgriciDaniel/claude-music/tree/main/skills/claude-music-generate
  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/AgriciDaniel/claude-music.git /tmp/claude-music
mkdir -p .claude/skills
cp -r /tmp/claude-music/skills/claude-music-generate .claude/skills/claude-music-generate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Claude Music Generate 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 Claude Music Generate 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 Claude Music Generate 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.

claude-music-generate — Text-to-Music Generation

Worked example (input → command → output)

User: "Generate a 30-second upbeat pop instrumental I can loop"

Command:

bash
bash ~/.claude/skills/claude-music/scripts/music_engine.sh \
  --quality standard \
  generate \
  --caption "upbeat pop, catchy, synth hooks, female vocal" \
  --instrumental --duration 30 --language en

Expected JSON on stdout:

json
{
  "success": true,
  "task_type": "text2music",
  "model": "acestep-v15-turbo",
  "outputs": [
    {"path": "/home/$USER/Music/claude-music-output/text2music_20260416_120512_01.flac",
     "seed": 137294, "size_mb": 1.83, "index": 1},
    {"path": "/home/$USER/Music/claude-music-output/text2music_20260416_120512_02.flac",
     "seed": 837412, "size_mb": 1.80, "index": 2}
  ],
  "timing": {"generation_sec": 18.3},
  "count": 2,
  "playback_hint": "ffplay -nodisp -autoexit \"/home/$USER/Music/claude-music-output/text2music_20260416_120512_01.flac\""
}

Global flags (--quality, --format, --seed, etc.) go BEFORE the subcommand (generate). Subcommand flags (--caption, --duration, etc.) go AFTER.

Pre-Flight

  1. Run bash ~/.claude/skills/claude-music/scripts/preflight.sh "" "$OUTPUT" if output specified
  2. Run bash ~/.claude/skills/claude-music/scripts/detect_gpu.sh to determine quality tier

Basic Generation

bash
# Simple instrumental
bash ~/.claude/skills/claude-music/scripts/music_engine.sh generate \
  --caption "upbeat electronic dance music, energetic synths, driving beat" \
  --instrumental --duration 60

# Song with lyrics
bash ~/.claude/skills/claude-music/scripts/music_engine.sh generate \
  --caption "pop ballad, female vocal, piano, emotional" \
  --lyrics "[Verse 1]
Under city lights we found our way
Every word you said still haunts my day
[Chorus]
Hold me close don't let me fall
You're the only one who hears my call" \
  --duration 120 --language en

# High quality with thinking mode
bash ~/.claude/skills/claude-music/scripts/music_engine.sh generate \
  --caption "jazz fusion, saxophone, complex harmony" \
  --quality high --duration 180 --bpm 110 --key "Bb major"

# Quick draft — 4 variants to pick from
bash ~/.claude/skills/claude-music/scripts/music_engine.sh generate \
  --caption "lo-fi hip-hop, chill, atmospheric, vinyl crackle" \
  --quality draft --instrumental --duration 60

Parameters

ParameterFlagDefaultRangeDescription
Caption--caption / -crequired<512 charsStyle/genre/instrument description
Lyrics--lyrics / -l""<4096 charsSong lyrics with structure tags
Instrumental--instrumentalfalseflagNo vocals
Language--languageenISO 639-1Vocal language (en, zh, ja, es, fr, etc.)
Duration--duration6010-600 secTarget length
BPM--bpmauto30-300Tempo (auto = model decides)
Key--keyautoe.g. "C major"Musical key
Time Sig--time-sigauto2/3/4/6Time signature
Quality--qualitystandarddraft/standard/high/maxPreset
Batch--batch21-8Number of variants
Format--formatflacflac/wav/mp3/opus/aacOutput format
Seed--seed-1intReproducibility (-1 = random)
Model--modelautoturbo/base/sft/xl-*Override DiT model

Quality Presets

  • draft: turbo, steps=8, no LM, batch=4. Fastest. Use for exploring ideas.
  • standard: turbo, steps=8, no LM, batch=2. Default. Good balance.
  • high: turbo + 1.7B LM, thinking=True, batch=2. Better structure/lyrics adherence.
  • max: base model, steps=65, LM thinking, batch=1. Best quality, ~3-5 min.

Output

JSON to stdout with paths, seeds, timing:

json
{
  "success": true,
  "task_type": "text2music",
  "outputs": [{"path": "/home/.../generate_20260416_120000_01.flac", "seed": 42}],
  "playback_hint": "ffplay -nodisp -autoexit \"/path/to/file.flac\""
}

Workflow Tips

  1. Start with draft quality — generate 4 variants, pick the best direction
  2. Lock the seed — once you find a good variant, use --seed <value> to reproduce it
  3. Iterate on caption — add/remove descriptors to steer the sound
  4. Use compose first — for vocal songs, use /music compose to craft proper lyrics before generating
  5. Repaint bad sections — don't regenerate the whole song; use /music repaint to fix specific parts

Caption Crafting Quick Guide

Formula: Genre + mood + instruments + vocal style + production quality

Good: "upbeat pop, female vocal, catchy, piano, modern production, 2020s sound" Bad: "a good song" (too vague) Bad: "ambient metal classical hip-hop" (conflicting genres)

For detailed guidance: load references/prompt-guide.md

Lyrics Quick Guide

  • Use structure tags: [Verse], [Chorus], [Bridge], [Intro], [Outro]
  • Keep lines 4-8 words for best vocal clarity
  • ~2-3 words per second (60s song ~ 120-180 words)
  • Avoid tongue twisters and complex vocabulary

For detailed guidance: load references/prompt-guide.md

Frequently asked questions

What does the Claude Music Generate AI skill do?

Generates music from text descriptions and lyrics using ACE-Step 1.5's Python API. Creates full songs with vocals, instrumentals, or both. Supports 50+ languages, 10-600 second duration, quality presets (draft/standard/high/max), and batch generation.

Why use Claude Music Generate on TypingMind?

Because you install it once and use it with any model. Claude Music Generate 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 Claude Music Generate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AgriciDaniel/claude-music/tree/main/skills/claude-music-generate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Claude Music Generate?

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 Claude Music Generate?

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

Is the Claude Music Generate AI skill free?

Yes. It is published on GitHub by AgriciDaniel under the MIT 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 👇