public class TextToSpeechSSERequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| TextToSpeechSSERequest() | 
| TextToSpeechSSERequest(TextToSpeechSSERequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAPIKey()Get TTS的API密钥 | 
| AudioFormat | getAudioFormat()Get 文本转语音的输出音频的格式 | 
| Long | getSdkAppId()Get TRTC的SdkAppId | 
| String | getText()Get 需要转语音的文字内容,长度范围:[1, 255] | 
| Voice | getVoice()Get 文本转语音的声音配置 | 
| void | setAPIKey(String APIKey)Set TTS的API密钥 | 
| void | setAudioFormat(AudioFormat AudioFormat)Set 文本转语音的输出音频的格式 | 
| void | setSdkAppId(Long SdkAppId)Set TRTC的SdkAppId | 
| void | setText(String Text)Set 需要转语音的文字内容,长度范围:[1, 255] | 
| void | setVoice(Voice Voice)Set 文本转语音的声音配置 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TextToSpeechSSERequest()
public TextToSpeechSSERequest(TextToSpeechSSERequest source)
public String getText()
public void setText(String Text)
Text - 需要转语音的文字内容,长度范围:[1, 255]public Voice getVoice()
public void setVoice(Voice Voice)
Voice - 文本转语音的声音配置public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId - TRTC的SdkAppIdpublic AudioFormat getAudioFormat()
public void setAudioFormat(AudioFormat AudioFormat)
AudioFormat - 文本转语音的输出音频的格式public String getAPIKey()
public void setAPIKey(String APIKey)
APIKey - TTS的API密钥Copyright © 2025. All rights reserved.