Skip to main content

Interface: ElevenLabsSpeechModelSettings

Hierarchy

Properties

api

Optional api: ApiConfiguration & { apiKey: string }

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:34


generationConfig

Optional generationConfig: Object

Type declaration

NameType
chunkLengthSchedulenumber[]

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:62


model

Optional model: string & | "eleven_multilingual_v2" | "eleven_multilingual_v1" | "eleven_monolingual_v1" | "eleven_turbo_v2"

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:40


observers

Optional observers: FunctionObserver[]

Observers that are called when the model is used in run functions.

Inherited from

SpeechGenerationModelSettings.observers

Defined in

packages/modelfusion/src/model-function/Model.ts:8


optimizeStreamingLatency

Optional optimizeStreamingLatency: 0 | 1 | 3 | 2 | 4

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:47


outputFormat

Optional outputFormat: "mp3_44100" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100"

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:48


voice

voice: string

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:38


voiceSettings

Optional voiceSettings: Object

Type declaration

NameType
similarityBoostnumber
stabilitynumber
style?number
useSpeakerBoost?boolean

Defined in

packages/modelfusion/src/model-provider/elevenlabs/ElevenLabsSpeechModel.ts:55