Add CAMB AI integration for TTS, transcription, translation, and end-to-end dubbing#76
Open
neilruaro-camb wants to merge 1 commit into
Open
Conversation
…to-end dubbing Integrate CAMB AI as an optional backend across the Linly-Dubbing pipeline: - End-to-end dubbing via /dub API (single API call replaces full pipeline) - Text-to-Speech with voice cloning via /tts-stream API - Speech-to-text transcription via /transcribe API - Batch translation via /translate API All features are opt-in and require a CAMB_API_KEY environment variable. Existing functionality is untouched.
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.
Summary
Hi there! 👋 We're the team at CAMB AI — the localization engine behind major sports brands including the Premier League, NBA, NASCAR, and the Australian Open.
We'd love to contribute a CAMB AI integration to Linly-Dubbing. This PR adds CAMB AI as an option across the entire pipeline:
/dubendpoint replaces the full pipeline/tts-stream/transcribe/translateAll features are opt-in and require a
CAMB_API_KEY(free to get at camb.ai). Existing functionality is untouched — CAMB AI is simply added as an additional option alongside the current methods.简要说明
我们是 CAMB AI 团队,为英超联赛、NBA、NASCAR、澳网等知名体育品牌提供本地化服务。
此 PR 将 CAMB AI 作为可选项集成到 Linly-Dubbing 的各个环节:端到端配音、语音合成(TTS)、语音识别(ASR)和翻译。所有功能均为可选,需要
CAMB_API_KEY,不影响现有功能。Changes
New files
tools/camb_utils.pytools/step_camb_dub.py/dubAPItools/step023_asr_camb.py/transcribeAPItools/step037_translation_camb.py/translateAPItools/step045_tts_camb.py/tts-streamAPIModified files
tools/do_everything.pytools/step020_asr.pytools/step030_translation.pytools/step040_tts.pywebui.pyenv.exampleCAMB_API_KEYTest plan
python -m tools.step045_tts_cambpython -m tools.step037_translation_cambstep_camb_dub.py