- 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_voiceoverlists them underoverlapping. - Placing several lines. Call
add_voiceover_segmentonce per line, in order and one at a time, starting each at or after the previous call’sendMs. 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 itsstability. A saved voice replaces only the standard voice of its gender. - Pronunciations.
textis also the line’s captions: write it as viewers should read it, never respelled for the voice. Fix how a word is said withadd_pronunciations(every line from then on) or a line’s ownpronunciations(that line only). - Credits. Each AI line uses AI credits by the characters it reads, and is refused with
forbiddenwhen the workspace’s balance is 0. Uploaded narrations, moves and removals are free.
/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 atatMs 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.
What an AI line says, written as it should be spoken, audio tags included. 1 to 1,000 characters
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-TWAn 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 videoAn 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
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 againAn uploaded audio source from
create_source (kind: "audio"), instead of text, language, voice and voiceId. Its words reach captions once it’s transcribed, shortly afterget_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. ReturnsvideoId, segments and overlapping. Each segment has:
id: the segment ID, forupdate_voiceover_segmentandremove_voiceover_segments.startMsandendMs: where it plays in the finished video.kind:aifor a generated line,uploadfor 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 (femaleormale), 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 tostartMs of the finished video. To reword a line, remove it and add the new one.
remove_voiceover_segments
Remove segments from a video’s voiceover, or the whole voiceover withall: true, in one step.
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’svoiceId 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.
Words of the voice’s name or description. A voice ID or Voice Library link finds that voice whatever the other filters say
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 languageconversational, narrative_story, characters_animation, social_media, informative_educational, advertisement or entertainment_tvvoices 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 hasvoiceId, 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 getsforbidden. 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.
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’sword, language (* for every language), ipa and caseSensitive. Every line is read with them automatically.
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 eachword 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.
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.