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 voices are alloy, ash, ballad, coral, echo, fable, onyx, nova, sage, shimmer, and verse. Previews of the voices are available in the Text to speech guide.

    • Constructor Detail