Introduction to ElevenLabs Music Generation
Welcome to the ElevenLabs Music Generation service documentation! ElevenLabs provides AI-powered music generation with fine-grained control through structured composition plans, video scoring capabilities, and professional stem separation.Supported Models
| Model | Description |
|---|---|
music_v1 | ElevenLabs flagship music generation model |
Features
Music Generation
Generate music from simple text prompts or detailed composition plans with section-level control
Composition Plan
AI-generated structured plans with sections, styles, and lyrics — free, no credits consumed
Video to Music
Automatically generate background music that matches your video content
Stem Separation
Split audio into 2 tracks (vocals + instrumental) or 6 individual stems
How to Use ElevenLabs
Choose your input method
Use a simple
prompt for quick generation, or create a compositionPlan via /eleven/plan for fine-grained control over sections, styles, and lyrics.Generate music
Call
POST /eleven/music with your prompt or composition plan. You’ll receive a taskId.Quick Example
Available Endpoints
| Endpoint | Method | Description |
|---|---|---|
/eleven/music | POST | Generate music from prompt or composition plan |
/eleven/plan | POST | Create a composition plan (free, no credits) |
/eleven/video-to-music | POST | Generate background music from video |
/eleven/tasks | GET | Query task status and results |
/eleven/stems | POST | Separate audio into stems |
/eleven/upload | POST | Upload audio for Inpainting (enterprise) |
Two Input Modes
ElevenLabs supports two mutually exclusive input methods for music generation:1. Simple Prompt Mode
Provide a textprompt describing the desired music. Quick and easy — the AI handles all the details.
2. Composition Plan Mode
Use a structuredcompositionPlan with per-section control over styles, duration, and lyrics. Generate plans automatically via /eleven/plan, then customize before generating.
Output Formats
ElevenLabs supports multiple output formats via theoutputFormat parameter:
| Format | Description |
|---|---|
mp3_44100_128 | MP3 44.1kHz 128kbps (default) |
mp3_44100_192 | MP3 44.1kHz 192kbps (Creator+ required) |
pcm_44100 | PCM 44.1kHz uncompressed (Pro+ required) |
opus_48000_128 | Opus 48kHz 128kbps |
See the full list of supported formats in the Music Generation endpoint documentation.
Explore the API Documentation
- Generate Music — Create music from prompts or composition plans
- Create Plan — Generate a structured composition plan (free)
- Video to Music — Score videos with AI-generated music
- Get Task Status — Poll task status and results
- Stem Separation — Split audio into individual stems
- Upload Audio — Upload audio for Inpainting editing (enterprise)