Skip to content

Eleven Music API

Studio-grade AI music generation for your products

Generate custom tracks from text prompts with full control over genre, mood, structure, and duration. Trained on licensed stems and music, available for broad commercial use.

Create music from a single prompt

import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";

const elevenlabs = new ElevenLabsClient();
const track = await elevenlabs.music.compose({
  prompt: "A fast-paced electronic track for a high-adrenaline video game",
  musicLengthMs: 30_000,
  modelId: "music_v1",
});

Research-led music generation, built for commercial use

Eleven Music is trained on licensed stems and music, designed from the start for broad commercial use. Studio-grade audio output without the complexity of traditional music licensing.

Scribe 1

Self-Serve

For individuals and small teams building with the Music API

  • Pay as you go API access
  • Up to 4,800 min/month generation
  • Broad commercial use online and offline
  • Streaming, stems, and timestamps
Translate media step 5 background

Enterprise

For organizations building music into products at scale

  • All media rights incl. film, TV, games
  • Inpainting API access
  • 10+ concurrent generations
  • Custom attribution and co-branding

Everything you need to build with AI music

Generate and control music programmatically - from one-shot tracks to section-level composition integrated into your product.

Foreground

Prompt-driven composition

Generate complete tracks from a single text prompt. Control genre, mood, structure, and instrumentation with natural language - Eleven Music interprets complex, multi-layered prompts with nuance.

Section-by-section control

Go beyond one-shot generations. Use composition plans to define intros, verses, choruses, and outros with independent styles, lyrics, and durations per section.

Streaming generation

Stream music in real time for interactive experiences. Ideal for dynamic scoring in games, live creative tools, and media applications.

Licensed and cleared for commercial use

Created in collaboration with labels, publishers, and artists. All generated music is available for broad commercial use. No complex licensing to manage.

Built for modern media and interactive products

Cinematic scores

  • Orchestral
  • Epic
  • Triumphant
  • Fantasy

Prompt

A rich orchestral track, deeply cinematic, symphonic strings, brass and woodwinds, an epic fantasy, triumphant, jubilant, crescendo, finale.

Powering world-class products and brands

  • Sonic Hub just got a game-changing upgrade: With Eleven Music, we're supercharging our audio operating system for brands, agencies and creators, fusing our deep expertise in understanding and coding the sound of a brand with Eleven Music's unparalleled quality of execution in AI music creation. Get ready for a new industry benchmark!
    Amp Logo
  • From dubbing Reels in local languages, to generating music and character voices in Horizon, ElevenLabs platform enables global creators, businesses, and enterprises to build with voice, music, and sound at scale.
    Meta Color Logo
  • ElevenLabs made it easy for us to quickly bring powerful text-to-speech capabilities to our SDK, allowing Agents to respond in real time with expressive voices to user questions or as feedback to what it's seeing.
    Stream Color Logo
  • Twilio has integrated ElevenLabs' generative AI voice technology into its CPaaS, enhancing ConversationRelay. This integration allows businesses and developers to create conversational AI voice interactions that sound human, feel expressive, and respond in real time directly from the Twilio CPaaS platform.
    Twilio logo

Built for production

Foreground

Frequently asked questions

Latest updates

The highest-quality AI Music generator