tencentcloud-sdk-nodejs-intl-en 3.0.1374 → 3.0.1376
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 +1 -1
- package/tencentcloud/billing/v20180709/models.js +11 -11
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cvm/v20170312/cvm_client.js +4 -4
- package/tencentcloud/cvm/v20170312/models.js +20 -22
- package/tencentcloud/gme/v20180711/models.js +13 -3
- package/tencentcloud/postgres/v20170312/models.js +9 -9
- package/tencentcloud/tcsas/v20250106/models.js +185 -0
- package/tencentcloud/tcsas/v20250106/tcsas_client.js +1 -0
- package/tencentcloud/trtc/v20190722/models.js +315 -83
- package/tencentcloud/trtc/v20190722/trtc_client.js +5 -1
- package/tencentcloud/vod/v20180717/models.js +1 -1
|
@@ -264,6 +264,49 @@ Note: interrupt words avoid triggering AI reply.
|
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
+
/**
|
|
268
|
+
* Transcription companion terminology table entry
|
|
269
|
+
* @class
|
|
270
|
+
*/
|
|
271
|
+
class TerminologyItem extends AbstractModel {
|
|
272
|
+
constructor(){
|
|
273
|
+
super();
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* <p>Target language.</p>
|
|
277
|
+
* @type {string || null}
|
|
278
|
+
*/
|
|
279
|
+
this.TargetLang = null;
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* <p>Terminology configuration.</p>
|
|
283
|
+
* @type {Array.<TermPair> || null}
|
|
284
|
+
*/
|
|
285
|
+
this.Terminology = null;
|
|
286
|
+
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @private
|
|
291
|
+
*/
|
|
292
|
+
deserialize(params) {
|
|
293
|
+
if (!params) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
this.TargetLang = 'TargetLang' in params ? params.TargetLang : null;
|
|
297
|
+
|
|
298
|
+
if (params.Terminology) {
|
|
299
|
+
this.Terminology = new Array();
|
|
300
|
+
for (let z in params.Terminology) {
|
|
301
|
+
let obj = new TermPair();
|
|
302
|
+
obj.deserialize(params.Terminology[z]);
|
|
303
|
+
this.Terminology.push(obj);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
267
310
|
/**
|
|
268
311
|
* The layout parameters.
|
|
269
312
|
* @class
|
|
@@ -1065,6 +1108,55 @@ class StartAIConversationRequest extends AbstractModel {
|
|
|
1065
1108
|
}
|
|
1066
1109
|
}
|
|
1067
1110
|
|
|
1111
|
+
/**
|
|
1112
|
+
* TTS sound parameter configuration.
|
|
1113
|
+
* @class
|
|
1114
|
+
*/
|
|
1115
|
+
class Voice extends AbstractModel {
|
|
1116
|
+
constructor(){
|
|
1117
|
+
super();
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* Voice ID, can be obtained from the timbre list or use a custom voice ID generated by sound clone.
|
|
1121
|
+
* @type {string || null}
|
|
1122
|
+
*/
|
|
1123
|
+
this.VoiceId = null;
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Speech speed adjustment. 0.5 for half speed, 2.0 for 2x speed, and 1.0 for normal speed. value range: [0.5, 2.0]. default: 1.0.
|
|
1127
|
+
* @type {number || null}
|
|
1128
|
+
*/
|
|
1129
|
+
this.Speed = null;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Audio volume adjustment, where 0 indicates mute and 10 indicates maximum volume. recommended to keep the default value of 1.0. value range: [0,10]. default: 1.0.
|
|
1133
|
+
* @type {number || null}
|
|
1134
|
+
*/
|
|
1135
|
+
this.Volume = null;
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
* Pitch adjustment. negative value makes the sound deeper, positive value makes the sound sharper. 0 indicates the original pitch. value range: [-12, 12]. default: 0.
|
|
1139
|
+
* @type {number || null}
|
|
1140
|
+
*/
|
|
1141
|
+
this.Pitch = null;
|
|
1142
|
+
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* @private
|
|
1147
|
+
*/
|
|
1148
|
+
deserialize(params) {
|
|
1149
|
+
if (!params) {
|
|
1150
|
+
return;
|
|
1151
|
+
}
|
|
1152
|
+
this.VoiceId = 'VoiceId' in params ? params.VoiceId : null;
|
|
1153
|
+
this.Speed = 'Speed' in params ? params.Speed : null;
|
|
1154
|
+
this.Volume = 'Volume' in params ? params.Volume : null;
|
|
1155
|
+
this.Pitch = 'Pitch' in params ? params.Pitch : null;
|
|
1156
|
+
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1068
1160
|
/**
|
|
1069
1161
|
* DescribeTRTCMarketScaleData request structure.
|
|
1070
1162
|
* @class
|
|
@@ -3570,7 +3662,7 @@ class CreateCloudTranscriptionResponse extends AbstractModel {
|
|
|
3570
3662
|
super();
|
|
3571
3663
|
|
|
3572
3664
|
/**
|
|
3573
|
-
* A unique identifier for the transcription task, generated by the Tencent Cloud server. The TaskID parameter is required for all subsequent query and stop requests
|
|
3665
|
+
* <p>A unique identifier for the transcription task, generated by the Tencent Cloud server. The TaskID parameter is required for all subsequent query and stop requests.</p>
|
|
3574
3666
|
* @type {string || null}
|
|
3575
3667
|
*/
|
|
3576
3668
|
this.TaskId = null;
|
|
@@ -3645,29 +3737,17 @@ class TranslationParam extends AbstractModel {
|
|
|
3645
3737
|
super();
|
|
3646
3738
|
|
|
3647
3739
|
/**
|
|
3648
|
-
* Target language for translation.
|
|
3649
|
-
|
|
3650
|
-
Supported target languages:
|
|
3651
|
-
|
|
3652
|
-
- <code>"zh"</code>: Chinese
|
|
3653
|
-
- <code>"en"</code>: English
|
|
3654
|
-
- <code>"vi"</code>: Vietnamese
|
|
3655
|
-
- <code>"ja"</code>: Japanese
|
|
3656
|
-
- <code>"ko"</code>: Korean
|
|
3657
|
-
- <code>"id"</code>: Indonesian
|
|
3658
|
-
- <code>"th"</code>: Thai
|
|
3659
|
-
- <code>"pt"</code>: Portuguese
|
|
3660
|
-
- <code>"ar"</code>: Arabic
|
|
3661
|
-
- <code>"es"</code>: Spanish
|
|
3662
|
-
- <code>"fr"</code>: French
|
|
3663
|
-
- <code>"ms"</code>: Malay
|
|
3664
|
-
- <code>"de"</code>: German
|
|
3665
|
-
- <code>"it"</code>: Italian
|
|
3666
|
-
- <code>"ru"</code>: Russian
|
|
3740
|
+
* <p>Target language for translation, example value ["en", "ja"]. Target language list [Chinese "zh", English "en", Vietnamese "vi", Japanese "ja", Korean "ko", Indonesian "id", Thai "th", Portuguese "pt", Arabic "ar", Spanish "es", French "fr", Malay "ms", German "de", Italian "it", Russian "ru"].</p>
|
|
3667
3741
|
* @type {Array.<string> || null}
|
|
3668
3742
|
*/
|
|
3669
3743
|
this.TargetLang = null;
|
|
3670
3744
|
|
|
3745
|
+
/**
|
|
3746
|
+
* <p>Glossary configuration.</p>
|
|
3747
|
+
* @type {Array.<TerminologyItem> || null}
|
|
3748
|
+
*/
|
|
3749
|
+
this.Terminologies = null;
|
|
3750
|
+
|
|
3671
3751
|
}
|
|
3672
3752
|
|
|
3673
3753
|
/**
|
|
@@ -3679,6 +3759,15 @@ Supported target languages:
|
|
|
3679
3759
|
}
|
|
3680
3760
|
this.TargetLang = 'TargetLang' in params ? params.TargetLang : null;
|
|
3681
3761
|
|
|
3762
|
+
if (params.Terminologies) {
|
|
3763
|
+
this.Terminologies = new Array();
|
|
3764
|
+
for (let z in params.Terminologies) {
|
|
3765
|
+
let obj = new TerminologyItem();
|
|
3766
|
+
obj.deserialize(params.Terminologies[z]);
|
|
3767
|
+
this.Terminologies.push(obj);
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3682
3771
|
}
|
|
3683
3772
|
}
|
|
3684
3773
|
|
|
@@ -5709,6 +5798,27 @@ Supported languages for speech-to-text:
|
|
|
5709
5798
|
*/
|
|
5710
5799
|
this.VadLevel = null;
|
|
5711
5800
|
|
|
5801
|
+
/**
|
|
5802
|
+
* Whether to filter out dirty words (currently only support basic language engine and standard language engine). Range: [0, 2]. Default value: 0.
|
|
5803
|
+
0: Not filtering; 1: Filter out dirty words; 2: Replace dirty words with "*".
|
|
5804
|
+
* @type {number || null}
|
|
5805
|
+
*/
|
|
5806
|
+
this.FilterDirty = null;
|
|
5807
|
+
|
|
5808
|
+
/**
|
|
5809
|
+
* Whether to filter filler words (currently only support basic language engine and standard language engine). Range: [0, 2]. Default value 0.
|
|
5810
|
+
0:No filtering; 1: Partial filtering; 2: Strict filtering.
|
|
5811
|
+
* @type {number || null}
|
|
5812
|
+
*/
|
|
5813
|
+
this.FilterModal = null;
|
|
5814
|
+
|
|
5815
|
+
/**
|
|
5816
|
+
* Whether to filter periods at the end of sentences (currently only support basic language engine and standard language engine), range [0, 1], default value 0.
|
|
5817
|
+
0: Do not filter out periods at the end of sentences; 1: Filter out periods at the end of sentences.
|
|
5818
|
+
* @type {number || null}
|
|
5819
|
+
*/
|
|
5820
|
+
this.FilterPunc = null;
|
|
5821
|
+
|
|
5712
5822
|
}
|
|
5713
5823
|
|
|
5714
5824
|
/**
|
|
@@ -5723,6 +5833,9 @@ Supported languages for speech-to-text:
|
|
|
5723
5833
|
this.HotWordList = 'HotWordList' in params ? params.HotWordList : null;
|
|
5724
5834
|
this.AlternativeLanguage = 'AlternativeLanguage' in params ? params.AlternativeLanguage : null;
|
|
5725
5835
|
this.VadLevel = 'VadLevel' in params ? params.VadLevel : null;
|
|
5836
|
+
this.FilterDirty = 'FilterDirty' in params ? params.FilterDirty : null;
|
|
5837
|
+
this.FilterModal = 'FilterModal' in params ? params.FilterModal : null;
|
|
5838
|
+
this.FilterPunc = 'FilterPunc' in params ? params.FilterPunc : null;
|
|
5726
5839
|
|
|
5727
5840
|
}
|
|
5728
5841
|
}
|
|
@@ -5912,6 +6025,55 @@ class RemoveUserRequest extends AbstractModel {
|
|
|
5912
6025
|
}
|
|
5913
6026
|
}
|
|
5914
6027
|
|
|
6028
|
+
/**
|
|
6029
|
+
* Speech parameter configuration for companion transcription TTS
|
|
6030
|
+
* @class
|
|
6031
|
+
*/
|
|
6032
|
+
class TTSVoice extends AbstractModel {
|
|
6033
|
+
constructor(){
|
|
6034
|
+
super();
|
|
6035
|
+
|
|
6036
|
+
/**
|
|
6037
|
+
* <p>Voice ID.</p>
|
|
6038
|
+
* @type {string || null}
|
|
6039
|
+
*/
|
|
6040
|
+
this.VoiceId = null;
|
|
6041
|
+
|
|
6042
|
+
/**
|
|
6043
|
+
* <p>Speech speed. 0.5 for half speed, 2.0 for 2x speed, 1.0 for normal speed. Value range: [0.5, 2.0]. Default: 1.0.</p>
|
|
6044
|
+
* @type {number || null}
|
|
6045
|
+
*/
|
|
6046
|
+
this.Speed = null;
|
|
6047
|
+
|
|
6048
|
+
/**
|
|
6049
|
+
* <p>Audio volume. 0 is mute, 10 is maximum volume. It is recommended to keep the default value to 1.0. Value range: [0, 10]. Default: 1.0.</p>
|
|
6050
|
+
* @type {number || null}
|
|
6051
|
+
*/
|
|
6052
|
+
this.Volume = null;
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
* <p>Pitch. Negative value makes the sound low and deep, positive value makes it sharper. 0 indicates the original pitch. Value range: [-12, 12]. Default 0.</p>
|
|
6056
|
+
* @type {number || null}
|
|
6057
|
+
*/
|
|
6058
|
+
this.Pitch = null;
|
|
6059
|
+
|
|
6060
|
+
}
|
|
6061
|
+
|
|
6062
|
+
/**
|
|
6063
|
+
* @private
|
|
6064
|
+
*/
|
|
6065
|
+
deserialize(params) {
|
|
6066
|
+
if (!params) {
|
|
6067
|
+
return;
|
|
6068
|
+
}
|
|
6069
|
+
this.VoiceId = 'VoiceId' in params ? params.VoiceId : null;
|
|
6070
|
+
this.Speed = 'Speed' in params ? params.Speed : null;
|
|
6071
|
+
this.Volume = 'Volume' in params ? params.Volume : null;
|
|
6072
|
+
this.Pitch = 'Pitch' in params ? params.Pitch : null;
|
|
6073
|
+
|
|
6074
|
+
}
|
|
6075
|
+
}
|
|
6076
|
+
|
|
5915
6077
|
/**
|
|
5916
6078
|
* DismissRoom request structure.
|
|
5917
6079
|
* @class
|
|
@@ -7182,7 +7344,8 @@ If all anchors being transcribed continuously leave the TRTC room or switch to t
|
|
|
7182
7344
|
this.MaxIdleTime = null;
|
|
7183
7345
|
|
|
7184
7346
|
/**
|
|
7185
|
-
*
|
|
7347
|
+
* Custom data mode: 0 indicates disabled, 1 indicates enabled.
|
|
7348
|
+
Leave blank defaults to 0, meaning custom data is disabled.
|
|
7186
7349
|
* @type {number || null}
|
|
7187
7350
|
*/
|
|
7188
7351
|
this.SendCustomMode = null;
|
|
@@ -7363,36 +7526,42 @@ class DeleteCloudRecordingRequest extends AbstractModel {
|
|
|
7363
7526
|
}
|
|
7364
7527
|
|
|
7365
7528
|
/**
|
|
7366
|
-
* TTS
|
|
7529
|
+
* Transcription TTS parameter
|
|
7367
7530
|
* @class
|
|
7368
7531
|
*/
|
|
7369
|
-
class
|
|
7532
|
+
class TTSParam extends AbstractModel {
|
|
7370
7533
|
constructor(){
|
|
7371
7534
|
super();
|
|
7372
7535
|
|
|
7373
7536
|
/**
|
|
7374
|
-
*
|
|
7537
|
+
* <p>TTS model</p>
|
|
7375
7538
|
* @type {string || null}
|
|
7376
7539
|
*/
|
|
7377
|
-
this.
|
|
7540
|
+
this.Model = null;
|
|
7378
7541
|
|
|
7379
7542
|
/**
|
|
7380
|
-
*
|
|
7381
|
-
* @type {
|
|
7543
|
+
* <p>TTS language must be in the TargetLang list of TranslationParam.</p>
|
|
7544
|
+
* @type {string || null}
|
|
7382
7545
|
*/
|
|
7383
|
-
this.
|
|
7546
|
+
this.Language = null;
|
|
7384
7547
|
|
|
7385
7548
|
/**
|
|
7386
|
-
*
|
|
7387
|
-
* @type {
|
|
7549
|
+
* <p>The user requesting TTS playback. They must be on the subscription allowlist and not on the blocklist.</p>
|
|
7550
|
+
* @type {TranscriptionUserInfoParams || null}
|
|
7388
7551
|
*/
|
|
7389
|
-
this.
|
|
7552
|
+
this.TargetUser = null;
|
|
7390
7553
|
|
|
7391
7554
|
/**
|
|
7392
|
-
*
|
|
7393
|
-
* @type {
|
|
7555
|
+
* <p>The robot user that pushes TTS audio back into the room.</p>
|
|
7556
|
+
* @type {TranscriptionUserInfoParams || null}
|
|
7394
7557
|
*/
|
|
7395
|
-
this.
|
|
7558
|
+
this.TTSRobotUser = null;
|
|
7559
|
+
|
|
7560
|
+
/**
|
|
7561
|
+
* <p>TTS configuration parameters.</p>
|
|
7562
|
+
* @type {TTSVoice || null}
|
|
7563
|
+
*/
|
|
7564
|
+
this.Voice = null;
|
|
7396
7565
|
|
|
7397
7566
|
}
|
|
7398
7567
|
|
|
@@ -7403,10 +7572,26 @@ class Voice extends AbstractModel {
|
|
|
7403
7572
|
if (!params) {
|
|
7404
7573
|
return;
|
|
7405
7574
|
}
|
|
7406
|
-
this.
|
|
7407
|
-
this.
|
|
7408
|
-
|
|
7409
|
-
|
|
7575
|
+
this.Model = 'Model' in params ? params.Model : null;
|
|
7576
|
+
this.Language = 'Language' in params ? params.Language : null;
|
|
7577
|
+
|
|
7578
|
+
if (params.TargetUser) {
|
|
7579
|
+
let obj = new TranscriptionUserInfoParams();
|
|
7580
|
+
obj.deserialize(params.TargetUser)
|
|
7581
|
+
this.TargetUser = obj;
|
|
7582
|
+
}
|
|
7583
|
+
|
|
7584
|
+
if (params.TTSRobotUser) {
|
|
7585
|
+
let obj = new TranscriptionUserInfoParams();
|
|
7586
|
+
obj.deserialize(params.TTSRobotUser)
|
|
7587
|
+
this.TTSRobotUser = obj;
|
|
7588
|
+
}
|
|
7589
|
+
|
|
7590
|
+
if (params.Voice) {
|
|
7591
|
+
let obj = new TTSVoice();
|
|
7592
|
+
obj.deserialize(params.Voice)
|
|
7593
|
+
this.Voice = obj;
|
|
7594
|
+
}
|
|
7410
7595
|
|
|
7411
7596
|
}
|
|
7412
7597
|
}
|
|
@@ -8227,41 +8412,47 @@ class CreateCloudTranscriptionRequest extends AbstractModel {
|
|
|
8227
8412
|
super();
|
|
8228
8413
|
|
|
8229
8414
|
/**
|
|
8230
|
-
*
|
|
8415
|
+
* <p>The <a href="https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#sdkappid">SdkAppId</a> of TRTC is the same as the SdkAppId corresponding to the transcribe room.</p>
|
|
8231
8416
|
* @type {number || null}
|
|
8232
8417
|
*/
|
|
8233
8418
|
this.SdkAppId = null;
|
|
8234
8419
|
|
|
8235
8420
|
/**
|
|
8236
|
-
*
|
|
8421
|
+
* <p>The <a href="https://www.tencentcloud.com/document/product/647/46351?from_cn_redirect=1#roomid">RoomId</a> of TRTC, which is the RoomId corresponding to the transcribed TRTC room. Note: The room ID type defaults to integer. If the room ID type is string, specify it through RoomIdType.</p>
|
|
8237
8422
|
* @type {string || null}
|
|
8238
8423
|
*/
|
|
8239
8424
|
this.RoomId = null;
|
|
8240
8425
|
|
|
8241
8426
|
/**
|
|
8242
|
-
*
|
|
8427
|
+
* <p>The room information RoomType must be identical to the data type of the RoomId corresponding to the transcribed room. 0 indicates an integer room number, and 1 indicates a string Room Number.</p>
|
|
8243
8428
|
* @type {number || null}
|
|
8244
8429
|
*/
|
|
8245
8430
|
this.RoomIdType = null;
|
|
8246
8431
|
|
|
8247
8432
|
/**
|
|
8248
|
-
* Parameters for transcribe service to join TRTC room
|
|
8433
|
+
* <p>Parameters for the transcribe service to join TRTC room.</p>
|
|
8249
8434
|
* @type {TranscriptionParam || null}
|
|
8250
8435
|
*/
|
|
8251
8436
|
this.TranscriptionParam = null;
|
|
8252
8437
|
|
|
8253
8438
|
/**
|
|
8254
|
-
* Parameters used by the ASR transcribe service
|
|
8439
|
+
* <p>Parameters used by the ASR transcribe service.</p>
|
|
8255
8440
|
* @type {AsrParam || null}
|
|
8256
8441
|
*/
|
|
8257
8442
|
this.AsrParam = null;
|
|
8258
8443
|
|
|
8259
8444
|
/**
|
|
8260
|
-
*
|
|
8445
|
+
* <p>Parameters used to transcribe the translation service.</p>
|
|
8261
8446
|
* @type {TranslationParam || null}
|
|
8262
8447
|
*/
|
|
8263
8448
|
this.TranslationParam = null;
|
|
8264
8449
|
|
|
8450
|
+
/**
|
|
8451
|
+
* <p>Parameters used by the TTS transcribe service.</p>
|
|
8452
|
+
* @type {Array.<TTSParam> || null}
|
|
8453
|
+
*/
|
|
8454
|
+
this.TTSParam = null;
|
|
8455
|
+
|
|
8265
8456
|
}
|
|
8266
8457
|
|
|
8267
8458
|
/**
|
|
@@ -8293,6 +8484,15 @@ class CreateCloudTranscriptionRequest extends AbstractModel {
|
|
|
8293
8484
|
this.TranslationParam = obj;
|
|
8294
8485
|
}
|
|
8295
8486
|
|
|
8487
|
+
if (params.TTSParam) {
|
|
8488
|
+
this.TTSParam = new Array();
|
|
8489
|
+
for (let z in params.TTSParam) {
|
|
8490
|
+
let obj = new TTSParam();
|
|
8491
|
+
obj.deserialize(params.TTSParam[z]);
|
|
8492
|
+
this.TTSParam.push(obj);
|
|
8493
|
+
}
|
|
8494
|
+
}
|
|
8495
|
+
|
|
8296
8496
|
}
|
|
8297
8497
|
}
|
|
8298
8498
|
|
|
@@ -9174,6 +9374,41 @@ class StopWebRecordResponse extends AbstractModel {
|
|
|
9174
9374
|
}
|
|
9175
9375
|
}
|
|
9176
9376
|
|
|
9377
|
+
/**
|
|
9378
|
+
* Glossary phrase pairs for transcription
|
|
9379
|
+
* @class
|
|
9380
|
+
*/
|
|
9381
|
+
class TermPair extends AbstractModel {
|
|
9382
|
+
constructor(){
|
|
9383
|
+
super();
|
|
9384
|
+
|
|
9385
|
+
/**
|
|
9386
|
+
* <p>Source terms.</p>
|
|
9387
|
+
* @type {string || null}
|
|
9388
|
+
*/
|
|
9389
|
+
this.Source = null;
|
|
9390
|
+
|
|
9391
|
+
/**
|
|
9392
|
+
* <p>Translated terms in target language.</p>
|
|
9393
|
+
* @type {string || null}
|
|
9394
|
+
*/
|
|
9395
|
+
this.Target = null;
|
|
9396
|
+
|
|
9397
|
+
}
|
|
9398
|
+
|
|
9399
|
+
/**
|
|
9400
|
+
* @private
|
|
9401
|
+
*/
|
|
9402
|
+
deserialize(params) {
|
|
9403
|
+
if (!params) {
|
|
9404
|
+
return;
|
|
9405
|
+
}
|
|
9406
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
9407
|
+
this.Target = 'Target' in params ? params.Target : null;
|
|
9408
|
+
|
|
9409
|
+
}
|
|
9410
|
+
}
|
|
9411
|
+
|
|
9177
9412
|
/**
|
|
9178
9413
|
* Convert speech to text parameter.
|
|
9179
9414
|
* @class
|
|
@@ -9189,42 +9424,37 @@ You can unlock different languages by purchasing the "AI intelligent recognition
|
|
|
9189
9424
|
|
|
9190
9425
|
Supported languages for different speech to text package versions are as follows:.
|
|
9191
9426
|
|
|
9192
|
-
|
|
9193
|
-
-"zh": chinese (
|
|
9194
|
-
|
|
9195
|
-
-"
|
|
9196
|
-
-"
|
|
9197
|
-
-"
|
|
9198
|
-
-"
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
-"
|
|
9202
|
-
-"
|
|
9203
|
-
-"
|
|
9204
|
-
-"
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
-"
|
|
9208
|
-
-"
|
|
9209
|
-
-"
|
|
9210
|
-
|
|
9211
|
-
-"
|
|
9212
|
-
-"
|
|
9213
|
-
-"
|
|
9214
|
-
-"
|
|
9215
|
-
-"
|
|
9216
|
-
-"
|
|
9217
|
-
-"
|
|
9218
|
-
-"
|
|
9219
|
-
-"
|
|
9220
|
-
-"
|
|
9221
|
-
-"
|
|
9222
|
-
-"
|
|
9223
|
-
-`It`: italian.
|
|
9224
|
-
-"Ru": russian.
|
|
9225
|
-
-"sv": "swedish.".
|
|
9226
|
-
-"Da": "danish.".
|
|
9227
|
-
-"No": norwegian.
|
|
9427
|
+
- "zh": chinese (simplified).
|
|
9428
|
+
- "zh-TW": chinese (traditional).
|
|
9429
|
+
- "en": english.
|
|
9430
|
+
- "zh-yue": cantonese in china.
|
|
9431
|
+
- "vi": "vietnamese.".
|
|
9432
|
+
- "ja": "japanese.".
|
|
9433
|
+
- "ko": "korean.".
|
|
9434
|
+
- "id": "indonesian".
|
|
9435
|
+
- "th": thai.
|
|
9436
|
+
- "pt": portuguese.
|
|
9437
|
+
- "tr": "turkish.".
|
|
9438
|
+
- "ar": "arabic".
|
|
9439
|
+
- "es": "spanish".
|
|
9440
|
+
- "hi": "hindi".
|
|
9441
|
+
- "ft": "french.".
|
|
9442
|
+
- "ms": malay.
|
|
9443
|
+
- "fil": filipino.
|
|
9444
|
+
- "de": german.
|
|
9445
|
+
-`it`: italian.
|
|
9446
|
+
- "ru": russian.
|
|
9447
|
+
- "sv": "swedish.".
|
|
9448
|
+
- "da": "danish.".
|
|
9449
|
+
- "no": norwegian.
|
|
9450
|
+
- "pl": polski.
|
|
9451
|
+
-"af-ZA": afrikaans.
|
|
9452
|
+
- "nl-NL": dutch.
|
|
9453
|
+
- "nl-BE": flemish.
|
|
9454
|
+
- "uz": uzbek.
|
|
9455
|
+
- "hu": hungarian.
|
|
9456
|
+
- "he": hebrew.
|
|
9457
|
+
- "ur": urdu.
|
|
9228
9458
|
|
|
9229
9459
|
**Note**:.
|
|
9230
9460
|
If the language you need is not available, contact our technical staff.
|
|
@@ -9234,8 +9464,6 @@ If the language you need is not available, contact our technical staff.
|
|
|
9234
9464
|
|
|
9235
9465
|
/**
|
|
9236
9466
|
* **Fuzzy recognition is an advanced edition capacity, charged by default as the advanced edition.**.
|
|
9237
|
-
Note: does not support entering "zh-dialect", "16k_zh_edu", "16k_zh_medical", "16k_zh_court", "8k_zh_large", "16k_zh_large", "16k_multi_lang", "16k_zh_en".
|
|
9238
|
-
|
|
9239
9467
|
* @type {Array.<string> || null}
|
|
9240
9468
|
*/
|
|
9241
9469
|
this.AlternativeLanguage = null;
|
|
@@ -10803,6 +11031,7 @@ module.exports = {
|
|
|
10803
11031
|
ModifyCloudSliceTaskResponse: ModifyCloudSliceTaskResponse,
|
|
10804
11032
|
DescribeCloudModerationResponse: DescribeCloudModerationResponse,
|
|
10805
11033
|
AgentConfig: AgentConfig,
|
|
11034
|
+
TerminologyItem: TerminologyItem,
|
|
10806
11035
|
McuLayout: McuLayout,
|
|
10807
11036
|
SubscribeModerationUserIds: SubscribeModerationUserIds,
|
|
10808
11037
|
AudioEncodeParams: AudioEncodeParams,
|
|
@@ -10813,6 +11042,7 @@ module.exports = {
|
|
|
10813
11042
|
DescribeTRTCRealTimeScaleDataRequest: DescribeTRTCRealTimeScaleDataRequest,
|
|
10814
11043
|
StartAIConversationResponse: StartAIConversationResponse,
|
|
10815
11044
|
StartAIConversationRequest: StartAIConversationRequest,
|
|
11045
|
+
Voice: Voice,
|
|
10816
11046
|
DescribeTRTCMarketScaleDataRequest: DescribeTRTCMarketScaleDataRequest,
|
|
10817
11047
|
McuLayoutVolume: McuLayoutVolume,
|
|
10818
11048
|
VoiceCloneRequest: VoiceCloneRequest,
|
|
@@ -10909,6 +11139,7 @@ module.exports = {
|
|
|
10909
11139
|
TurnDetection: TurnDetection,
|
|
10910
11140
|
AudioEncode: AudioEncode,
|
|
10911
11141
|
RemoveUserRequest: RemoveUserRequest,
|
|
11142
|
+
TTSVoice: TTSVoice,
|
|
10912
11143
|
DismissRoomRequest: DismissRoomRequest,
|
|
10913
11144
|
DescribeUnusualEventRequest: DescribeUnusualEventRequest,
|
|
10914
11145
|
DescribeCloudRecordingRequest: DescribeCloudRecordingRequest,
|
|
@@ -10935,7 +11166,7 @@ module.exports = {
|
|
|
10935
11166
|
DescribeCloudTranscriptionRequest: DescribeCloudTranscriptionRequest,
|
|
10936
11167
|
CreateCloudSliceTaskResponse: CreateCloudSliceTaskResponse,
|
|
10937
11168
|
DeleteCloudRecordingRequest: DeleteCloudRecordingRequest,
|
|
10938
|
-
|
|
11169
|
+
TTSParam: TTSParam,
|
|
10939
11170
|
ModifyCloudModerationResponse: ModifyCloudModerationResponse,
|
|
10940
11171
|
Terminology: Terminology,
|
|
10941
11172
|
VideoParams: VideoParams,
|
|
@@ -10970,6 +11201,7 @@ module.exports = {
|
|
|
10970
11201
|
UpdateStreamIngestRequest: UpdateStreamIngestRequest,
|
|
10971
11202
|
TextToSpeechSSERequest: TextToSpeechSSERequest,
|
|
10972
11203
|
StopWebRecordResponse: StopWebRecordResponse,
|
|
11204
|
+
TermPair: TermPair,
|
|
10973
11205
|
STTConfig: STTConfig,
|
|
10974
11206
|
StopWebRecordRequest: StopWebRecordRequest,
|
|
10975
11207
|
McuSeiParams: McuSeiParams,
|
|
@@ -19,6 +19,7 @@ const AbstractClient = require('../../common/abstract_client')
|
|
|
19
19
|
const ModifyCloudSliceTaskResponse = models.ModifyCloudSliceTaskResponse;
|
|
20
20
|
const DescribeCloudModerationResponse = models.DescribeCloudModerationResponse;
|
|
21
21
|
const AgentConfig = models.AgentConfig;
|
|
22
|
+
const TerminologyItem = models.TerminologyItem;
|
|
22
23
|
const McuLayout = models.McuLayout;
|
|
23
24
|
const SubscribeModerationUserIds = models.SubscribeModerationUserIds;
|
|
24
25
|
const AudioEncodeParams = models.AudioEncodeParams;
|
|
@@ -29,6 +30,7 @@ const McuVideoParams = models.McuVideoParams;
|
|
|
29
30
|
const DescribeTRTCRealTimeScaleDataRequest = models.DescribeTRTCRealTimeScaleDataRequest;
|
|
30
31
|
const StartAIConversationResponse = models.StartAIConversationResponse;
|
|
31
32
|
const StartAIConversationRequest = models.StartAIConversationRequest;
|
|
33
|
+
const Voice = models.Voice;
|
|
32
34
|
const DescribeTRTCMarketScaleDataRequest = models.DescribeTRTCMarketScaleDataRequest;
|
|
33
35
|
const McuLayoutVolume = models.McuLayoutVolume;
|
|
34
36
|
const VoiceCloneRequest = models.VoiceCloneRequest;
|
|
@@ -125,6 +127,7 @@ const McuFeedBackRoomParams = models.McuFeedBackRoomParams;
|
|
|
125
127
|
const TurnDetection = models.TurnDetection;
|
|
126
128
|
const AudioEncode = models.AudioEncode;
|
|
127
129
|
const RemoveUserRequest = models.RemoveUserRequest;
|
|
130
|
+
const TTSVoice = models.TTSVoice;
|
|
128
131
|
const DismissRoomRequest = models.DismissRoomRequest;
|
|
129
132
|
const DescribeUnusualEventRequest = models.DescribeUnusualEventRequest;
|
|
130
133
|
const DescribeCloudRecordingRequest = models.DescribeCloudRecordingRequest;
|
|
@@ -151,7 +154,7 @@ const DismissRoomByStrRoomIdRequest = models.DismissRoomByStrRoomIdRequest;
|
|
|
151
154
|
const DescribeCloudTranscriptionRequest = models.DescribeCloudTranscriptionRequest;
|
|
152
155
|
const CreateCloudSliceTaskResponse = models.CreateCloudSliceTaskResponse;
|
|
153
156
|
const DeleteCloudRecordingRequest = models.DeleteCloudRecordingRequest;
|
|
154
|
-
const
|
|
157
|
+
const TTSParam = models.TTSParam;
|
|
155
158
|
const ModifyCloudModerationResponse = models.ModifyCloudModerationResponse;
|
|
156
159
|
const Terminology = models.Terminology;
|
|
157
160
|
const VideoParams = models.VideoParams;
|
|
@@ -186,6 +189,7 @@ const VoiceCloneResponse = models.VoiceCloneResponse;
|
|
|
186
189
|
const UpdateStreamIngestRequest = models.UpdateStreamIngestRequest;
|
|
187
190
|
const TextToSpeechSSERequest = models.TextToSpeechSSERequest;
|
|
188
191
|
const StopWebRecordResponse = models.StopWebRecordResponse;
|
|
192
|
+
const TermPair = models.TermPair;
|
|
189
193
|
const STTConfig = models.STTConfig;
|
|
190
194
|
const StopWebRecordRequest = models.StopWebRecordRequest;
|
|
191
195
|
const McuSeiParams = models.McuSeiParams;
|
|
@@ -40597,7 +40597,7 @@ class AigcImageTaskInputFileInfo extends AbstractModel {
|
|
|
40597
40597
|
this.Type = null;
|
|
40598
40598
|
|
|
40599
40599
|
/**
|
|
40600
|
-
* <p>The media file ID of the image file, which is the globally unique identifier of this file in VOD, is assigned by the VOD backend after successful upload. You can obtain this field in the <a href="/document/product/266/7830">video upload completion event notification</a> or the <a href="https://console.cloud.tencent.com/vod/media">VOD console</a>. This parameter is valid when the Type value is File.<br>Note:</p><ol><li>Images less than 7M are recommended;</li><li>The image format values are: jpeg, jpg, png, webp.</li></ol>
|
|
40600
|
+
* <p>The media file ID of the image file, which is the globally unique identifier of this file in VOD, is assigned by the VOD backend after successful upload. You can obtain this field in the <a href="/document/product/266/7830?from_cn_redirect=1">video upload completion event notification</a> or the <a href="https://console.cloud.tencent.com/vod/media">VOD console</a>. This parameter is valid when the Type value is File.<br>Note:</p><ol><li>Images less than 7M are recommended;</li><li>The image format values are: jpeg, jpg, png, webp.</li></ol>
|
|
40601
40601
|
* @type {string || null}
|
|
40602
40602
|
*/
|
|
40603
40603
|
this.FileId = null;
|