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
-
-
Field Summary
-
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
executor, requestBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputStagedefaultSpeaker()Sets aSpeakertoSpeaker.ECHOOutputStagevoiceOf(bg.codexio.ai.openai.api.payload.voice.Speaker speaker)Sets aSpeaker
-
-
-
Method Detail
-
voiceOf
public OutputStage voiceOf(bg.codexio.ai.openai.api.payload.voice.Speaker speaker)
Sets aSpeaker- Returns:
OutputStageto configure the output format
-
defaultSpeaker
public OutputStage defaultSpeaker()
Sets aSpeakertoSpeaker.ECHO- Returns:
OutputStageto configure the output format
-
-