Skip to main content

Interface: OpenAISpeechModelSettings

Hierarchy

Properties

api

Optional api: ApiConfiguration

Defined in

packages/modelfusion/src/model-provider/openai/OpenAISpeechModel.ts:29


model

model: OpenAISpeechModelType

Defined in

packages/modelfusion/src/model-provider/openai/OpenAISpeechModel.ts:32


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


responseFormat

Optional responseFormat: "mp3" | "opus" | "aac" | "flac"

Defaults to mp3.

Defined in

packages/modelfusion/src/model-provider/openai/OpenAISpeechModel.ts:42


speed

Optional speed: number

The speed of the generated audio. Select a value from 0.25 to 4.0. 1.0 is the default.

Defined in

packages/modelfusion/src/model-provider/openai/OpenAISpeechModel.ts:37


voice

voice: OpenAISpeechVoice

Defined in

packages/modelfusion/src/model-provider/openai/OpenAISpeechModel.ts:31