dubbing
dubbing
dubbing

Get Dubbed Transcript

Changed on

Returns transcript for the dub as an SRT or WEBVTT file.

get/v1/dubbing/{dubbing_id}/transcript/{language_code}

Request

  • Base URL
    https://api.elevenlabs.io (the document declares no server; this is the origin it was published from)
  • URL
    https://api.elevenlabs.io/v1/dubbing/{dubbing_id}/transcript/{language_code}
  • Auth
    none declared

Path parameters

dubbing_idstring required

ID of the dubbing project.

language_codestring required

ISO-693 language code to retrieve the transcript for. Use 'source' to fetch the transcript of the original media.

Example:source

Query parameters

format_type'srt' | 'webvtt' | 'json'

Format to return transcript in. For subtitles use either 'srt' or 'webvtt', and for a full transcript use 'json'. The 'json' format is not yet supported for Dubbing Studio.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

OR
string required

Changes

    • info

      api operation id Get_dubbed_transcript_v1_dubbing__dubbing_id__transcript__language_code__get removed and replaced with get_dubbed_transcript_file

    • info

      endpoint deprecated

    • info

      added the new enum value json to the query request parameter format_type

    • info

      added the media type application/json for the response with the status

    • breaking

      for the query request parameter format_type, default value srt was added

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/text for the response with the status

    • info

      api operation id Get_transcript_for_dub_v1_dubbing__dubbing_id__transcript__language_code__get removed and replaced with Get_dubbed_transcript_v1_dubbing__dubbing_id__transcript__language_code__get

    • info

      header request parameter xi-api-key list-of-types was widened by adding types null

    • info

      for the header request parameter xi-api-key, the type was generalized from string to no type

    • info

      added the media type text/plain for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status