ElevenLabs Music API
by ElevenLabs
Songs and soundtracks from a description.
Sound effects and music generationUp · live statusOfficial MCP server
1. Price
“Price per minute Minutes included Cost per Finetune $0.150 3 min $1.50 $0.150 40 min $1.50 $0.150 147 min $1.50”
Free tier: No free API access: the Music API is available to paid subscribers (ElevenLabs docs). As reported on the official pricing page, checked Nov 10, 2026.
elevenlabs.io/pricing/api2. Commercial use
“All online and offline commercial use permitted, except film, TV, radio, and Studio Games”
Paid plan matching your size (Starter to Pro for individuals only); all online and offline commercial use except film, TV, radio and studio games; no reselling of the music model.
elevenlabs.io/music-terms3. Key & sign-up
API key in the xi-api-key header (the official packages read it from ELEVENLABS_API_KEY); a paid plan is required for the Music API.
elevenlabs.io/app/api/api-keys4. Agent access
“Generate sound effects, music and other audio through Flow nodes”
Our agent check: 5 of 6 (Nov 13, 2026).
elevenlabs.io/docs/eleven-api/resources/mcp-server.mdChecked against the maker's official pages, pricing on Nov 10, 2026. Tap a verdict to see its source.How we checkedReport an error
What ElevenLabs Music API does
The ElevenLabs Music API is a paid online service that writes and records a new piece of music from a written description, with or without vocals. Your app sends the description and gets back an audio file of 3 seconds to 5 minutes. What you may do with the music depends on your plan, so read the music terms before you publish it.
- ElevenLabs Music API is one of 9 APIs in the Sound effects and music generation category on AgentGid.
- Its cheapest paid plan ($6 a month) is the 2nd cheapest of the 7 here with a monthly plan.
- It is one of 7 that can be started for free.
- It ships an official MCP server, like 1 others here.
What people build with it
Soundtrack for your game
Describe the mood of a level, such as a fast chase or a calm village, and get a matching music track.
Background music for podcasts
Make an intro tune and quiet background music for a podcast or audio show.
Music for ad reels
Get a short track that fits the length and mood of a product video or social ad.
A song with planned sections
Plan the intro, verses and chorus, with your own lyrics and timing, and have the song follow that plan.
Instrumental tracks without vocals
Ask for music with no singing, for example under a voice-over or in a shop.
Your brand's own sound
Train the model on tracks you own so every new piece sounds like your brand; this is done in the ElevenLabs app.
ElevenLabs Music API popularity
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
No free API access: the Music API is available to paid subscribers (ElevenLabs docs)
$6 a month
$0.15 per minute
Starter $6/mo ($1 first month) includes 40 music minutes; Creator $22 includes 147. Commercial use licensing on Starter and above. Fine-tune costs $1.50.
What one action costs
| Action | Price |
|---|---|
| 1 minute of generated music (API price table) | $0.15 |
| 1 music finetune | $1.50 |
| 1 minute of music on a subscription plan | 900 credits |
Price history
- A year of the pricing page in the Internet Archive (13 months): the lowest monthly figure went from $5 (2025-10) to $6 (2026-10).
- 2026-02: new figures $22/mo; no longer shown $11/mo
- 2026-04: lowest $/month figure $5 → $6; new figures $6/mo, $299/mo, $990/mo; no longer shown $5/mo, $330/mo, $1320/mo
- 2026-07: new figures $11/mo
- 2026-10: no longer shown $11/mo
- 1 change in our catalog since Oct 9, 2026, last on Nov 13, 2026.
As reported on the official pricing page, checked Nov 10, 2026. Prices change: confirm before you buy. elevenlabs.io/pricing/api
Limits
2 music generations at the same time
5 music generations at the same time
No Music API access (music concurrency 0)
Monthly download limit: 30 minutes on Starter, 250 on Creator, 500 on Pro, 1,500 on Scale, 4,000 on Business
3 seconds to 5 minutes per track
From the official docs. elevenlabs.io/docs/overview/models.md
Status and incidents
All Systems Operational
6 incidents, 2 of them major
From the official status page, checked Nov 23, 2026. status.elevenlabs.io
Key and access
API key in the xi-api-key header (the official packages read it from ELEVENLABS_API_KEY); a paid plan is required for the Music API.
ELEVENLABS_API_KEYYes
Steps only a person can do
- Subscribe to a paid ElevenLabs plan that fits who you are (Starter to Pro for individuals; Scale or Business for small companies) and create an API key. Put the key in .env as ELEVENLABS_API_KEY (kept out of git) and read it on the server.
- Read the music terms table for your plan (downloads, streaming, film/TV, games) before publishing any track. Note the plan and allowed uses in the project README.
- Decide whether ElevenLabs may train on your content; the opt-out is in the account's 'Data use' menu. Nothing in code.
Commercial use and your data
It is a paid online service, not open source, with its own music terms. The free plan has no access from code. Paid self-serve plans allow commercial use except film, TV, radio and larger commercial games.
Paid plan matching your size (Starter to Pro for individuals only); all online and offline commercial use except film, TV, radio and studio games; no reselling of the music model.
“All online and offline commercial use permitted, except film, TV, radio, and Studio Games” source
Tracks may ship inside an indie game or an app on a paid plan; a game with $500,000 or more in revenue is a studio game and needs an Enterprise Music plan.
“means a game that, together with all of its versions, editions, and downloadable content, has generated revenue of less than $500,000 since its first commercial release” source
You may not build a collection of tracks for others to download, use or license.
“Music Library Creation and Distribution Prohibited Prohibited Prohibited Prohibited Prohibited Prohibited Custom Custom” source
Online commercial use is allowed on paid plans; follow the platform's rules on labelling AI-generated content.
“you are responsible for complying with that platform's policies on the disclosure of AI-generated content, including any labeling, metadata, or tagging requirements.” source
Output may not be used to train or improve any AI model unless the applicable terms expressly allow it.
“Using our Services or Output to develop, train, fine-tune, or improve any AI model or service, or including Output in a dataset used for any of those purposes, except as expressly permitted under the applicable terms” source
Starter to Pro are for individual use only; agency or company work needs Scale, Business or Enterprise.
“Individuals, or entities or organizations with fewer than 10 employees Individuals, or entities or organizations with fewer than 50 employees” source
“you may opt out of our use of your Content for training at any time by navigating to the 'Data use' menu”
By default ElevenLabs keeps request data under its privacy policy; zero retention mode (enterprise only) covers the music generation endpoints, but not uploads or finetunes.
“Zero Retention Mode covers the Music endpoints that generate audio or composition plans.” source
Default U.S. servers, with separate EU, India and Singapore residency hosts.
“https://api.sg.residency.elevenlabs.io (Production Singapore)” source
Errors to handle
The prompt or plan mentions copyrighted material, such as an artist, song or lyrics.
Use the prompt_suggestion (or composition_plan_suggestion) from the error body; harmful prompts get no suggestion.
The API key is missing or wrong.
Check that ELEVENLABS_API_KEY is set and copied correctly; do not retry unchanged.
The account is on a plan without the Music API.
Upgrade to a paid plan; do not retry unchanged.
The account has run out of credits for this request.
Top up or upgrade the plan, then retry.
More music generations at once than the plan allows (2 on Starter to Pro), or too many requests.
Wait for running generations to finish; retry rate-limit errors with exponential backoff.
Use it from an agent
5 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page yes, AI assistants allowed yes
Checked Nov 13, 2026.
ElevenLabs MCP server
Name the connector "ElevenLabs" and enter `https://api.elevenlabs.io/v1/mcp`. Select **Add**.
npm install @elevenlabs/elevenlabs-jspip install elevenlabsInstructions in its docs to check first
“npx skills add elevenlabs/skills --skill music”
The quickstart tells AI coding assistants to install a skill from a downloaded package. Ask the person first; the plain package and the code above are enough.
“Run elevenlabs generate-skills in your project to write a SKILL.md for every command group into skills/”
Writes new files into the project and needs the global ElevenLabs command-line tool; ask the person first.
“Add ElevenLabs to my project: run npx -y @elevenlabs/cli@latest onboard init and follow what it prints.”
Ask the person first. The command runs an unpinned @latest package, signs in or creates an account, creates a key and changes the project.
Alternatives
ElevenLabs Music API This page
Pick Stable Audio when you want music and sound generation from Stability AI; our catalog lists it at $0.08 per generation on 2026-11-10.
Pick Mubert when you want royalty-free generated music streamed into an app or game.
Pick Suno when you mainly want full songs with vocals and its song editing tools.
Get started
Tell your AI assistant
“Add ElevenLabs Music to my project: on the server, call music.compose with modelId music_v2_5, a prompt without artist names, song titles or lyrics from real songs, and my ELEVENLABS_API_KEY from .env; save the MP3 once and reuse it, and handle a bad_prompt error by using its prompt_suggestion.”
Get a paid ElevenLabs plan, create an API key in the dashboard, and store it in a .env file.
ELEVENLABS_API_KEY=From elevenlabs.io/docs/eleven-api/guides/cookbooks/music.md
Install the official TypeScript package and dotenv.
npm install @elevenlabs/elevenlabs-js npm install dotenvFrom elevenlabs.io/docs/eleven-api/guides/cookbooks/music.md
Compose a 10-second track and save it as an MP3 file (example from the official quickstart).
const elevenlabs = new ElevenLabsClient(); const track = await elevenlabs.music.compose({ prompt: "Create an intense, fast-paced electronic track for a high-adrenaline video game scene. Use driving synth arpeggios, punchy drums, distorted bass, glitch effects, and aggressive rhythmic textures. The tempo should be fast, 130–150 bpm, with rising tension, quick transitions, and dynamic energy bursts.", musicLengthMs: 10000, modelId: "music_v2_5", }); // Save the track to a file await pipeline(Readable.from(track), createWriteStream("path/to/music.mp3"));From elevenlabs.io/docs/eleven-api/guides/cookbooks/music.md
First request
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { Readable } from "stream";
import { createWriteStream } from "fs";
import { pipeline } from "stream/promises";
import "dotenv/config";
const elevenlabs = new ElevenLabsClient();
const track = await elevenlabs.music.compose({
prompt: "Create an intense, fast-paced electronic track for a high-adrenaline video game scene. Use driving synth arpeggios, punchy drums, distorted bass, glitch effects, and aggressive rhythmic textures. The tempo should be fast, 130–150 bpm, with rising tension, quick transitions, and dynamic energy bursts.",
musicLengthMs: 10000,
modelId: "music_v2_5",
});
await pipeline(Readable.from(track), createWriteStream("path/to/music.mp3"));The generated audio file in the format specifiedMistakes to avoid
The API default is still music_v1, which is deprecated and will be removed on January 31, 2027.
The music terms forbid artist names, song and album titles, label names and real lyrics in prompts.
The compose endpoint rejects these combinations.
The music API terms forbid making API access to the Music Service available to third parties unless you are an authorized reseller.
The directory connector is a restricted version without music.
Questions
Can I try the Music API on the free plan?
No. The docs say the Music API is only for paid users, and the music terms list no API access on Free.
How long can a track be?
From 3 seconds to 5 minutes, as the music docs state.
Do I have to credit ElevenLabs?
Not on paid plans. Only the Free plan requires a credit, and Free has no API access.
Can I use the music in a film or TV show?
Not on self-serve plans; film, TV, radio and studio games need an Enterprise Music plan, per the music terms table.
What happens if my prompt names a famous song?
The request fails with a bad_prompt error that includes a suggested prompt you can use instead.