Interface: ElevenLabsDialogueResult
Defined in: packages/agentos/src/io/speech/providers/ElevenLabsTextToSpeechProvider.ts:134
What ElevenLabsTextToSpeechProvider.synthesizeDialogue returns.
Extends
Properties
alignment?
optionalalignment: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
durationSeconds?
optionaldurationSeconds: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?
optionalnormalizedAlignment: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?
optionalproviderName:string
Defined in: packages/agentos/src/io/speech/types.ts:105
Inherited from
SpeechSynthesisResult.providerName
providerResponse?
optionalproviderResponse: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?
optionalusage:object
Defined in: packages/agentos/src/io/speech/types.ts:106
Index Signature
[key: string]: unknown
characters
characters:
number
modelUsed
modelUsed:
string
Inherited from
voiceUsed?
optionalvoiceUsed:string
Defined in: packages/agentos/src/io/speech/types.ts:104