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

# Get the burn-in state of one language

> Returns the burn-in state of one target language: status (null = never started, "aligning", "rendering", "ready" or "failed"), style and accent_color of the last run (accent_color is null for a style without an accent colour or when its default colour is used), error (only when "failed": what went wrong) and api_runs_remaining. Only when "ready" does the answer add download_url, download_file_name and download_expires_at, built like the "subtitled-video" entry of GET /api/v1/dubs/{id}/downloads: a signed URL valid until download_expires_at (1 hour after the request), or download_url null with download_error "video_corrupted" when the file fails the integrity check.

Works for a dub in any status. An unknown dub, a dub of another account and a target_language the dub does not have return 404. Read-only: nothing is counted, no credits are charged and there is no limit.



## OpenAPI

````yaml /openapi.json get /api/v1/dubs/{id}/subtitled-video
openapi: 3.1.0
info:
  title: Dubly API
  version: 1.0.0
  description: >-
    The Dubly public API creates, edits and downloads AI-dubbed videos. Every
    request authenticates with an API token as a Bearer token
    ([Authentication](/authentication)). Every answer is JSON in an envelope: `{
    "status": "success", "response": … }` on success, `{ "status": "error",
    "message": … }` on failure — see [Errors](/guides/errors).
servers:
  - url: https://app.dubly.ai
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Create dubs
    description: >-
      Start a dub from a YouTube video, a Google Drive file or a public video
      URL.
  - name: Dubs
    description: >-
      Read a dub's status and results, rename, move or delete it, list its
      downloads and set the original-voice volume.
  - name: Dub editing
    description: >-
      Read and correct segments, edit the timeline, re-voice a segment and apply
      the changes with an update. See [Edit limits](/guides/edit-limits).
  - name: Lip sync
    description: >-
      Start lip sync for a language, follow its progress and switch lip sync per
      block.
  - name: Subtitled video
    description: Burn subtitles into the video of a language and fetch the result.
  - name: Account
    description: List the projects and custom voices of your account.
