provider dubbingdubbingresourcesegmententerprise PATCH /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}
@utdk/elevenlabs /v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}
Modify A Single Segment
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub.
dubbing_id path required
ID of the dubbing project.
string
segment_id path required
ID of the segment
string
language path required
ID of the language.
string
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.

updateSegmentLanguage
PATCH/v1/dubbing/resource/{dubbing_id}/segment/{segment_id}/{language}
Modifies a single segment with new text and/or start/end times. Will update the values for only a specific language of a segment. Does not automatically regenerate the dub.

Parameters

required

ID of the dubbing project.

required

ID of the segment

required

ID of the language.

Input

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.updateSegmentLanguage()