Skip to content
Agents tracked: 504 Releases (7d): 602 Agent status: no reported issuesSince last limit reset: Claude 13d · Codex 11d For AI agents: Markdown Updated Nov 24, 2026

ElevenLabs Music API

by ElevenLabs

Songs and soundtracks from a description.

Sound effects and music generationUp · live statusOfficial MCP server

WebsitePricingGitHub

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/api

Checked 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

4.2M
SDK downloads a week
+23.5% on the 4-week average
456
GitHub stars, elevenlabs/elevenlabs-js
SDK downloads per weeknpm @elevenlabs/elevenlabs-js, pypi elevenlabs 4,249,203

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

No free API access: the Music API is available to paid subscribers (ElevenLabs docs)

Cheapest plan

$6 a month

Usage price

$0.15 per minute

Plans

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

ActionPrice
1 minute of generated music (API price table)$0.15
1 music finetune$1.50
1 minute of music on a subscription plan900 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

Starter, Creator and Pro

2 music generations at the same time

Scale and Business

5 music generations at the same time

Free

No Music API access (music concurrency 0)

Starter to Business (music terms table)

Monthly download limit: 30 minutes on Starter, 250 on Creator, 500 on Pro, 1,500 on Scale, 4,000 on Business

All plans

3 seconds to 5 minutes per track

From the official docs. elevenlabs.io/docs/overview/models.md

Status and incidents

Right now
Up

All Systems Operational

Last 30 days

6 incidents, 2 of them major

From the official status page, checked Nov 23, 2026. status.elevenlabs.io

Key and access

How it signs in

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.

Environment variable
ELEVENLABS_API_KEY
Safe in browser code
No, keep it on your server
Card at sign-up

Yes

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.

In a paid app
With conditions

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

inside-app-bundle
With conditions

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

redistribute-files
No

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

In monetized videos
With conditions

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

To train your own AI
No

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

client-work
With conditions

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

Trains on what you send

“you may opt out of our use of your Content for training at any time by navigating to the 'Data use' menu”

Keeps your data

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

Where data is stored

Default U.S. servers, with separate EU, India and Singapore residency hosts.

“https://api.sg.residency.elevenlabs.io (Production Singapore)” source

Errors to handle

400 bad_prompt / bad_composition_plan

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.

401 authentication_error

The API key is missing or wrong.

Check that ELEVENLABS_API_KEY is set and copied correctly; do not retry unchanged.

403 subscription_required

The account is on a plan without the Music API.

Upgrade to a paid plan; do not retry unchanged.

402 insufficient_credits

The account has run out of credits for this request.

Top up or upgrade the plan, then retry.

429 concurrent_limit_exceeded / rate_limit_exceeded

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

Our agent check

5 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page yes, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

ElevenLabs MCP server

Name the connector "ElevenLabs" and enter `https://api.elevenlabs.io/v1/mcp`. Select **Add**.

npm
npm install @elevenlabs/elevenlabs-js
PyPI
pip install elevenlabs

Instructions in its docs to check first

The docs say

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

The docs say

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

The docs say

“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

from $0.15 per minuteFree tierOfficial MCP

Stable Audio API

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.

from $0.01Free tier

Mubert API

Pick Mubert when you want royalty-free generated music streamed into an app or game.

from $49/moNo free tier

Suno

Pick Suno when you mainly want full songs with vocals and its song editing tools.

See its pageNo free tier

All sound effects and music generation APIs

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

  1. 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

  2. Install the official TypeScript package and dotenv.

    npm install @elevenlabs/elevenlabs-js
    npm install dotenv

    From elevenlabs.io/docs/eleven-api/guides/cookbooks/music.md

  3. 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"));

Mistakes to avoid

Leaving out model_id, so the request runs on the old music_v1 model.
Set model_id to music_v2_5 (modelId in TypeScript) in every request.

The API default is still music_v1, which is deprecated and will be removed on January 31, 2027.

Writing prompts such as "a song like <famous song>" or "in the style of <artist>".
Describe genre, mood, instruments and tempo; on a bad_prompt error, use the returned prompt_suggestion.

The music terms forbid artist names, song and album titles, label names and real lyrics in prompts.

Sending both prompt and composition_plan, or a seed together with a prompt.
Send either a prompt or a composition plan; use seed only with a composition plan.

The compose endpoint rejects these combinations.

Building a feature where your users type prompts and get Eleven Music tracks through your own service.
Generate music for your own product; letting others use the music model through you needs written approval from ElevenLabs.

The music API terms forbid making API access to the Music Service available to third parties unless you are an authorized reseller.

Asking an assistant to make music through the ElevenLabs connector from the Claude connector directory.
Add the custom connector with the server URL https://api.elevenlabs.io/v1/mcp, or call the API from code.

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.