ElevenLabs
Eleven v4 Turbo
eleven-v4-turbo
ElevenLabs' low-latency text-to-speech model, designed for real-time voice assistants and conversational applications, supporting multilingual synthesis and audio tags for controlling emotion and speech rate, with up to 5000 characters per request
Try eleven-v4-turbo
Input
Output
Pricing
eleven-v4-turbo $0.0572 $0.04576 per 1,000 characters
Overview
This is a text-to-speech model for speech synthesis scenarios that converts input text into natural speech and outputs audio. Available capabilities include: specifying a voice, selecting the output format, setting the language code, adjusting stability and similarity, choosing the text normalization mode, and passing a random seed. Target users include content teams that need to generate narration in bulk, developers building multilingual voiceover products, and creators producing character dialogue. Typical uses are the rapid production of marketing audio, spoken-word content, and multilingual voice assets.
Key Highlights
- Supports longer text in a single synthesis — a single input can be up to 5000 characters, suitable for generating a continuous paragraph or a complete narration in one pass.
- Multiple selectable audio output formats — supports MP3, PCM, μ-law, A-law, Opus and other encodings combined with various sample rates and bitrates, with one output chosen per request.
- Controllable expression and pronunciation — audio tags in the text can control expression, and IPA phonemes wrapped in slashes can specify pronunciation.
- Adjustable voice consistency — the stability and similarity parameters can be adjusted independently to balance expressiveness against how closely the output matches the voice.
Capabilities
- Text-to-speech: input text of 1 to 5000 characters is synthesized into the corresponding speech; a voice can be specified and an output format selected to obtain an audio file.
- Expression and pronunciation control: the text supports audio tags such as [whispering] to control expression, and IPA phonemes wrapped in slashes can specify the pronunciation of a word.
- Language and text normalization: the language code specifies the language used for speech generation and text normalization; normalization can be set to automatic, on, or off, affecting how content such as numbers and dates is read.
- Voice consistency adjustment: stability and similarity can both be adjusted between 0 and 1, affecting expression consistency and how closely the output matches the reference voice, respectively.
- Reproducibility and format selection: passing a random seed from 0 to 4294967295 enables best-effort reproduction; the output format is chosen from combinations including MP3, PCM, μ-law, A-law, and Opus.
Use Cases
- Content teams producing marketing narration in bulk — use promotional copy or product introductions as input text to generate MP3 audio for commercials, social media videos, or in-store broadcasts.
- Developers building multilingual voice assets — use the language code and text normalization settings to produce voice files for audiences in different languages, for in-app prompts or localized content.
- Creators producing spoken-word content and character dialogue — use audio tags and IPA phonemes to control expression and pronunciation, generating character lines or narration audio for short films, games, or podcasts.
- Quickly validating voices during prototyping — switch between voices and adjust stability and similarity to rapidly produce candidate speech for comparing options and confirming direction.
Limitations and Selection Advice
A single input is limited to 5000 characters; longer text must be generated in segments. The random seed only provides best-effort reproduction, and identical parameters do not guarantee identical output. Raising similarity may reduce naturalness, and lowering stability may make expression less consistent. When text normalization is turned off, numbers and dates may be read differently than expected. Audio tags and IPA phonemes must be written in the supported format. The output format is a single enum choice per request, so the encoding and bitrate must be decided in advance.
What's new
View changelog →- New model New models: Eleven v4 and Eleven v4 Turbo text-to-speech
Frequently asked questions
View all FAQs →-
How do I choose between this model and Eleven v4?
For low latency, high throughput, and batch generation, choose eleven-v4-turbo; for maximum expressiveness, choose v4. It uses the same speech engine, audio tags, and coverage of 90+ languages as v4, and the same controls such as stability and similarity. The difference is that it generates faster and has lower latency. It is positioned as a speed-first tier, trading speed for efficiency, and does not prioritize maximum expressiveness as its primary goal.
-
Can it be used directly in a real-time voice assistant scenario?
This route is an asynchronous task-style API: after submitting text, you poll the task status, and when synthesis is complete it returns an audio URL. It does not provide streaming output or word-by-word return. To build a real-time conversation that plays while speaking, you need to split the text into sentences on the client, send multiple separate requests, and then stitch them together locally for playback. It is positioned as a speed-first tier: for the same text it is faster than v4 and has a lower unit price.
-
How much text can be entered at one time?
The text limit per request is 5000 characters; it is required and cannot be empty. Longer scripts must be split into multiple segments, synthesized separately, and then joined together. When splitting, cut at sentence ends or paragraph boundaries wherever possible to avoid an unnatural tone from breaking in the middle of a sentence.
-
How should I write prompts to control tone?
Write square-bracket audio tags directly in the body text, following the order of "tag first, content after", for example [whispering] this sentence is spoken softly, with the tag placed right next to the sentence it applies to. Emotion, stress, and speaking rate are all controlled through tags; the pronunciation of a single word can be specified by wrapping IPA phonemes in slashes, such as /…/, written at the position of the corresponding word.
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-turbo
routestringOptionalCurrent fixed value: default
inputobjectRequired
Business parameters for eleven-v4-turbo 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-turbo",
"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-turbo",
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-turbo",
"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
Hands-on with eleven-v4-turbo: 5 high-value TTS use cases and integration essentials
From cost estimation to scenario implementation, a developer's guide to text-to-speech selection and implementation
-
Comparison
eleven-v4-turbo Horizontal Comparison and Model Selection Guide: How to Choose a Speech Synthesis Integration
From capability boundaries and billing methods to migration costs, help teams make actionable TTS selection decisions
-
Guide
eleven-v4-turbo Getting Started Guide: Capability Boundaries, Billing, and Integration Practices
A developer-oriented reference for TTS model selection and integration decisions
Related Models
View all models →Same Type
-
Gemini 3.8 Flash Lite TTS Google $0.023 /1,000 characters -
Lyria 3.5 Google $0.090 /song -
MiniMax Music 3 MiniMax $0.0026 /second -
Gemini 3.8 Flash TTS Google $0.033 /1,000 characters -
Eleven v4 ElevenLabs $0.114 /1,000 characters -
Mirelo SFX 2.0 Mirelo AI $0.021 /second -
Seed Audio 1.5 $0.0012 /second -
MiniMax Music 2.6 MiniMax $0.210 /song -
ElevenLabs Sound Effects ElevenLabs $0.0029 /second -
Seed Audio 1.0 ByteDance $0.268 per minute -
Lyria 3 Pro Google $0.140 /song -
Mureka 9.5 Mureka $0.322 per request