Package bg.codexio.ai.openai.api.sdk.voice.speech
package bg.codexio.ai.openai.api.sdk.voice.speech
-
ClassesClassDescriptionA stage to choose a model supported by /v1/audio/speech model endpoint compatibility .Configures target folderRegisters callbacksRegisters text inputUtility to download files with random names to a given folderConfigures the output formatConfigures target folderRegisters text inputPreconfigured stage with AI Model, speaker, format and speedEntrypoint for Speech API.
The interaction starts by configuring the HTTP connection
either by providing a preconfiguredSpeechHttpExecutorhttp client,
HttpExecutorContext,SdkAuthor leave it toSpeech.defaults().Base for all Speech stagesConfigures how the HTTP client to act.Configures the speed of the output audio fileSends blocking requests to OpenAI APIAdds user input and proceeds to blocking executionConfigures which person's voice to use