Blog

ElevenLabs AI Lip Sync (2026): Voice, Video and API Code

Unicorn API Team · · 11 min read

ElevenLabs AI lip sync workflow: a voice waveform driving the mouth movements of a speaking face

ElevenLabs AI lip sync is less a single button than a two-part workflow: an ElevenLabs model produces the voice, and a lip sync video model animates a face so the mouth matches that voice. People search for it because ElevenLabs voices are among the most natural available, and a talking-head video lives or dies on whether the audio and the lips agree. This post explains how the pipeline works, which ElevenLabs model to pick for sync-ready audio, what it costs, the code to generate it, and the mistakes that make lip sync look wrong.

What does ElevenLabs AI lip sync actually mean?

Lip sync, in the AI sense, means generating or editing video so that a person’s mouth movements match a given audio track. The model looks at the speech sounds over time and produces matching mouth shapes, called visemes (the visual equivalent of phonemes: the closed lips of “m”, “b” and “p”, the rounded lips of “oo”, the open jaw of “ah”).

ElevenLabs started as a voice company: text to speech, voice cloning, a large voice library and multi-speaker dialogue. Its app has since grown image and video tools, so you can now pair a generated voice with a face without leaving it. That is what most tutorials mean by ElevenLabs AI lip sync. Under the hood, though, the split remains: one model makes the audio, another makes the mouth move.

That split matters for three reasons:

  • The audio sets the ceiling. A lip sync model can only follow what it hears. Mumbled consonants, rushed pacing or music under the voice all produce mushy mouth movement.
  • You can mix and match. An ElevenLabs voice works with almost any lip sync tool that accepts an uploaded audio file, including avatar platforms like HeyGen.
  • Costs separate cleanly. Voice generation is cheap and fast; video rendering is the expensive part. Getting the voice right first saves paid video re-renders.

So when you evaluate any ElevenLabs AI lip sync workflow, judge the two halves separately: is the voice right, and is the face animation right?

How an AI lip sync pipeline works, step by step

Whether you click through an app or call APIs, every lip-sync video AI pipeline follows the same order.

  1. Write the script. Short sentences, natural punctuation. Punctuation is how you control pauses, and pauses are where the mouth rests.
  2. Generate the voice. Pick a voice and model, render the audio, listen back. Fix pronunciation and pacing here, not later.
  3. Prepare the face. A still portrait (the model animates it) or a video clip (the model edits the mouth region). Front-facing, well-lit, mouth visible and not covered by hands or a microphone.
  4. Run the lip sync model. Upload face plus audio. The model outputs a video where the mouth follows the speech.
  5. Finish in an editor. Add music, captions, b-roll and cuts after the lip sync render, never before.

Steps 2 and 4 are the AI parts. Step 2 is where ElevenLabs comes in, and it is the step you can iterate on cheaply. A voice render through the API costs cents, so you can try three voices, two speeds and a rewritten line before you spend anything on video.

Four-step lip sync pipeline from script to voice to face to finished video
Lip sync is a pipeline: the voice is generated first, and the video model animates a face to match it.

Still image or source video?

Lip sync tools generally take one of two inputs. A still image gives you full control over the look (you can generate the portrait yourself) but the head motion is invented by the model, which can drift into stiffness on long clips. A source video of a real person talking gives natural head and body movement; the model only replaces the mouth. For dubbing, where you swap the language of existing footage, source video is the norm. For product explainers and avatars, a still portrait is often enough.

Which ElevenLabs model to use for lip-sync audio

Unicorn API gives you three ElevenLabs audio models under one API key, each suited to a different kind of lip sync job.

Text to Speech Multilingual V2: the default for narration

Elevenlabs Text to Speech Multilingual V2 is the one to reach for when a single speaker addresses the camera. It handles pacing and emphasis well, which shows up on screen as believable mouth rhythm. It accepts text, voice, speed, style, stability, similarity_boost, language_code, plus previous_text and next_text for continuity across chunks, and a timestamps option. It costs 12 credits per 1,000 characters.

