类 TTSOptions
java.lang.Object
io.agentscope.core.model.tts.TTSOptions
Options for TTS synthesis.
This class provides configuration options for text-to-speech synthesis, including voice selection, audio format, and speech parameters.
Example usage:
TTSOptions options = TTSOptions.builder()
.voice("Cherry")
.sampleRate(24000)
.format("wav")
.speed(1.0f)
.build();
-
嵌套类概要
嵌套类 -
方法概要
-
方法详细资料
-
getVoice
-
getSampleRate
-
getFormat
-
getSpeed
-
getVolume
-
getPitch
-
getLanguage
-
builder
Creates a new builder for TTSOptions.- 返回:
- a new Builder instance
-