tencentcloud-sdk-nodejs-trtc 4.1.166 → 4.1.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2235,13 +2235,13 @@ export interface AudioFormat {
|
|
|
2235
2235
|
/**
|
|
2236
2236
|
* 生成的音频格式
|
|
2237
2237
|
|
|
2238
|
-
-
|
|
2238
|
+
- TextToSpeechSSE 流式接口
|
|
2239
2239
|
|
|
2240
2240
|
支持 pcm, 默认: pcm
|
|
2241
2241
|
|
|
2242
|
-
- TextToSpeech非流式接口
|
|
2242
|
+
- TextToSpeech 非流式接口
|
|
2243
2243
|
|
|
2244
|
-
支持 pcm,wav, 默认: pcm
|
|
2244
|
+
支持 pcm,wav,mp3, 默认: pcm
|
|
2245
2245
|
*/
|
|
2246
2246
|
Format?: string;
|
|
2247
2247
|
/**
|
|
@@ -3623,7 +3623,19 @@ export interface StartAIConversationRequest {
|
|
|
3623
3623
|
*/
|
|
3624
3624
|
LLMConfig?: string;
|
|
3625
3625
|
/**
|
|
3626
|
-
* 必填参数,TTS配置,详见 [TTS配置说明](https://cloud.tencent.com/document/product/647/115414 ), 为JSON字符串: TRTC TTS
|
|
3626
|
+
* 必填参数,TTS配置,详见 [TTS配置说明](https://cloud.tencent.com/document/product/647/115414 ), 为JSON字符串: TRTC TTS的配置如下:
|
|
3627
|
+
|
|
3628
|
+
```
|
|
3629
|
+
{
|
|
3630
|
+
"TTSType": "flow", // 【必填】固定为此值
|
|
3631
|
+
"VoiceId": "v-female-R2s4N9qJ", // 【必填】精品音色 ID /克隆音色 ID, 可选择 不同音色, ID 库参考下方音色列表
|
|
3632
|
+
"Model": "flow_01_turbo", // 【必填】当前默认的 TTS 模型版本(对应 Flash 版本)
|
|
3633
|
+
"Speed": 1.0, //【可选】调节语速 范围 [0.5-2.0],默认 1.0; 取值越大,语速越快
|
|
3634
|
+
"Volume": 1.0, // 【可选】调节音量 [0, 10] 默认值 1.0; 取值越大,音量越高
|
|
3635
|
+
"Pitch": 0, // 【可选】调节语调 [-12,12],默认值为 0,其中 0 为原音色输出。
|
|
3636
|
+
"Language": "zh" //【可选】建议填写,目前支持填写中文:zh 英文:en 粤语方言:yue; 参数参考:(ISO 639-1)
|
|
3637
|
+
}
|
|
3638
|
+
```
|
|
3627
3639
|
*/
|
|
3628
3640
|
TTSConfig?: string;
|
|
3629
3641
|
/**
|