Documentation
Lip sync
Make the lips of the person speaking on screen follow a new voice-over.
Lip sync takes a video with someone speaking whose sound is already the new voice-over (a translation, a new script, a recorded voice), and redoes the lips of the person on screen so they follow that voice. The video's sound does not change: only the lips are redone. Over the API, a separate voice-over is still possible.
The face to sync is found on its own, with nothing to choose. It works best with one face clearly visible, facing the camera; vertical, square and horizontal videos are all handled. A part where no face can be redone keeps its original picture and is not charged.
In the app, open Lip sync in the menu: drop one or more videos with their voice-over (up to 20 at once), and launch. There is nothing to set. Each video shows up in the list below, ready to watch and download.
Price
8 credits per second of video where a face is redone (40 minimum). The launch holds the video's length (or the separate voice-over's), then gives back what was not used. No usable face: nothing is taken. A failure or a stop gives everything back. Lip sync is included from the Growth plan.
Start a lip sync
POST /v1/lipsyncs with a video, a link or an upload (Uploads). Its sound is the voice the lips follow. For a separate voice-over, add audio_url or audio_upload_id.
POST /v1/lipsyncs
{
"upload_id": "up_7hQ2mV9xK4pT1rWb8NcZ"
}| Field | Description |
|---|---|
video_url or upload_id |
The video: a direct file link, Google Drive, Dropbox, TikTok, Instagram or YouTube, or an upload |
audio_url or audio_upload_id |
Optional, only for a separate voice-over: MP3, M4A, WAV, AAC or OGG. Without them, the video's own sound is used |
audio_start |
With a separate voice-over: when it starts in the video, in seconds (default 0) |
person |
Accepted for compatibility (P1, P2…, or none) but ignored: the face is chosen on its own |
keep_original_audio |
With a separate voice-over: the video's own sound stays under it (default); false replaces it |
name |
Optional name |
The answer (202) is the lip sync, with its id (lip_…). It makes no Smart Editor project: caption_project_id is null. origin tells who started it: tool (this tool), editor (Smart Editor, its project in caption_project_id) or translation (Translation Studio). The same Idempotency-Key header as for the other POST requests avoids a double launch.
Follow it
GET /v1/lipsyncs/{id} gives the status and the progress (0 to 1):
queued,processing(withstage:syncing, thenassembling), thenfinalizingwhile the file with the voice-over is made (a few seconds);succeeded:result.url(valid one hour) is the synced video, with its own sound (or with the separate voice-over);synced_secondsis what was redone and charged;changed: falsemeans no face could be redone (the file is then the video as it was, and nothing is charged);failedorcanceled, witherror.codeanderror.message; the credits come back.
persons is always empty and confidence is null: there is no choice of person to report.
POST /v1/lipsyncs/{id}/cancel stops a running lip sync (credits given back). GET /v1/lipsyncs lists every lip sync of the workspace, most recent first (limit, starting_after, status), the ones started in the editor and by Translation Studio included.
On an existing project
A Smart Editor project that already has a voice-over can be synced directly with POST /v1/captions/{id}/lipsync (see Smart Editor): its next export then uses the synced video.
With an AI agent
Over MCP, lip_sync starts a lip sync with the same fields, and get_lip_sync follows it (it can wait for the result). sync_lips syncs an existing project.