
ElevenLabs is now a Kiro Power
- Category
- ElevenAPI
- Date
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.
Music API
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",
});
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.

For individuals and small teams building with the Music API

For organizations building music into products at scale
Generate and control music programmatically - from one-shot tracks to section-level composition integrated into your product.

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.
Go beyond one-shot generations. Use composition plans to define intros, verses, choruses, and outros with independent styles, lyrics, and durations per section.
Stream music in real time for interactive experiences. Ideal for dynamic scoring in games, live creative tools, and media applications.
Created in collaboration with labels, publishers, and artists. All generated music is available for broad commercial use. No complex licensing to manage.
“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!”

“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.”
“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.”

“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.”

Official SDKs for Python and JavaScript/TypeScript. You can also use the HTTP API directly - POST https://api.elevenlabs.io/v1/music with a JSON body.
For more information, see the API Reference here: https://elevenlabs.io/docs/eleven-api/guides/cookbooks/music
API reference at https://elevenlabs.io/docs/api-reference/music/compose. Guides and cookbooks at https://elevenlabs.io/docs/cookbooks/music.








