类的使用
io.agentscope.core.model.tts.DashScopeTTSModel.Builder
-
io.agentscope.core.model.tts中DashScopeTTSModel.Builder的使用
修饰符和类型方法说明Sets the API key for DashScope authentication.Sets a custom base URL for DashScope API.static DashScopeTTSModel.BuilderDashScopeTTSModel.builder()Creates a new builder for DashScopeTTSModel.DashScopeTTSModel.Builder.defaultOptions(TTSOptions options) Sets the default TTS options.DashScopeTTSModel.Builder.httpTransport(HttpTransport transport) Sets the HTTP transport to use.Sets the TTS model name.Sets the default voice for synthesis.