Models / Speech and music / ElevenLabs
Eleven Music API
Eleven Music API through UplinkSwitch: $1.92 per minute, prepaid, no subscription. ElevenLabs's speech and music model on one key with every other model; a generation that fails is not charged.
elevenlabs-musicSpeech and musicper minute
Price · per minute, USD
| Settings | UplinkSwitch |
|---|---|
| any settings | $1.92 |
Charged when the request is accepted; refunded in full if the generation fails.
Call it · POST /v1/generations
curl
curl https://api.uplinkswitch.com/v1/generations \
-H "Authorization: Bearer $UPLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "elevenlabs-music",
"input": {}
}'
# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"Settings · in input
| Name | Type | Values | Default |
|---|---|---|---|
| text | string | — | — |
| composition_plan | object | — | — |
| duration | number | — | — |
| is_instrumental | boolean | — | false |
| respect_sections_durations | boolean | — | true |
| output_format | string | mp3_22050_32, mp3_44100_32, mp3_44100_64, mp3_44100_96, mp3_44100_128, mp3_44100_192, pcm_8000, pcm_16000, pcm_22050, pcm_24000, pcm_44100, pcm_48000, ulaw_8000, alaw_8000, opus_48000_32, opus_48000_64, opus_48000_96, opus_48000_128, opus_48000_192 | mp3_44100_128 |
Questions
- How much does the Eleven Music API cost?
- From $1.92 per minute. The price depends on the settings in the table and is fixed when the request is accepted.
- Is there a subscription?
- No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.
- What happens if a generation fails?
- It is refunded in full, automatically. You pay only for files you receive.
- How long are the files kept?
- Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.
- Can I use the same key for other models?
- Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.