Skip to content

Add CAMB AI as a TTS provider#2

Open
neilruaro-camb wants to merge 1 commit intolinshenkx:mainfrom
neilruaro-camb:feat/add-cambai-tts
Open

Add CAMB AI as a TTS provider#2
neilruaro-camb wants to merge 1 commit intolinshenkx:mainfrom
neilruaro-camb:feat/add-cambai-tts

Conversation

@neilruaro-camb
Copy link
Copy Markdown

Summary

  • Adds CAMB AI as a third TTS provider alongside Edge TTS and OpenAI TTS
  • New CambAITTSService class in server/services/cambai_tts.py following the Edge TTS service pattern
  • Toggled via USE_CAMBAI_TTS=true in config (priority: CAMB AI > OpenAI > Edge TTS)
  • Voice mapping via CAMBAI_VOICE_MAP JSON config for role-to-voice-ID assignment
  • All 5 new config fields added to MUTABLE_CONFIGS for runtime admin updates
  • Added 10 unit tests in server/tests/test_cambai_tts.py

About CAMB AI

CAMB AI is a voice AI and localization platform trusted by brands like the Premier League, the NBA, NASCAR, and the Australian Open. We offer low-latency streaming TTS (~150ms with mars-flash), voice cloning, and translated TTS in 50+ languages, which is a natural fit for a language-learning podcast app like lingopod.

We'd love to be included as a TTS option. Happy to iterate on any feedback!

Test plan

  • Unit tests pass: python -m pytest server/tests/test_cambai_tts.py -v --noconftest
  • Set USE_CAMBAI_TTS=true and CAMBAI_API_KEY in .env
  • Create a podcast task via the API
  • Verify audio files are generated using CAMB AI

Adds CambAITTSService with streaming TTS, voice mapping, and
translated TTS support. Integrates as a third TTS option with
full config and 10 unit tests.
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