Class TextToAudioExecutionSettings


  • public class TextToAudioExecutionSettings
    extends Object
    Represents the settings for text to audio execution.
    • Constructor Detail

      • TextToAudioExecutionSettings

        public TextToAudioExecutionSettings​(String voice,
                                            String responseFormat,
                                            @Nullable
                                            Double speed)
        Creates a new instance of the settings.
        Parameters:
        voice - The voice.
        responseFormat - The response format.
        speed - The speed.
    • Method Detail

      • getVoice

        public String getVoice()
        Gets the voice.
        Returns:
        The voice.
      • getResponseFormat

        public String getResponseFormat()
        Gets the response format.
        Returns:
        The response format.
      • getSpeed

        @Nullable
        public Double getSpeed()
        Gets the speed.
        Returns:
        The speed.