Text-to-speech
OpenAI
- Supported service:
tts
- Key:
openai_tts
- Integrated: No. See BYO Keys for more info.
Service options
sample_rate
integer
default: "24000"The sample rate for the TTS playback.
The sample rate must be one of these values: 24000
.
Configuration options
model
string
default: "tts-1"The model you want your TTS service to use. Select any of the available models found in the OpenAI library.
voice
string
requiredThe voice you want your TTS service to use. Select any of the available voices found in the OpenAI library.
text_filter
object
Control whether the TTS service filters out markdown, code blocks, or tables from its output.
Basic markdown filtering is enabled by default. Enable code and table filtering as needed. Filtering code and tables can help the TTS avoid mistakes.