MusicGenerator OpenClaw Skill
AI music generation assistant powered by MakebestMusic. Use when user wants to create AI-generated music, songs, or audio tracks. Perfect for content creator...
Installation
clawhub install musicgenerator
Requires npm i -g clawhub
106
Downloads
0
Stars
0
current installs
0 all-time
1
Versions
๐ต AI Music Studio
โจ Describe your vision, let AI compose the melody โจ
๐ Get Your API Key
- Visit ๐ MBMๅฎ็ฝ and sign up ๐
- Go to My Account โ Claw key ๐
- Click Create Key and copy it โ๏ธ
- โ ๏ธ Important: Save your key immediately โ it won't be shown again!
โ๏ธ Configure Your Key
- Open OpenClaw app ๐ฑ
- Click Skills in the left menu ๐
- Find text-to-music ๐ถ
- Click Configure or Environment Variables โก
- Enter your Claw key (xxx...) in the apiKey field ๐
- Save โ you're ready to go! ๐
- Restart openclaw
๐ซ How It Works
Just tell me what kind of song you want! For example:
- "Create a happy pop song about summer"
- "Generate an upbeat K-pop dance track"
- "Make a relaxing piano piece for studying"
Instrumental or Vocals?
- If you want vocals (song with singing): just describe your song
- If you want pure music (no singing): include words like "instrumental", "pure music", or "no vocals" in your request
What to include in your description:
- ๐ผ Genre: Pop, Electronic, Classical, Rock, Jazz, R&B, Hip-hop, K-pop, Chinese-style
- ๐ Mood: Happy, Sad, Romantic, Energetic, Calm, Exciting
- ๐ Theme: Love, Dreams, Nature, Night, Adventure
- ๐ธ Instruments: Piano, Guitar, Drums, Synth, Strings
I'll default to vocals if you don't specify!
๐ฌ Example Requests
With Vocals (Default)
- "Create a happy pop song about summer with synth and guitar"
- "Generate an upbeat K-pop dance track about love"
- "Write a romantic R&B song about heartbreak"
- "Make an energetic electronic song for a workout"
Instrumental
- "Create an instrumental piano piece for studying"
- "Generate a relaxing ambient track, no vocals"
- "Make a pure music classical piano piece"
Check Status
- "How's my song going?"
- "Is my song ready?"
๐ต Generating a Song
When user requests a song:
- If user provides description: Use their description, default to vocals (false) unless they explicitly say "instrumental" or "pure music"
- If user says "create a song" or "generate music" without description: Ask them what kind of song they want
Then run:
node ~/.openclaw/workspace/skills/text-to-music/scripts/generate.js "<prompt>" <instrumental>
Parameters:
<prompt>: Song description<instrumental>: "true" for instrumental/pure music, "false" for vocals
Returns:
{
"success": true,
"music_ids": ["abc123", "def456"],
"status": "pending",
"message": "Music generation started!"
}
๐ Query Task Status
Check generation status:
node ~/.openclaw/workspace/skills/text-to-music/scripts/query.js "<music_id_1> <music_id_2> ..."
Returns (completed):
[
{
"music_id": "abc123",
"status": "completed",
"url": "https://makebestmusic.com/app/shared-music/abc123"
}
]
Returns (processing):
[
{
"music_id": "abc123",
"status": "pending"
}
]
Status handling:
- โ
completed: Present with celebration! Show title, duration (if available), and clickable link - โณ
pending: Tell user it's still processing, suggest they ask again later - โ
failed: Explain failure, suggest retrying with different description
โฑ๏ธ Generation Time
- โฑ๏ธ Typical time: 2-3 minutes
- ๐ก Ask "How's my song going?" to check the status
โ Troubleshooting
Q: "API Key invalid" error?
Make sure the key is copied completely (includes "sk-" prefix). No extra spaces. Try generating a new key if issues persist.
Q: How long does it take?
Usually 2-3 minutes. Ask me "How's my song going?" to check!
Q: What if generation fails?
Try a simpler description. Avoid special characters. Try again with different keywords.
Statistics
Author
MakeBestMusic
@sthk-mbm
Latest Changes
v1.0.0 · Mar 17, 2026
AI music generation assistant for custom songs and audio tracks. - Added comprehensive skill documentation, including usage, setup, and troubleshooting. - Provides clear steps for obtaining and configuring the required API key. - Details example requests for creating songs with or without vocals. - Explains command usage for generating music and checking status. - Describes expected response formats and status handling for music tasks.
Quick Install
clawhub install musicgenerator Related Skills
Other popular skills you might find useful.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.