Models / Media / Text to speech

Text to speech API. 2 models from ElevenLabs on one key, priced per 1,000 characters.

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, USD, next to the developer's own price where on record

ModelUplinkSwitchDeveloper price
from $0.10 / 1,000 characters—
from $0.05 / 1,000 characters—
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

ModelUplinkSwitchDeveloper price
Eleven Musicelevenlabs-music
from $1.92 / minute—

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

What does text to speech cost?
From $0.05 per 1,000 characters (Eleven Turbo v2.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.
How long does it take?
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.
What if a generation fails, and how long are files kept?
A generation that fails is refunded in full, automatically. Files stay downloadable for 30 days at a URL on api.uplinkswitch.com.
Text to speech API: ElevenLabs v3 and Turbo prices | UplinkSwitch