• 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.

{
  "service_options": {
    "openai_tts": {
      "sample_rate": 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.

{
  "name": "model",
  "value": "tts-1"
}
voice
string
required

The voice you want your TTS service to use. Select any of the available voices found in the OpenAI library.

{
  "name": "voice",
  "value": "nova"
}
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.

{
  "name": "text_filter",
  "value": {
    "enable_text_filter": true,
    "filter_code": true,
    "filter_tables": true
  }
}