> ## Documentation Index
> Fetch the complete documentation index at: https://www.tella.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Voiceovers

> Narrate a video with AI voiceover lines or an uploaded narration: add, read, move and remove segments, search ElevenLabs' Voice Library, and manage the workspace's saved voices and pronunciations.

A voiceover is speech laid over the video: AI lines you write, read in a standard voice for their language or any voice from ElevenLabs' Voice Library, or narrations you uploaded. Each line is a segment you place and read in milliseconds of the finished video. For how voiceovers behave in the editor, captions and exports, see [Add an AI voiceover](https://www.tella.com/help/editing/add-an-ai-voiceover).

* **Timing.** Segments sit on the video's timeline as background music does. A speed section keeps a line with the footage around it, but cutting, trimming or reordering clips doesn't move it: settle the video's structure before narrating it, and move lines yourself after such an edit. A line always plays at 1x and stops at the end of the video.
* **Sound.** A voiceover plays over the clips' own sound and never mutes it. To keep a clip's speech from talking over the narration, lower or mute that clip's audio.
* **Captions.** Captions, subtitle files and the watch page's transcript show the voiceover's words alongside the clips'. Translated subtitles don't include them.
* **Overlaps.** Overlapping segments both play; `get_voiceover` lists them under `overlapping`.
* **Placing several lines.** Call `add_voiceover_segment` once per line, in order and one at a time, starting each at or after the previous call's `endMs`. Each line is read with the text of the lines on either side of it, so a line added before the one ahead of it exists sounds like a separate recording.
* **Saved voices.** When the workspace saved voices for a line's language (`list_saved_voices`), read its lines in one of them, with its `stability`. A saved voice replaces only the standard voice of its gender.
* **Pronunciations.** `text` is also the line's captions: write it as viewers should read it, never respelled for the voice. Fix how a word is said with `add_pronunciations` (every line from then on) or a line's own `pronunciations` (that line only).
* **Credits.** Each AI line uses [AI credits](https://www.tella.com/help/billing/what-uses-credits#does-an-ai-voiceover-use-credits) by the characters it reads, and is refused with `forbidden` when the workspace's balance is 0. Uploaded narrations, moves and removals are free.

The same operations are on the REST API under `/v1/videos/{id}/voiceover`, `/v1/voices`, `/v1/voices/saved` and `/v1/voices/pronunciations`.

## add\_voiceover\_segment

Add one segment to a video's voiceover, starting at `atMs` of the finished video. Either an AI line (`text` and its `language`, optionally `voice` or `voiceId`), read once at normal speed, or an uploaded narration (`sourceId`), which plays whole from `atMs`.

Write `text` as a native speaker of `language` would say it, in its region's spelling, words and conventions, keeping names as they appear on screen: a voice takes on the accent of the words it reads, and ElevenLabs takes no accent setting. Direct delivery with audio tags in square brackets before the words they change (`[warmly]`, `[excited]`, `[thoughtful]`, `[short pause]`); an ellipsis reads as a pause and a word in capitals as stressed. Captions leave tags out; SSML `<break>` tags do nothing.

Native voices: en (US, GB, AU, CA, IN), es (MX, ES, AR, CO, CL), pt (BR, PT), fr, de, it, nl, pl, tr, cs, hr, bg, ja, zh (CN, TW), ko, hi, ar (SA, EG, LB), sv, da, no, fi, el, hu, id. A bare code is read in its first region (`es` in `es-MX`). Another region of these languages is read in the language's first voice. Any other language is read in an American English voice and comes back with `nativeVoice: false`. Where a region has no voice of the gender asked for, the line gets its other one: check `voice` in the response.

**videoId** `string` *required*

Video ID

**atMs** `number`

Where the segment starts, in ms of the finished video. Defaults to 0

**text** `string`

What an AI line says, written as it should be spoken, audio tags included. 1 to 1,000 characters

**language** `string`

Required for an AI line. A language code, with a region to pick that region's voice: `en`, `en-GB`, `pt-BR`, `pt-PT`, `es-ES`, `zh-TW`

**voice** `string`

An AI line's standard voice: `female` (default) or `male`. Don't pass with `voiceId`

**voiceId** `string`

An ElevenLabs voice ID from `search_voices`, instead of `voice`. `language` still says what the line is spoken in. Use the same voice for every line of a video

**stability** `number`

An AI line's ElevenLabs stability, from 0 to 1, instead of the voice's own (about 0.5). Lower reads with more varied emotion and can change more between lines; higher reads more evenly. Pass the one the user picked on the voice card or a saved voice has, and the same one for every line in that voice

**pronunciations** `object[]`

Up to 20 pronunciations for this line only, each `{word, ipa}`: `word` as `text` writes it, read as its `ipa` while captions keep the word. They apply on top of the workspace's, replacing its reading of the same word in this line. Pass them again when the line is read again

**sourceId** `string`

An uploaded audio source from `create_source` (`kind: "audio"`), instead of `text`, `language`, `voice` and `voiceId`. Its words reach captions once it's transcribed, shortly after

Returns the video's whole voiceover, as `get_voiceover` does.

## get\_voiceover

Read a video's voiceover: each segment with where it plays, its text, language and voice, and the segments that overlap.

**videoId** `string` *required*

Video ID

Returns `videoId`, `segments` and `overlapping`. Each segment has:

* `id`: the segment ID, for `update_voiceover_segment` and `remove_voiceover_segments`.
* `startMs` and `endMs`: where it plays in the finished video.
* `kind`: `ai` for a generated line, `upload` for an uploaded narration.
* `text`: an AI line's text, or what an uploaded narration says once transcribed.
* `language`: an AI line's language tag, or an uploaded narration's once transcribed.
* `voice`, `voiceId`, `voiceName`: an AI line's standard voice (`female` or `male`), or the ElevenLabs ID of a library voice, and the voice's name.
* `nativeVoice`: whether a standard voice speaks the line's language natively.
* `stability`: the stability an AI line was read with, when one was picked.
* `pronunciations`: an AI line's own pronunciations, to pass again when it's read again.
* `sourceId`: the audio source the segment plays.

`overlapping` is a list of pairs of segment IDs that play at the same time.

## update\_voiceover\_segment

Move one segment to `startMs` of the finished video. To reword a line, remove it and add the new one.

**videoId** `string` *required*

Video ID

**segmentId** `string` *required*

The segment's ID from `get_voiceover`

**startMs** `number` *required*

Where it starts, in ms of the finished video

## remove\_voiceover\_segments

Remove segments from a video's voiceover, or the whole voiceover with `all: true`, in one step.

**videoId** `string` *required*

Video ID

**segmentIds** `string[]`

The segments' IDs from `get_voiceover`

**all** `boolean`

Remove every segment

## search\_voices

Search ElevenLabs' Voice Library for a voice to read AI lines in, for when the user wants a particular kind of voice or a specific one rather than the standard female or male voice of a language. Pass a result's `voiceId` to `add_voiceover_segment`. Look in ElevenLabs' own voices first (`source: "elevenlabs"`); for a kind of voice, filter by `useCase`, `gender` and a `language` with its region rather than searching words. Voices with their own rate are left out. 20 a page, the ones most people added first.

**search** `string`

Words of the voice's name or description. A voice ID or Voice Library link finds that voice whatever the other filters say

**language** `string`

A language code (`en`, `pt-BR`): voices that speak it natively, with samples in it. With a country (`pt-PT`), only voices of that country; a wider region (`es-419`) searches the whole language

**accent** `string`

An accent: `american`, `british`, `australian`, `indian`

**gender** `string`

`female`, `male` or `neutral`

**age** `string`

`young`, `middle_aged` or `old`

**useCase** `string`

`conversational`, `narrative_story`, `characters_animation`, `social_media`, `informative_educational`, `advertisement` or `entertainment_tv`

**source** `string`

`elevenlabs` for ElevenLabs' own voices, `community` for everyone else's. Omit for both

**page** `integer`

Page, from 0 to 50

Returns `voices` and `hasMore`. Each voice has `voiceId`, `name`, and where ElevenLabs lists them `description`, `gender`, `age`, `accent`, `language`, `locale`, `useCase` and `previewUrl` (a sample, in `language` when you asked for one). `verifiedForModel: false` means ElevenLabs hasn't checked the voice reads that language well with the voiceover model. `byElevenLabs` marks ElevenLabs' own voices; others can be withdrawn by their owner after `noticePeriodDays`, and lines already read keep their audio.

## list\_saved\_voices

The voices the workspace saved for AI voiceover lines. Each has `voiceId`, `name`, `label` (what it's for), `language`, `gender`, `byElevenLabs` and the `stability` to read it with. When the workspace has any for a line's language, read its lines in one of them, passing its `voiceId` and `stability` to `add_voiceover_segment`: the one whose label fits the video, else the first. For a gender none of them has, pass that `voice` instead. A community voice its maker withdrew isn't listed.

## set\_saved\_voices

Replace the workspace's saved voices, up to 10; an empty list removes them all. Only the workspace's Owners and Members can; a Viewer gets `forbidden`. Each voice is checked against Tella's standard voices and ElevenLabs' Voice Library. Prefer ElevenLabs' own voices: a community voice can be withdrawn by its maker. Lines already read keep their voice. Returns the list as `list_saved_voices` does.

**voices** `object[]` *required*

The voices to save, in the order to offer them. Each has `voiceId` (required: from `search_voices`, or a standard voice's), `label` (at most 60 characters), `name` (the voice's name; a name that isn't the voice's is refused) and `stability` (0 to 1)

## list\_pronunciations

The workspace's pronunciations for AI voiceover lines: each entry's `word`, `language` (`*` for every language), `ipa` and `caseSensitive`. Every line is read with them automatically.

**language** `string`

Only the entries a line in this language (`en-GB`) is read with

## add\_pronunciations

Save how the workspace's AI voiceover lines say words, up to 50 at a time and 500 in all. Every line read from then on, in every video of the workspace, says each `word` as its `ipa`, and its captions keep the word. An entry for a word and language already saved replaces it. Owners and Members only. Save only the words the user says the voice gets wrong, or asks to set: IPA for a word the voice already says well can make it worse. Lines already read keep their audio, so remove and re-add the lines that say the word. Returns the entries as saved.

**entries** `object[]` *required*

Each entry has `word` (required: as lines write it, at most 100 characters), `ipa` (required: IPA with stress marks and no slashes, in the accent of the voice that reads it; for several words, `|` between each word's part, as in `ˈɔːrbɪt | ˌɛs diː ˈkeɪ` for `Orbit SDK`), `language` (a language or region such as `fr` or `en-GB`, or `*`, the default, for every language; a line uses its region's entry first, then its language's, then `*`'s) and `caseSensitive` (match only in its own case; defaults to true for a word in capitals)

## remove\_pronunciations

Remove the workspace's pronunciations of words, up to 50 at a time. Each entry is removed only for its own word and language, so lines read from then on use the word's most specific entry that's left for their language (for a British English line: `en-GB`, then `en`, then `*` for every language), and say it as the voice would only when none is left. To drop a word everywhere, remove each of its entries; `list_pronunciations` shows them. Lines already read keep their audio. Owners and Members only. Returns the entries it removed.

**entries** `object[]` *required*

Each entry has `word` (required) and `language` (defaults to `*`)


## Related topics

- [Get the voiceover](https://www.tella.com/docs/api-reference/voiceovers/get-the-voiceover.md)
- [Add an AI voiceover](https://www.tella.com/docs/help/editing/add-an-ai-voiceover.md)
- [Remove voiceover segments](https://www.tella.com/docs/api-reference/voiceovers/remove-voiceover-segments.md)
- [Remove a voiceover segment](https://www.tella.com/docs/api-reference/voiceovers/remove-a-voiceover-segment.md)
- [Move a voiceover segment](https://www.tella.com/docs/api-reference/voiceovers/move-a-voiceover-segment.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.