ElevenLabs
Eleven v4
eleven-v4
ElevenLabs' fourth-generation text-to-speech model adjusts tone and pacing based on script context and character identity, and lets you specify delivery with audio tags—ideal for audiobooks, voice-over, and multilingual localization
Try eleven-v4
Input
Output
Pricing
eleven-v4 $0.1143 $0.09144 per 1,000 characters
Overview
For developers and content teams that need to generate single-speaker narration audio in bulk: submit a piece of text and get a downloadable speech file. It supports over ninety languages; the language is usually detected automatically from the text, or you can specify the narration language with a language code. You can pick an existing voice and use the stability and similarity parameters to adjust expressiveness and how closely the voice matches. It is well suited to turning scripts into narration, explainer or announcement audio for embedding in apps, courses or media content.
Key Highlights
- Multilingual single-speaker narration — supports over ninety languages; the language is usually detected automatically from the input text, and a language code can also be used to specify the language for narration and text normalization.
- In-text tags guide delivery — tags such as laughter or whispers can be written into the text to hint at delivery; tags guide the output but do not guarantee that the effect occurs at an exact point in time.
- Adjustable voice and stability — stability and similarity_boost each take a value from 0 to 1, defaulting to 0.5 and 0.75 respectively, letting you tune between expressiveness and consistency.
- Multiple audio formats available — output formats include mp3, pcm, ulaw, alaw and opus, defaulting to mp3_44100_128; choose one per request.
Capabilities
- Text to single-speaker speech: submitting the required text generates single-speaker narration audio; the text for each request must be 1 to 5000 Unicode code points, counting spaces, punctuation and in-text tags.
- Specify language and normalization: language_code specifies the language for narration and text normalization per ISO 639-1, and only specifies the language rather than translating; apply_text_normalization can be auto, on or off, defaulting to auto.
- Choose a voice and adjust style: voice selects the single existing voice that the request uses and that you are entitled to use, defaulting to Rachel; stability and similarity_boost take values from 0 to 1 and adjust delivery stability and voice similarity respectively.
- Output format and seed control: output_format is chosen from the enum values mp3, pcm, ulaw, alaw, opus and so on, defaulting to mp3_44100_128; seed is an optional unsigned 32-bit integer used to make results as close to reproducible as possible.
Use Cases
- Course and explainer audio production — content teams use a lecture script as text and choose a suitable voice to generate narration audio for course video voiceovers or audio courseware.
- Multilingual product announcements — app developers prepare announcement scripts for multilingual interfaces and use language_code to specify the language, generating prompts or announcement audio in the corresponding language.
- Turning articles into spoken content — editors and publishers submit article text to generate audio, publishing it as a podcast or an on-site audio version for readers to listen to.
- Narration with performance hints — creators add tags such as whispers and laughter to the text to guide the narration delivery, producing voiceover material for short videos or narrative content.
Limitations and Selection Advice
Each request uses only one voice, and you can only choose an existing voice that is available and that you are entitled to use; you cannot upload voice samples, create new voices, train models or impersonate others, and externally customized voices are not guaranteed to be available. The text for each request is limited to 1 to 5000 Unicode code points, counted by character. seed is only used to make results as close to reproducible as possible and does not guarantee identical output. Multi-speaker dialogue, word-level timestamps and audio input are not supported, and real-time streaming output is not promised.
What's new
View changelog →- New model New models: Eleven v4 and Eleven v4 Turbo text-to-speech
Frequently asked questions
View all FAQs →-
Can it generate a dialogue between two people, and can it assign different voices to different characters?
No. This pipeline uses only one voice at a time, does not support multi-speaker dialogue, and has no word-level timestamps or audio input. To present conversational content, you can only distinguish speakers in the text using narration or quotations, with the same voice reading it all. If you need different voices for different characters, you should split it into multiple separate requests, generate each with a different voice, and then splice them together yourself.
-
How long can the text in each request be, and how are characters counted?
text is required. The maximum for a single request is 5000, and the minimum is 1 Unicode code point. Billing is also by character count, not by bytes or duration. Spaces, punctuation, and tags such as [laughs] inside the text all count. To read a long text, split it into multiple requests of no more than 5000 code points each, and place the split points at sentence ends where possible to avoid cutting words off.
-
How can I make the speech include laughter or whispering effects?
Insert bracketed tags such as [laughs] and [whispering] into the text to guide the performance; the tags themselves also count toward the character count. Tags are directional guidance and are not guaranteed to trigger at an exact point in time, so do not treat them as strict timeline control. In terms of usage, place the tag before the sentence where it should take effect, and do not pile up too many at once; the denser the tags, the harder it is for them to land as expected.
-
How should stability and timbre similarity be set?
stability controls the consistency of the delivery, and the similarity field similarity_boost controls how closely the output converges toward the reference timbre. Both take values from 0 to 1, with defaults of 0.5 and 0.75 respectively. Lowering stability gives more variation and expressiveness, while raising it gives a steadier, more uniform result; raising similarity_boost stays closer to the original timbre but may sacrifice naturalness. For narration-style content, it is recommended to first produce a draft with the defaults, then adjust one of the two slightly up or down, rather than making large changes to both at the same time.
Create a generation task
https://api.hiapi.sh/v1/tasks Headers
AuthorizationstringRequiredAccount API key. Required on every request. Example: Bearer YOUR_HIAPI_API_KEY. Get your API key
Content-TypestringOptionalThe request body is always parsed as JSON; when sent, only application/json (optionally with charset) is accepted — any other value returns 415. Example: application/json.
Idempotency-KeystringOptionalIdempotency key, up to 255 bytes. Retries with the same key from the same account create the task only once; replays return the original taskId.
On network timeouts or client retries, the same key creates the task only once — no double charges (scope: the API key's account). Use a business-unique identifier as the key (e.g. "order-42"); replays return the original taskId, and keys expire 24 hours after the first request. See the Unified Async API overview for the full scenario matrix.
Body
modelstringRequiredCurrent fixed value: eleven-v4
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for eleven-v4 and route default — see the parameter table below.
seedintegerOptionalmin 0max 4294967295Random seed for best-effort reproducibility; identical output is not guaranteed.
textstringRequiredminLength 1maxLength 5000The text to convert to speech. Supports audio tags such as [whispering] and IPA pronunciation enclosed in forward slashes.
voicestringOptionalDefault: "Rachel"The voice to use for speech generation
stabilitynumberOptionalDefault: 0.5min 0max 1Voice stability. Lower values allow more expressive delivery; higher values make delivery more consistent.
language_codestringOptionalLanguage code (ISO 639-1) for speech generation and text normalization.
output_formatstringOptionalDefault: "mp3_44100_128"Output format of the generated audio. Formatted as codec_sample_rate_bitrate.
mp3_22050_32mp3_44100_32mp3_44100_64mp3_44100_96mp3_44100_128mp3_44100_192pcm_8000pcm_16000Show all (11)Show less
pcm_22050pcm_24000pcm_44100pcm_48000ulaw_8000alaw_8000opus_48000_32opus_48000_64opus_48000_96opus_48000_128opus_48000_192similarity_boostnumberOptionalDefault: 0.75min 0max 1How closely the output follows the reference voice. Higher values increase similarity but may reduce naturalness.
apply_text_normalizationstringOptionalDefault: "auto"Whether to normalize text such as numbers and dates before generation.
autoonoffcallbackobjectOptional
Terminal-state notification config. When omitted, no callback is delivered — poll the task yourself. See the callback note below.
Provide callback.url when creating a task and HiAPI POSTs to your service once the task reaches a terminal state — no polling needed. The callback payload mirrors the task detail structure; signature verification, delivery retries and idempotency are documented on the Unified Async API overview page.
urlstringRequiredRequired when callback is present. A POST is sent to this URL once the task reaches a terminal state; must be a valid http(s) URL.
whenstringOptionalDefault: "final"Only final is supported today — notified on both success and fail.
finalstoragestringOptionalDefault: "temp"Artifact storage tier: temp (default, retained about 7 days) or persistent (long-term, billed by size). Insufficient balance or exceeding the storage cap silently downgrades to temp; the effective tier is shown in the task detail response.
temppersistentRequest examples
# Submit an async task; returns a taskId immediately (no waiting for generation)
curl -X POST "https://api.hiapi.sh/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "eleven-v4",
"input": {
"text": "…",
"voice": "Rachel",
"stability": 0.5,
"output_format": "mp3_44100_128",
"similarity_boost": 0.75,
"apply_text_normalization": "auto"
}
}' const res = await fetch("https://api.hiapi.sh/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "eleven-v4",
input: {
"text": "…",
"voice": "Rachel",
"stability": 0.5,
"output_format": "mp3_44100_128",
"similarity_boost": 0.75,
"apply_text_normalization": "auto"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.sh/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "eleven-v4",
"input": {
"text": "…",
"voice": "Rachel",
"stability": 0.5,
"output_format": "mp3_44100_128",
"similarity_boost": 0.75,
"apply_text_normalization": "auto"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} Get task detail
https://api.hiapi.sh/v1/tasks/:id Response fields
taskIdstringRequiredTask ID, always prefixed with tk-hiapi-.
modelstringRequiredResolved full model name. Tasks submitted with the route parameter return base@route (e.g. gpt-image-2/text-to-image@ext); otherwise identical to the name passed at creation.
routestringOptionalPresent only when the task was submitted with an explicit route parameter; echoes the submitted value.
statusstringRequiredTask status.
queued Queued, not started yet.
handling Being processed.
archiving Processing finished, artifacts being prepared.
success Terminal: completed, artifacts available (output returned).
fail Terminal: failed (error returned).
After submission, check status: success and fail are terminal, everything else is non-terminal. Poll every 1–3 seconds until terminal. On success, download artifacts from output[].url and transfer them before expireAt; pass storage: "persistent" at creation time when long-term retention is needed.
creatednumberRequiredTask creation time (Unix seconds).
completednumberRequiredUnix seconds when the task reached a terminal state; fixed to 0 while not terminal.
outputarrayOptional
Present only when status == success. Artifact list — always an array; a single task may return multiple types at once (e.g. video + first_frame).
Array [ object ]
Array items
urlstringRequiredArtifact URL, directly downloadable.
typestringRequiredCurrent possible values: video, image, audio, first_frame, last_frame, thumbnail; more may be added later.
expireAtnumberRequiredUnix seconds until which the artifact remains accessible; download or transfer before it expires.
errorobjectOptional
Present only when status == fail.
codestringRequiredBusiness error code.
messagestringRequiredError description.
Response examples
Success
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} Processing (non-terminal)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} Failed
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} Articles
View all articles →-
Tutorial
Turning Exhibition Labels into Listenable Audio Guides: A Practical Guide to Single-Speaker Narration with ElevenLabs v4
Segmentation, tagging, and review workflow for bilingual Chinese-English narration
-
Guide
ElevenLabs v4 Single-Speaker Narration Primer: Short Scripts, Voice Selection, Proof-Listening, and Export
For editors delivering narration for the first time: one pathway, one short script, one proof-listen
-
Comparison
ElevenLabs v4 single-speaker narration: how to tune stability and similarity_boost
The division of labor between tone and timbre in voiceover scripts, and the practical trade-offs for tags and output parameters
Related Models
View all models →Same Type
-
Lyria 3 Pro Google $0.140 /song -
ElevenLabs Sound Effects ElevenLabs $0.0029 /second -
Mureka 9.5 Mureka $0.322 per request -
MiniMax Music 2.6 MiniMax $0.210 /song -
Gemini 3.8 Flash Lite TTS Google $0.023 /1,000 characters -
Eleven v4 Turbo ElevenLabs $0.057 /1,000 characters -
Stable Audio 3 Medium Stability AI $0.054 per audio -
MiniMax Music 3 MiniMax $0.0026 /second -
ElevenLabs ElevenLabs $0.125 /1,000 characters -
MiniMax Music 1.5 MiniMax $0.070 /song -
Qwen Audio 3.0 TTS Alibaba $0.030 /1,000 characters -
Lyria 3.5 Google $0.090 /song