class

OpenAI::RealtimeResponseAudioOutput

Inherits JSON::Serializable < Reference < Object

Constructors

new(format : RealtimeAudioFormats | Nil = nil, voice : VoiceIdsShared | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

format

The format of the output audio.

Source
format=(format : RealtimeAudioFormats | Nil)

The format of the output audio.

Source
voice

The voice the model uses to respond. Voice cannot be changed during the session once the model has responded with audio at least once. Current voice options are alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, and cedar. We recommend marin and cedar for best quality.

Source
voice=(voice : VoiceIdsShared | Nil)

The voice the model uses to respond. Voice cannot be changed during the session once the model has responded with audio at least once. Current voice options are alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, and cedar. We recommend marin and cedar for best quality.

Source