Lip sync

Lip sync API

The models that make a person speak: send a portrait or a video with a voice track and get a video whose lips, face and body move with the speech. For talking avatars, spokesperson ads, course videos and dubbed clips. Run them in the browser or through the API on one MegaBrain key, paid per second from a prepaid US-dollar balance.

The short answer

MegaBrain runs 8 lip sync models on one API key: Kling AI Avatar — Standard, Kling AI Avatar — Pro, OmniHuman 1.5, OmniHuman 2.0, InfiniteTalk, Wan 2.2 Turbo — speech to video, LTX 2.5 Fast — audio to video and Volcengine Lip Sync. At default settings the lowest price is InfiniteTalk at $0.018 per second of input, so a 10-second input costs $0.18; the highest is OmniHuman 1.5 at $0.162 per second of input. Prices are in US dollars from the live MegaBrain catalogue; a job the provider fails is refunded in full.

Lip sync models and prices

Prices in US dollars from the MegaBrain catalogue; they update automatically. Each model’s page has examples, every parameter and a playground.

Kling AI Avatar — Standard

$0.0606

Kuaishou Kling AI Avatar: a talking, lip-synced 720p video of the person in your image, from up to 5 minutes of audio.

Lip syncper second of video

Kling AI Avatar — Pro

$0.1212

Kuaishou Kling AI Avatar Pro: a talking, lip-synced 1080p video of the person in your image, from up to 5 minutes of audio.

Lip syncper second of video

OmniHuman 1.5

$0.162

ByteDance OmniHuman 1.5: a lifelike video of the person in your image speaking or singing to audio under 60 s, with gestures the prompt describes; 720p or 1080p.

Lip syncper second of video

OmniHuman 2.0

$0.084

ByteDance OmniHuman 2.0: a 720p video of the person in your image driven by 4–300 s of speech or song, with lip sync and body motion.

Lip syncper second of video

InfiniteTalk

$0.018

MeiGen InfiniteTalk: a lip-synced talking video of the person in your image from an audio track, up to 15 s, 480p or 720p.

Lip syncper second of video

Wan 2.2 Turbo — speech to video

$0.072

Alibaba Wan 2.2 A14B Turbo: a 5-second video of the person in your image talking or singing to an audio track, 480p to 720p.

Lip syncper second of video

LTX 2.5 Fast — audio to video

$0.0648

Lightricks LTX 2.5 Fast: a video set to your speech, song or music — lips and motion in time with it — from a prompt and an optional first frame, up to 20 s.

Lip syncper second of video

Volcengine Lip Sync

$0.048

Volcengine Lip Sync: re-syncs the lips of the people in a video to a new voice track of up to 4 minutes; lite for one face to camera, basic for harder scenes.

Lip syncper second of video
ModelTaskPrice
Kling AI Avatar — Standard
kling/ai-avatar/standard
Lip sync$0.0606 per second of input
Kling AI Avatar — Pro
kling/ai-avatar/pro
Lip sync$0.1212 per second of input
OmniHuman 1.5
bytedance/omnihuman-1.5
Lip sync$0.162 per second of input
OmniHuman 2.0
bytedance/omnihuman-2.0
Lip sync$0.084 per second of input
InfiniteTalk
meigen/infinitetalk
Lip sync$0.018 per second of input
Wan 2.2 Turbo — speech to video
alibaba/wan-2.2-turbo/speech-to-video
Lip sync$0.072 per second of video
LTX 2.5 Fast — audio to video
lightricks/ltx-2.5-fast/audio-to-video
Lip sync$0.0648 per second of input
Volcengine Lip Sync
volcengine/lip-sync
Lip sync$0.048 per second of input

Which model to pick

From a photo: Kling AI Avatar turns a portrait and up to five minutes of speech into a talking video, Standard at 720p and Pro at 1080p, with a prompt for the expression, movement and camera. ByteDance’s OmniHuman 1.5 makes a lifelike video of the person speaking or singing to audio under 60 seconds, with the gestures the prompt describes; OmniHuman 2.0 takes 4 to 300 seconds of speech or song. InfiniteTalk (up to 15 seconds) and Wan 2.2 Turbo (5-second clips) make short talking clips. LTX 2.5 Fast sets a scene to your speech, song or music from a prompt and an optional first frame, up to 20 seconds. From a video: Volcengine Lip Sync re-syncs the lips of the people in a clip to a new voice track of up to four minutes, for dubbing.

The files are links

The portrait (JPEG, PNG or WebP) or the video (MP4 or MOV) and the voice track (MP3, WAV or M4A) go in as public https:// links, in image_url and audio_url on most models; each model’s page lists its fields. Clean speech without music gives the most accurate lips. In the playground you can upload the files instead.

Priced by the length of the speech

The server reads how long the voice track you send is (for Volcengine Lip Sync, the longer of the video and the voice) before it accepts the job, and the price is that length times the per-second price in the table. Wan 2.2 Turbo is priced per 5-second clip instead. A job the provider fails is refunded in full.

No recording? Generate the voice

Write the script, make the voice-over with a text-to-speech model and pass its audio link here: one key covers both steps.

Text to speech: models and prices

First request

Generation runs through a queue: a POST request submits the job, then the script polls status_url and fetches the result from response_url. Create the key on the API key page after you sign up.

import os, time, requests

BASE = "https://getmegabrain.com/api/gateway/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MEGABRAIN_API_KEY']}"}

job = requests.post(f"{BASE}/queue/kling/ai-avatar/standard", headers=HEADERS, json={
  "prompt": "a slow dolly shot of a lighthouse at dawn, waves below",
  "image_url": "https://example.com/photo.jpg",
  "audio_url": "https://example.com/voice.mp3"
}).json()

while requests.get(job["status_url"], headers=HEADERS).json()["status"] not in ("COMPLETED", "FAILED"):
    time.sleep(2)

print(requests.get(job["response_url"], headers=HEADERS).json())

Questions and answers

How much does AI lip sync cost through an API?

MegaBrain runs 8 lip sync models on one API key: Kling AI Avatar — Standard, Kling AI Avatar — Pro, OmniHuman 1.5, OmniHuman 2.0, InfiniteTalk, Wan 2.2 Turbo — speech to video, LTX 2.5 Fast — audio to video and Volcengine Lip Sync. At default settings the lowest price is InfiniteTalk at $0.018 per second of input, so a 10-second input costs $0.18; the highest is OmniHuman 1.5 at $0.162 per second of input. Prices are in US dollars from the live MegaBrain catalogue; a job the provider fails is refunded in full.

Do I need an account with each model’s maker?

No. Sign up on MegaBrain, top up the balance by card and create one API key: it works for every model in the table, for the other image, video and audio models and for the text models.

How is generation paid for?

From a prepaid US-dollar balance at the price in the table, with no subscription. The price of a job is held when it is submitted and refunded in full if the provider fails it.

How long can a talking video be?

As long as the speech, within each model’s limit: Kling AI Avatar and OmniHuman 2.0 take up to five minutes of audio, Volcengine Lip Sync up to four, OmniHuman 1.5 under 60 seconds, LTX 2.5 Fast makes up to 20 seconds and InfiniteTalk up to 15, and Wan 2.2 Turbo makes 5-second clips.

How do I call it from code?

A POST request to https://getmegabrain.com/api/gateway/v1/queue/<model id> submits the job; then poll status_url until it is COMPLETED and fetch the video link from response_url. There is a Python example below, and every model’s parameters are on its page.

Get your API key

Sign-up is open. Create an account, top up the balance by card and create a key: it works for every text, image, video and audio model in the catalogue. Credits never expire.

Questions? Write to team@getmegabrain.com