View Source ExOpenAI.Components.CreateSpeechRequest (ex_openai.ex v1.5.1)

Schema representing a CreateSpeechRequest within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.CreateSpeechRequest{
  input: String.t(),
  model: (:"tts-1-hd" | :"tts-1") | String.t(),
  response_format: (:flac | :aac | :opus | :mp3) | nil,
  speed: float() | nil,
  voice: :shimmer | :nova | :onyx | :fable | :echo | :alloy
}