object CreateSpeechRequest extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CreateSpeechRequest
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Input = CreateSpeechRequest.Input.Type
input model
input model
The text to generate audio for. The maximum length is 4096 characters.
- sealed trait Model extends AnyRef
model model
model model
One of the available [TTS models](/docs/models/tts):
tts-1ortts-1-hd - sealed trait ResponseFormat extends AnyRef
response_format model
response_format model
The format to audio in. Supported formats are
mp3,opus,aac, andflac. - type Speed = CreateSpeechRequest.Speed.Type
speed model
speed model
The speed of the generated audio. Select a value from
0.25to4.0.1.0is the default. - sealed trait Voice extends AnyRef
voice model
voice model
The voice to use when generating the audio. Supported voices are
alloy,echo,fable,onyx,nova, andshimmer. Previews of the voices are available in the [Text to speech guide](/docs/guides/text-to-speech/voice-options).
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]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- implicit val schema: Schema[CreateSpeechRequest]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object Input extends Subtype[String]
- object Model
- object ResponseFormat
- object Speed extends Subtype[Double]
- object Voice