API Free WeekHundreds of APIs are free to call this week.Browse free APIs

ElevenLabs Music

elevenlabs/music

Music is ElevenLabs's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts.

Base price
$0.60USD / run
Execution
async
Model type
audio
Input fields
3
Production route

Try the model

Playground

Open playground
Input
The text prompt describing the music to generate
If true, guarantees that the generated song will be instrumental.
3000600000
The length of the song to generate in milliseconds (3000-600000). If not provided, the model will choose a length based on the prompt. Range: 3000 to 600000.
OutputExample

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.60 / run

Context & modalities

Input
Schema-defined
Output
audio

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
ElevenLabs
Model ID
elevenlabs/music
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

ElevenLabs Music

ElevenLabs Music generates songs or instrumentals from a prompt, 3 seconds to 10 minutes long.

Fields

FieldTypeDefaultNotes
promptstring, required—Genre, mood, instruments, vocals, and lyrics.
force_instrumentalbooleanfalseGenerate without vocals.
music_length_msinteger 3000–600000—Length in milliseconds (3,000–600,000).

Billing

$0.60 per started minute, with a one-minute minimum. Without music_length_ms the quote assumes 1 minute.

LengthPrice
30s$0.60
60s$0.60
150s$1.80
600s$6.00

Failed runs are not charged.

Prompting

  • Describe structure and vocals; put lyrics in the prompt if you need exact words.

Limits

  • Up to 10 minutes.

Also on SandBase

Other ElevenLabs Music versions: elevenlabs/music/2, elevenlabs/music/2.5.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
elevenlabs/music
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "elevenlabs/music",
  "prompt": "Mysterious original soundtrack, themes of jungle, rainforest, nature, woodwinds, busy rhythmic tribal percussion.",
  "force_instrumental": false
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
ElevenLabsAudio$0.60 / runDec 22, 2025
ElevenLabsAudio$0.04 / runSep 28, 2026
ElevenLabsAudio$0.08 / runSep 28, 2026
ElevenLabsAudio$0.75 / runSep 14, 2026
ElevenLabsAudio$0.75 / runSep 14, 2026
ElevenLabsAudio$0.01 / runJan 14, 2026

Questions

FAQ

How do I call ElevenLabs Music through SandBase?

Create a SandBase API key, then send requests with the model ID "elevenlabs/music" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate ElevenLabs account?

No. One SandBase API key and balance gives you access to ElevenLabs Music and the other models in the catalog; you do not need to sign up with ElevenLabs separately.