BifrostAPI
Models/ElevenLabs/eleven-music
E
ElevenLabs
NEW

ElevenLabs Music

TextAudio
Generation
$2.10
/ minute

ElevenLabs Music generates background music from a written description, up to ten minutes. Call POST /v1/audio/speech with the description in `input`. Options: `duration_seconds` up to 600, `force_instrumental: true` to keep it wordless, `seed` to reproduce a take, and `music_model` to pick music_v1 or music_v2. Billing scales with the length produced. You can also steer it with a track you already have: upload one to POST /v1/music/references and pass the `reference_id` back here with an optional `reference_strength` (low–xhigh). It guides the sound, instrumentation, tempo and mood — it does not copy or remix the clip.

Quick start

How to call

POST /v1/audio/speech
bash
curl https://conduit-api.bifrostapi.net/v1/audio/speech \
  -H "Authorization: Bearer ck-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"eleven-music","input":"calm ambient game loop","duration_seconds":30,"force_instrumental":true}' \
  --output music.mp3

# optional — steer it with a track you already have
curl https://conduit-api.bifrostapi.net/v1/music/references \
  -H "Authorization: Bearer ck-YOUR_KEY" \
  -F "model=eleven-music-reference" -F "file=@theme.mp3"
# → {"reference_id":"vLepwPUyEg5BQYZJxAF3_upload"}   (10–600s clip)

curl https://conduit-api.bifrostapi.net/v1/audio/speech \
  -H "Authorization: Bearer ck-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"eleven-music","input":"same theme, battle version","duration_seconds":60,"reference_id":"vLepwPUyEg5BQYZJxAF3_upload","reference_strength":"high"}' \
  --output battle.mp3

→ Describe the track in `input`. duration_seconds up to 600; `force_instrumental` keeps it wordless. Price scales with length. A reference clip must be 10–600s; upload costs $2.10 once and its id is free to reuse. Only the first 30s conditions the generation. `reference_strength` takes low / medium / high / xhigh.

Auth, billing & streaming → Quickstart

More from ElevenLabs