Introduction to ElevenLabs
Welcome to the ElevenLabs service documentation! ElevenLabs provides AI-powered music generation with fine-grained composition control, video scoring, stem separation, and multi-speaker dialogue synthesis.Supported Models
Music
Dialogue
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
List Voices
Browse available voices (sync, no credits) for dialogue synthesis
Text to Dialogue
Synthesize multi-speaker dialogue with up to 10 distinct voices
How to Use ElevenLabs
Music generation
1
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.2
Generate music
Call
POST /eleven/music with your prompt or composition plan. You’ll receive a taskId.3
Poll for results
Use
GET /eleven/tasks?taskId=xxx to poll until status is completed. The result contains the generated audio and metadata (lyrics timestamps, composition plan, etc.).Dialogue synthesis
1
List voices
Call
GET /eleven/voices to get available voiceId values (sync, no credits).2
Create dialogue
Call
POST /eleven/dialogue with inputs[] (text + voiceId). You’ll receive a taskId.3
Poll for audio
Use
GET /eleven/tasks?taskId=xxx until status is completed, then read result.audioUrl.Quick Example
Available Endpoints
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:
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
- List Voices — Browse voices for dialogue synthesis
- Text to Dialogue — Multi-speaker dialogue synthesis
- Get Task Status — Poll task status and results
- Stem Separation — Split audio into individual stems
- Upload Audio — Upload audio for Inpainting editing (enterprise)