Text to Speech Turbo V2.5: drafts and volume

Elevenlabs Text to Speech Turbo V2.5 takes the same input fields at 6 credits per 1,000 characters, half the price. Use it to test scripts, generate many short clips (social ads, product tooltips, onboarding videos), or when the face will be small on screen and fine mouth detail matters less.

Text to Dialogue V3: two or more speakers

Elevenlabs Text to Dialogue V3 takes a dialogue array of lines, each with its own voice, and renders the whole exchange in one request for 14 credits. For a two-person scene this beats generating each line separately and stitching: the turn-taking timing sounds like a conversation, not a sequence of announcements. You will still need to split the result per speaker (or use a lip sync tool that handles multiple faces) when animating.

A Suno alternative for speech

Ai Music API Speech, a Suno model, takes a script, tone and vocalGender and costs 12 credits per output. It also exposes a backgroundMusic field. For lip sync input, leave background music off, for reasons covered below.

ModelBest forPrice on Unicorn APISpeakers
Text to Speech Multilingual V2Final narration, presenter videos, dubbing12 credits per 1,000 charactersOne voice per request
Text to Speech Turbo V2.5Drafts, high-volume short clips6 credits per 1,000 charactersOne voice per request
Text to Dialogue V3Conversations, interviews, skits14 credits per requestMultiple, one per line
Ai Music API Speech (Suno)Alternative voice character12 credits per trackOne

Generating ElevenLabs AI lip sync audio with the API

If you want ElevenLabs AI lip sync as part of an app or a batch pipeline rather than a manual workflow, the voice step is a single API call. Media models on Unicorn API run as jobs: you POST /v1/jobs, get a job id back, then poll GET /v1/jobs/{id} until the status is "succeeded" and read the file URL from outputs[0].url.

First, create an API key and export it:

export UNICORN_API_KEY="your-key-here"

Here is a complete Python script that renders a narration with Multilingual V2 and downloads the audio file, ready to upload to a lip sync tool:

import os
import time
import requests

BASE = "https://api.unicornapi.net"
HEADERS = {
    "Authorization": f"Bearer {os.environ['UNICORN_API_KEY']}",
    "Content-Type": "application/json",
}

script = (
    "Hi, I'm Maya. In the next minute, I'll show you how to set up "
    "your first project. It takes three steps. Let's start."
)

body = {
    "model": "elevenlabs-text-to-speech-multilingual-v2",
    "input": {
        "text": script,
        "voice": "EkK5I93UQWFDigLMpZcX",
    },
}

# 1. Start the job
resp = requests.post(f"{BASE}/v1/jobs", headers=HEADERS, json=body)
resp.raise_for_status()
job = resp.json()
job_id = job["id"]

# 2. Poll until it finishes
while True:
    job = requests.get(f"{BASE}/v1/jobs/{job_id}", headers=HEADERS).json()
    status = job["status"]
    if status == "succeeded":
        break
    if status == "failed":
        raise RuntimeError(f"Job failed: {job}")
    time.sleep(2)

# 3. Download the audio for your lip sync tool
audio_url = job["outputs"][0]["url"]
audio = requests.get(audio_url)
with open("narration_for_lipsync.mp3", "wb") as f:
    f.write(audio.content)

print("Saved:", audio_url)

For a two-person scene, swap the body for a dialogue request. Each line names its voice:

curl -X POST https://api.unicornapi.net/v1/jobs \
  -H "Authorization: Bearer $UNICORN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "elevenlabs-text-to-dialogue-v3",
    "input": {
      "dialogue": [
        {"text": "So, did the new version ship?", "voice": "EkK5I93UQWFDigLMpZcX"},
        {"text": "It did. Ten minutes ago.", "voice": "EkK5I93UQWFDigLMpZcX"}
      ]
    }
  }'

