Lip Sync Video API: Re-voice Existing Footage

Send one talking-head video and one speech track to POST /api/v1/videos/generations with model: lipsync-video. Only the mouth region is redrawn; framing, background and resolution of your source stay exactly as they were. Track the job with the returned img_uuid by polling or by callback.
Get API Key
Studio microphone in front of a monitor showing a presenter mid-sentence

New Words, Same Footage

Only the mouth changes

The rest of the frame is left untouched, so the output keeps the resolution, framing and background of video_url. Frames without a detectable face pass through unchanged.
Film frame on a light box with a small highlighted region around the lower face area

Trim or loop to fit the audio

video_mode: normal (default) ends at whichever of video and audio is shorter. loop keeps all of your audio and plays the video forward and backward to fill it.
Two tape reels of different sizes connected by a looping ribbon of tape

Measured before you pay

Both files are copied to GoEnhance storage and measured first. Their real length and resolution set the price and limits, and over-limit requests are rejected before any tokens are deducted.
Precision ruler and stopwatch next to a strip of film on a workbench
There is no duration or resolution field; both are measured from your files.

Lip Sync Video Request Fields and Limits

model

Always lipsync-video.

video_url (required)

Video of the person to re-animate, up to 300 MB, short side at most 1080 pixels (540p, 720p or 1080p, portrait or landscape). A face must be visible.

audio_url (required)

Speech audio, up to 100 MB. Clear speech with little background noise gives the best result.

video_mode

normal (default) trims to the shorter input; loop follows the audio and repeats the video ping-pong style.

Maximum output length

420 seconds for 540p and 720p sources, 300 seconds for 1080p. Longer outputs are rejected, never silently truncated.

custom_callback_url

Optional public HTTPS URL that receives the job-detail body on each status change.
Billed per second of output, at the tier of your source video's resolution; partial seconds round up.

Lip Sync Video API Pricing

540p: 0.2 token ($0.004) per second

A 60-second output costs 12 tokens ($0.24).

720p: 0.3 token ($0.006) per second

A 60-second output costs 18 tokens ($0.36).

1080p: 0.5 token ($0.010) per second

A 60-second output costs 30 tokens ($0.60).

Output length sets the bill

In normal mode that is the shorter input; in loop mode it is the full audio length. Failed jobs are refunded automatically.

Integrate the Lip Sync Video API

1

1. Create an API key

Generate a key at /keys and send it as Authorization: Bearer <key> from your server.
2

2. Prepare the inputs

Host a video with a visible face at 1080p or below and a clean speech track; decide whether the output should follow the audio (loop) or the shorter file.
3

3. Submit the job

POST {"model": "lipsync-video", "video_url": "https://…", "audio_url": "https://…"} to /api/v1/videos/generations and store img_uuid.
4

4. Fetch the result

Poll GET /api/v1/jobs/detail or wait for your callback, then download the video before its link expires.
Create an API Key
Change what is said on screen without reshooting.

What Developers Build with Lip Sync Video

Dubbing and localization

Pair translated voice tracks with the original presenter footage so lips match the new language.

Script fixes after the shoot

Replace a line in a product demo or training video with re-recorded audio instead of filming again.

Personalized video messages

Reuse one recorded clip with many generated voice tracks for outreach or onboarding.

Long-form presenters

Loop a short idle clip of a host under several minutes of narration for courses and explainers.
Inputs, length, pricing and output.

Lip Sync Video API FAQ

What is the Lip Sync Video API endpoint?

POST https://api.goenhance.ai/api/v1/videos/generations with model: lipsync-video.

Will the output resolution change?

No. Only the mouth is redrawn, so the output keeps the resolution, framing and background of your source video.

How is it different from ai-talking-avatar-video?

This model keeps every pixel except the mouth. ai-talking-avatar-video regenerates the whole frame so head movement and expressions follow the speech.

How is it priced?

Per output second by source resolution: 0.2 token ($0.004) at 540p, 0.3 token ($0.006) at 720p and 0.5 token ($0.010) at 1080p.

What if my audio is longer than the video?

With video_mode: loop the video is played forward and backward to cover the whole audio; with normal the output stops at the end of the video.

Can I send a 4K video?

No. Anything above 1080p is rejected before any tokens are deducted.

Start Building with the Lip Sync Video API