ElevenLabs Music
by @clawdbotborges
Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descriptions. Supports vocals with AI-generated lyrics, instrumental tracks, and multiple genres/styles. Requires paid ElevenLabs plan.
clawhub install elevenlabs-musicπ About This Skill
name: elevenlabs-music description: Generate music from text prompts using ElevenLabs Eleven Music API. Use when creating songs, soundtracks, jingles, lullabies, or any audio music from descriptions. Supports vocals with AI-generated lyrics, instrumental tracks, and multiple genres/styles. Requires paid ElevenLabs plan. metadata: {"clawdbot":{"emoji":"π΅","requires":{"bins":["uv"],"env":["ELEVENLABS_API_KEY"]},"primaryEnv":"ELEVENLABS_API_KEY"}}
ElevenLabs Music Generation
Generate complete songs from text prompts with AI-generated lyrics and vocals.
Quick Start
# Basic generation (30 seconds)
uv run {baseDir}/scripts/generate_music.py "upbeat jazz piano"Longer track (3 minutes)
uv run {baseDir}/scripts/generate_music.py "epic orchestral battle music" --length 180Instrumental only (no vocals)
uv run {baseDir}/scripts/generate_music.py "lo-fi hip hop beats" --length 120 --instrumentalCustom output path
uv run {baseDir}/scripts/generate_music.py "romantic bossa nova" -o /tmp/bossa.mp3
Options
| Flag | Description |
|------|-------------|
| -l, --length | Duration in seconds (3-600, default: 30) |
| -o, --output | Output file path (default: /tmp/music.mp3) |
| -i, --instrumental | Force instrumental, no vocals |
Prompt Engineering Tips
Be Specific About Style
For Vocals
Avoid Copyright Issues
Example Prompts
MPB (Brazilian Popular Music)
A soulful MPB track featuring gentle acoustic guitar, warm nylon strings,
and dreamy Rhodes piano. Bossa nova-influenced rhythm with soft brushed
drums. Vocals in Portuguese express themes of saudade and the beauty of life.
Epic Orchestral
Epic military march with powerful brass fanfares, thundering timpani drums,
and a soaring choir. Triumphant and heroic, with deep bass tubas, bold
trumpets, snare rolls, and an anthemic melody building to a glorious crescendo.
Lullaby
Gentle orchestral lullaby with sweeping strings, soft brass, and ethereal
wordless soprano vocals. Peaceful yet majestic, evoking wonder and hope.
Perfect for falling asleep while dreaming of adventures.
Comedy Rock
Brazilian comedy rock with absurd, hilarious Portuguese lyrics full of
wordplay. Mix energetic rock guitars with unexpected rhythms - forrΓ³
breakdowns, pagode moments. Theatrical, exaggerated vocals singing about
ridiculous situations.
Requirements
ELEVENLABS_API_KEY environment variableSupported Features
π‘ Examples
# Basic generation (30 seconds)
uv run {baseDir}/scripts/generate_music.py "upbeat jazz piano"Longer track (3 minutes)
uv run {baseDir}/scripts/generate_music.py "epic orchestral battle music" --length 180Instrumental only (no vocals)
uv run {baseDir}/scripts/generate_music.py "lo-fi hip hop beats" --length 120 --instrumentalCustom output path
uv run {baseDir}/scripts/generate_music.py "romantic bossa nova" -o /tmp/bossa.mp3
βοΈ Configuration
| Flag | Description |
|------|-------------|
| -l, --length | Duration in seconds (3-600, default: 30) |
| -o, --output | Output file path (default: /tmp/music.mp3) |
| -i, --instrumental | Force instrumental, no vocals |