Skip to main content

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 text prompt describing the desired music. Quick and easy — the AI handles all the details.

2. Composition Plan Mode

Use a structured compositionPlan with per-section control over styles, duration, and lyrics. Generate plans automatically via /eleven/plan, then customize before generating.
Use /eleven/plan first to generate a composition plan from a simple prompt, then review and customize sections before passing it to /eleven/music. The plan endpoint is free and doesn’t consume credits.

Output Formats

ElevenLabs supports multiple output formats via the outputFormat parameter:
See the full list of supported formats in the Music Generation endpoint documentation.

Explore the API Documentation