Lip-sync Video
xbrush_video_lip_syncSync a face video or animated portrait to speech audio or built-in TTS. Submits asynchronous lip-sync generation for talking-head videos or talking photos.
Instructions
Sync a face to speech: either a face VIDEO (pixverse-lipsync, infinite-talk) or a still portrait PHOTO animated as a talking head (fabric-1.0, fabric-1.0-fast). Speech comes from audio_url, or from built-in TTS via text + voice_id. Submits async — lip-sync generation can take 30s to several minutes. Poll with xbrush_get_request.
Args: video_url (string): Face video URL — video-driven models. Provide this OR image_url. image_url (string): Still portrait URL — talking photo (fabric-1.0/-fast). audio_url (string): Audio URL to drive the mouth movement. Or use text + voice_id. text (string): Text to speak via built-in TTS (with voice_id from xbrush_list_voices). voice_id (string): TTS voice for text. duration (number, optional): Output seconds (1-60). resolution (string, optional): "480p" or "720p" (720p costs more). model (string, optional): Lip-sync model ID; which inputs are required is model-specific.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to speak via built-in TTS instead of audio_url (use with voice_id; see xbrush_list_voices). | |
| model | No | Lip-sync model ID: pixverse-lipsync / infinite-talk (video input), fabric-1.0 / fabric-1.0-fast (still-photo input, 'talking photo'). Defaults to the server's default model. | |
| duration | No | Output duration in seconds (1-60). Model default if omitted. | |
| voice_id | No | Voice for built-in TTS when using text (from xbrush_list_voices). | |
| audio_url | No | URL of the speech audio to lip-sync. Alternative: text + voice_id (built-in TTS). | |
| image_url | No | URL of a still portrait photo to animate — talking photo (fabric-1.0/-fast). Provide video_url OR image_url. | |
| video_url | No | URL of the source face video (video-driven models). Provide video_url OR image_url. | |
| resolution | No | Output resolution tier — currently "480p" or "720p" (higher costs more; e.g. fabric-1.0 480p 0.104 vs 720p 0.195 credits/sec). Server-validated. |