Models / Speech and music / ElevenLabs
Eleven v3 (text to speech) API
Eleven v3 (text to speech) API: $0.10 per 1,000 characters, prepaid. A failed generation is not charged.
elevenlabs-v3Speech and musicper 1,000 characters
Price · per 1,000 characters, USD
Get a key| Settings | UplinkSwitch |
|---|---|
| any settings | $0.10 |
Charged when the request is accepted; refunded in full if the generation fails.
What a run costs · USD, live
$0.10 per 1,000 characters at any settings.
| Run | At $0.10 per 1,000 characters |
|---|---|
| 1,000 characters | $0.10 |
| 10,000 characters | $1.00 |
| 100,000 characters | $10.00 |
Compare · per 1,000 characters, live
Eleven v3 (text to speech) from $0.10 per 1,000 characters; Eleven Turbo v2.5 (text to speech) from $0.05.
Call it · POST /v1/audio/speech or 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-v3",
"input": {
"text": "Your order has shipped and arrives Thursday."
}
}'
# then poll until "status" is "succeeded":
curl https://api.uplinkswitch.com/v1/generations/gen_... -H "Authorization: Bearer $UPLINK_API_KEY"Python, requests
import os, time, requests
BASE = "https://api.uplinkswitch.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['UPLINK_API_KEY']}"}
payload = {
"model": "elevenlabs-v3",
"input": {
"text": "Your order has shipped and arrives Thursday."
}
}
gen = requests.post(f"{BASE}/generations", headers=HEADERS, json=payload, timeout=30).json()
while gen["status"] not in ("succeeded", "failed"):
time.sleep(5)
gen = requests.get(f"{BASE}/generations/{gen['id']}", headers=HEADERS, timeout=30).json()
if gen["status"] == "succeeded":
url = gen["outputs"][0]["url"]
with open(url.rsplit("/", 1)[-1], "wb") as f:
f.write(requests.get(url, headers=HEADERS, timeout=120).content)The request is charged when it is accepted and answers 202 with a generation id. Poll GET /v1/generations/{id} until the status is succeeded, then download outputs[0].url; files stay downloadable for 30 days, and a failed generation is refunded in full.
Settings · in input
| Name | Type | Values | Default |
|---|---|---|---|
| text required | string | — | — |
| voice | string | Aria, Roger, Sarah, Laura, Charlie, George, Callum, River, Liam, Charlotte, Alice, Matilda, Will, Jessica, Eric, Chris, Brian, Daniel, Lily, Bill, Rachel | Rachel |
| stability | number | — | 0.5 |
| timestamps | boolean | — | false |
| language_code | string | — | — |
| apply_text_normalization | string | auto, on, off | auto |
Questions
From $0.10 per 1,000 characters. The price depends on the settings in the table and is fixed when the request is accepted.
Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. Send it as the bearer token to /v1/audio/speech with model elevenlabs-v3; the same key calls every other model in the catalog.
No. You add credit and each request is paid from it. There is no monthly fee and no minimum per request.
It is refunded in full, automatically. You pay only for files you receive.
Thirty days, at a URL on api.uplinkswitch.com. Download what you want to keep.
Yes. The same key calls every image, video, speech and 3D model and every chat model in the catalog.