Lip Sync with Sync 3
sync3_lip_sync_videoMain SwitchApp lip-sync for your videos. Uses Sync Labs Sync 3 only — never Kling. Call action="create" with video_url plus either sound_file (a base64 audio data URI) or audio_url; then call action="status" with the returned task_id. Sync 3 processes the whole clip in one pass with occlusion-aware lip sync, preserves the supplied audio, and returns a branded SwitchApp view_url when complete. Charges credits on create; failed jobs are refunded. PRICE: One price per lip sync job, charged when the job is created; returned if it fails. Checking status is free. Pass quote_only: true first to get the exact price; nothing is made and nothing is charged. To run it (not for a quote) send action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Create a Sync 3 lip-sync job or check its status. | |
| task_id | No | status: the sync: task_id returned by create. | |
| audio_url | No | create: the audio: an https link (the audio_url from generate_audio works as is) or the asset_id from upload_reference_asset (kind audio). Use instead of sound_file. | |
| video_url | No | create: the source video: an https link, the id of one of your Switch videos (from generate_video or list_my_videos), or the asset_id from upload_reference_asset. | |
| quote_only | No | true answers the price only: nothing is made and nothing is charged. | |
| sound_file | No | create: base64 data URI of the audio (for example data:audio/mpeg;base64,...). | |
| speak_spans | No | create, two-voice scenes: the seconds when the person ON CAMERA speaks: the time windows you wrote in front of her lines in generate_audio's text (exact), or from its sentences and words (timestamps: true) when a line was not timed. Switch silences everything else in a copy of the audio so the mouth follows only those lines; the other voice never moves it. Up to 60 spans, in order, no overlap. | |
| keep_background | No | create: keep the clip's own music and room under the new speech (default true). Switch splits the soundtrack into layers and lays the non-voice layers back; only the voice changes. false gives the new speech alone. | |
| scene_audio_url | No | create: the full scene mix (both voices and the room) to lay onto the synced picture when it is done, usually the same audio_url (an https link or an upload_reference_asset asset_id). With speak_spans this makes one dialogue do both jobs: drive the lips and play underneath. Replaces keep_background. |