> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidgo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync Lipsync 3 Video to Video

> The Sync Lipsync 3 Video to Video API regenerates the lips in a video of up to 300 seconds to match new audio, with five sync modes for length mismatches.

> [!TIP]
>
> 1. After submission, a `task_id` will be returned. If you provided a `callback_url`, when the task status becomes `finished` or `failed`, a POST request will be sent to the `callback_url`.
> 2. Regardless of whether `callback_url` is provided, you can retrieve the result through the unified [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) endpoint.

Sync Lipsync 3 is Sync Labs' sync-3 lip-sync model. Sync Lipsync 3 Video to Video keeps the original performance in a video and regenerates only the lip movements so they match a new audio track. Use it for visual dubbing, dialogue replacement, localized ads and multilingual creator videos. Sync Labs lists 95+ languages for sync-3.

To make a still portrait talk, use [Sync Lipsync 3 Image to Video](https://docs.vidgo.ai/api-manual/video-series/sync-lipsync-3-image-to-video.md).

## Models

* **sync/lipsync-3/video-to-video** — Video + new audio to a re-synced video.

## Features

* Lip sync on existing footage, keeping the rest of the performance.
* Video and audio up to 300 seconds each.
* Five `sync_mode` options for video and audio of different lengths.

## Required parameters

* `video_url` (string): The video to re-sync, up to 300 seconds and 200 MB, as a publicly accessible HTTP(S) URL.
* `audio_url` (string): The new audio, up to 300 seconds and 50 MB, as a publicly accessible HTTP(S) URL.

## Optional parameters

* `sync_mode` (string): `cut_off`, `loop`, `bounce`, `silence` or `remap`. Default `cut_off`.

## Duration

The output length depends on `sync_mode`:

| sync\_mode | Output length |
| - | - |
| `cut_off` (default) | The shorter of the video and the audio |
| `loop` | The longer of the two; the video repeats |
| `bounce` | The longer of the two; the video plays back and forth |
| `silence` | The longer of the two; the audio is padded with silence |
| `remap` | The audio length |

## Output

* One MP4 video in the `files` array of [Query Task Status](https://docs.vidgo.ai/api-manual/task-management/status.md) and the callback payload.

## Examples

* **Dub a clip**: an interview video and a translated line with `sync_mode: cut_off`.
* **Follow the audio length**: a presenter clip with a longer voice-over and `sync_mode: remap`, with a `callback_url`.

## Notes

* Keep the speaker's mouth visible and reasonably large in frame for the most precise sync.
* Both files are measured at submission; media that cannot be downloaded or read, or that runs longer than 300 seconds, returns 400.
* Put `model` and `callback_url` at the request root, next to `input`. `input` accepts only the fields above; other fields return 400.
* Credits are charged at submission per second of expected output length (see [Duration](#duration)), rounded up to whole seconds. A failed task is refunded in full. See the [pricing page](https://vidgo.ai/apis/api-pricing) for current rates.


## OpenAPI

````yaml api-manual/video-series/sync-lipsync-3-video-to-video.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Sync Lipsync 3 Video to Video
  description: >-
    The Sync Lipsync 3 Video to Video API regenerates the lips in a video of up
    to 300 seconds to match new audio, with five sync modes for length
    mismatches.
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: Production server
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Sync Lipsync 3 Video to Video
      summary: Submit Sync Lipsync 3 Video to Video Task
      operationId: submitSyncLipsync3VideoToVideoTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              dub:
                summary: Dub a clip (cut_off)
                value:
                  model: sync/lipsync-3/video-to-video
                  input:
                    video_url: https://example.com/interview.mp4
                    audio_url: https://example.com/dubbed-line.mp3
                    sync_mode: cut_off
              remap:
                summary: Follow the audio length (remap)
                value:
                  model: sync/lipsync-3/video-to-video
                  input:
                    video_url: https://example.com/presenter.mp4
                    audio_url: https://example.com/longer-voiceover.mp3
                    sync_mode: remap
                  callback_url: https://your-domain.com/callback
      responses:
        '200':
          description: >-
            Task submission result. A task ID identifies asynchronous work;
            generation may still be running.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          example: sync/lipsync-3/video-to-video
        callback_url:
          type: string
          format: uri
          description: Optional webhook URL for completion or failure notifications.
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - video_url
            - audio_url
          additionalProperties: false
          properties:
            video_url:
              type: string
              format: uri
              description: >-
                The video whose lip movements are regenerated, up to 300 seconds
                and 200 MB.


                Use a publicly accessible HTTP(S) download URL.
            audio_url:
              type: string
              format: uri
              description: >-
                The new audio the lips should follow, up to 300 seconds and 50
                MB.


                Use a publicly accessible HTTP(S) download URL.
            sync_mode:
              type: string
              enum:
                - cut_off
                - loop
                - bounce
                - silence
                - remap
              default: cut_off
              description: >-
                How a length mismatch between video and audio is handled.
                `cut_off` ends at the shorter input; `loop` repeats the video,
                `bounce` plays it back and forth and `silence` pads the audio,
                so these three run to the longer input; `remap` follows the
                audio length.
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-example-001
            status:
              type: string
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2026-11-25T10:30:00'
    ErrorResponse:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
          description: Error message. See [Error Codes](/api-manual/error-codes).
          example: audio_url is required
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Use `Authorization: Bearer VIDGO_API_KEY`. Create a key in **Dashboard →
        API Key** (https://vidgo.ai/apis/dashboard/api-key).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.