tencentcloud-sdk-nodejs-intl-en 3.0.809 → 3.0.811

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.809",
3
+ "version": "3.0.811",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.809";
1
+ const sdkVersion = "3.0.811";
2
2
  module.exports = sdkVersion
@@ -8597,6 +8597,41 @@ class AwsPrivateAccess extends AbstractModel {
8597
8597
  }
8598
8598
  }
8599
8599
 
8600
+ /**
8601
+ * EditMedia response structure.
8602
+ * @class
8603
+ */
8604
+ class EditMediaResponse extends AbstractModel {
8605
+ constructor(){
8606
+ super();
8607
+
8608
+ /**
8609
+ *
8610
+ * @type {string || null}
8611
+ */
8612
+ this.TaskId = null;
8613
+
8614
+ /**
8615
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
8616
+ * @type {string || null}
8617
+ */
8618
+ this.RequestId = null;
8619
+
8620
+ }
8621
+
8622
+ /**
8623
+ * @private
8624
+ */
8625
+ deserialize(params) {
8626
+ if (!params) {
8627
+ return;
8628
+ }
8629
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
8630
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8631
+
8632
+ }
8633
+ }
8634
+
8600
8635
  /**
8601
8636
  * Parameters for OCR-based recognition of politically sensitive content
8602
8637
  * @class
@@ -10085,6 +10120,41 @@ Note: this field may return null, indicating that no valid values can be obtaine
10085
10120
  }
10086
10121
  }
10087
10122
 
10123
+ /**
10124
+ * ProcessMedia response structure.
10125
+ * @class
10126
+ */
10127
+ class ProcessMediaResponse extends AbstractModel {
10128
+ constructor(){
10129
+ super();
10130
+
10131
+ /**
10132
+ * Task ID
10133
+ * @type {string || null}
10134
+ */
10135
+ this.TaskId = null;
10136
+
10137
+ /**
10138
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
10139
+ * @type {string || null}
10140
+ */
10141
+ this.RequestId = null;
10142
+
10143
+ }
10144
+
10145
+ /**
10146
+ * @private
10147
+ */
10148
+ deserialize(params) {
10149
+ if (!params) {
10150
+ return;
10151
+ }
10152
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
10153
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10154
+
10155
+ }
10156
+ }
10157
+
10088
10158
  /**
10089
10159
  * CreateWordSamples response structure.
10090
10160
  * @class
@@ -11185,6 +11255,79 @@ Default value: `weak`.
11185
11255
  }
11186
11256
  }
11187
11257
 
11258
+ /**
11259
+ *
11260
+ * @class
11261
+ */
11262
+ class EditMediaOutputConfig extends AbstractModel {
11263
+ constructor(){
11264
+ super();
11265
+
11266
+ /**
11267
+ *
11268
+ * @type {string || null}
11269
+ */
11270
+ this.MediaName = null;
11271
+
11272
+ /**
11273
+ *
11274
+ * @type {string || null}
11275
+ */
11276
+ this.Type = null;
11277
+
11278
+ /**
11279
+ *
11280
+ * @type {number || null}
11281
+ */
11282
+ this.ClassId = null;
11283
+
11284
+ /**
11285
+ *
11286
+ * @type {string || null}
11287
+ */
11288
+ this.ExpireTime = null;
11289
+
11290
+ /**
11291
+ *
11292
+ * @type {EditMediaVideoStream || null}
11293
+ */
11294
+ this.VideoStream = null;
11295
+
11296
+ /**
11297
+ *
11298
+ * @type {EditMediaTEHDConfig || null}
11299
+ */
11300
+ this.TEHDConfig = null;
11301
+
11302
+ }
11303
+
11304
+ /**
11305
+ * @private
11306
+ */
11307
+ deserialize(params) {
11308
+ if (!params) {
11309
+ return;
11310
+ }
11311
+ this.MediaName = 'MediaName' in params ? params.MediaName : null;
11312
+ this.Type = 'Type' in params ? params.Type : null;
11313
+ this.ClassId = 'ClassId' in params ? params.ClassId : null;
11314
+ this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
11315
+
11316
+ if (params.VideoStream) {
11317
+ let obj = new EditMediaVideoStream();
11318
+ obj.deserialize(params.VideoStream)
11319
+ this.VideoStream = obj;
11320
+ }
11321
+
11322
+ if (params.TEHDConfig) {
11323
+ let obj = new EditMediaTEHDConfig();
11324
+ obj.deserialize(params.TEHDConfig)
11325
+ this.TEHDConfig = obj;
11326
+ }
11327
+
11328
+ }
11329
+ }
11330
+
11188
11331
  /**
11189
11332
  * Information of a video splitting task.
11190
11333
  * @class
@@ -11483,6 +11626,125 @@ class VideoFrameInterpolationInfo extends AbstractModel {
11483
11626
  }
11484
11627
  }
11485
11628
 
11629
+ /**
11630
+ * EditMedia request structure.
11631
+ * @class
11632
+ */
11633
+ class EditMediaRequest extends AbstractModel {
11634
+ constructor(){
11635
+ super();
11636
+
11637
+ /**
11638
+ *
11639
+ * @type {string || null}
11640
+ */
11641
+ this.InputType = null;
11642
+
11643
+ /**
11644
+ *
11645
+ * @type {number || null}
11646
+ */
11647
+ this.SubAppId = null;
11648
+
11649
+ /**
11650
+ *
11651
+ * @type {Array.<EditMediaFileInfo> || null}
11652
+ */
11653
+ this.FileInfos = null;
11654
+
11655
+ /**
11656
+ *
11657
+ * @type {Array.<EditMediaStreamInfo> || null}
11658
+ */
11659
+ this.StreamInfos = null;
11660
+
11661
+ /**
11662
+ *
11663
+ * @type {number || null}
11664
+ */
11665
+ this.Definition = null;
11666
+
11667
+ /**
11668
+ *
11669
+ * @type {string || null}
11670
+ */
11671
+ this.ProcedureName = null;
11672
+
11673
+ /**
11674
+ *
11675
+ * @type {EditMediaOutputConfig || null}
11676
+ */
11677
+ this.OutputConfig = null;
11678
+
11679
+ /**
11680
+ *
11681
+ * @type {string || null}
11682
+ */
11683
+ this.SessionContext = null;
11684
+
11685
+ /**
11686
+ *
11687
+ * @type {number || null}
11688
+ */
11689
+ this.TasksPriority = null;
11690
+
11691
+ /**
11692
+ * Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
11693
+ * @type {string || null}
11694
+ */
11695
+ this.SessionId = null;
11696
+
11697
+ /**
11698
+ * Reserved field for special purposes.
11699
+ * @type {string || null}
11700
+ */
11701
+ this.ExtInfo = null;
11702
+
11703
+ }
11704
+
11705
+ /**
11706
+ * @private
11707
+ */
11708
+ deserialize(params) {
11709
+ if (!params) {
11710
+ return;
11711
+ }
11712
+ this.InputType = 'InputType' in params ? params.InputType : null;
11713
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
11714
+
11715
+ if (params.FileInfos) {
11716
+ this.FileInfos = new Array();
11717
+ for (let z in params.FileInfos) {
11718
+ let obj = new EditMediaFileInfo();
11719
+ obj.deserialize(params.FileInfos[z]);
11720
+ this.FileInfos.push(obj);
11721
+ }
11722
+ }
11723
+
11724
+ if (params.StreamInfos) {
11725
+ this.StreamInfos = new Array();
11726
+ for (let z in params.StreamInfos) {
11727
+ let obj = new EditMediaStreamInfo();
11728
+ obj.deserialize(params.StreamInfos[z]);
11729
+ this.StreamInfos.push(obj);
11730
+ }
11731
+ }
11732
+ this.Definition = 'Definition' in params ? params.Definition : null;
11733
+ this.ProcedureName = 'ProcedureName' in params ? params.ProcedureName : null;
11734
+
11735
+ if (params.OutputConfig) {
11736
+ let obj = new EditMediaOutputConfig();
11737
+ obj.deserialize(params.OutputConfig)
11738
+ this.OutputConfig = obj;
11739
+ }
11740
+ this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
11741
+ this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
11742
+ this.SessionId = 'SessionId' in params ? params.SessionId : null;
11743
+ this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
11744
+
11745
+ }
11746
+ }
11747
+
11486
11748
  /**
11487
11749
  * DescribeFileAttributes response structure.
11488
11750
  * @class
@@ -16218,6 +16480,125 @@ For other valid values, see [RFC 5646](https://tools.ietf.org/html/rfc5646).
16218
16480
  }
16219
16481
  }
16220
16482
 
16483
+ /**
16484
+ * ProcessMedia request structure.
16485
+ * @class
16486
+ */
16487
+ class ProcessMediaRequest extends AbstractModel {
16488
+ constructor(){
16489
+ super();
16490
+
16491
+ /**
16492
+ * Media file ID, i.e., the globally unique ID of a file in VOD assigned by the VOD backend after successful upload. This field can be obtained through the [video upload completion event notification](https://intl.cloud.tencent.com/document/product/266/7830?from_cn_redirect=1) or [VOD Console](https://console.cloud.tencent.com/vod/media).
16493
+ * @type {string || null}
16494
+ */
16495
+ this.FileId = null;
16496
+
16497
+ /**
16498
+ * <b>The VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty.</b>
16499
+ * @type {number || null}
16500
+ */
16501
+ this.SubAppId = null;
16502
+
16503
+ /**
16504
+ * Parameter of video processing task.
16505
+ * @type {MediaProcessTaskInput || null}
16506
+ */
16507
+ this.MediaProcessTask = null;
16508
+
16509
+ /**
16510
+ * The information of the audio/video moderation task\*.
16511
+ This parameter is <font color=red>\*no longer recommended</font>. Please use [ReviewAudioVideo](https://intl.cloud.tencent.com/document/api/266/80283?from_cn_redirect=1) or [ReviewImage](https://intl.cloud.tencent.com/document/api/266/73217?from_cn_redirect=1) instead.
16512
+ * @type {AiContentReviewTaskInput || null}
16513
+ */
16514
+ this.AiContentReviewTask = null;
16515
+
16516
+ /**
16517
+ * Video content analysis task parameter.
16518
+ * @type {AiAnalysisTaskInput || null}
16519
+ */
16520
+ this.AiAnalysisTask = null;
16521
+
16522
+ /**
16523
+ * Type parameter of video content recognition task.
16524
+ * @type {AiRecognitionTaskInput || null}
16525
+ */
16526
+ this.AiRecognitionTask = null;
16527
+
16528
+ /**
16529
+ * Task flow priority. The higher the value, the higher the priority. Value range: -10-10. If this parameter is left empty, 0 will be used.
16530
+ * @type {number || null}
16531
+ */
16532
+ this.TasksPriority = null;
16533
+
16534
+ /**
16535
+ * Notification mode for task flow status change. Valid values: Finish, Change, None. If this parameter is left empty, `Finish` will be used.
16536
+ * @type {string || null}
16537
+ */
16538
+ this.TasksNotifyMode = null;
16539
+
16540
+ /**
16541
+ * The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.
16542
+ * @type {string || null}
16543
+ */
16544
+ this.SessionContext = null;
16545
+
16546
+ /**
16547
+ * Used to identify duplicate requests. After you send a request, if any request with the same `SessionId` has already been sent in the last three days (72 hours), an error message will be returned. `SessionId` contains up to 50 characters. If this parameter is not carried or is an empty string, no deduplication will be performed.
16548
+ * @type {string || null}
16549
+ */
16550
+ this.SessionId = null;
16551
+
16552
+ /**
16553
+ * Reserved field for special purposes.
16554
+ * @type {string || null}
16555
+ */
16556
+ this.ExtInfo = null;
16557
+
16558
+ }
16559
+
16560
+ /**
16561
+ * @private
16562
+ */
16563
+ deserialize(params) {
16564
+ if (!params) {
16565
+ return;
16566
+ }
16567
+ this.FileId = 'FileId' in params ? params.FileId : null;
16568
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
16569
+
16570
+ if (params.MediaProcessTask) {
16571
+ let obj = new MediaProcessTaskInput();
16572
+ obj.deserialize(params.MediaProcessTask)
16573
+ this.MediaProcessTask = obj;
16574
+ }
16575
+
16576
+ if (params.AiContentReviewTask) {
16577
+ let obj = new AiContentReviewTaskInput();
16578
+ obj.deserialize(params.AiContentReviewTask)
16579
+ this.AiContentReviewTask = obj;
16580
+ }
16581
+
16582
+ if (params.AiAnalysisTask) {
16583
+ let obj = new AiAnalysisTaskInput();
16584
+ obj.deserialize(params.AiAnalysisTask)
16585
+ this.AiAnalysisTask = obj;
16586
+ }
16587
+
16588
+ if (params.AiRecognitionTask) {
16589
+ let obj = new AiRecognitionTaskInput();
16590
+ obj.deserialize(params.AiRecognitionTask)
16591
+ this.AiRecognitionTask = obj;
16592
+ }
16593
+ this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
16594
+ this.TasksNotifyMode = 'TasksNotifyMode' in params ? params.TasksNotifyMode : null;
16595
+ this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
16596
+ this.SessionId = 'SessionId' in params ? params.SessionId : null;
16597
+ this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
16598
+
16599
+ }
16600
+ }
16601
+
16221
16602
  /**
16222
16603
  * DeleteCDNDomain response structure.
16223
16604
  * @class
@@ -17054,6 +17435,55 @@ Note: This field may return null, indicating that no valid values can be obtaine
17054
17435
  }
17055
17436
  }
17056
17437
 
17438
+ /**
17439
+ *
17440
+ * @class
17441
+ */
17442
+ class EditMediaVideoStream extends AbstractModel {
17443
+ constructor(){
17444
+ super();
17445
+
17446
+ /**
17447
+ *
17448
+ * @type {string || null}
17449
+ */
17450
+ this.ResolutionAdaptive = null;
17451
+
17452
+ /**
17453
+ *
17454
+ * @type {number || null}
17455
+ */
17456
+ this.Width = null;
17457
+
17458
+ /**
17459
+ *
17460
+ * @type {number || null}
17461
+ */
17462
+ this.Height = null;
17463
+
17464
+ /**
17465
+ *
17466
+ * @type {number || null}
17467
+ */
17468
+ this.Fps = null;
17469
+
17470
+ }
17471
+
17472
+ /**
17473
+ * @private
17474
+ */
17475
+ deserialize(params) {
17476
+ if (!params) {
17477
+ return;
17478
+ }
17479
+ this.ResolutionAdaptive = 'ResolutionAdaptive' in params ? params.ResolutionAdaptive : null;
17480
+ this.Width = 'Width' in params ? params.Width : null;
17481
+ this.Height = 'Height' in params ? params.Height : null;
17482
+ this.Fps = 'Fps' in params ? params.Fps : null;
17483
+
17484
+ }
17485
+ }
17486
+
17057
17487
  /**
17058
17488
  * A digital watermark extraction task.
17059
17489
  * @class
@@ -42000,6 +42430,42 @@ Default value: 0.
42000
42430
  }
42001
42431
  }
42002
42432
 
42433
+ /**
42434
+ * ModifyWatermarkTemplate response structure.
42435
+ * @class
42436
+ */
42437
+ class ModifyWatermarkTemplateResponse extends AbstractModel {
42438
+ constructor(){
42439
+ super();
42440
+
42441
+ /**
42442
+ * Image watermark address. This field has a value only when `ImageTemplate.ImageContent` is not empty.
42443
+ Note: this field may return null, indicating that no valid values can be obtained.
42444
+ * @type {string || null}
42445
+ */
42446
+ this.ImageUrl = null;
42447
+
42448
+ /**
42449
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
42450
+ * @type {string || null}
42451
+ */
42452
+ this.RequestId = null;
42453
+
42454
+ }
42455
+
42456
+ /**
42457
+ * @private
42458
+ */
42459
+ deserialize(params) {
42460
+ if (!params) {
42461
+ return;
42462
+ }
42463
+ this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
42464
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
42465
+
42466
+ }
42467
+ }
42468
+
42003
42469
  /**
42004
42470
  * The information of a pull and upload task.
42005
42471
  * @class
@@ -42293,25 +42759,18 @@ Note:
42293
42759
  }
42294
42760
 
42295
42761
  /**
42296
- * ModifyWatermarkTemplate response structure.
42762
+ *
42297
42763
  * @class
42298
42764
  */
