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

# Introduction

> Create, edit and download AI-dubbed videos with the Dubly API.

The Dubly API lets your own code do what the Dubly web app does: start a dub from a YouTube video, a Google Drive file or a public video URL, follow it until it is finished, correct its segments, add lip sync or burned-in subtitles, and download the results.

> [card] [Quickstart](https://docs.dubly.ai/quickstart.md)
>
> Create an API token, start your first dub and download the result.

> [card] [Authentication](https://docs.dubly.ai/authentication.md)
>
> Send your API token as a Bearer token with every request.

> [card] [Dub status lifecycle](https://docs.dubly.ai/guides/dub-status.md)
>
> What each dub status means and how long result links stay valid.

> [card] [Errors](https://docs.dubly.ai/guides/errors.md)
>
> The error envelope and what each error code means.

> [card] [Edit limits](https://docs.dubly.ai/guides/edit-limits.md)
>
> How many edits, updates and burn-ins the API allows per dub.

> [card] [Supported target languages](https://docs.dubly.ai/guides/supported-languages.md)
>
> The language codes you can dub into, per dubbing engine.

## Base URL

Every endpoint path in this documentation is relative to:

```text theme={null}
https://app.dubly.ai
```

## Response format

All responses follow the same envelope format. A successful request carries its payload in `response`; a failed one carries a human-readable `message` — see [Errors](https://docs.dubly.ai/guides/errors.md).

```json Success theme={null}
{
  "status": "success",
  "response": { ... }
}
```

```json Error theme={null}
{
  "status": "error",
  "message": "Human-readable error message"
}
```

## API reference

The **API Reference** tab documents every endpoint with its parameters, responses and errors, and lets you send requests right from the page with your token. Its sections:

**Create dubs** — Start a dub from a YouTube video, a Google Drive file or a public video URL.

* [`POST /api/v1/dubs/youtube`](https://docs.dubly.ai/api-reference/create-dubs/create-dub-youtube) — Create a dub from a YouTube video
* [`POST /api/v1/dubs/google-drive`](https://docs.dubly.ai/api-reference/create-dubs/create-dub-google-drive) — Create a dub from a Google Drive video
* [`POST /api/v1/dubs/url`](https://docs.dubly.ai/api-reference/create-dubs/create-dub-url) — Create a dub from a video URL

**Dubs** — Read a dub's status and results, rename, move or delete it, list its downloads and set the original-voice volume.

* [`GET /api/v1/dubs/{id}`](https://docs.dubly.ai/api-reference/dubs/get-dub) — Get dub status and result URLs
* [`PATCH /api/v1/dubs/{id}`](https://docs.dubly.ai/api-reference/dubs/patch-dub) — Rename a dub or move it to a project
* [`DELETE /api/v1/dubs/{id}`](https://docs.dubly.ai/api-reference/dubs/delete-dub) — Delete a dub permanently
* [`GET /api/v1/dubs/{id}/downloads`](https://docs.dubly.ai/api-reference/dubs/get-dub-downloads) — List the downloads of one language
* [`PATCH /api/v1/dubs/{id}/audio-settings`](https://docs.dubly.ai/api-reference/dubs/patch-dub-audio-settings) — Change the volume of the original voice

**Dub editing** — Read and correct segments, edit the timeline, re-voice a segment and apply the changes with an update. See [Edit limits](https://docs.dubly.ai/guides/edit-limits.md).

* [`GET /api/v1/dubs/{id}/segments`](https://docs.dubly.ai/api-reference/dub-editing/get-dub-segments) — List the segments of one language
* [`PATCH /api/v1/dubs/{id}/segments`](https://docs.dubly.ai/api-reference/dub-editing/patch-dub-segments) — Correct segments of one language
* [`POST /api/v1/dubs/{id}/segments/timeline`](https://docs.dubly.ai/api-reference/dub-editing/save-dub-timeline) — Save timeline edits of one language
* [`POST /api/v1/dubs/{id}/segments/{segmentId}/regenerate`](https://docs.dubly.ai/api-reference/dub-editing/regenerate-dub-segment) — Re-voice one segment
* [`POST /api/v1/dubs/{id}/update`](https://docs.dubly.ai/api-reference/dub-editing/start-dub-update) — Apply pending edits and re-render
* [`GET /api/v1/dubs/{id}/update`](https://docs.dubly.ai/api-reference/dub-editing/get-dub-update) — Get the render state of one language

**Lip sync** — Start lip sync for a language, follow its progress and switch lip sync per block.

* [`POST /api/v1/dubs/{id}/lipsync`](https://docs.dubly.ai/api-reference/lip-sync/start-lipsync) — Start lip-sync for a subdub
* [`GET /api/v1/dubs/{id}/lipsync`](https://docs.dubly.ai/api-reference/lip-sync/get-lipsync) — Get lip-sync status and result URL
* [`GET /api/v1/dubs/{id}/lipsync/segments`](https://docs.dubly.ai/api-reference/lip-sync/get-lipsync-segments) — List the lip-sync blocks of one language
* [`PATCH /api/v1/dubs/{id}/lipsync/segments`](https://docs.dubly.ai/api-reference/lip-sync/patch-lipsync-segments) — Switch lip sync on or off per block

**Subtitled video** — Burn subtitles into the video of a language and fetch the result.

* [`POST /api/v1/dubs/{id}/subtitled-video`](https://docs.dubly.ai/api-reference/subtitled-video/start-subtitled-video) — Burn subtitles into the video of one language
* [`GET /api/v1/dubs/{id}/subtitled-video`](https://docs.dubly.ai/api-reference/subtitled-video/get-subtitled-video) — Get the burn-in state of one language

**Account** — List the projects and custom voices of your account.

* [`GET /api/v1/projects`](https://docs.dubly.ai/api-reference/account/list-projects) — List your projects
* [`GET /api/v1/custom-voices`](https://docs.dubly.ai/api-reference/account/list-custom-voices) — List your custom voices


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