mm-music-maker
Create music with MiniMax music models (e.g., music-2.5). Use when generating songs or instrumental tracks from lyrics and style prompts, or when integrating MiniMax Music Generation API into scripts.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/blue-coconut/mm-music-makerMiniMax Music Maker
Use this skill to generate music with MiniMax's Music Generation API. All usage and outputs are designed for music-2.5 unless specified otherwise.
Quick start
- Set the API key:
export MINIMAX_MUSIC_API_KEY="your_api_key"
- Generate music from lyrics (and optional prompt):
python scripts/generate_music.py \
--lyrics "[Verse]\n...\n[Chorus]\n..." \
--prompt "indie folk, melancholic, introspective" \
--output ./output.mp3
Script location
scripts/generate_music.py— main generator (lyrics + prompt → audio)scripts/utils_audio.py— hex decoding + save helpers
References
Read references/minimax_music_api.md for:
- Endpoint, auth header, payload schema
- Required/optional fields
- Output formats (hex/url) and constraints
Core Modes
This skill supports 3 generation modes:
1. Standard Song (with lyrics)
- User provides or wants lyrics + music
- Use structured lyrics with prompt for style
2. Pure Music (Instrumental)
- User requests: "纯音乐", "纯音乐,无人声", "pure music", "instrumental"
- No lyrics, just instrumental arrangement
- See "Pure Music Generation" section below
3. Melodic Chanting/Humming
- User requests: "哼唱", "吟唱", "humming", "chanting"
- Music with vocal syllables instead of full lyrics
- See "Melodic Chanting Generation" section below
Notes
lyricsis required by the API.promptis optional formusic-2.5.output_formatdefaults tohex(inline audio). Useurlif you prefer a download URL.- URLs expire (24h). Download immediately if using
url.
Prompt crafting (Important)
Core Principles: Use "descriptions" instead of "commands", keep it structured, clear, and parseable.
Required Elements (Recommended)
- Genre/Subgenre (with era or region)
- Mood/Emotion (2-3 emotional descriptors)
- Tempo/BPM (specify BPM if possible)
- Key Instruments (3-5 key instruments/timbres)
- Vocals (vocal type, processing, or instrumental)
- Use case (purpose/scene)
Optional Enhancements
- Structure (section structure)
- References (1-2 style references)
- Avoid/Negative (exclusions)
Prompt Templates
Basic Template (Beginner)
[Genre], [Mood], [Tempo/BPM], [Key Instruments], [Vocal Style]
Standard Template (Recommended)
Genre: [Specific genre + era]
Mood: [2-3 descriptors]
Tempo: [BPM or speed]
Instruments: [3-5 key instruments]
Vocals: [Type or instrumental only]
Use case: [scene/usage]
Avoid: [unwanted elements]
References: [1-2 artists/songs]
Advanced Template (Production Brief)
Genre: … | Era: …
BPM: … | Key: …
Mood: ... (can include emotional arc, e.g., "from restrained to explosive")
Lead: …
Rhythm: …
Bass: …
Texture: …
Vocals: …
Structure: Intro / Verse / Chorus / Bridge / Outro
Avoid: …
Reference: …
Structure Tags (in lyrics)
[Intro]
[Verse]
[Pre-Chorus]
[Chorus]
[Bridge]
[Outro]
[Instrumental]
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-blue-coconut-mm-music-maker": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
mm-voice-maker
Enables voice synthesis, voice cloning, voice design, and audio post-processing using MiniMax Voice API and FFmpeg. Use when converting text to speech, creating custom voices, or processing/merging audio.
mm-easy-voice
Simple text-to-speech skill using MiniMax Voice API. Converts text to audio with customizable voice selection. Use for generating speech audio from text.
mm-music-expert
Create music with MiniMax music models (music-2.5+, music-2.5). Use when generating songs, instrumental tracks, or chanting from lyrics and style prompts via MiniMax Music Generation API. Guides music novices through an interactive workflow to produce professional-quality music.