ElevenLabs Eleven v4
Speaks a script in a chosen voice.
| Model ID | elevenlabs-eleven-v4 |
| Task | text-to-speech |
| Output | audio |
| Family | ElevenLabs |
| Status | Active |
Prices are live, so this page does not show them. GET /v1/models/elevenlabs-eleven-v4 returns the published price (price), and POST /v1/quotes returns the binding maximum for one request, with the processor that will run it. You are never charged more than the quoted maximum, and failed work is free. See Pricing and quotes.
Parameters
Section titled “Parameters”Send these in input. Omitted parameters take their default; unknown parameters are refused with 422 parameter_unknown. The same schema is input_schema in GET /v1/models/elevenlabs-eleven-v4.
| Name | Type | Default | Allowed | Required | Description |
|---|---|---|---|---|---|
text |
string | 1 to 10000 characters | Yes | The words to read, exactly as written, in any language the voice speaks. | |
voice |
string | voice-alice |
18 values, listed below | No | One of our approved stock voices. |
language |
string | auto |
95 values, listed below | No | The language of the script. Detect works it out from the script; choose it when the script is short or mixes languages. |
pace |
number | 1 |
0.7 to 1.2, in steps of 0.05 | No | Reading speed: below 1 is slower, above 1 faster. |
stability |
number | 0.5 |
0 to 1, in steps of 0.05 | No | Lower is more expressive; higher is more consistent. |
similarity |
number | 0.75 |
0 to 1, in steps of 0.05 | No | How closely the reading keeps to the stock voice. |
style |
number | 0 |
0 to 1, in steps of 0.05 | No | Exaggerates the voice’s style; may slow the reading down. |
speaker_boost |
boolean | true |
No | Keeps the voice closer to the stock speaker. | |
seed |
integer | 0 |
0 to 2147483647 | No | The same seed with the same settings gives a similar result. Omit it for a random seed. |
captions |
boolean | true |
No | Also make SRT and WebVTT caption files timed to the speech, in the script’s language. No extra charge. | |
format |
string | mp3_128 |
mp3_128, mp3_192 |
No | MP3 at 192 kbps is larger and clearer. |
voice values
Section titled “voice values”voice-alice, voice-daniel, voice-george, voice-lily, voice-charlie, voice-bella, voice-sarah, voice-matilda, voice-jessica, voice-laura, voice-river, voice-brian, voice-eric, voice-chris, voice-roger, voice-will, voice-liam, voice-bill
language values
Section titled “language values”auto, af, am, ar, hy, as, ast, az, be, bn, bs, bg, my, yue, ca, ceb, ny, hr, cs, da, nl, en, et, fil, fi, fr, ff, gl, ka, de, el, gu, ha, he, hi, hu, is, id, ga, it, ja, jv, kam, kn, kk, ky, ko, lo, lv, ln, lt, lg, lb, mk, ms, ml, mt, zh, mi, mr, mn, ne, no, oc, or, ps, fa, pl, pt, pa, ro, ru, sr, sn, sd, sk, sl, so, ckb, es, sw, sv, tg, ta, te, th, tr, uk, ur, uz, vi, cy, wo, yo, zu
voice options
Section titled “voice options”| Value | Meaning |
|---|---|
voice-alice |
British, female. Clear and engaging, for explainers. |
voice-daniel |
British, male. Steady broadcaster. |
voice-george |
British, male. Warm storyteller. |
voice-lily |
British, female. Velvety and calm. |
voice-charlie |
Australian, male. Deep, confident and energetic. |
voice-bella |
American, female. Professional, bright and warm. |
voice-sarah |
American, female. Mature and reassuring. |
voice-matilda |
American, female. Knowledgeable and professional. |
voice-jessica |
American, female. Playful, bright and warm. |
voice-laura |
American, female. Enthusiastic, for social video. |
voice-river |
American, gender-neutral. Relaxed and informative. |
voice-brian |
American, male. Deep, resonant and comforting. |
voice-eric |
American, male. Smooth and trustworthy. |
voice-chris |
American, male. Charming and down to earth. |
voice-roger |
American, male. Laid-back and casual. |
voice-will |
American, male. Relaxed optimist. |
voice-liam |
American, male. Energetic, for social video. |
voice-bill |
American, male. Older, wise and balanced. |
Restrictions
Section titled “Restrictions”- Approved stock voices only: no voice cloning, design or translation.
Example
Section titled “Example”Price the request first. A quote is free and starts nothing:
curl https://api.halationlab.ai/v1/quotes \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d @- <<'JSON'{ "model": "elevenlabs-eleven-v4", "input": { "text": "Welcome. This voice was generated with the HalationLab.ai API." }}JSONThen start it, paying at most MAX_COST tokens. If the price is higher, nothing starts and the 402 max_cost_exceeded answer carries the quote:
MAX_COST=${MAX_COST:?Set MAX_COST to the most you will pay, in tokens}curl https://api.halationlab.ai/v1/generations \ -H "Authorization: Bearer $HALATIONLAB_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Prefer: wait=60" \ -H "Content-Type: application/json" \ -d @- <<JSON{ "model": "elevenlabs-eleven-v4", "input": { "text": "Welcome. This voice was generated with the HalationLab.ai API." }, "max_cost": $MAX_COST}JSON