Class OpenAiAudioSpeechOptions
java.lang.Object
org.springframework.ai.openai.OpenAiAudioSpeechOptions
- All Implemented Interfaces:
org.springframework.ai.audio.tts.TextToSpeechOptions, org.springframework.ai.model.ModelOptions
public class OpenAiAudioSpeechOptions
extends Object
implements org.springframework.ai.audio.tts.TextToSpeechOptions
Options for OpenAI text to audio - speech synthesis.
- Since:
- 1.0.0-M1
- Author:
- Ahmed Yousri, Hyunjoon Choi, Ilayaperumal Gopinathan, Jonghoon Park
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()copy()booleangetInput()getModel()getSpeed()getVoice()inthashCode()voidvoidvoidsetResponseFormat(OpenAiAudioApi.SpeechRequest.AudioResponseFormat responseFormat) voidvoidvoidtoString()
-
Constructor Details
-
OpenAiAudioSpeechOptions
public OpenAiAudioSpeechOptions()
-
-
Method Details
-
builder
-
getModel
- Specified by:
getModelin interfaceorg.springframework.ai.audio.tts.TextToSpeechOptions
-
setModel
-
getInput
-
setInput
-
getVoice
- Specified by:
getVoicein interfaceorg.springframework.ai.audio.tts.TextToSpeechOptions
-
setVoice
-
setVoice
-
getResponseFormat
-
setResponseFormat
-
getSpeed
- Specified by:
getSpeedin interfaceorg.springframework.ai.audio.tts.TextToSpeechOptions
-
setSpeed
-
getFormat
- Specified by:
getFormatin interfaceorg.springframework.ai.audio.tts.TextToSpeechOptions
-
copy
- Specified by:
copyin interfaceorg.springframework.ai.audio.tts.TextToSpeechOptions
-
hashCode
-
equals
-
toString
-