elevenlabs-music
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.
Best use case
elevenlabs-music is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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.
Teams using elevenlabs-music should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/elevenlabs-music/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How elevenlabs-music Compares
| Feature / Agent | elevenlabs-music | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# ElevenLabs Music Generation
Generate complete songs from text prompts with AI-generated lyrics and vocals.
## Quick Start
```bash
# 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 180
# Instrumental only (no vocals)
uv run {baseDir}/scripts/generate_music.py "lo-fi hip hop beats" --length 120 --instrumental
# Custom 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
- Include genre, mood, tempo, and instruments
- Reference decades or eras: "90s Brazilian romantic pagode", "1960s sci-fi TV theme"
- Describe energy: "builds from soft to explosive", "relaxed and intimate"
### For Vocals
- Specify language: "vocals in Portuguese", "singing in Japanese"
- Describe vocal style: "soulful male vocals", "ethereal female choir"
- Include lyrical themes: "about love and saudade", "celebrating friendship"
### Avoid Copyright Issues
- Don't mention artist/band names directly
- Describe the style instead: "classic 90s romantic samba style" not "like Raça Negra"
- If rejected, the API returns a suggested alternative prompt
### 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**: Set `ELEVENLABS_API_KEY` environment variable
- **Paid Plan**: Music API requires Creator plan or higher
- **uv**: For running the Python script with dependencies
## Supported Features
- Text-to-music generation up to 10 minutes
- AI-generated lyrics and vocals in multiple languages (English, Spanish, Portuguese, German, Japanese, etc.)
- Instrumental-only mode
- Most musical styles and genresRelated Skills
strudel-music
Compose, render, and play music using Strudel live-coding patterns.
miranda-elevenlabs-speech
Text-to-Speech and Speech-to-Text using ElevenLabs AI.
elevenlabs-cli
CLI for ElevenLabs AI audio platform - text-to-speech, speech-to-text, voice cloning.
ai-music-prompts
AI music prompt templates and best practices for generating music with AI tools like Suno, Udio, Mureka, and others. Use when user needs to create music prompts, song ideas, or wants guidance on writing effective prompts for AI music generation. Includes bilingual prompt templates for various genres, mood descriptors, instrumentation guidance, and lyric writing tips. Also provides techniques for crafting specific musical outcomes and examples of well-structured prompts in Chinese and English.
ai-music-video
Generate AI music videos end-to-end.
ytmusic-librarian
Manage YouTube Music library, playlists, and discovery via ytmusicapi.
ace-music
Generate AI music using ACE-Step 1.5 via ACE Music's free API.
managing-apple-music
Control Apple Music on macOS via the `clawtunes` CLI (play songs/albums/playlists, control playback, volume, shuffle, repeat, search, AirPlay). Use when a user asks to play music, search for songs, control audio playback, or manage Apple Music settings.
apple-music
Apple Music integration via AppleScript (macOS) or MusicKit API
eachlabs-music
Generate songs, instrumentals, lyrics, podcasts using Mureka AI.
elevenlabs-phone-reminder-lite
Build AI phone call reminders with ElevenLabs Conversational AI + Twilio. Free starter guide.
elevenlabs-ai
OpenClaw skill for ElevenLabs APIs: text-to-speech, speech-to-speech, realtime speech-to-text, voices/models.