Replace the second voice id with another voice so the speakers differ. Then poll the returned job id exactly as in the Python script.

Two practical notes. If you want to know the exact credit cost before rendering, POST /v1/models/price returns it; the request shape is in the API documentation. And if you would rather listen to voices before writing code, the audio playground runs the same models in the browser. Developers working inside Cursor or Claude Code can also call these models through MCP.

Comparison of a clean voice-only track and a voice mixed with music for lip sync input
Feed the lip sync model a voice-only track. Add music after the video is rendered.

What ElevenLabs AI lip sync costs: a worked example

Because credits are priced per request and rounded up per 1,000 characters, it helps to run the numbers on a real script. On a monthly plan (Starter $25, Creator $50, Studio $100, Pro $200), each credit costs $0.01. Top-up credits cost $0.015 each and never expire. Full details are on the pricing page.

Take a presenter script of about 900 characters, roughly what a short explainer runs to.

ScenarioCreditsOn a plan ($0.01)As top-up ($0.015)
900 characters, Turbo V2.56$0.06$0.09
900 characters, Multilingual V212$0.12$0.18
2,400 characters, Multilingual V2 (ceil of 2.4 = 3)36$0.36$0.54
One dialogue scene, Text to Dialogue V314$0.14$0.21

A sensible workflow: draft the script on Turbo V2.5 three or four times while you tune the wording, then render the final take once on Multilingual V2. That is a few dozen credits for the whole voice side of a clip. The lip sync render itself, from whatever video tool you use, will almost always cost more than that, which is the strongest argument for getting the voice right before you touch video.

The rounding trap

Pricing rounds up per request in 1,000-character units. A 1,050-character request costs the same as a 2,000-character one. If you split a long script into chunks, cut at or just under 1,000 characters, not just over. Use previous_text and next_text to keep the delivery consistent across chunk boundaries, so the voice does not reset its tone at each cut.

ElevenLabs vs HeyGen and other AI lip sync tools

Searchers often compare ElevenLabs with HeyGen and other AI lip sync tools, but they solve different halves of the problem, so the honest comparison is about where you want each half to live.

ApproachVoice comes fromFace comes fromGood when
ElevenLabs app end to endElevenLabsIts built-in image and video toolsYou want one interface and few clips
Avatar platform (e.g. HeyGen) with its own voicesThe platformThe platform’s avatars or your recordingYou need a stock presenter fast
ElevenLabs voice + separate lip sync toolElevenLabs, via app or APIAny lip sync model that takes uploaded audioYou care most about voice quality or need automation
API pipelineElevenLabs models via Unicorn APIA lip sync model of your choiceYou generate many videos, or localise into several languages

The avatar platforms are strongest at the face: stock presenters, gestures, templates. ElevenLabs is strongest at the voice. Many teams end up with a hybrid: ElevenLabs AI lip sync audio, uploaded as the voice track to whichever lip sync tool gives the best face for that project. HeyGen AI lip sync, and most similar tools, accept an uploaded audio file for exactly this case.

For localisation the API route pays off fastest. Multilingual V2 takes a language_code, so one script translated into five languages becomes five API calls with the same voice id, then five lip sync renders against the same face. Doing that by hand in a web app is tedious; in code it is a loop.

Common mistakes that ruin lip sync

Most bad lip sync is caused upstream, in the audio or the face, not by the lip sync model. These are the mistakes that show up most often.

Music under the voice

The lip sync model listens to the whole track. Drums, bass and sung vocals in a music bed get read as speech energy, and the mouth twitches on beats. Always feed a voice-only file. Add music after the render: Ai Music API Sounds generates short beds and loops for 2.5 credits per track (rounded up to whole credits), and Ai Music API Mashup builds tracks from uploaded audio. If you are unsure how to describe the style you want, Ai Music API Boost Music Style expands a short style description.

Pacing that is too fast

