Skip to content

Conversation

@eRuaro
Copy link

@eRuaro eRuaro commented Jan 4, 2026

Summary

  • Add camb_tts_python extension for text-to-speech using Camb.ai's MARS-8 API
  • Follows the established HTTP-based TTS pattern (similar to rime_http_tts)
  • Includes unit tests with mock client

Features

  • MARS-8 model family support (mars-8, mars-8-flash, mars-8-instruct)
  • 140+ languages supported
  • Real-time HTTP streaming
  • High-quality 24kHz audio output
  • Configurable voice, speed, and language

Configuration

{
  "params": {
    "api_key": "${env:CAMB_API_KEY|}",
    "voice_id": 2681,
    "language": "en-us",
    "speech_model": "mars-8-flash",
    "speed": 1.0
  }
}

Test plan

  • Manual API test with real Camb.ai API key
  • Audio playback verified
  • Unit tests with TEN Framework test harness

Add camb_tts_python extension for text-to-speech using Camb.ai's MARS-8 API.

Features:
- MARS-8 model family support (mars-8, mars-8-flash, mars-8-instruct)
- 140+ languages
- Real-time HTTP streaming
- 24kHz audio output
@plutoless
Copy link
Contributor

hi @eRuaro thanks for your pr! please run the formatter and lint and fix relevant issues so that we can merge your pr after ci passes. thx!

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.

2 participants