tencentcloud-sdk-nodejs-trtc 4.1.137 → 4.1.140
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
|
@@ -534,6 +534,14 @@ export interface VoiceCloneRequest {
|
|
|
534
534
|
* 声音克隆的参考文本,为参考音频对应的文字。
|
|
535
535
|
*/
|
|
536
536
|
PromptText?: string;
|
|
537
|
+
/**
|
|
538
|
+
* TTS的模型:flow_01_turbo,flow_01_ex
|
|
539
|
+
*/
|
|
540
|
+
Model?: string;
|
|
541
|
+
/**
|
|
542
|
+
* 语言参数,默认为空, 参考: (ISO 639-1)
|
|
543
|
+
*/
|
|
544
|
+
Language?: string;
|
|
537
545
|
}
|
|
538
546
|
/**
|
|
539
547
|
* 云端切片的控制参数。
|
|
@@ -2221,9 +2229,13 @@ export interface DescribeAIConversationResponse {
|
|
|
2221
2229
|
*/
|
|
2222
2230
|
export interface AudioFormat {
|
|
2223
2231
|
/**
|
|
2224
|
-
* 生成的音频格式,默认pcm
|
|
2232
|
+
* 生成的音频格式,默认pcm,目前支持的格式列表:流式:[pcm],非流式 [pcm,wav]
|
|
2225
2233
|
*/
|
|
2226
2234
|
Format?: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* 采样率,默认24000, 可选16000, 24000
|
|
2237
|
+
*/
|
|
2238
|
+
SampleRate?: number;
|
|
2227
2239
|
}
|
|
2228
2240
|
/**
|
|
2229
2241
|
* 混流布局参数。
|
|
@@ -3870,6 +3882,18 @@ export interface Voice {
|
|
|
3870
3882
|
* TTS的声音的ID
|
|
3871
3883
|
*/
|
|
3872
3884
|
VoiceId: string;
|
|
3885
|
+
/**
|
|
3886
|
+
* 语速,范围 0.5-2.0,默认 1.0
|
|
3887
|
+
*/
|
|
3888
|
+
Speed?: number;
|
|
3889
|
+
/**
|
|
3890
|
+
* (0, 10] 默认值1.0
|
|
3891
|
+
*/
|
|
3892
|
+
Volume?: number;
|
|
3893
|
+
/**
|
|
3894
|
+
* 取值[-12,12],默认0
|
|
3895
|
+
*/
|
|
3896
|
+
Pitch?: number;
|
|
3873
3897
|
}
|
|
3874
3898
|
/**
|
|
3875
3899
|
* ModifyCloudModeration返回参数结构体
|
|
@@ -4596,6 +4620,14 @@ export interface TextToSpeechSSERequest {
|
|
|
4596
4620
|
* TTS的API密钥
|
|
4597
4621
|
*/
|
|
4598
4622
|
APIKey?: string;
|
|
4623
|
+
/**
|
|
4624
|
+
* TTS的模型:flow_01_turbo,flow_01_ex
|
|
4625
|
+
*/
|
|
4626
|
+
Model?: string;
|
|
4627
|
+
/**
|
|
4628
|
+
* 语言参数,默认为空, 参考: (ISO 639-1)
|
|
4629
|
+
*/
|
|
4630
|
+
Language?: string;
|
|
4599
4631
|
}
|
|
4600
4632
|
/**
|
|
4601
4633
|
* StopWebRecord返回参数结构体
|
|
@@ -4911,8 +4943,17 @@ export interface TextToSpeechRequest {
|
|
|
4911
4943
|
AudioFormat?: AudioFormat;
|
|
4912
4944
|
/**
|
|
4913
4945
|
* TTS的API密钥
|
|
4946
|
+
* @deprecated
|
|
4914
4947
|
*/
|
|
4915
4948
|
APIKey?: string;
|
|
4949
|
+
/**
|
|
4950
|
+
* TTS的模型:flow_01_turbo,flow_01_ex
|
|
4951
|
+
*/
|
|
4952
|
+
Model?: string;
|
|
4953
|
+
/**
|
|
4954
|
+
* 语言参数,默认为空, 参考: (ISO 639-1)
|
|
4955
|
+
*/
|
|
4956
|
+
Language?: string;
|
|
4916
4957
|
}
|
|
4917
4958
|
/**
|
|
4918
4959
|
* DescribeStreamIngest请求参数结构体
|
|
@@ -4952,6 +4993,10 @@ export interface TTSConfig {
|
|
|
4952
4993
|
* 音色ID
|
|
4953
4994
|
*/
|
|
4954
4995
|
VoiceId: string;
|
|
4996
|
+
/**
|
|
4997
|
+
* TTS 的模型,默认是:flow_01_turbo, 可选: [ flow_01_turbo, flow_01_ex]
|
|
4998
|
+
*/
|
|
4999
|
+
Model?: string;
|
|
4955
5000
|
}
|
|
4956
5001
|
/**
|
|
4957
5002
|
* MCU混流输出流编码参数
|