Class AIModelStage
java.lang.Object
bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
bg.codexio.ai.openai.api.sdk.voice.speech.AIModelStage
- All Implemented Interfaces:
IntermediateStage
A stage to choose a model supported by
/v1/audio/speech model endpoint compatibility
.
-
Field Summary
Fields inherited from class bg.codexio.ai.openai.api.sdk.voice.speech.SpeechConfigurationStage
executor, requestBuilder -
Method Summary
Modifier and TypeMethodDescriptionConfigures the AI Model to beTTS1ModelConfigures the AI Model to beTTS1HDModelpoweredBy(bg.codexio.ai.openai.api.models.ModelType modelType)
-
Method Details
-
poweredBy
- Parameters:
modelType-ModelTypeusually implemented by- TTS:
TTS1ModelTTS1HDModel
DallE30may result into an error, when the API responds.- TTS:
- Returns:
VoiceStageto configure the temperature.
-
hdPowered
Configures the AI Model to beTTS1HDModel- Returns:
VoiceStageto configure the temperature.
-
defaultModel
Configures the AI Model to beTTS1Model- Returns:
VoiceStageto configure the temperature.
-