类的使用
io.agentscope.core.model.tts.TTSResponse.Builder
使用TTSResponse.Builder的程序包
-
io.agentscope.core.model.tts中TTSResponse.Builder的使用
修饰符和类型方法说明TTSResponse.Builder.audioData(byte[] audioData) Sets the raw audio data.Sets the audio URL.static TTSResponse.BuilderTTSResponse.builder()Creates a new builder for TTSResponse.TTSResponse.Builder.durationMs(Long durationMs) Sets the duration.Sets the audio format.Sets the request ID.TTSResponse.Builder.sampleRate(Integer sampleRate) Sets the sample rate.