42299
- class ModifyWatermarkTemplateResponse extends AbstractModel {
42765
+ class EditMediaTEHDConfig extends AbstractModel {
42300
42766
  constructor(){
42301
42767
  super();
42302
42768
 
42303
42769
  /**
42304
- * Image watermark address. This field has a value only when `ImageTemplate.ImageContent` is not empty.
42305
- Note: this field may return null, indicating that no valid values can be obtained.
42306
- * @type {string || null}
42307
- */
42308
- this.ImageUrl = null;
42309
-
42310
- /**
42311
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
42770
+ *
42312
42771
  * @type {string || null}
42313
42772
  */
42314
- this.RequestId = null;
42773
+ this.Type = null;
42315
42774
 
42316
42775
  }
42317
42776
 
@@ -42322,8 +42781,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
42322
42781
  if (!params) {
42323
42782
  return;
42324
42783
  }
42325
- this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
42326
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
42784
+ this.Type = 'Type' in params ? params.Type : null;
42327
42785
 
42328
42786
  }
42329
42787
  }
@@ -42623,6 +43081,7 @@ module.exports = {
42623
43081
  ForbidMediaDistributionRequest: ForbidMediaDistributionRequest,
42624
43082
  DescribeAIRecognitionTemplatesResponse: DescribeAIRecognitionTemplatesResponse,
42625
43083
  AwsPrivateAccess: AwsPrivateAccess,
43084
+ EditMediaResponse: EditMediaResponse,
42626
43085
  PoliticalOcrReviewTemplateInfoForUpdate: PoliticalOcrReviewTemplateInfoForUpdate,
42627
43086
  TaskOutputMediaInfo: TaskOutputMediaInfo,
42628
43087
  ProcessMediaByUrlRequest: ProcessMediaByUrlRequest,
@@ -42647,6 +43106,7 @@ module.exports = {
42647
43106
  SuperResolutionInfo: SuperResolutionInfo,
42648
43107
  MediaImageSpriteInfo: MediaImageSpriteInfo,
42649
43108
  MediaProcessTaskAnimatedGraphicResult: MediaProcessTaskAnimatedGraphicResult,
43109
+ ProcessMediaResponse: ProcessMediaResponse,
42650
43110
  CreateWordSamplesResponse: CreateWordSamplesResponse,
42651
43111
  ClassificationConfigureInfoForUpdate: ClassificationConfigureInfoForUpdate,
42652
43112
  DeleteAdaptiveDynamicStreamingTemplateResponse: DeleteAdaptiveDynamicStreamingTemplateResponse,
@@ -42668,12 +43128,14 @@ module.exports = {
42668
43128
  DeleteAdaptiveDynamicStreamingTemplateRequest: DeleteAdaptiveDynamicStreamingTemplateRequest,
42669
43129
  AiRecognitionTaskOcrFullTextSegmentItem: AiRecognitionTaskOcrFullTextSegmentItem,
42670
43130
  ColorEnhanceInfo: ColorEnhanceInfo,
43131
+ EditMediaOutputConfig: EditMediaOutputConfig,
42671
43132
  SplitMediaTaskSegmentInfo: SplitMediaTaskSegmentInfo,
42672
43133
  AiReviewPornAsrTaskOutput: AiReviewPornAsrTaskOutput,
42673
43134
  AiRecognitionTaskAsrFullTextResultOutputSubtitleItem: AiRecognitionTaskAsrFullTextResultOutputSubtitleItem,
42674
43135
  SimpleHlsClipResponse: SimpleHlsClipResponse,
42675
43136
  DeleteAIAnalysisTemplateRequest: DeleteAIAnalysisTemplateRequest,
42676
43137
  VideoFrameInterpolationInfo: VideoFrameInterpolationInfo,
43138
+ EditMediaRequest: EditMediaRequest,
42677
43139
  DescribeFileAttributesResponse: DescribeFileAttributesResponse,
42678
43140
  LicenseUsageDataItem: LicenseUsageDataItem,
42679
43141
  RebuildMediaTargetAudioStream: RebuildMediaTargetAudioStream,
@@ -42752,6 +43214,7 @@ module.exports = {
42752
43214
  ReviewImageSegmentItem: ReviewImageSegmentItem,
42753
43215
  CreateRoundPlayResponse: CreateRoundPlayResponse,
42754
43216
  MediaSubtitleInput: MediaSubtitleInput,
43217
+ ProcessMediaRequest: ProcessMediaRequest,
42755
43218
  DeleteCDNDomainResponse: DeleteCDNDomainResponse,
42756
43219
  PornImageResult: PornImageResult,
42757
43220
  ModifyMediaInfoResponse: ModifyMediaInfoResponse,
@@ -42767,6 +43230,7 @@ module.exports = {
42767
43230
  ModifyAdaptiveDynamicStreamingTemplateResponse: ModifyAdaptiveDynamicStreamingTemplateResponse,
42768
43231
  MediaProcessTaskTranscodeResult: MediaProcessTaskTranscodeResult,
42769
43232
  DomainDetailInfo: DomainDetailInfo,
43233
+ EditMediaVideoStream: EditMediaVideoStream,
42770
43234
  ExtractTraceWatermarkTask: ExtractTraceWatermarkTask,
42771
43235
  AiRecognitionTaskSegmentResultOutput: AiRecognitionTaskSegmentResultOutput,
42772
43236
  ImageSpriteTaskInput: ImageSpriteTaskInput,
@@ -43181,12 +43645,13 @@ module.exports = {
43181
43645
  CreateReviewTemplateResponse: CreateReviewTemplateResponse,
43182
43646
  DeleteWatermarkTemplateResponse: DeleteWatermarkTemplateResponse,
43183
43647
  ComposeMediaOutput: ComposeMediaOutput,
43648
+ ModifyWatermarkTemplateResponse: ModifyWatermarkTemplateResponse,
43184
43649
  PullUploadTask: PullUploadTask,
43185
43650
  FrameTagConfigureInfoForUpdate: FrameTagConfigureInfoForUpdate,
43186
43651
  CreateImageSpriteTemplateResponse: CreateImageSpriteTemplateResponse,
43187
43652
  DescribeAIRecognitionTemplatesRequest: DescribeAIRecognitionTemplatesRequest,
43188
43653
  HDRInfo: HDRInfo,
43189
- ModifyWatermarkTemplateResponse: ModifyWatermarkTemplateResponse,
43654
+ EditMediaTEHDConfig: EditMediaTEHDConfig,
43190
43655
  AiRecognitionResult: AiRecognitionResult,
43191
43656
 
43192
43657
  }
@@ -163,6 +163,7 @@ const TextWatermarkTemplateInput = models.TextWatermarkTemplateInput;
163
163
  const ForbidMediaDistributionRequest = models.ForbidMediaDistributionRequest;
164
164
  const DescribeAIRecognitionTemplatesResponse = models.DescribeAIRecognitionTemplatesResponse;
165
165
  const AwsPrivateAccess = models.AwsPrivateAccess;
166
+ const EditMediaResponse = models.EditMediaResponse;
166
167
  const PoliticalOcrReviewTemplateInfoForUpdate = models.PoliticalOcrReviewTemplateInfoForUpdate;
167
168
  const TaskOutputMediaInfo = models.TaskOutputMediaInfo;
168
169
  const ProcessMediaByUrlRequest = models.ProcessMediaByUrlRequest;
@@ -187,6 +188,7 @@ const DeleteRoundPlayRequest = models.DeleteRoundPlayRequest;
187
188
  const SuperResolutionInfo = models.SuperResolutionInfo;
188
189
  const MediaImageSpriteInfo = models.MediaImageSpriteInfo;
189
190
  const MediaProcessTaskAnimatedGraphicResult = models.MediaProcessTaskAnimatedGraphicResult;
191
+ const ProcessMediaResponse = models.ProcessMediaResponse;
190
192
  const CreateWordSamplesResponse = models.CreateWordSamplesResponse;
191
193
  const ClassificationConfigureInfoForUpdate = models.ClassificationConfigureInfoForUpdate;
192
194
  const DeleteAdaptiveDynamicStreamingTemplateResponse = models.DeleteAdaptiveDynamicStreamingTemplateResponse;
@@ -208,12 +210,14 @@ const LiveRealTimeClipRequest = models.LiveRealTimeClipRequest;
208
210
  const DeleteAdaptiveDynamicStreamingTemplateRequest = models.DeleteAdaptiveDynamicStreamingTemplateRequest;
209
211
  const AiRecognitionTaskOcrFullTextSegmentItem = models.AiRecognitionTaskOcrFullTextSegmentItem;
210
212
  const ColorEnhanceInfo = models.ColorEnhanceInfo;
213
+ const EditMediaOutputConfig = models.EditMediaOutputConfig;
211
214
  const SplitMediaTaskSegmentInfo = models.SplitMediaTaskSegmentInfo;
212
215
  const AiReviewPornAsrTaskOutput = models.AiReviewPornAsrTaskOutput;
213
216
  const AiRecognitionTaskAsrFullTextResultOutputSubtitleItem = models.AiRecognitionTaskAsrFullTextResultOutputSubtitleItem;
214
217
  const SimpleHlsClipResponse = models.SimpleHlsClipResponse;
215
218
  const DeleteAIAnalysisTemplateRequest = models.DeleteAIAnalysisTemplateRequest;
216
219
  const VideoFrameInterpolationInfo = models.VideoFrameInterpolationInfo;
220
+ const EditMediaRequest = models.EditMediaRequest;
217
221
  const DescribeFileAttributesResponse = models.DescribeFileAttributesResponse;
218
222
  const LicenseUsageDataItem = models.LicenseUsageDataItem;
219
223
  const RebuildMediaTargetAudioStream = models.RebuildMediaTargetAudioStream;
@@ -292,6 +296,7 @@ const DescribeRebuildMediaTemplatesRequest = models.DescribeRebuildMediaTemplate
292
296
  const ReviewImageSegmentItem = models.ReviewImageSegmentItem;
293
297
  const CreateRoundPlayResponse = models.CreateRoundPlayResponse;
294
298
  const MediaSubtitleInput = models.MediaSubtitleInput;
299
+ const ProcessMediaRequest = models.ProcessMediaRequest;
295
300
  const DeleteCDNDomainResponse = models.DeleteCDNDomainResponse;
296
301
  const PornImageResult = models.PornImageResult;
297
302
  const ModifyMediaInfoResponse = models.ModifyMediaInfoResponse;
@@ -307,6 +312,7 @@ const AiRecognitionTaskAsrWordsResultOutput = models.AiRecognitionTaskAsrWordsRe
307
312
  const ModifyAdaptiveDynamicStreamingTemplateResponse = models.ModifyAdaptiveDynamicStreamingTemplateResponse;
308
313
  const MediaProcessTaskTranscodeResult = models.MediaProcessTaskTranscodeResult;
309
314
  const DomainDetailInfo = models.DomainDetailInfo;
315
+ const EditMediaVideoStream = models.EditMediaVideoStream;
310
316
  const ExtractTraceWatermarkTask = models.ExtractTraceWatermarkTask;
311
317
  const AiRecognitionTaskSegmentResultOutput = models.AiRecognitionTaskSegmentResultOutput;
312
318
  const ImageSpriteTaskInput = models.ImageSpriteTaskInput;
@@ -721,12 +727,13 @@ const HighlightSegmentItem = models.HighlightSegmentItem;
721
727
  const CreateReviewTemplateResponse = models.CreateReviewTemplateResponse;
722
728
  const DeleteWatermarkTemplateResponse = models.DeleteWatermarkTemplateResponse;
723
729
  const ComposeMediaOutput = models.ComposeMediaOutput;
730
+ const ModifyWatermarkTemplateResponse = models.ModifyWatermarkTemplateResponse;
724
731
  const PullUploadTask = models.PullUploadTask;
725
732
  const FrameTagConfigureInfoForUpdate = models.FrameTagConfigureInfoForUpdate;
726
733
  const CreateImageSpriteTemplateResponse = models.CreateImageSpriteTemplateResponse;
727
734
  const DescribeAIRecognitionTemplatesRequest = models.DescribeAIRecognitionTemplatesRequest;
728
735
  const HDRInfo = models.HDRInfo;
729
- const ModifyWatermarkTemplateResponse = models.ModifyWatermarkTemplateResponse;
736
+ const EditMediaTEHDConfig = models.EditMediaTEHDConfig;
730
737
  const AiRecognitionResult = models.AiRecognitionResult;
731
738
 
732
739
 
@@ -799,6 +806,17 @@ The files must be in HLS format. Preferably, they should have the same bitrate a
799
806
  this.request("DescribeFileAttributes", req, resp, cb);
800
807
  }
801
808
 
809
+ /**
810
+ *
811
+ * @param {EditMediaRequest} req
812
+ * @param {function(string, EditMediaResponse):void} cb
813
+ * @public
814
+ */
815
+ EditMedia(req, cb) {
816
+ let resp = new EditMediaResponse();
817
+ this.request("EditMedia", req, resp, cb);
818
+ }
819
+
802
820
  /**
803
821
  * This API is used to query the list of VOD domain names.
804
822
  * @param {DescribeVodDomainsRequest} req
@@ -1734,6 +1752,29 @@ This API is used to get the information of custom and [preset](https://intl.clou
1734
1752
  this.request("DeleteImageProcessingTemplate", req, resp, cb);
1735
1753
  }
1736
1754
 
1755
+ /**
1756
+ * This API is used to initiate a media processing task on a VOD file. The task may include:
1757
+ 1. Video transcoding (with watermark)
1758
+ 2. Animated image generating
1759
+ 3. Time point screenshot
1760
+ 4. Sampled screenshot
1761
+ 5. Image sprite generating
1762
+ 6. Taking a screenshot to use as the thumbnail
1763
+ 7. Adaptive bitrate streaming and encryption
1764
+ 8. Moderation (pornographic, terrorist, and politically sensitive content). We <font color=red>do not recommend</font> using this API to initiate a moderation task. Please use [ReviewAudioVideo](https://intl.cloud.tencent.com/document/api/266/80283?from_cn_redirect=1) or [ReviewImage](https://intl.cloud.tencent.com/document/api/266/73217?from_cn_redirect=1) instead.
1765
+ 9. Content analysis for labeling, categorization, thumbnail generation, or labeling by frame.
1766
+ 10. Recognition of opening and closing segments, faces, full text, text keywords, full speech, speech keywords, and objects
1767
+
1768
+ If event notifications are used, the event type is [ProcedureStateChanged](https://intl.cloud.tencent.com/document/product/266/9636?from_cn_redirect=1).
1769
+ * @param {ProcessMediaRequest} req
1770
+ * @param {function(string, ProcessMediaResponse):void} cb
1771
+ * @public
1772
+ */
1773
+ ProcessMedia(req, cb) {
1774
+ let resp = new ProcessMediaResponse();
1775
+ this.request("ProcessMedia", req, resp, cb);
1776
+ }
1777
+
1737
1778
  /**
1738
1779
  * This API is used to modify a custom watermarking template. The watermark type cannot be modified.
1739
1780
  * @param {ModifyWatermarkTemplateRequest} req