Skip to main content

Interface: TextToSpeechProvider

Defined in: packages/agentos/src/io/speech/types.ts:146

Properties​

displayName?​

readonly optional displayName: string

Defined in: packages/agentos/src/io/speech/types.ts:148


id​

readonly id: string

Defined in: packages/agentos/src/io/speech/types.ts:147


supportsStreaming?​

readonly optional supportsStreaming: boolean

Defined in: packages/agentos/src/io/speech/types.ts:149

Methods​

getProviderName()​

getProviderName(): string

Defined in: packages/agentos/src/io/speech/types.ts:151

Returns​

string


listAvailableVoices()?​

optional listAvailableVoices(): Promise<SpeechVoice[]>

Defined in: packages/agentos/src/io/speech/types.ts:152

Returns​

Promise<SpeechVoice[]>


synthesize()​

synthesize(text, options?): Promise<SpeechSynthesisResult>

Defined in: packages/agentos/src/io/speech/types.ts:150

Parameters​

text​

string

options?​

SpeechSynthesisOptions

Returns​

Promise<SpeechSynthesisResult>