paths:
  /api/v1/dubs/{id}/subtitled-video:
    get:
      tags:
        - Subtitled video
      summary: Get the burn-in state of one language
      description: >-
        Returns the burn-in state of one target language: status (null = never
        started, "aligning", "rendering", "ready" or "failed"), style and
        accent_color of the last run (accent_color is null for a style without
        an accent colour or when its default colour is used), error (only when
        "failed": what went wrong) and api_runs_remaining. Only when "ready"
        does the answer add download_url, download_file_name and
        download_expires_at, built like the "subtitled-video" entry of GET
        /api/v1/dubs/{id}/downloads: a signed URL valid until
        download_expires_at (1 hour after the request), or download_url null
        with download_error "video_corrupted" when the file fails the integrity
        check.


        Works for a dub in any status. An unknown dub, a dub of another account
        and a target_language the dub does not have return 404. Read-only:
        nothing is counted, no credits are charged and there is no limit.
      operationId: get-subtitled-video
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            The dub ID (path parameter). An unknown dub, a dub of another
            account and a deleted dub return 404.
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        - name: target_language
          in: query
          required: true
          description: >-
            BCP 47 target language code of the language to read (query
            parameter, e.g. ?target_language=de). A language the dub does not
            have returns 404.
          schema:
            type: string
            enum:
              - af
              - ar
              - hy
              - as
              - az
              - be
              - bn
              - bs
              - bg
              - ca
              - ceb
              - ny
              - zh
              - hr
              - cs
              - da
              - nl
              - en
              - et
              - fil
              - fi
              - fr
              - gl
              - ka
              - de
              - el
              - gu
              - ha
              - he
              - hi
              - hu
              - is
              - id
              - ga
              - it
              - ja
              - jv
              - kn
              - kk
              - ko
              - ky
              - lv
              - ln
              - lt
              - lb
              - mk
              - ms
              - ml
              - mr
              - ne
              - 'no'
              - ps
              - fa
              - pl
              - pt
              - pa
              - ro
              - ru
              - sr
              - sd
              - sk
              - sl
              - so
              - es
              - sw
              - sv
              - ta
              - te
              - th
              - tr
              - uk
              - ur
              - vi
              - cy
              - en-GB
              - en-US
              - es-419
              - es-ES
          example: de
      responses:
        '200':
          description: The burn-in state of the language.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  response:
                    type: object
                    properties:
                      dub_id:
                        type: string
                      target_language:
                        type: string
                      status:
                        anyOf:
                          - type: string
                            enum:
                              - aligning
                              - rendering
                              - ready
                              - failed
                          - type: 'null'
                        description: >-
                          null = never started, "aligning", "rendering", "ready"
                          or "failed".
                      style:
                        anyOf:
                          - type: string
                            enum:
                              - business
                              - social
                          - type: 'null'
                        description: Style of the last run; null when never started.
                      accent_color:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Highlight colour of the last run; null for a style
                          without an accent colour or when its default colour is
                          used.
                      error:
                        type: string
                        description: 'Only when "failed": what went wrong.'
                      download_url:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Only when "ready": signed URL of the file, valid until
                          download_expires_at (1 hour); null when the file fails
                          the integrity check.
                      download_file_name:
                        type: string
                        description: 'Only when "ready": file name of the download.'
                      download_expires_at:
                        type:
                          - string
                          - 'null'
                        description: >-
                          Only when "ready": when download_url expires (ISO
                          8601); null together with download_url.
                      download_error:
                        type: string
                        const: video_corrupted
                        description: >-
                          Only when the file fails the integrity check:
                          "video_corrupted".
                      api_runs_remaining:
                        type: number
                        description: The API burn-ins this language has left (at most 2).
                    required:
                      - dub_id
                      - target_language
                      - status
                      - style
                      - accent_color
                      - api_runs_remaining
                required:
                  - status
                  - response
              examples:
                ready:
                  summary: Ready
                  value:
                    status: success
                    response:
                      dub_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      target_language: de
                      status: ready
                      style: social
                      accent_color: '#47CD89'
                      download_url: >-
                        https://...amazonaws.com/.../subtitled_video.mp4?X-Amz-Signature=...
                      download_file_name: My_Video_de_subtitled_video.mp4
                      download_expires_at: '2026-11-24T13:00:00.000Z'
                      api_runs_remaining: 1
                corrupted:
                  summary: Ready, but the file failed the integrity check
                  value:
                    status: success
                    response:
                      dub_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      target_language: de
                      status: ready
                      style: business
                      accent_color: null
                      download_url: null
                      download_file_name: My_Video_de_subtitled_video.mp4
                      download_expires_at: null
                      download_error: video_corrupted
                      api_runs_remaining: 1
                failed:
                  summary: Failed
                  value:
                    status: success
                    response:
                      dub_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      target_language: de
                      status: failed
                      style: business
                      accent_color: null
                      error: Rendering the subtitled video failed. Please try again.
                      api_runs_remaining: 1
                neverStarted:
                  summary: Never started
                  value:
                    status: success
                    response:
                      dub_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                      target_language: de
                      status: null
                      style: null
                      accent_color: null
                      api_runs_remaining: 2
        '400':
          description: >-
            BAD_REQUEST — The dub ID is not a UUID, or target_language is
            missing or not a supported target language code.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: UNAUTHORIZED — Missing or invalid API token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: >-
            NOT_FOUND — An unknown dub, a dub of another account, or a
            target_language the dub does not have.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: >-
            INTERNAL_ERROR — The dub or its API usage could not be read, or the
            download link could not be created. Retry the request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        status:
          type: string
          const: error
        message:
          type: string
      required:
        - status
        - message
      description: >-
        The error envelope. The HTTP status carries the error code; `message`
        says what went wrong, in English.
      examples:
        - status: error
          message: Dub not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API token from Settings → API in the Dubly web app, sent as
        `Authorization: Bearer <token>`.

````

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