- Supported service:
tts
- Key:
google_tts
- Integrated: No. See BYO Keys for more info.
- Google requires a Google Cloud Platform account with the
Cloud Text-to-Speech API
enabled. - You’ll need to create a service account for your project and use the service account credentials object to authenticate with the Google Cloud API.
- Follow the Google Cloud docs to create a service account and access your credentials.
- Your service account object sould look something like this:
- Google requires a Google Cloud Platform account with the
Service options
The audio output sample rate in Hz for the TTS audio.
The sample rate must be one of these values: 8000
, 16000
, 22050
, 24000
, 32000
, 44100
, 48000
.
Configuration options
The voice you want your TTS service to use. Select any voice from the available Google TTS voices.
The language you the TTS service to use. Select any language from the available Google TTS languages.
Note: the language
option must be compatible with the voice
option.
The pitch of the voice. Learn more about using pitch with Google here.
The rate of the voice. Learn more about using rate with Google here.
The volume of the voice. Learn more about using volume with Google here.
Adjust the emphasis for the voice. Learn more.
Values accepted are: strong
, moderate
, reduced
, and none
.
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.