Audio

sttp.openai.requests.completions.chat.ChatRequestBody.Audio
See theAudio companion object
case class Audio(voice: Voice, format: Format)

Value parameters

format

Specifies the output audio format. Must be one of wav, mp3, flac, opus, or pcm16.

voice

The voice the model uses to respond. Supported voices are ash, ballad, coral, sage, and verse (also supported but not recommended are alloy, echo, and shimmer; these voices are less expressive).

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product