LatentSync Lip-Sync API
Sync lip movements to any audio track on an existing video. Billed in Varosity Credits.
$0.05/s on Varosity credits. Clips up to 60s with native audio.
no muapi.ai account needed · provider's list price, no markup · failed renders never billed
Best for
- smooth temporal consistency
- fast inference
- any video + audio
Trade-offs
- needs pre-existing video
- no scene generation
How to get the best result
Re-lip-syncing an existing video to a new audio track (dubbing, voice swaps) without regenerating the scene. Pick instead: omnihuman to animate a still photo; heygen-video-translate for full translation dubbing.
Prompting
- No prompt; LatentSync conditions on the audio via Whisper, so clean, clear speech gives the best sync.
- Use footage with a detectable, well-framed face; the pipeline is built around face crops.
Settings on Varosity
- referenceImageUrl carries the source VIDEO URL (or providerOptions.videoUrl); audioUrl is the new track.
- Both inputs are required.
Avoid
- Passing an image instead of a video in referenceImageUrl.
- Audio much longer than the video.
Example prompt
(no prompt) referenceImageUrl: URL of the source MP4 with a visible speaker; audioUrl: replacement voice track of matching length.
From github.com, checked against what Varosity sends.
Call it from your code
One Varosity key works for every model. Video renders are async — the response has a jobId; poll GET /api/v1/jobs/{jobId} until status is "succeeded", then read outputUrl.
Before you call it
- muapi-latentsync needs the source video (sent as referenceImageUrl) and an audio track (audioUrl).
curl -X POST https://varosity.ai/api/v1/video/generate \
-H "Authorization: Bearer $VAROSITY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "cinematic aerial of a coastal road at golden hour, slow push-in",
"modelId": "muapi-latentsync",
"aspectRatio": "16:9",
"durationSec": 5
}'Or use LatentSync Lip-Sync over MCP
Connect ChatGPT, Claude, Cursor or any MCP client to https://varosity.ai/api/mcp (sign in, or use your key), then say:
"Use Varosity with muapi-latentsync to make a clip of …"MCP setup for your agent
Alternatives to LatentSync Lip-Sync
- HeyGen Video Translatemultilingual lip-sync dubbing · preserves original speaker appearance$0.10/s
- D-ID AI Presentertalking avatars from any photo · text-to-presenter$0.05/s
- HeyGen Avatar (Digital Twin)studio-grade lip sync · Avatar IV / Avatar V motion engines$0.08/s
- HeyGen Photo Avatar (Avatar IV)animate ANY photo as the speaker · Avatar IV motion engine$0.08/s
- LivePortrait (Performance Transfer)performance transfer from a driving video · transfers head motion + facial expressions + lip movement$0.05/s
- OmniHuman 1.5talking avatars · from single photo$0.16/s