update dubbing to use dubbing v2 - #242
Merged
Merged
Conversation
tadaspetra
marked this pull request as draft
July 15, 2026 00:53
Drop the explicit modelId (the docs rely on the server default) and match the docs' wording on the signed output URL expiry. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Low Risk
Scoped to example/quickstart code and documentation; no production auth or shared infrastructure changes.
Overview
Migrates the Next.js dubbing quickstart from the legacy dubbing job API to Dubbing Projects (v2), where a project transcribes source media and a language target produces the dubbed output.
API routes now use
client.dubbing.project.create/project.get/project.language.getinstead ofdubbing.create,dubbing.get, anddubbing.audio.get. Create returns{ projectId, languageId }; status polling exposesprojectStatusandlanguageStatus. The audio proxy route is keyed byprojectIdandlanguageId, resolvesoutputs.losslessAudio, and streams the signed URL (replacing buffering an MPEG stream from the old SDK).The example UI tracks
projectId, polls untillanguageStatusiscompleted, shows separate transcribing vs generating messages, fetches audio bylanguageId, and offers WAV download instead of MP3. Docs (PROMPT.md, READMEs) and@elevenlabs/elevenlabs-js(^2.58.0) are updated to match; the old[dubbingId]/languageCoderoute tree is removed.Reviewed by Cursor Bugbot for commit 1e3988e. Bugbot is set up for automated code reviews on this repo. Configure here.