Models / Media / Text to speech
Text to speech API. 5 models from ElevenLabs, Deepgram, Fish Audio and Alibaba on one key, priced per 1,000 characters or per 1,000 UTF-8 bytes.
Prepaid credit, no subscription. A generation that fails is not charged. The list below comes from the live catalog, so it changes as models are added.
Models · lowest price per 1,000 characters or 1,000 UTF-8 bytes, USD, next to the developer's own price where on record
Get a key| Model | UplinkSwitch | Developer price |
|---|---|---|
Eleven v3 (text to speech)elevenlabs-v3 | from $0.10 / 1,000 characters | — |
Eleven Turbo v2.5 (text to speech)elevenlabs-turbo-2.5 | from $0.05 / 1,000 characters | — |
| from $0.06 / 1,000 UTF-8 bytes | — | |
Fish Speech 1.5 (text to speech)fish-speech-1.5 | from $0.0188 / 1,000 UTF-8 bytes | — |
CosyVoice 2 (text to speech)cosyvoice-2 | from $0.0286 / 1,000 UTF-8 bytes | — |
Each model's page lists the price for every setting. Live from GET https://api.uplinkswitch.com/v1/catalog/media.
Music · text to music, priced per minute or generation
| Model | UplinkSwitch | Developer price |
|---|---|---|
Eleven Musicelevenlabs-music | from $0.80 / minute | — |
Suno Musicsuno-music | from $0.40 / generation | — |
How to call it · POST /v1/generations
Every model here takes POST /v1/generations with the model id and its settings in input. The answer comes back at once with the price and a generation id to poll. The media guide has the full flow. This request uses Eleven v3 (text to speech); swap the model id for any row above.
curl
curl https://api.uplinkswitch.com/v1/generations \
-H "Authorization: Bearer $UPLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "elevenlabs-v3",
"input": {
"text": "Your order has shipped and arrives Thursday.",
"voice": "Aria"
}
}'
# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"Questions
From $0.05 per 1,000 characters (Eleven Turbo v2.5 (text to speech)) and $0.0188 per 1,000 UTF-8 bytes (Fish Speech 1.5 (text to speech)). Each model's page lists its price for every setting. The price is fixed when the request is accepted, and there is no subscription.
POST /v1/generations answers at once with a generation id. Poll it until its status is succeeded or failed; the media guide shows both calls.
A generation that fails is refunded in full, automatically. Files stay downloadable for 30 days at a URL on api.uplinkswitch.com.