> ## 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.

# Dub status lifecycle

> What each dub status means, and how long result links stay valid.

A dub runs in the background after you create it. `GET /api/v1/dubs/{id}` reports where it stands in `status`:

| Status | Meaning | `url` |
| - | - | - |
| `Processing` | The dub is being created — download, transcription, translation, voices, rendering. | — |
| `Dubbed` | The dub is finished. | One link to the final video per target language |
| `Updating` | The dub is being re-rendered after an update in the editor, or re-mixed after a change of the original-voice volume. | — |
| `Error` | The dub failed. | — |

```mermaid theme={null}
flowchart LR
  Processing --> Dubbed
  Processing --> Error
  Dubbed -- "Update" --> Updating
  Dubbed -- "Volume change" --> Updating
  Updating --> Dubbed
```

Every answer, in every status, also carries `audio_settings`: `original_voice_volume_db` (the volume of the original voice under the dubbed one, in dB), `adjustable` (whether the original-voice volume can be changed for this dub — always `false` for a dub created through the API, which cannot keep the original voice yet) and `api_changes_remaining` (API volume changes left for this dub; `null` if it cannot be read at the moment — the rest of the answer is unaffected).

```json Processing theme={null}
{
  "status": "success",
  "response": {
    "status": "Processing",
    "audio_settings": {
      "original_voice_volume_db": -20,
      "adjustable": false,
      "api_changes_remaining": 2
    }
  }
}
```

```json Updating theme={null}
{
  "status": "success",
  "response": {
    "status": "Updating",
    "audio_settings": {
      "original_voice_volume_db": -20,
      "adjustable": false,
      "api_changes_remaining": 2
    }
  }
}
```

```json Dubbed theme={null}
{
  "status": "success",
  "response": {
    "status": "Dubbed",
    "url": [
      "https://...amazonaws.com/.../final_video.mp4?X-Amz-Expires=604800&...",
      "https://...amazonaws.com/.../final_video.mp4?X-Amz-Expires=604800&..."
    ],
    "audio_settings": {
      "original_voice_volume_db": -20,
      "adjustable": false,
      "api_changes_remaining": 2
    }
  }
}
```

```json Error theme={null}
{
  "status": "success",
  "response": {
    "status": "Error",
    "audio_settings": {
      "original_voice_volume_db": -20,
      "adjustable": false,
      "api_changes_remaining": 2
    }
  }
}
```

## After an update or a volume change

An update — in the web app's editor, or through the API after you corrected segments — re-renders the dub. A change of the original-voice volume of a finished dub — in the web app, or with `PATCH /api/v1/dubs/{id}/audio-settings` — re-mixes its languages. While either runs, the status is `Updating` without URLs. Once the new version is ready, the status is `Dubbed` again, with URLs to the updated video.

An update also resets a finished lip sync of that language: the lip-sync status is `NotStarted` again. Start the lip sync again once the dub is `Dubbed`. A volume change does not: the lip sync stays `Synced`, and its video is not re-made with the new volume.

## Result links

While the status is `Dubbed`, `url` holds one signed link to the final video per target language. The links are valid for 7 days. Download the files instead of storing the links, and call [`GET /api/v1/dubs/{id}`](https://docs.dubly.ai/api-reference/dubs/get-dub) again for fresh ones. The lip-sync video URL of [`GET /api/v1/dubs/{id}/lipsync`](https://docs.dubly.ai/api-reference/lip-sync/get-lipsync) is signed and valid for 7 days as well.

[`GET /api/v1/dubs/{id}/downloads`](https://docs.dubly.ai/api-reference/dubs/get-dub-downloads) lists every file the Download tab of the web app offers for one language. Its links are valid for 1 hour — the same as a download in the web app — and stop working at `expires_at`: download the file, and call the endpoint again for a fresh link.

> [!WARNING]
>
> Download the file, do not store the link. A stored link stops working when it expires — ask the API again for a fresh one.

A deleted dub, or one of another account, answers `NOT_FOUND`. See [Errors](https://docs.dubly.ai/guides/errors.md).


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