Class RealtimeResponseCreateAudioOutput.Output.Voice

  • All Implemented Interfaces:

    
    public final class RealtimeResponseCreateAudioOutput.Output.Voice
    
                        

    The voice the model uses to respond. Supported built-in voices are alloy, ash, ballad, coral, echo, sage, shimmer, verse, marin, and cedar. You may also provide a custom voice object with an id, for example { "id": "voice_1234" }. Voice cannot be changed during the session once the model has responded with audio at least once. We recommend marin and cedar for best quality.