ElevenLabs Music API
$0.15/min on Varosity credits ($0.15/min with your own key).
no ElevenLabs account needed · provider's list price, no markup · failed renders never billed
Best for
- commercially licensed training data
- low-latency
- fast
Trade-offs
- fewer genres than Suno
- no separated stems
How to get the best result
Fast, commercially safe tracks 5-300s with vocals or instrumentals from one descriptive prompt. Pick instead: suno-v4 for full songs with your own lyrics and structure tags; lyria-2 for a 30s instrumental cue.
Prompting
- Specify genre, mood, instruments, tempo (BPM), key and era; open choices default to generic.
- Narrate the arrangement: 'start with', 'then', 'bring in'; add timing cues like 'vocals begin at 15 seconds'.
- Write 'instrumental only' to drop vocals; 'solo' before an instrument isolates it.
Settings on Varosity
- durationSec 5–300 sets the track length.
- instrumental: true guarantees no vocals (force_instrumental); otherwise the prompt decides. Lyrics, tags and title fields are not used — describe structure and any lyric ideas in the prompt.
Avoid
- Expecting your exact lyrics to be sung; use suno-v4 for that.
- Vague one-word genres.
Example prompt
Warm lo-fi hip hop at 82 BPM in F minor: start with dusty vinyl crackle and Rhodes chords, bring in a laid-back boom-bap beat at 8 seconds, instrumental only.
From elevenlabs.io, checked against what Varosity sends.
Call it from your code
One Varosity key works for every model.
curl -X POST https://varosity.ai/api/v1/music \
-H "Authorization: Bearer $VAROSITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"modelId": "elevenlabs-music",
"prompt": "upbeat lo-fi hip hop with warm keys, 90 bpm",
"durationSec": 30
}'Or use ElevenLabs Music over MCP
Connect ChatGPT, Claude, Cursor or any MCP client to https://varosity.ai/api/mcp (sign in, or use your key), then say:
"Use Varosity with elevenlabs-music to compose 30 seconds of …"MCP setup for your agent