Set the TTS API Base URL
Description
Sets the base URL for the TTS API. This should be the root URL without trailing slash (e.g., “http://localhost:7810” or “https://api.openai.com”).
Usage
set_tts_base(url)
Arguments
url: Character string. The base URL for the API.
Value
Invisibly returns the previous value.
Examples
# For local Chatterbox server
set_tts_base("http://localhost:7810")
# For OpenAI
set_tts_base("https://api.openai.com")