final case class CreateSpeechRequest(model: CreateSpeechRequest.Model, input: Input, voice: Voice, responseFormat: Optional[CreateSpeechRequest.ResponseFormat] = Optional.Absent, speed: Optional[Speed] = Optional.Absent) extends Product with Serializable
CreateSpeechRequest model
- model
One of the available [TTS models](/docs/models/tts):
tts-1ortts-1-hd- input
The text to generate audio for. The maximum length is 4096 characters.
- voice
The voice to use when generating the audio. Supported voices are
alloy,echo,fable,onyx,nova, andshimmer.- responseFormat
The format to audio in. Supported formats are
mp3,opus,aac, andflac.- speed
The speed of the generated audio. Select a value from
0.25to4.0.1.0is the default.
- Alphabetic
- By Inheritance
- CreateSpeechRequest
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CreateSpeechRequest(model: CreateSpeechRequest.Model, input: Input, voice: Voice, responseFormat: Optional[CreateSpeechRequest.ResponseFormat] = Optional.Absent, speed: Optional[Speed] = Optional.Absent)
- model
One of the available [TTS models](/docs/models/tts):
tts-1ortts-1-hd- input
The text to generate audio for. The maximum length is 4096 characters.
- voice
The voice to use when generating the audio. Supported voices are
alloy,echo,fable,onyx,nova, andshimmer.- responseFormat
The format to audio in. Supported formats are
mp3,opus,aac, andflac.- speed
The speed of the generated audio. Select a value from
0.25to4.0.1.0is the default.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val input: Input
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val model: CreateSpeechRequest.Model
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val responseFormat: Optional[CreateSpeechRequest.ResponseFormat]
- val speed: Optional[Speed]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val voice: Voice
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()