Class DashScopeAudioSpeechOptions.Builder
java.lang.Object
com.alibaba.cloud.ai.dashscope.audio.DashScopeAudioSpeechOptions.Builder
- Enclosing class:
- DashScopeAudioSpeechOptions
Build an options instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()enablePhonemeTimestamp(Boolean enablePhonemeTimestamp) enableSsml(Boolean enableSsml) enableWordTimestamp(Boolean enableWordTimestamp) instruction(String instruction) languageHints(List<String> languageHints) requestTextType(DashScopeAudioSpeechApi.RequestTextType requestTextType) sampleRate(Integer sampleRate)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
model
-
text
-
voice
-
requestTextType
public DashScopeAudioSpeechOptions.Builder requestTextType(DashScopeAudioSpeechApi.RequestTextType requestTextType) -
sampleRate
-
volume
-
speed
-
responseFormat
public DashScopeAudioSpeechOptions.Builder responseFormat(DashScopeAudioSpeechApi.ResponseFormat format) -
pitch
-
enableWordTimestamp
-
enablePhonemeTimestamp
-
enableSsml
-
bitRate
-
seed
-
languageHints
-
instruction
-
build
-