Google Cloud Speech API

Configuration

Set the ASR provider setting to Google:

sup kapps_config set_default speech asr_provider google

Then configure the Google-specific ASR settings:

sup kapps_config set_default speech.google {KEY} {VALUE}
KeyValue
asr_api_key”Your-API-Key”
asr_urlhttps://speech.googleapis.com/v1/speech:recognize
asr_enable_word_time_offsetsfalse
asr_profanity_filterfalse

Google Cloud Text-to-Speech API

Configuration

Set the TTS provider setting to Google:

sup kapps_config set_default speech tts_provider google

Then configure the Google-specific TTS settings:

sup kapps_config set_default speech.google {KEY} {VALUE}
KeyValue
tts_api_key”Your-API-Key”
tts_urlhttps://texttospeech.googleapis.com/v1/text:synthesize

On this page