provider dubbingdubbingdubbing GET
/v1/dubbing/{dubbing_id}/transcript/{language_code} @utdk/elevenlabs
/v1/dubbing/{dubbing_id}/transcript/{language_code} Get Dubbed Transcript
Returns transcript for the dub as an SRT or WEBVTT file.
- 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 query
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.getDubbedTranscriptFile({
"format_type": "srt"
})