Per-utterance synthesis overrides passed to TextToSpeech.synthesize() and TextToSpeech.synthesizeStream().
Signature:
export declare interface SynthesisOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| voiceId | string | Optional voice identifier override (e.g. "af_heart", "ef_dora"). | |
| locale | string | Optional BCP-47 locale override (e.g. "en-US", "es-ES", "ja-JP"). |
SynthesisOptions.voiceId
Optional voice identifier override (e.g. "af_heart", "ef_dora").
Signature:
voiceId?: string;
SynthesisOptions.locale
Optional BCP-47 locale override (e.g. "en-US", "es-ES", "ja-JP").
Signature:
locale?: string;