From 51916895789fc2b166af752c14cd4696d6517bec Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Thu, 8 Jan 2026 09:28:16 +0300 Subject: Feat: google-translate-tts support --- docs/config.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/config.md') diff --git a/docs/config.md b/docs/config.md index fa5d42b..f1cac5b 100644 --- a/docs/config.md +++ b/docs/config.md @@ -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`) -- cgit v1.2.3