Skip to main content

Interface: ElevenLabsDialogueResult

Defined in: packages/agentos/src/io/speech/providers/ElevenLabsTextToSpeechProvider.ts:134

What ElevenLabsTextToSpeechProvider.synthesizeDialogue returns.

Extends​

Properties​

alignment?​

optional alignment: ElevenLabsCharacterAlignment

Defined in: packages/agentos/src/io/speech/providers/ElevenLabsTextToSpeechProvider.ts:142

Each character's time in the text as written; absent when the answer has none.


audioBuffer​

audioBuffer: Buffer

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

Inherited from​

SpeechSynthesisResult.audioBuffer


cost​

cost: number

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

Inherited from​

SpeechSynthesisResult.cost


durationSeconds?​

optional durationSeconds: number

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

Inherited from​

SpeechSynthesisResult.durationSeconds


mimeType​

mimeType: string

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

Inherited from​

SpeechSynthesisResult.mimeType


normalizedAlignment?​

optional normalizedAlignment: ElevenLabsCharacterAlignment

Defined in: packages/agentos/src/io/speech/providers/ElevenLabsTextToSpeechProvider.ts:145

Each character's time in the text as normalized (numbers spelled out, for one); absent when the answer has none.


outputFormat​

outputFormat: string

Defined in: packages/agentos/src/io/speech/providers/ElevenLabsTextToSpeechProvider.ts:136

The output format the audio was asked for in, as sent.


providerName?​

optional providerName: string

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

Inherited from​

SpeechSynthesisResult.providerName


providerResponse?​

optional providerResponse: unknown

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

Inherited from​

SpeechSynthesisResult.providerResponse


segments​

segments: ElevenLabsDialogueSegment[]

Defined in: packages/agentos/src/io/speech/providers/ElevenLabsTextToSpeechProvider.ts:139

The voice segments, in the order the API gave them, each with its line index and times.


usage?​

optional usage: object

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

Index Signature​

[key: string]: unknown

characters​

characters: number

modelUsed​

modelUsed: string

Inherited from​

SpeechSynthesisResult.usage


voiceUsed?​

optional voiceUsed: string

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

Inherited from​

SpeechSynthesisResult.voiceUsed