Interface: OpenAiCreateSpeechOptions
Hierarchy
BaseAiAudioCreateSpeechOptions
↳
OpenAiCreateSpeechOptions
Properties
modelName
• modelName: "tts-1"
| "tts-1-hd"
Overrides
BaseAiAudioCreateSpeechOptions.modelName
responseFormat
• Optional
responseFormat: "mp3"
| "opus"
| "aac"
| "flac"
| "wav"
| "pcm"
speed
• Optional
speed: number
voice
• Optional
voice: "alloy"
| "echo"
| "fable"
| "onyx"
| "nova"
| "shimmer"