Voiceover text
Pauses and narrator directions, text normalization, paragraph mode, and which of them you pay for. How to check a text for free before ordering.
The server doesn't send the order text to synthesis as is. It normalizes the text and splits it
into chunks. Markup inside the text affects both the sound and the price. The
POST /orders response doesn't show these steps; the free
preview does.
Where the text goes
Three fields accept text: input_text at the root of the request, a .txt file in
input_files[] (up to 20 MB), and task_data.text. All three go through the same checks. For an
order from a template, send the text in input_text.
Markup
| Markup | Examples | What it does | Billed |
|---|---|---|---|
| Pause | {{pause=2.5}}, {{pause:500ms}}, {{pause}} | Silence. Without a value, 1 second | No |
| SSML pause | <break time="2s"/> | Silence in SSML notation | Yes, as characters |
| Narrator direction | [whispers], [confident], [pause] | A hint about the reading style | Yes, as characters |
{{pause}} is Lumean markup. The worker inserts the silence, and the string never reaches the
synthesis provider. That is why these pauses are free and take no room in a chunk.
<break/> and […] are the synthesis provider's own syntax. The provider receives them in full,
charges for them, and counts them toward its length limit. So they are billed as characters and
take up room in the chunk. A 999-character chunk with [confident] inside holds 988 spoken
characters, and all 999 are billed.
Get the exact figure for a given text from the API. The free preview calculates
total_price_units the same way the order does. For a finished chunk, billable_length in
GET /orders/{order}/items/{item}/text returns the billed length.
Square brackets
Any […] span with no nested brackets and no line break inside counts as a narrator direction.
A footnote [1], a [sic] note, or a timecode [00:12] won't be spoken. The model reads them as
directions about the reading style. If the brackets need to be heard, replace them.
Parentheses, asterisks, and angle-bracket remarks such as <Fade out> are voiced and billed. The
narrator will read (pause) and *whispering* aloud.
Limits
| Limit | Value |
|---|---|
| Pauses per text | up to 500 |
| A single pause | up to 10 seconds |
| Total silence | up to 3600 seconds |
| Chunks per order | up to 1500 |
The limits are checked before the order is created. If one is exceeded, the API returns 422 and
no money is reserved. The pause limits count {{pause}} and <break/>. The legacy form
[pause=2s] is treated as a narrator direction and doesn't count.
Text with nothing to voice
| What the text contains | Refusal | Where in the response |
|---|---|---|
Only tags: {{pause}}, <break/>, […] | text_empty | errors |
| Only punctuation or bracketed remarks | text_not_voiceable | errors |
| Speakable text, but one chunk has none | paragraph_not_voiceable | reason |
When there is nothing to voice, the order isn't created and the API returns 422. A refusal for
the whole text comes in errors under the field name: input_text or task_data.text. A chunk
with nothing to voice usually shows up in paragraph mode, because paragraphs are never merged
with each other. Retrying or regenerating a chunk with such text returns 422 with
reason: text_not_voiceable.
- What happened
The order was not created and no funds were held. Most often this is a field validation error: a 422 with a message in
errors.input_text(orerrors.task_data.text) and noreason. A response withreason: "text_empty"comes when the text passed validation but produced no fragments when split.- What to do right now
Check whether the body has
errors. If it does, fix the text in the field it names. If not, the text did not split into fragments: check its preview. Parentheses and angle brackets, asterisks, and other typography are voiced and billed, so removing them will not help.
Normalization
| What | How |
|---|---|
\r\n, \r | → \n |
| Tab | → space |
| More than 3 line breaks in a row | → exactly 3 |
| More than 5 spaces in a row | → exactly 5 |
Hello.World | → Hello. World (voiceover only) |
The server changes the text before chunking. Chunk offsets start and end are counted from the
changed text, not from the text you sent.
A space after ., !, or ? before a letter or digit is added only in voiceover text. It isn't
added in decimals, abbreviations, acronyms, URLs with a scheme, emails, or inside tags. A bare
domain without a scheme, such as example.com mid-sentence, can't be told apart from
Hello.World and gets a space. Write such addresses with a scheme.
Paragraph mode
{ "template_id": "<UUID>", "input_text": "First paragraph.\n\nSecond paragraph.",
"config_override": { "generation_mode": "paragraph" } }By default the text is cut sequentially by the technical chunk size, and paragraph boundaries are ignored. In paragraph mode the text is first split on blank lines, and then each paragraph is chunked on its own.
The generation_mode key sits at the root of config_override, not inside tts_settings. At the
root of a template's config, it turns the mode on for every order from that template. The
values are paragraph and default.
The mode is supported by elevenlabs and heygen. Other services ignore the key without an
error, and the mode simply stays off. GET /templates/config-options doesn't list the key: the
reference describes service settings, while the mode is set per order. Within one order, up to 10
single-chunk paragraphs and up to 5 multi-chunk paragraphs run at the same time.
The response gains paragraphs[], and chunks gain paragraph_index. Each paragraph comes with
paragraph_index, chunks_count, completed_chunks, status, and progress_percent.
paragraphs[].statushas four values:pending,in_progress,failed,completed. A chunk blocked by policy counts asfailed.- The paragraph status is calculated from original chunks only (
item_type = chunk). A successful retry of a failed chunk doesn't change the paragraph status. retryandregenerationrecords haveparagraph_indexset tonull. Take the paragraph from the parent viaparent_item_id.
Warning
A text shorter than the minimum billable volume is billed at that minimum. In paragraph mode the
minimum applies to each paragraph. Five short paragraphs cost five minimums, while the same text
in the default mode costs one. The threshold is shown in the preview, in
summary.min_billable_chars.
Chunking and cost preview
curl -s -X POST "$BASE/orders/chunks/preview" -H "X-API-KEY: $KEY" \
-H "Content-Type: application/json" \
-d '{ "template_id": "<UUID>", "input_text": "…" }'POST /orders/chunks/preview runs the text through the same normalization, chunking, and pricing
as an order, without creating one. The preview is free and doesn't spend the key's token quota.
summary field | What it shows |
|---|---|
voiced_length | how many characters will be voiced, before the minimum volume is applied |
total_effective_length | the billed length of all chunks, in characters |
total_price_units | how many tokens the order will charge |
min_billable_chars | the minimum billable volume; 0 means there is no minimum |
voiced_empty | true means there is nothing to voice, and the order will get 422 |
caps_ok, caps_exceeded | whether a limit is exceeded: count, single, total, or chunks |
has_blocked_content, blocked_chunks[] | chunks the content policy has already rejected; see Retries and idempotency |
Unlike POST /orders, the preview doesn't refuse when a limit is exceeded. It only reports it.
Preview Chunk Split
Do
Run the text through the preview and check voiced_length and total_price_units against your
expectations.
Don't
Estimate the cost from the string length. Markup, the minimum volume, and paragraph mode move the figure in both directions.
This page for AI
Updated 10/18/2026 · API version 1.0.0