Skip to content

update dubbing to use dubbing v2 - #242

Merged
tadaspetra merged 2 commits into
mainfrom
dubbing-v2
Aug 6, 2026
Merged

update dubbing to use dubbing v2#242
tadaspetra merged 2 commits into
mainfrom
dubbing-v2

Conversation

@tadaspetra

@tadaspetra tadaspetra commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

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.get instead of dubbing.create, dubbing.get, and dubbing.audio.get. Create returns { projectId, languageId }; status polling exposes projectStatus and languageStatus. The audio proxy route is keyed by projectId and languageId, resolves outputs.losslessAudio, and streams the signed URL (replacing buffering an MPEG stream from the old SDK).

The example UI tracks projectId, polls until languageStatus is completed, shows separate transcribing vs generating messages, fetches audio by languageId, 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] / languageCode route tree is removed.

Reviewed by Cursor Bugbot for commit 1e3988e. Bugbot is set up for automated code reviews on this repo. Configure here.

@tadaspetra
tadaspetra requested review from PaulAsjes and removed request for PaulAsjes July 15, 2026 00:50
@tadaspetra
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>
@tadaspetra
tadaspetra marked this pull request as ready for review August 5, 2026 23:56
@tadaspetra
tadaspetra merged commit 8368973 into main Aug 6, 2026
3 checks passed
@tadaspetra
tadaspetra deleted the dubbing-v2 branch August 6, 2026 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant