Class VoiceStage

java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.speech.VoiceStage
All Implemented Interfaces:
IntermediateStage

public class VoiceStage extends SpeechConfigurationStage implements IntermediateStage
Configures which person's voice to use
  • Method Details

    • voiceOf

      public OutputStage voiceOf(bg.codexio.ai.openai.api.payload.voice.Speaker speaker)
      Sets a Speaker
      Returns:
      OutputStage to configure the output format
    • defaultSpeaker

      public OutputStage defaultSpeaker()
      Sets a Speaker to Speaker.ECHO
      Returns:
      OutputStage to configure the output format