provider dubbingdubbingdubbing GET /v1/dubbing/{dubbing_id}/transcripts/{language_code}/format/{format_type}
@utdk/elevenlabs /v1/dubbing/{dubbing_id}/transcripts/{language_code}/format/{format_type}
Retrieve A Transcript
Fetch the transcript for one of the languages in a dub.
dubbing_id path required
ID of the dubbing project.
string
language_code path required
ISO-693 language code to retrieve the transcript for. Use 'source' to fetch the transcript of the original media.
string
format_type path required
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.
enum: srt, webvtt, json
xi-api-key header
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.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getDubbingTranscripts
GET/v1/dubbing/{dubbing_id}/transcripts/{language_code}/format/{format_type}
Fetch the transcript for one of the languages in a dub.

Parameters

required

ID of the dubbing project.

required

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

required

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.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.getDubbingTranscripts()