Class SpeechCreateParams.Voice

  • All Implemented Interfaces:
    com.openai.core.Enum

    
    public final class SpeechCreateParams.Voice
     implements Enum
                        

    The voice to use when generating the audio. Supported built-in voices are alloy, ash, ballad, coral, echo, fable, onyx, nova, sage, shimmer, verse, marin, and cedar. Previews of the voices are available in the Text to speech guide.

    • Constructor Detail