Feat: google-translate-tts support
This commit is contained in:
@@ -96,11 +96,21 @@ This document explains how to set up and configure the application using the `co
|
||||
- Enable or disable text-to-speech functionality.
|
||||
|
||||
#### TTS_URL (`"http://localhost:8880/v1/audio/speech"`)
|
||||
- The endpoint for TTS API.
|
||||
- The endpoint for TTS API (used with `kokoro` provider).
|
||||
|
||||
#### TTS_SPEED (`1.2`)
|
||||
- Playback speed for speech output (1.0 is normal speed).
|
||||
|
||||
#### TTS_PROVIDER (`"kokoro"`)
|
||||
- TTS provider to use. Options: `"kokoro"` or `"google"`.
|
||||
- `"kokoro"`: Uses Kokoro FastAPI TTS server (requires TTS_URL to be set). Provides high-quality voice synthesis but requires a running Kokoro server.
|
||||
- `"google"`: Uses Google Translate TTS with gopxl/beep for local playback. Works offline using Google's public TTS API with local audio playback via gopxl/beep. Supports multiple languages via TTS_LANGUAGE setting.
|
||||
|
||||
#### TTS_LANGUAGE (`"en"`)
|
||||
- Language code for TTS (used with `google` provider).
|
||||
- Examples: `"en"` (English), `"es"` (Spanish), `"fr"` (French)
|
||||
- See Google Translate TTS documentation for supported languages.
|
||||
|
||||
### Speech-to-Text (STT) Settings
|
||||
|
||||
#### STT_ENABLED (`false`)
|
||||
|
||||
Reference in New Issue
Block a user