---
title: "AI Lip Sync API | Rendley API Docs"
description: "Match a speaker's mouth movements to a new audio track. Use it to dub footage into another language, or to replace a bad take without a reshoot."
url: https://docs.rendley.com/api/lipsync/
---

# Lip sync

Match a speaker's mouth movements to a new audio track. Use it to dub footage into another language, or to replace a bad take without a reshoot.

## Lip-sync a video to audio

Enqueue a job to lip-sync a video clip to a separate audio track.

POST`https://api.rendley.com/v1/ai/lipsync`

", "audio_file_hash": "

Response 200

```
{
  "data": {
    "job_id": "d97241f2-e1e4-4651-b078-8663fc35c584"
  }
}
```

## Calculate lipsync cost

Calculate the credit cost of lip-syncing a video clip to an audio track.

POST`https://api.rendley.com/v1/ai/lipsync/cost`

", "audio_file_hash": "

Response 200

```
{
  "data": 0
}
```

Generation is asynchronous. These endpoints return a `job_id`, so poll [GET /v1/jobs/{id}](https://docs.rendley.com/api/jobs/) until the job completes and read the download URL off the finished job. [Jobs and polling](https://docs.rendley.com/api/polling/) covers the loop, and [Generate and download](https://docs.rendley.com/api/examples/generate-and-download/) is a script that runs it end to end.

[Previous pageVideo generation API](https://docs.rendley.com/api/generate-video/) [Next pageText to speech](https://docs.rendley.com/api/text-to-speech/)