A speaking rate that sounds fine in a podcast can look frantic on a face, because every syllable needs a visible mouth shape. If the result looks like chattering, lower the speed slightly and add commas where a human would breathe. Clean pauses also give the model rest frames where the mouth can close naturally.

Long silence at the start or end

Leading silence makes some tools animate an idle face for a beat, then snap into speech. Trim the audio so speech starts within a fraction of a second, or begin the script with a word rather than a pause.

Weak consonants

Viewers judge lip sync mostly on the lip-closing sounds: “p”, “b” and “m”. A voice setting with very low stability can soften them, and the mouth never fully closes. If closures look lazy, raise stability and regenerate the audio before blaming the video model.

The wrong face input

Profile shots, beards covering the lips, heavy shadows, hands near the mouth and low-resolution crops all degrade results. A front-facing, evenly lit portrait with the mouth clearly visible gives any lip sync tool its best chance.

Mismatched voice and face

An obvious one that still trips people up: a deep, older voice on a young face, or an energetic voice on a calm, still portrait. The sync can be technically perfect and still look wrong. Pick the voice for the face, and audition two or three in the playground first.

Re-rendering video to fix audio

If a word is mispronounced, fix the text (spell it phonetically if needed) and regenerate the audio, then re-run lip sync once. Iterating on the video side to chase an audio problem is the most expensive way to work.

Putting it together

A reliable ElevenLabs AI lip sync workflow looks like this: write a short, well-punctuated script; draft it on Turbo V2.5 until the wording is right; render the final voice on Multilingual V2 (or Text to Dialogue V3 for conversations); keep the file voice-only and trimmed; then hand it, with a clean front-facing portrait or clip, to the lip sync tool that suits the project. Music, captions and edits come last.

Treat the voice and the face as separate problems and each one gets easier. The voice side, through Unicorn API, is a few cents per clip and a single request you can price in advance, with one key and one bill alongside every other model in the model catalog. Start with the docs and the script above, and you will have sync-ready audio in a few minutes.

Frequently asked questions

Does ElevenLabs do AI lip sync?

ElevenLabs is best known for voice: text to speech, voice cloning and dialogue. Its app has added image and video tools where you can pair a voice with a face, but the lip movement itself comes from a video model, not the voice model. In practice, ElevenLabs AI lip sync means generating the voice track with ElevenLabs and then animating a face to match it, whether inside their app or in a separate tool.

Which ElevenLabs model is best for lip sync audio?

For a single narrator, Text to Speech Multilingual V2 gives the most natural pacing and clear consonants, which lip sync models depend on. Turbo V2.5 costs half as much per 1,000 characters and suits drafts or high-volume clips. For two or more speakers in one scene, Text to Dialogue V3 produces the whole exchange in one request, which keeps timing between speakers natural.

Can I use ElevenLabs voices with HeyGen or other lip sync tools?

Yes. Most lip sync tools, including avatar platforms like HeyGen, accept an uploaded audio file and animate a face to it. Generate the voice track with an ElevenLabs model, download the file, and upload it as the audio input. Keep the track voice-only, without music, so the lip sync model tracks the speech cleanly. Add music afterwards in your editor.

Is there a free AI lip sync video generator?

Several tools offer free tiers or trial credits, usually with watermarks, short clip limits or lower resolution. Free tiers are fine for testing whether a face and voice combination works. For anything you publish, expect to pay per clip. The cheaper lever is the audio: getting the voice right first means fewer paid video re-renders, which is where most lip sync budgets go.

How much does lip sync audio cost through Unicorn API?

ElevenLabs Turbo V2.5 costs 6 credits per 1,000 characters and Multilingual V2 costs 12 credits per 1,000 characters, both rounded up per request. Text to Dialogue V3 costs 14 credits per request. On a monthly plan credits are $0.01 each, so a 900-character narration on Multilingual V2 costs $0.12. Top-up credits cost $0.015 each and never expire.