TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/anil-matcha/open-generative-ai/llms.txt
Use this file to discover all available pages before exploring further.
processLipSync function generates audio-driven video output using one of 9 dedicated lip sync models. It supports two input modes: portrait image mode (portrait image + audio → animated talking video) and video mode (existing video + audio → lip-synced video). The function uses the same submit-and-poll pattern as other Muapi.ai generation functions, with a 900-attempt polling window to accommodate longer video processing times.
processLipSync(apiKey, params)
Your Muapi.ai API key.
Lip sync model ID. Available values:
infinitetalk-image-to-video— portrait image + audiowan2.2-speech-to-video— portrait image + audioltx-2.3-lipsync— portrait image + audio, supports 480p/720p/1080pltx-2-19b-lipsync— portrait image + audio, supports 480p/720p/1080psync-lipsync— video + audiolatentsync-video— video + audiocreatify-lipsync— video + audioveed-lipsync— video + audioinfinitetalk-video-to-video— video + audio
URL of the audio file to drive the lip sync animation. Supported formats: MP3, WAV, M4A.
URL of the portrait image to animate. Required for image-based models (
infinitetalk-image-to-video, wan2.2-speech-to-video, ltx-2.3-lipsync, ltx-2-19b-lipsync).URL of the source video to apply lip sync to. Required for video-based models (
sync-lipsync, latentsync-video, creatify-lipsync, veed-lipsync, infinitetalk-video-to-video).Optional prompt to guide motion style. Forwarded when the model’s
hasPrompt flag is enabled.Output resolution for models that support it:
480p, 720p, or 1080p. LTX models support all three; Infinite Talk and Wan 2.2 Speech support 480p and 720p.Seed for reproducible generation. Pass
-1 or omit for random.Optional callback invoked after submission with the
request_id.Promise<{ url: string, outputs: string[], status: string }>
The url field is the generated lip sync video URL.
Examples
Portrait image mode (image + audio → talking video):Model Capabilities
| Model | Input | Resolutions | Prompt |
|---|---|---|---|
| Infinite Talk | Portrait image + audio | 480p, 720p | Optional |
| Wan 2.2 Speech to Video | Portrait image + audio | 480p, 720p | Optional |
| LTX 2.3 Lipsync | Portrait image + audio | 480p, 720p, 1080p | Optional |
| LTX 2 19B Lipsync | Portrait image + audio | 480p, 720p, 1080p | Optional |
| Sync Lipsync | Video + audio | — | — |
| LatentSync | Video + audio | — | — |
| Creatify Lipsync | Video + audio | — | — |
| Veed Lipsync | Video + audio | — | — |
| Infinite Talk V2V | Video + audio | 480p, 720p | Optional |
