SpeechProvider
Defined in: core/src/speech-core.ts:61
Properties
Section titled “Properties”readonly id: string;Defined in: core/src/speech-core.ts:62
readonly model: string;Defined in: core/src/speech-core.ts:63
Methods
Section titled “Methods”synthesize()
Section titled “synthesize()”synthesize(request): Promise<SpeechResult>;Defined in: core/src/speech-core.ts:69
Exactly one HTTP request. No retry, no fallback, no second key. Throws a
ProviderError; a reply that arrived but holds no usable audio throws a
SpeechError, which keeps the usage the provider billed for it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
request |
SpeechRequest |
Returns
Section titled “Returns”Promise<SpeechResult>