Uses of Class
com.azure.ai.openai.models.SpeechGenerationOptions
Packages that use SpeechGenerationOptions
Package
Description
Package containing the classes for OpenAI.
Package containing the data models for OpenAI.
-
Uses of SpeechGenerationOptions in com.azure.ai.openai
Methods in com.azure.ai.openai with parameters of type SpeechGenerationOptionsModifier and TypeMethodDescriptionMono<com.azure.core.util.BinaryData>OpenAIAsyncClient.generateSpeechFromText(String deploymentOrModelName, SpeechGenerationOptions speechGenerationOptions) Generates text-to-speech audio from the input text.com.azure.core.util.BinaryDataOpenAIClient.generateSpeechFromText(String deploymentOrModelName, SpeechGenerationOptions speechGenerationOptions) Generates text-to-speech audio from the input text. -
Uses of SpeechGenerationOptions in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return SpeechGenerationOptionsModifier and TypeMethodDescriptionSet the model property: The model to use for this text-to-speech request.SpeechGenerationOptions.setResponseFormat(SpeechGenerationResponseFormat responseFormat) Set the responseFormat property: The audio output format for the spoken text.Set the speed property: The speed of speech for generated audio.