SpeechResponseFormat enum

Audio output formats for speech generation.

Inheritance
Available extensions

Values

mp3 → const SpeechResponseFormat

MP3 format (default).

const SpeechResponseFormat._('mp3')
opus → const SpeechResponseFormat

Opus format.

const SpeechResponseFormat._('opus')
aac → const SpeechResponseFormat

AAC format.

const SpeechResponseFormat._('aac')
flac → const SpeechResponseFormat

FLAC format.

const SpeechResponseFormat._('flac')
wav → const SpeechResponseFormat

WAV format.

const SpeechResponseFormat._('wav')
pcm → const SpeechResponseFormat

PCM format.

const SpeechResponseFormat._('pcm')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts to JSON string.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<SpeechResponseFormat>
A constant List of the values in this enum, in order of their declaration.