类的使用
io.agentscope.core.model.tts.DashScopeRealtimeTTSModel.Builder
-
io.agentscope.core.model.tts中DashScopeRealtimeTTSModel.Builder的使用
修饰符和类型方法说明Sets the API key for DashScope authentication.DashScopeRealtimeTTSModel.builder()Creates a new builder for DashScopeRealtimeTTSModel.Sets the audio format.DashScopeRealtimeTTSModel.Builder.languageType(String languageType) Sets the language type for synthesis.DashScopeRealtimeTTSModel.Builder.mode(DashScopeRealtimeTTSModel.SessionMode mode) Sets the session mode.Sets the TTS model name.DashScopeRealtimeTTSModel.Builder.sampleRate(int sampleRate) Sets the audio sample rate.Sets the voice for synthesis.