TTSClientConfig =============== **class** ``TTSClientConfig`` **(** :doc:`BaseClientConfig` **)** Provider-agnostic complete-text HTTP TTS configuration. **Polymorphic Type:** ``type: tts`` All ``BaseClientConfig`` types: - ``openai_chat_completions``: :doc:`OpenAIChatCompletionsClientConfig` - ``tts``: :doc:`TTSClientConfig` - ``streaming_tts``: :doc:`StreamingTTSClientConfig` - ``stt``: :doc:`STTClientConfig` - ``openai_completions``: :doc:`OpenAICompletionsClientConfig` - ``openai_router``: :doc:`OpenAIRouterClientConfig` **Fields:** ``api_base`` : *Optional* [ *str* ] = ``None`` API base URL. Defaults to OPENAI_API_BASE env var. ``api_key`` : *Optional* [ *str* ] = ``None`` API key. Defaults to OPENAI_API_KEY env var. ``model`` : *str* = ``""`` The TTS model ID. ``address_append_value`` : *str* = ``"chat/completions"`` The address append value for the LLM API. ``request_timeout`` : *int* = ``300`` The timeout for each request to the LLM API (in seconds). ``additional_sampling_params`` : *str* = ``"{}"`` Additional sampling params to send with each request to the LLM API. ``provider`` : *str* = ``""`` HTTP TTS provider. Supported: openai, elevenlabs, deepgram_flux, mistral. ``voice_id`` : *str* = ``""`` Voice identifier when required by the provider. ``sample_rate`` : *int* = ``24000`` Audio sample rate in Hz. ``chunk_size`` : *int* = ``1024`` Read size in bytes for HTTP audio response streaming. ``raw_pcm`` : *bool* = ``False`` Request raw PCM from providers that support selectable output formats. ``api_key_env`` : *Optional* [ *str* ] = ``None`` Optional provider API-key environment variable override. ``stability`` : *float* = ``0.5`` ElevenLabs voice stability. ``similarity_boost`` : *float* = ``0.8`` ElevenLabs similarity boost. ``speed`` : *float* = ``1.0`` Provider speaking-rate multiplier. ``apply_text_normalization`` : *str* = ``"off"`` ElevenLabs text normalization mode: auto | on | off. ``mip_opt_out`` : *bool* = ``False`` Opt out of the Deepgram Model Improvement Program.