tencentcloud-sdk-nodejs-trtc 4.1.246 → 4.1.248
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
|
@@ -630,7 +630,7 @@ export interface VoiceCloneRequest {
|
|
|
630
630
|
*/
|
|
631
631
|
VoiceName: string;
|
|
632
632
|
/**
|
|
633
|
-
* <p
|
|
633
|
+
* <p>声音克隆的参考音频,base64字符串,支持wav、mp3、m4a格式,长度在6秒~180秒之间</p>
|
|
634
634
|
*/
|
|
635
635
|
PromptAudio: string;
|
|
636
636
|
/**
|
|
@@ -643,11 +643,11 @@ export interface VoiceCloneRequest {
|
|
|
643
643
|
*/
|
|
644
644
|
PromptText?: string;
|
|
645
645
|
/**
|
|
646
|
-
* <p>TTS
|
|
646
|
+
* <p>TTS的模型,支持flow_02_turbo,flow_01_ex,默认为flow_02_turbo</p><p>枚举值:</p><ul><li>flow_02_turbo: 高性价比模型,兼顾效果和成本</li><li>flow_01_ex: 高天花板模型,能力全面,在音色克隆上表现更优</li></ul>
|
|
647
647
|
*/
|
|
648
648
|
Model?: string;
|
|
649
649
|
/**
|
|
650
|
-
* <p
|
|
650
|
+
* <p>语言参数,默认为空,表示自动识别</p><p>枚举值:</p><ul><li>zh: 中文</li><li>en: 英文</li><li>ja: 日语</li><li>ko: 韩语</li><li>yue: 粤语</li><li>ms: 马来语</li><li>ar: 阿拉伯语</li><li>id: 印尼语</li><li>th: 泰语</li><li>vi: 越南语</li></ul>
|
|
651
651
|
*/
|
|
652
652
|
Language?: string;
|
|
653
653
|
}
|
|
@@ -826,7 +826,7 @@ export interface AsyncTextToSpeechRequest {
|
|
|
826
826
|
*/
|
|
827
827
|
AlignmentMode?: number;
|
|
828
828
|
/**
|
|
829
|
-
* <p
|
|
829
|
+
* <p>需要合成的语言,默认为空,表示自动识别</p><p>枚举值:</p><ul><li>zh: 中文</li><li>en: 英文</li><li>ja: 日语</li><li>ko: 韩语</li><li>yue: 粤语</li><li>ms: 马来语</li><li>ar: 阿拉伯语</li><li>id: 印尼语</li><li>th: 泰语</li><li>vi: 越南语</li></ul>
|
|
830
830
|
*/
|
|
831
831
|
LanguageCode?: string;
|
|
832
832
|
}
|
|
@@ -2506,29 +2506,15 @@ export interface DescribeAIConversationResponse {
|
|
|
2506
2506
|
*/
|
|
2507
2507
|
export interface AudioFormat {
|
|
2508
2508
|
/**
|
|
2509
|
-
*
|
|
2510
|
-
|
|
2511
|
-
- TextToSpeechSSE 流式接口
|
|
2512
|
-
|
|
2513
|
-
支持 pcm, 默认: pcm
|
|
2514
|
-
|
|
2515
|
-
- TextToSpeech 非流式接口
|
|
2516
|
-
|
|
2517
|
-
支持 pcm,wav,mp3, 默认: pcm
|
|
2518
|
-
|
|
2519
|
-
- AsyncTextToSpeech
|
|
2520
|
-
支持pcm,mp3, 默认:mp3
|
|
2509
|
+
* <p>生成的音频格式</p><ul><li><p>TextToSpeechSSE 流式接口</p><p>支持 pcm,mp3, 默认: pcm</p></li><li><p>TextToSpeech 非流式接口</p><p>支持 pcm,wav,mp3, 默认: pcm</p></li><li><p>AsyncTextToSpeech<br>支持pcm,mp3, 默认: mp3</p></li></ul>
|
|
2521
2510
|
*/
|
|
2522
2511
|
Format?: string;
|
|
2523
2512
|
/**
|
|
2524
|
-
*
|
|
2525
|
-
可选
|
|
2526
|
-
- 16000
|
|
2527
|
-
- 24000
|
|
2513
|
+
* <p>生成的音频采样率,默认24000<br>可选</p><ul><li>16000</li><li>24000</li></ul>
|
|
2528
2514
|
*/
|
|
2529
2515
|
SampleRate?: number;
|
|
2530
2516
|
/**
|
|
2531
|
-
*
|
|
2517
|
+
* <p>MP3 比特率 (kbps),仅对 MP3 格式生效, 可以选: <code>64</code>, <code>128</code>, <code>192</code>, <code>256</code> , 默认: <code>128</code></p>
|
|
2532
2518
|
*/
|
|
2533
2519
|
Bitrate?: number;
|
|
2534
2520
|
}
|
|
@@ -5137,7 +5123,7 @@ export interface UpdateStreamIngestRequest {
|
|
|
5137
5123
|
*/
|
|
5138
5124
|
export interface TextToSpeechSSERequest {
|
|
5139
5125
|
/**
|
|
5140
|
-
* <p
|
|
5126
|
+
* <p>需要转语音的文字内容,最大支持20000字符</p>
|
|
5141
5127
|
*/
|
|
5142
5128
|
Text: string;
|
|
5143
5129
|
/**
|
|
@@ -5158,11 +5144,11 @@ export interface TextToSpeechSSERequest {
|
|
|
5158
5144
|
*/
|
|
5159
5145
|
APIKey?: string;
|
|
5160
5146
|
/**
|
|
5161
|
-
* <p>TTS
|
|
5147
|
+
* <p>TTS的模型,支持flow_02_turbo,flow_01_ex,默认为flow_02_turbo</p><p>枚举值:</p><ul><li>flow_02_turbo: 高性价比模型,兼顾效果和成本</li><li>flow_01_ex: 高天花板模型,能力全面,在音色克隆上表现更优</li></ul>
|
|
5162
5148
|
*/
|
|
5163
5149
|
Model?: string;
|
|
5164
5150
|
/**
|
|
5165
|
-
* <p
|
|
5151
|
+
* <p>需要合成的语言,默认为空,表示自动识别</p><p>枚举值:</p><ul><li>zh: 中文</li><li>en: 英文</li><li>ja: 日语</li><li>ko: 韩语</li><li>yue: 粤语</li><li>ms: 马来语</li><li>ar: 阿拉伯语</li><li>id: 印尼语</li><li>th: 泰语</li><li>vi: 越南语</li></ul>
|
|
5166
5152
|
*/
|
|
5167
5153
|
Language?: string;
|
|
5168
5154
|
/**
|
|
@@ -5488,7 +5474,7 @@ export interface DeleteBasicModerationResponse {
|
|
|
5488
5474
|
*/
|
|
5489
5475
|
export interface TextToSpeechRequest {
|
|
5490
5476
|
/**
|
|
5491
|
-
* <p
|
|
5477
|
+
* <p>需要转语音的文字内容,最大支持2000字符</p>
|
|
5492
5478
|
*/
|
|
5493
5479
|
Text: string;
|
|
5494
5480
|
/**
|
|
@@ -5509,11 +5495,11 @@ export interface TextToSpeechRequest {
|
|
|
5509
5495
|
*/
|
|
5510
5496
|
APIKey?: string;
|
|
5511
5497
|
/**
|
|
5512
|
-
* <p>TTS
|
|
5498
|
+
* <p>TTS的模型,支持flow_02_turbo,flow_01_ex,默认为flow_02_turbo</p><p>枚举值:</p><ul><li>flow_02_turbo: 高性价比模型,兼顾效果和成本</li><li>flow_01_ex: 高天花板模型,能力全面,在音色克隆上表现更优</li></ul>
|
|
5513
5499
|
*/
|
|
5514
5500
|
Model?: string;
|
|
5515
5501
|
/**
|
|
5516
|
-
* <p
|
|
5502
|
+
* <p>需要合成的语言,默认为空,表示自动识别</p><p>枚举值:</p><ul><li>zh: 中文</li><li>en: 英文</li><li>ja: 日语</li><li>ko: 韩语</li><li>yue: 粤语</li><li>ms: 马来语</li><li>ar: 阿拉伯语</li><li>id: 印尼语</li><li>th: 泰语</li><li>vi: 越南语</li></ul>
|
|
5517
5503
|
*/
|
|
5518
5504
|
Language?: string;
|
|
5519
5505
|
/**
|