-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Problem
The ElevenLabs API currently provides a GET endpoint to retrieve dubbed transcripts (/v1/dubbing/:dubbing_id/transcript/:language_code
), but there's no corresponding PUT/PATCH endpoint to update or modify existing transcripts for a dubbing project.
Use Case
When working with dubbing projects, users often need to:
- Fix transcription errors or typos
- Adjust timing of subtitle segments
- Update translations for better accuracy
- Modify subtitle formatting or content
Current Limitations
- Only read access to transcripts via GET
/v1/dubbing/:dubbing_id/transcript/:language_code
- No way to programmatically update transcript content
- Users must manually edit transcripts through the web interface or regenerate entire dubbing projects
Proposed Solution
Add a new API endpoint to update dubbing transcripts:
PUT /v1/dubbing/:dubbing_id/transcript/:language_code
Request Body:
{
"format_type": "srt|webvtt",
"transcript_content": "1\n00:00:01,000 --> 00:00:04,000\nUpdated subtitle content\n\n2\n00:00:05,000 --> 00:00:07,000\nMore updated content"
}
Response:
- 200: Transcript updated successfully
- 422: Invalid transcript format or content
- 404: Dubbing project or language not found
Benefits
- Enable programmatic transcript editing
- Support for batch transcript updates
- Integration with external subtitle editing tools
- Improved workflow for content creators and localization teams
Related
- Current GET endpoint: https://elevenlabs.io/docs/api-reference/dubbing/transcript/get-transcript-for-dub
Metadata
Metadata
Assignees
Labels
No labels