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
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
Modifier and TypeMethodDescriptionSets aSpeakertoSpeaker.ECHOvoiceOf(bg.codexio.ai.openai.api.payload.voice.Speaker speaker) Sets aSpeaker
-
Method Details
-
voiceOf
Sets aSpeaker- Returns:
OutputStageto configure the output format
-
defaultSpeaker
Sets aSpeakertoSpeaker.ECHO- Returns:
OutputStageto configure the output format
-