Skip to content

SystemSpeechBootstrapOptions

Bootstrap options for the platform’s system speech provider: AVSpeechSynthesizer on iOS, android.speech.tts.TextToSpeech on Android, speechSynthesis on the web. Pass true for the defaults.

Opt-in on every platform (ADR 018): the router probes every registered provider on every request, so an app that does not speak should not pay for a voice listing. The provider id defaults to apple_system_speech, android_system_speech or web_system_speech. The browser provider only plays audio: it cannot write an artifact, so routing refuses generateSpeech() there.

optional id?: string

Provider id. Defaults to apple_system_speech, android_system_speech or web_system_speech.