🎵 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.
1---2name: text-to-music3description: AI music generation assistant powered by MakebestMusic. Use when user wants to create AI-generated music, songs, or audio tracks. Perfect for content creators, musicians, and anyone wanting custom AI music. Triggers on requests like "create a song", "generate music", "makebestmusic", "AI music", "write a melody", etc.4version: 1.2.05metadata:6 source: https://skillmd.com/skills/zhangchunsheng/text-to-music7 openclaw:8 emoji: "🎵"9 requires:10 env: ["apiKey"]11 primaryEnv: "apiKey"12---1314# 🎵 AI Music Studio1516> ✨ Describe your vision, let AI compose the melody ✨1718---1920## 🚀 Get Your API Key21221. Visit 👉 [MBM官网](https://makebestmusic.com/?pid=PIDcLjhgCXUQ) and sign up 📝232. Go to **My Account → Claw key** 🔑243. Click **Create Key** and copy it ✂️254. ⚠️ **Important:** Save your key immediately — it won't be shown again!2627---2829## ⚙️ Configure Your Key30311. Open OpenClaw app 📱322. Click **Skills** in the left menu 📋333. Find **text-to-music** 🎶344. Click **Configure** or **Environment Variables** ⚡355. Enter your Claw key (xxx...) in the apiKey field 🔐366. Save — you're ready to go! 🎉377. Restart openclaw3839---4041## 💫 How It Works4243Just tell me what kind of song you want! For example:4445- "Create a happy pop song about summer"46- "Generate an upbeat K-pop dance track"47- "Make a relaxing piano piece for studying"4849### Instrumental or Vocals?5051- If you want **vocals** (song with singing): just describe your song52- If you want **pure music** (no singing): include words like "instrumental", "pure music", or "no vocals" in your request5354### What to include in your description:5556- 🎼 **Genre**: Pop, Electronic, Classical, Rock, Jazz, R&B, Hip-hop, K-pop, Chinese-style57- 😊 **Mood**: Happy, Sad, Romantic, Energetic, Calm, Exciting58- 💖 **Theme**: Love, Dreams, Nature, Night, Adventure59- 🎸 **Instruments**: Piano, Guitar, Drums, Synth, Strings6061I'll default to **vocals** if you don't specify!6263---6465## 💬 Example Requests6667### With Vocals (Default)6869- *"Create a happy pop song about summer with synth and guitar"*70- *"Generate an upbeat K-pop dance track about love"*71- *"Write a romantic R&B song about heartbreak"*72- *"Make an energetic electronic song for a workout"*7374### Instrumental7576- *"Create an instrumental piano piece for studying"*77- *"Generate a relaxing ambient track, no vocals"*78- *"Make a pure music classical piano piece"*7980### Check Status8182- *"How's my song going?"*83- *"Is my song ready?"*8485---8687## 🎵 Generating a Song8889When user requests a song:90911. **If user provides description**: Use their description, default to vocals (false) unless they explicitly say "instrumental" or "pure music"922. **If user says "create a song" or "generate music" without description**: Ask them what kind of song they want9394Then run:9596```bash97node ~/.openclaw/workspace/skills/text-to-music/scripts/generate.js "<prompt>" <instrumental>98```99100**Parameters:**101- `<prompt>`: Song description102- `<instrumental>`: "true" for instrumental/pure music, "false" for vocals103104**Returns:**105```json106{107 "success": true,108 "music_ids": ["abc123", "def456"],109 "status": "pending",110 "message": "Music generation started!"111}112```113114---115116## 🔍 Query Task Status117118Check generation status:119120```bash121node ~/.openclaw/workspace/skills/text-to-music/scripts/query.js "<music_id_1> <music_id_2> ..."122```123124**Returns (completed):**125```json126[127 {128 "music_id": "abc123",129 "status": "completed",130 "url": "https://makebestmusic.com/app/shared-music/abc123"131 }132]133```134135**Returns (processing):**136```json137[138 {139 "music_id": "abc123",140 "status": "pending"141 }142]143```144145**Status handling:**146- ✅ `completed`: Present with celebration! Show title, duration (if available), and clickable link147- ⏳ `pending`: Tell user it's still processing, suggest they ask again later148- ❌ `failed`: Explain failure, suggest retrying with different description149150---151152## ⏱️ Generation Time153154- ⏱️ **Typical time:** 2-3 minutes155- 💡 Ask "How's my song going?" to check the status156157---158159## ❓ Troubleshooting160161**Q: "API Key invalid" error?**162> Make sure the key is copied completely (includes "sk-" prefix). No extra spaces. Try generating a new key if issues persist.163164**Q: How long does it take?**165> Usually 2-3 minutes. Ask me "How's my song going?" to check!166167**Q: What if generation fails?**168> Try a simpler description. Avoid special characters. Try again with different keywords.