elevenlabs-music
ElevenLabs AI music generation - create original music from text prompts via inference.sh CLI. Capabilities: text-to-music, custom duration up to 10 minutes, genre/mood/instrument control, royalty-free commercial use. Use for: background music, soundtracks, jingles, podcasts, video scores, game audio. Triggers: elevenlabs music, eleven labs music, ai music, generate music, music generation, compose music, ai composer, create song, soundtrack, background music, jingle, elevenlabs compose, music ai
Best use case
elevenlabs-music is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
ElevenLabs AI music generation - create original music from text prompts via inference.sh CLI. Capabilities: text-to-music, custom duration up to 10 minutes, genre/mood/instrument control, royalty-free commercial use. Use for: background music, soundtracks, jingles, podcasts, video scores, game audio. Triggers: elevenlabs music, eleven labs music, ai music, generate music, music generation, compose music, ai composer, create song, soundtrack, background music, jingle, elevenlabs compose, music ai
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?
ElevenLabs AI music generation - create original music from text prompts via inference.sh CLI. Capabilities: text-to-music, custom duration up to 10 minutes, genre/mood/instrument control, royalty-free commercial use. Use for: background music, soundtracks, jingles, podcasts, video scores, game audio. Triggers: elevenlabs music, eleven labs music, ai music, generate music, music generation, compose music, ai composer, create song, soundtrack, background music, jingle, elevenlabs compose, music ai
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 original music from text prompts via [inference.sh](https://inference.sh) CLI.

## Quick Start
> Requires inference.sh CLI (`infsh`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md)
```bash
infsh login
# Generate music
infsh app run elevenlabs/music --input '{"prompt": "Upbeat electronic dance track with driving synths"}'
```
## Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `prompt` | string | required | Description of desired music (max 2000 chars) |
| `duration_seconds` | number | 30 | Duration in seconds (5-600, max 10 minutes) |
## Examples
### Background Music
```bash
# Lo-fi study beats
infsh app run elevenlabs/music --input '{
"prompt": "Lo-fi hip hop beat, chill study music, vinyl crackle, mellow piano",
"duration_seconds": 120
}'
# Corporate background
infsh app run elevenlabs/music --input '{
"prompt": "Light corporate background music, positive, motivational, clean",
"duration_seconds": 60
}'
```
### Cinematic Scores
```bash
# Epic trailer
infsh app run elevenlabs/music --input '{
"prompt": "Epic cinematic orchestral score, dramatic build-up, brass and strings, trailer music",
"duration_seconds": 45
}'
# Suspense
infsh app run elevenlabs/music --input '{
"prompt": "Dark suspenseful score, tension building, minimal piano, horror atmosphere",
"duration_seconds": 60
}'
```
### Genre-Specific
```bash
# Jazz
infsh app run elevenlabs/music --input '{
"prompt": "Smooth jazz quartet, saxophone lead, walking bass, brushed drums",
"duration_seconds": 90
}'
# Electronic
infsh app run elevenlabs/music --input '{
"prompt": "Techno beat, 128 BPM, driving bass, atmospheric synths, club music",
"duration_seconds": 120
}'
# Acoustic
infsh app run elevenlabs/music --input '{
"prompt": "Acoustic guitar folk song, fingerpicking, warm and intimate",
"duration_seconds": 60
}'
```
### Short-Form Content
```bash
# Podcast intro (10 seconds)
infsh app run elevenlabs/music --input '{
"prompt": "Podcast intro jingle, professional, tech-themed, catchy",
"duration_seconds": 10
}'
# Social media clip
infsh app run elevenlabs/music --input '{
"prompt": "Trendy upbeat pop, social media vibe, energetic, youthful",
"duration_seconds": 15
}'
# Notification sound
infsh app run elevenlabs/music --input '{
"prompt": "Short positive notification melody, clean, satisfying",
"duration_seconds": 5
}'
```
### Game Audio
```bash
# Battle theme
infsh app run elevenlabs/music --input '{
"prompt": "Intense battle music, fast tempo, orchestral with electric guitar, boss fight",
"duration_seconds": 120
}'
# Exploration theme
infsh app run elevenlabs/music --input '{
"prompt": "Peaceful exploration music, fantasy RPG, harp and flute, magical atmosphere",
"duration_seconds": 180
}'
# Menu music
infsh app run elevenlabs/music --input '{
"prompt": "Ambient menu screen music, sci-fi, ethereal synths, space theme",
"duration_seconds": 60
}'
```
## Prompt Tips
**Genre**: pop, rock, electronic, jazz, classical, hip-hop, lo-fi, ambient, orchestral, folk, R&B, metal, country
**Mood**: happy, sad, energetic, calm, dramatic, epic, mysterious, uplifting, dark, romantic, tense
**Instruments**: piano, guitar, synth, drums, bass, strings, brass, choir, saxophone, violin, flute, harp
**Tempo**: slow, moderate, fast, 80 BPM, 120 BPM, 140 BPM
**Style**: cinematic, minimal, layered, atmospheric, rhythmic, melodic, ambient
## Workflow: Music + Voiceover
```bash
# 1. Generate background music
infsh app run elevenlabs/music --input '{
"prompt": "Soft ambient background music for narration, non-intrusive",
"duration_seconds": 60
}' > music.json
# 2. Generate voiceover
infsh app run elevenlabs/tts --input '{
"text": "Welcome to our product tour. Let me show you what we have built.",
"voice": "george"
}' > voice.json
# 3. Merge together
infsh app run infsh/media-merger --input '{
"media": ["<music-url>", "<voice-url>"]
}'
```
## Use Cases
- **Video Production**: Background scores, transitions
- **Podcasts**: Intro/outro, segment breaks
- **Games**: Soundtracks, menu music, battle themes
- **Ads**: Jingles, commercial backgrounds
- **Social Media**: Trending audio for short-form content
- **Presentations**: Professional background music
- **Film**: Scoring, mood setting
## Related Skills
```bash
# ElevenLabs sound effects (combine with music)
npx skills add inference-sh/skills@elevenlabs-sound-effects
# ElevenLabs TTS (add voice over music)
npx skills add inference-sh/skills@elevenlabs-tts
# Other music models (Diffrythm, Tencent)
npx skills add inference-sh/skills@ai-music-generation
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@infsh-cli
```
Browse all audio apps: `infsh app list --category audio`Related Skills
elevenlabs-webhooks-events
Implement ElevenLabs webhook HMAC signature verification and event handling. Use when setting up webhook endpoints for transcription completion, call recording, or agent conversation events from ElevenLabs. Trigger: "elevenlabs webhook", "elevenlabs events", "elevenlabs webhook signature", "handle elevenlabs notifications", "elevenlabs post-call webhook", "elevenlabs transcription webhook".
elevenlabs-upgrade-migration
Upgrade ElevenLabs SDK versions and migrate between API model generations. Use when upgrading the elevenlabs-js or elevenlabs Python SDK, migrating from v1 to v2 models, or handling deprecations. Trigger: "upgrade elevenlabs", "elevenlabs migration", "elevenlabs breaking changes", "update elevenlabs SDK", "migrate elevenlabs model", "eleven_v3 migration".
elevenlabs-security-basics
Apply ElevenLabs security best practices for API keys, webhook HMAC validation, and voice data protection. Use when securing API keys, validating webhook signatures, or auditing ElevenLabs security configuration. Trigger: "elevenlabs security", "elevenlabs secrets", "secure elevenlabs", "elevenlabs API key security", "elevenlabs webhook signature", "elevenlabs HMAC".
elevenlabs-sdk-patterns
Apply production-ready ElevenLabs SDK patterns for TypeScript and Python. Use when implementing ElevenLabs integrations, refactoring SDK usage, or establishing team coding standards for audio AI applications. Trigger: "elevenlabs SDK patterns", "elevenlabs best practices", "elevenlabs code patterns", "idiomatic elevenlabs", "elevenlabs typescript".
elevenlabs-reference-architecture
Implement ElevenLabs reference architecture for production TTS/voice applications. Use when designing new ElevenLabs integrations, reviewing project structure, or building a scalable audio generation service. Trigger: "elevenlabs architecture", "elevenlabs project structure", "how to organize elevenlabs", "TTS service architecture", "elevenlabs design patterns", "voice API architecture".
elevenlabs-rate-limits
Implement ElevenLabs rate limiting, concurrency queuing, and backoff patterns. Use when handling 429 errors, implementing retry logic, or managing concurrent TTS request throughput. Trigger: "elevenlabs rate limit", "elevenlabs throttling", "elevenlabs 429", "elevenlabs retry", "elevenlabs backoff", "elevenlabs concurrent requests".
elevenlabs-prod-checklist
Execute ElevenLabs production deployment checklist with health checks and rollback. Use when deploying TTS/voice integrations to production, preparing for launch, or implementing go-live procedures for ElevenLabs-powered apps. Trigger: "elevenlabs production", "deploy elevenlabs", "elevenlabs go-live", "elevenlabs launch checklist", "production TTS".
elevenlabs-performance-tuning
Optimize ElevenLabs TTS latency with model selection, streaming, caching, and audio format tuning. Use when experiencing slow TTS responses, implementing real-time voice features, or optimizing audio generation throughput. Trigger: "elevenlabs performance", "optimize elevenlabs", "elevenlabs latency", "elevenlabs slow", "fast TTS", "reduce elevenlabs latency", "TTS streaming".
elevenlabs-local-dev-loop
Configure local ElevenLabs development with mocking, hot reload, and audio testing. Use when setting up a dev environment for TTS/voice projects, configuring test workflows, or building a fast iteration cycle with ElevenLabs audio. Trigger: "elevenlabs dev setup", "elevenlabs local development", "elevenlabs dev environment", "develop with elevenlabs", "test elevenlabs locally".
elevenlabs-install-auth
Install and configure ElevenLabs SDK authentication for Node.js or Python. Use when setting up a new ElevenLabs project, configuring API keys, or initializing the elevenlabs npm/pip package. Trigger: "install elevenlabs", "setup elevenlabs", "elevenlabs auth", "configure elevenlabs API key", "elevenlabs credentials".
elevenlabs-hello-world
Generate your first ElevenLabs text-to-speech audio file. Use when starting a new ElevenLabs integration, testing your setup, or learning basic TTS API patterns. Trigger: "elevenlabs hello world", "elevenlabs example", "elevenlabs quick start", "first elevenlabs TTS", "text to speech demo".
elevenlabs-deploy-integration
Deploy ElevenLabs TTS applications to Vercel, Fly.io, and Cloud Run. Use when deploying ElevenLabs-powered apps to production, configuring platform-specific secrets, or setting up serverless TTS. Trigger: "deploy elevenlabs", "elevenlabs Vercel", "elevenlabs Cloud Run", "elevenlabs Fly.io", "elevenlabs serverless", "host TTS API".