ElevenLabs · Music Generation

ElevenLabs Music v2.5 API

ElevenLabs' newest music model. Studio-quality instrumentals and songs at exactly the length you ask for, generated in seconds. Priced per second of the requested length.

$0.0025 per second + $0.001 per call · priced before it runs · no subscription

About ElevenLabs Music v2.5

ElevenLabs Music v2.5 is a music model from ElevenLabs that writes a track from a style prompt, up to 240 seconds long. It is billed per track, $0.0025 per second + $0.001 per call. You can call it without an account, an API key or a subscription.

Use ElevenLabs Music v2.5 for

  • Background music for videos, games and apps, generated to a style prompt
  • Songs with your own lyrics, or instrumentals with none
  • Jingles and short stings an agent writes and scores in one run

ElevenLabs Music v2.5 specs

Endpoint
POST /api/v1/audio/generations
Price
$0.0025 per second + $0.001 per call
Longest track
240 seconds
Lyrics
Not supported
Instrumental
Yes

How to call ElevenLabs Music v2.5

Pass elevenlabs/music-v2.5 as the model field. The first request returns a 402 with the exact price; a signed retry runs it, and the client libraries fold the two into one call — how the payment works. Request and response shapes are in the docs.

curl -X POST https://blockrun.ai/api/v1/audio/generations \
  -H "Content-Type: application/json" \
  -d '{"model": "elevenlabs/music-v2.5", "prompt": "upbeat lo-fi beat for a product video", "instrumental": true}'

ElevenLabs Music v2.5 or another music model

Every music model here takes the same request on the same endpoint, so trying another is a one-line change to the model field. The AI Music and Sound Effects page lists all of them side by side.

ElevenLabs Music v2.5 API questions

How much does the ElevenLabs Music v2.5 API cost?

$0.0025 per second + $0.001 per call, including the per-call transaction fee. The exact price is quoted in the 402 response before anything is generated, and you pay per request with no subscription.

Do I need an API key to use ElevenLabs Music v2.5?

No. Each request carries its own payment, so an agent or script can call ElevenLabs Music v2.5 with no account and no key. Teams that prefer one can use an API key with card or invoice billing instead.

How do I call ElevenLabs Music v2.5?

Send a POST to /api/v1/audio/generations with "model": "elevenlabs/music-v2.5". The request shape is shown above, and the same endpoint serves every music model on the catalog, so switching models is a one-line change.

How long can a ElevenLabs Music v2.5 track be?

Up to 240 seconds per generation.

ElevenLabs Music v2.5 or another model — which should I use?

Compare it with MiniMax Music 2.5+ ($0.200 per track), Google Lyria 3.5 ($0.081 per track), Google Lyria 3 Clip ($0.041 per track) in the table above. They take the same request on the same endpoint, so you can try two on one prompt and keep the one you prefer.

Two ways to run this

Get an API key

Sign in, get a key, and call the same endpoints with usage billed to your account. For teams that want one invoice instead of one wallet.

Get an API key 

Or let your agent pay per call, in USDC

No account, no API key. Three steps, and the last one is the request this page is about.

  1. 01
    Point your agent at BlockRun

    Install ClawRouter, or add the BlockRun MCP server to Claude Code, Cursor, Codex or OpenClaw. Any OpenAI-compatible client works too — change the base URL, nothing else.

    curl -fsSL https://blockrun.ai/ClawRouter-update | bash
  2. 02
    Fund a wallet with USDC

    Send USDC to a wallet on Base, Solana or Arc. There is no account to create and no API key to issue: the wallet is the account, and it pays per call.

  3. 03
    Call ElevenLabs Music v2.5

    The first call returns HTTP 402 with the exact price, your agent signs it, and the answer comes back. Payment settles on-chain; nothing is charged if the call fails.

    curl -X POST https://blockrun.ai/api/v1/audio/generations \
      -H "Content-Type: application/json" \
      -d '{"model": "elevenlabs/music-v2.5", "prompt": "upbeat lo-fi beat for a product video", "instrumental": true}'