tencentcloud-sdk-nodejs-intl-en 3.0.1373 → 3.0.1375

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.
Files changed (36) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/as/v20180419/as_client.js +3 -2
  3. package/tencentcloud/as/v20180419/models.js +103 -87
  4. package/tencentcloud/billing/v20180709/billing_client.js +15 -1
  5. package/tencentcloud/billing/v20180709/models.js +248 -55
  6. package/tencentcloud/cdb/v20170320/models.js +8 -8
  7. package/tencentcloud/cdn/v20180606/cdn_client.js +15 -11
  8. package/tencentcloud/cdn/v20180606/models.js +319 -80
  9. package/tencentcloud/cls/v20201016/cls_client.js +1709 -374
  10. package/tencentcloud/cls/v20201016/models.js +23480 -6683
  11. package/tencentcloud/common/sdk_version.js +1 -1
  12. package/tencentcloud/cvm/v20170312/cvm_client.js +4 -4
  13. package/tencentcloud/cvm/v20170312/models.js +20 -22
  14. package/tencentcloud/cwp/v20180228/cwp_client.js +615 -350
  15. package/tencentcloud/cwp/v20180228/models.js +10317 -5290
  16. package/tencentcloud/cynosdb/v20190107/models.js +305 -286
  17. package/tencentcloud/faceid/v20180301/models.js +29 -12
  18. package/tencentcloud/gme/v20180711/models.js +13 -3
  19. package/tencentcloud/iai/v20200303/iai_client.js +1 -1
  20. package/tencentcloud/mna/v20210119/models.js +2 -2
  21. package/tencentcloud/mongodb/v20190725/models.js +12 -12
  22. package/tencentcloud/postgres/v20170312/models.js +9 -9
  23. package/tencentcloud/rum/v20210622/models.js +16 -16
  24. package/tencentcloud/rum/v20210622/rum_client.js +1 -1
  25. package/tencentcloud/scf/v20180416/models.js +2 -2
  26. package/tencentcloud/tat/v20201028/models.js +56 -47
  27. package/tencentcloud/tcsas/v20250106/models.js +11162 -7488
  28. package/tencentcloud/tcsas/v20250106/tcsas_client.js +613 -324
  29. package/tencentcloud/tcss/v20201101/models.js +7275 -2457
  30. package/tencentcloud/tcss/v20201101/tcss_client.js +2328 -2021
  31. package/tencentcloud/teo/v20220901/models.js +880 -153
  32. package/tencentcloud/teo/v20220901/teo_client.js +103 -47
  33. package/tencentcloud/trtc/v20190722/models.js +315 -83
  34. package/tencentcloud/trtc/v20190722/trtc_client.js +5 -1
  35. package/tencentcloud/vod/v20180717/models.js +693 -229
  36. package/tencentcloud/vod/v20180717/vod_client.js +24 -6
@@ -102,6 +102,12 @@ class ProcessMediaRequest extends AbstractModel {
102
102
  */
103
103
  this.Url = null;
104
104
 
105
+ /**
106
+ * <p>The media processing transcoding result is output as standalone media assets. Enabling this option will output the product as standalone media assets and generate a brand-new FileID. Currently only support outputting TranscodeTask transcoding tasks as standalone media assets.</p><p>Enumeration value:</p><ul><li>ON: Enable</li><li>OFF: Disable</li></ul><p>Default value: OFF</p><p>Note: New media assets will incur storage fees. This option does not currently support enabling for video opening/closing credits and traceable watermarks in transcoding tasks.</p>
107
+ * @type {string || null}
108
+ */
109
+ this.OutputAsIndependentMedia = null;
110
+
105
111
  }
106
112
 
107
113
  /**
@@ -144,6 +150,7 @@ class ProcessMediaRequest extends AbstractModel {
144
150
  this.SessionId = 'SessionId' in params ? params.SessionId : null;
145
151
  this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
146
152
  this.Url = 'Url' in params ? params.Url : null;
153
+ this.OutputAsIndependentMedia = 'OutputAsIndependentMedia' in params ? params.OutputAsIndependentMedia : null;
147
154
 
148
155
  }
149
156
  }
@@ -256,7 +263,7 @@ class AigcVideoOutputConfig extends AbstractModel {
256
263
  this.ExpireTime = null;
257
264
 
258
265
  /**
259
- * <p>Duration of the generated video, unit: seconds.</p><li>When ModelName is Kling, available values are 5 and 10, default is 5;</li><li>When ModelName is Hailuo, available values are 6 and 10, default is 6;</li><li>When ModelName is Vidu, specify 1-10;</li><li>When ModelName is GV, available values are 8, default is 8;</li><li>When ModelName is OS, available values are 4, 8, and 12, default is 8;</li><li>When ModelName is PixVerse, specify 1-15, default is 5;</li>
266
+ * <p>Duration of the generated video, unit: seconds.</p><li>When ModelName is Kling, optional values are 3-15, default is 5.</li><li>When ModelName is Hailuo, optional values are 6 and 10, default is 6.</li><li>When ModelName is Vidu, specify 1-10.</li><li>When ModelName is GV, optional value is 8, default is 8.</li><li>When ModelName is OS, optional values are 4, 8, and 12, default is 8.</li><li>When ModelName is PixVerse, specify 1-15, default is 5.</li>
260
267
  * @type {number || null}
261
268
  */
262
269
  this.Duration = null;
@@ -2360,40 +2367,24 @@ class NoiseConfigureInfo extends AbstractModel {
2360
2367
  }
2361
2368
 
2362
2369
  /**
2363
- *
2370
+ * DescribeAigcFaceInfoAsync response structure.
2364
2371
  * @class
2365
2372
  */
2366
- class MediaMiniProgramReviewElem extends AbstractModel {
2373
+ class DescribeAigcFaceInfoAsyncResponse extends AbstractModel {
2367
2374
  constructor(){
2368
2375
  super();
2369
2376
 
2370
2377
  /**
2371
- * Audit type.
2372
- <li>Porn: porn image,</li>
2373
- <li>Porn.Ocr: porn text,</li>
2374
- <li>Porn.Asr: porn speech,</li>
2375
- <li>Terrorism: terrorism image,</li>
2376
- <li>Political: politically sensitive image,</li>
2377
- <li>Political.Ocr: politically sensitive text</li>
2378
- <li>Political.Asr: politically sensitive speech</li>
2378
+ * <p>Task ID.</p>
2379
2379
  * @type {string || null}
2380
2380
  */
2381
- this.Type = null;
2381
+ this.TaskId = null;
2382
2382
 
2383
2383
  /**
2384
- * Audit suggestion.
2385
- <li>pass: normal,</li>
2386
- <li>block: violating,</li>
2387
- <li>review: suspected of violation.</li>
2384
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2388
2385
  * @type {string || null}
2389
2386
  */
2390
- this.Suggestion = null;
2391
-
2392
- /**
2393
- * Confidence of audit result between 0 and 100.
2394
- * @type {number || null}
2395
- */
2396
- this.Confidence = null;
2387
+ this.RequestId = null;
2397
2388
 
2398
2389
  }
2399
2390
 
@@ -2404,9 +2395,8 @@ class MediaMiniProgramReviewElem extends AbstractModel {
2404
2395
  if (!params) {
2405
2396
  return;
2406
2397
  }
2407
- this.Type = 'Type' in params ? params.Type : null;
2408
- this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
2409
- this.Confidence = 'Confidence' in params ? params.Confidence : null;
2398
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
2399
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2410
2400
 
2411
2401
  }
2412
2402
  }
@@ -2761,6 +2751,12 @@ class CreateAigcAdvancedCustomElementRequest extends AbstractModel {
2761
2751
  */
2762
2752
  this.TagList = null;
2763
2753
 
2754
+ /**
2755
+ * <p>If the overseas custom subject library is enabled, you can input <code>True</code> to use it.</p><p>Enumeration value:</p><ul><li>True: Use the overseas custom subject library.</li><li>False: Non-use of the overseas custom subject library.</li></ul>
2756
+ * @type {string || null}
2757
+ */
2758
+ this.DisableModeration = null;
2759
+
2764
2760
  /**
2765
2761
  * <p>Identifier for deduplication. If a request with the same identifier has been sent within the past three days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed.</p>
2766
2762
  * @type {string || null}
@@ -2796,6 +2792,7 @@ class CreateAigcAdvancedCustomElementRequest extends AbstractModel {
2796
2792
  this.ElementVideoList = 'ElementVideoList' in params ? params.ElementVideoList : null;
2797
2793
  this.ElementImageList = 'ElementImageList' in params ? params.ElementImageList : null;
2798
2794
  this.TagList = 'TagList' in params ? params.TagList : null;
2795
+ this.DisableModeration = 'DisableModeration' in params ? params.DisableModeration : null;
2799
2796
  this.SessionId = 'SessionId' in params ? params.SessionId : null;
2800
2797
  this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
2801
2798
  this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
@@ -10632,6 +10629,70 @@ class DescribeWordSamplesResponse extends AbstractModel {
10632
10629
  }
10633
10630
  }
10634
10631
 
10632
+ /**
10633
+ * DescribeAigcFaceInfoAsync request structure.
10634
+ * @class
10635
+ */
10636
+ class DescribeAigcFaceInfoAsyncRequest extends AbstractModel {
10637
+ constructor(){
10638
+ super();
10639
+
10640
+ /**
10641
+ * <p><b>VOD <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether the default application or a newly created application).</b></p>
10642
+ * @type {number || null}
10643
+ */
10644
+ this.SubAppId = null;
10645
+
10646
+ /**
10647
+ * <p>Input video information that needs to get face information. It can contain up to one file.</p>
10648
+ * @type {Array.<AigcFaceInputFileInfo> || null}
10649
+ */
10650
+ this.FileInfos = null;
10651
+
10652
+ /**
10653
+ * <p>Identifier for deduplication. If a request with the same identifier has been sent within the past three days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed.</p>
10654
+ * @type {string || null}
10655
+ */
10656
+ this.SessionId = null;
10657
+
10658
+ /**
10659
+ * <p>Source context. This is used to pass through user request information. The audio and video quality revival complete callback returns the value of this field. The maximum length is 1000 characters.</p>
10660
+ * @type {string || null}
10661
+ */
10662
+ this.SessionContext = null;
10663
+
10664
+ /**
10665
+ * <p>Task priority. The higher the value, the higher the priority. The value range is from -10 to 10. If this is not specified, the default value is 0.</p>
10666
+ * @type {number || null}
10667
+ */
10668
+ this.TasksPriority = null;
10669
+
10670
+ }
10671
+
10672
+ /**
10673
+ * @private
10674
+ */
10675
+ deserialize(params) {
10676
+ if (!params) {
10677
+ return;
10678
+ }
10679
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
10680
+
10681
+ if (params.FileInfos) {
10682
+ this.FileInfos = new Array();
10683
+ for (let z in params.FileInfos) {
10684
+ let obj = new AigcFaceInputFileInfo();
10685
+ obj.deserialize(params.FileInfos[z]);
10686
+ this.FileInfos.push(obj);
10687
+ }
10688
+ }
10689
+ this.SessionId = 'SessionId' in params ? params.SessionId : null;
10690
+ this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
10691
+ this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
10692
+
10693
+ }
10694
+ }
10695
+
10635
10696
  /**
10636
10697
  * RefreshUrlCache response structure.
10637
10698
  * @class
@@ -10703,6 +10764,107 @@ class ConcatTask2017 extends AbstractModel {
10703
10764
  }
10704
10765
  }
10705
10766
 
10767
+ /**
10768
+ * Asynchronously fetch AIGC face information tasks.
10769
+ * @class
10770
+ */
10771
+ class DescribeAigcFaceInfoAsyncTask extends AbstractModel {
10772
+ constructor(){
10773
+ super();
10774
+
10775
+ /**
10776
+ * <p>Task ID.</p>
10777
+ * @type {string || null}
10778
+ */
10779
+ this.TaskId = null;
10780
+
10781
+ /**
10782
+ * <p>Task status. Valid values: </p><li>PROCESSING: Processing; </li><li>FINISH: Completed.</li>
10783
+ * @type {string || null}
10784
+ */
10785
+ this.Status = null;
10786
+
10787
+ /**
10788
+ * <p>Error code. It returns a non-zero error code in case of a source error. Please use the ErrCode of each specific task when it returns 0.</p>
10789
+ * @type {number || null}
10790
+ */
10791
+ this.ErrCode = null;
10792
+
10793
+ /**
10794
+ * <p>Extended error codes.</p><p>Parameter format: extended error codes.</p><p>Enumeration values:</p><ul><li>RequestLimitExceeded: The call exceeds the concurrency limit.</li><li>InvalidParameterValue: Parameter error.</li><li>InternalError: Internal error.</li><li>FailedOperation: Operation failed.</li></ul>
10795
+ * @type {string || null}
10796
+ */
10797
+ this.ErrCodeExt = null;
10798
+
10799
+ /**
10800
+ * <p>Error message.</p>
10801
+ * @type {string || null}
10802
+ */
10803
+ this.Message = null;
10804
+
10805
+ /**
10806
+ * <p>Task progress, in the range of [0-100].</p>
10807
+ * @type {number || null}
10808
+ */
10809
+ this.Progress = null;
10810
+
10811
+ /**
10812
+ * <p>Input information to asynchronously fetch face information of the AIGC task.</p>
10813
+ * @type {DescribeAigcFaceInfoAsyncInput || null}
10814
+ */
10815
+ this.Input = null;
10816
+
10817
+ /**
10818
+ * <p>Asynchronously fetch the output message of the human face information task for AIGC.</p>
10819
+ * @type {DescribeAigcFaceInfoAsyncOutput || null}
10820
+ */
10821
+ this.Output = null;
10822
+
10823
+ /**
10824
+ * <p>Identifier for deduplication. If a request with the same identifier has been sent within the past seven days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed.</p>
10825
+ * @type {string || null}
10826
+ */
10827
+ this.SessionId = null;
10828
+
10829
+ /**
10830
+ * <p>Source context. This is used to pass user request information. The task status change callback returns the value of this field. The maximum length is 1000 characters.</p>
10831
+ * @type {string || null}
10832
+ */
10833
+ this.SessionContext = null;
10834
+
10835
+ }
10836
+
10837
+ /**
10838
+ * @private
10839
+ */
10840
+ deserialize(params) {
10841
+ if (!params) {
10842
+ return;
10843
+ }
10844
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
10845
+ this.Status = 'Status' in params ? params.Status : null;
10846
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
10847
+ this.ErrCodeExt = 'ErrCodeExt' in params ? params.ErrCodeExt : null;
10848
+ this.Message = 'Message' in params ? params.Message : null;
10849
+ this.Progress = 'Progress' in params ? params.Progress : null;
10850
+
10851
+ if (params.Input) {
10852
+ let obj = new DescribeAigcFaceInfoAsyncInput();
10853
+ obj.deserialize(params.Input)
10854
+ this.Input = obj;
10855
+ }
10856
+
10857
+ if (params.Output) {
10858
+ let obj = new DescribeAigcFaceInfoAsyncOutput();
10859
+ obj.deserialize(params.Output)
10860
+ this.Output = obj;
10861
+ }
10862
+ this.SessionId = 'SessionId' in params ? params.SessionId : null;
10863
+ this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
10864
+
10865
+ }
10866
+ }
10867
+
10706
10868
  /**
10707
10869
  * DeleteAIRecognitionTemplate request structure.
10708
10870
  * @class
@@ -11212,6 +11374,42 @@ class ModifyLLMComprehendTemplateResponse extends AbstractModel {
11212
11374
  }
11213
11375
  }
11214
11376
 
11377
+ /**
11378
+ * Asynchronously fetch AIGC face information input.
11379
+ * @class
11380
+ */
11381
+ class DescribeAigcFaceInfoAsyncInput extends AbstractModel {
11382
+ constructor(){
11383
+ super();
11384
+
11385
+ /**
11386
+ * <p>Input video information that needs to get face information.</p>
11387
+ * @type {Array.<AigcFaceInputFileInfo> || null}
11388
+ */
11389
+ this.FileInfos = null;
11390
+
11391
+ }
11392
+
11393
+ /**
11394
+ * @private
11395
+ */
11396
+ deserialize(params) {
11397
+ if (!params) {
11398
+ return;
11399
+ }
11400
+
11401
+ if (params.FileInfos) {
11402
+ this.FileInfos = new Array();
11403
+ for (let z in params.FileInfos) {
11404
+ let obj = new AigcFaceInputFileInfo();
11405
+ obj.deserialize(params.FileInfos[z]);
11406
+ this.FileInfos.push(obj);
11407
+ }
11408
+ }
11409
+
11410
+ }
11411
+ }
11412
+
11215
11413
  /**
11216
11414
  * Result information of intelligent categorization
11217
11415
  * @class
@@ -12642,6 +12840,73 @@ class CoverBySnapshotTaskOutput extends AbstractModel {
12642
12840
  }
12643
12841
  }
12644
12842
 
12843
+ /**
12844
+ * Just In Time transcoding watermark template update configuration.
12845
+ * @class
12846
+ */
12847
+ class WatermarkConfigureInfoForUpdate extends AbstractModel {
12848
+ constructor(){
12849
+ super();
12850
+
12851
+ /**
12852
+ * Whether to enable watermark. Possible values:
12853
+ <li>ON: means enabling watermark;</li>
12854
+ <li>OFF: means turning off watermark. </li>
12855
+ * @type {string || null}
12856
+ */
12857
+ this.Switch = null;
12858
+
12859
+ /**
12860
+ * Watermark image Base64 encoded string. Supports jpeg, png image formats.
12861
+ * @type {string || null}
12862
+ */
12863
+ this.ImageContent = null;
12864
+
12865
+ /**
12866
+ * The width of the watermark.
12867
+ <li>The string ends with %, indicating that the watermark Width is a percentage of the video width, such as 10% indicating that the Width is 10% of the video width;</li>
12868
+ * @type {string || null}
12869
+ */
12870
+ this.Width = null;
12871
+
12872
+ /**
12873
+ * The height of the watermark.
12874
+ <li>The string ends with %, indicating that the watermark Height is a percentage of the video height, for example, 10% means that the Height is 10% of the video height;</li>
12875
+ * @type {string || null}
12876
+ */
12877
+ this.Height = null;
12878
+
12879
+ /**
12880
+ * The horizontal position of the watermark origin from the video image coordinate origin. The string ends with %, indicating that the watermark XPos specifies a percentage of the video width, such as 10% indicating that XPos is 10% of the video width.
12881
+ * @type {string || null}
12882
+ */
12883
+ this.XPos = null;
12884
+
12885
+ /**
12886
+ * The vertical position of the watermark origin from the video image coordinate origin. When the string ends with %, it means that the watermark YPos specifies a percentage of the video height. For example, 10% means that YPos is 10% of the video height.
12887
+ * @type {string || null}
12888
+ */
12889
+ this.YPos = null;
12890
+
12891
+ }
12892
+
12893
+ /**
12894
+ * @private
12895
+ */
12896
+ deserialize(params) {
12897
+ if (!params) {
12898
+ return;
12899
+ }
12900
+ this.Switch = 'Switch' in params ? params.Switch : null;
12901
+ this.ImageContent = 'ImageContent' in params ? params.ImageContent : null;
12902
+ this.Width = 'Width' in params ? params.Width : null;
12903
+ this.Height = 'Height' in params ? params.Height : null;
12904
+ this.XPos = 'XPos' in params ? params.XPos : null;
12905
+ this.YPos = 'YPos' in params ? params.YPos : null;
12906
+
12907
+ }
12908
+ }
12909
+
12645
12910
  /**
12646
12911
  * ModifyQualityInspectTemplate response structure.
12647
12912
  * @class
@@ -12753,72 +13018,40 @@ class AigcAudioTaskInput extends AbstractModel {
12753
13018
  }
12754
13019
 
12755
13020
  /**
12756
- * ProcessImageAsync request structure.
13021
+ *
12757
13022
  * @class
12758
13023
  */
12759
- class ProcessImageAsyncRequest extends AbstractModel {
13024
+ class MediaMiniProgramReviewElem extends AbstractModel {
12760
13025
  constructor(){
12761
13026
  super();
12762
13027
 
12763
13028
  /**
12764
- * <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID to access resources in on-demand applications (whether default or newly created application).</b></p>
12765
- * @type {number || null}
12766
- */
12767
- this.SubAppId = null;
12768
-
12769
- /**
12770
- * <p>FileId that needs image processing. Cannot be used with Url simultaneously.</p>
12771
- * @type {string || null}
12772
- */
12773
- this.FileId = null;
12774
-
12775
- /**
12776
- * <p>Url for image processing. Cannot be used with FileId.</p>
12777
- * @type {string || null}
12778
- */
12779
- this.Url = null;
12780
-
12781
- /**
12782
- * <p>The Base64 that needs image processing requires the image file to be less than 4MB. When using Base64, do not add any prefix such as <code>data:image/png;base64,</code>, just provide the Base64 encoded string itself.</p>
12783
- * @type {string || null}
12784
- */
12785
- this.Base64 = null;
12786
-
12787
- /**
12788
- * <p>Image processing parameter.</p>
12789
- * @type {ProcessImageAsyncTaskInput || null}
12790
- */
12791
- this.ImageTaskInput = null;
12792
-
12793
- /**
12794
- * <p>Output media file configuration for the image processing task.</p>
12795
- * @type {ProcessImageAsyncOutputConfig || null}
12796
- */
12797
- this.OutputConfig = null;
12798
-
12799
- /**
12800
- * <p>Identifier for deduplication. If a request with the same identifier has been sent within the past three days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed.</p>
13029
+ * Audit type.
13030
+ <li>Porn: porn image,</li>
13031
+ <li>Porn.Ocr: porn text,</li>
13032
+ <li>Porn.Asr: porn speech,</li>
13033
+ <li>Terrorism: terrorism image,</li>
13034
+ <li>Political: politically sensitive image,</li>
13035
+ <li>Political.Ocr: politically sensitive text</li>
13036
+ <li>Political.Asr: politically sensitive speech</li>
12801
13037
  * @type {string || null}
12802
13038
  */
12803
- this.SessionId = null;
13039
+ this.Type = null;
12804
13040
 
12805
13041
  /**
12806
- * <p>Source context. This is used to pass through user request information. The audio and video quality revival complete callback returns the value of this field. The maximum length is 1000 characters.</p>
13042
+ * Audit suggestion.
13043
+ <li>pass: normal,</li>
13044
+ <li>block: violating,</li>
13045
+ <li>review: suspected of violation.</li>
12807
13046
  * @type {string || null}
12808
13047
  */
12809
- this.SessionContext = null;
13048
+ this.Suggestion = null;
12810
13049
 
12811
13050
  /**
12812
- * <p>Task priority. The higher the value, the higher the priority. The value ranges from -10 to 10. If this is not specified, it represents 0.</p>
13051
+ * Confidence of audit result between 0 and 100.
12813
13052
  * @type {number || null}
12814
13053
  */
12815
- this.TasksPriority = null;
12816
-
12817
- /**
12818
- * <p>Reserved field, used when special purpose.</p>
12819
- * @type {string || null}
12820
- */
12821
- this.ExtInfo = null;
13054
+ this.Confidence = null;
12822
13055
 
12823
13056
  }
12824
13057
 
@@ -12829,26 +13062,9 @@ class ProcessImageAsyncRequest extends AbstractModel {
12829
13062
  if (!params) {
12830
13063
  return;
12831
13064
  }
12832
- this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
12833
- this.FileId = 'FileId' in params ? params.FileId : null;
12834
- this.Url = 'Url' in params ? params.Url : null;
12835
- this.Base64 = 'Base64' in params ? params.Base64 : null;
12836
-
12837
- if (params.ImageTaskInput) {
12838
- let obj = new ProcessImageAsyncTaskInput();
12839
- obj.deserialize(params.ImageTaskInput)
12840
- this.ImageTaskInput = obj;
12841
- }
12842
-
12843
- if (params.OutputConfig) {
12844
- let obj = new ProcessImageAsyncOutputConfig();
12845
- obj.deserialize(params.OutputConfig)
12846
- this.OutputConfig = obj;
12847
- }
12848
- this.SessionId = 'SessionId' in params ? params.SessionId : null;
12849
- this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
12850
- this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
12851
- this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
13065
+ this.Type = 'Type' in params ? params.Type : null;
13066
+ this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
13067
+ this.Confidence = 'Confidence' in params ? params.Confidence : null;
12852
13068
 
12853
13069
  }
12854
13070
  }
@@ -15279,27 +15495,44 @@ class ExtractBlindWatermarkTask extends AbstractModel {
15279
15495
  }
15280
15496
 
15281
15497
  /**
15282
- * Clipping solidification task information.
15498
+ * DescribeImageProcessingTemplates request structure.
15283
15499
  * @class
15284
15500
  */
15285
- class PersistenceCompleteTask extends AbstractModel {
15501
+ class DescribeImageProcessingTemplatesRequest extends AbstractModel {
15286
15502
  constructor(){
15287
15503
  super();
15288
15504
 
15289
15505
  /**
15290
- * Consolidate the generated Media ID.
15291
- * @type {string || null}
15506
+ * <b>On-demand [application](https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1) ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether default or newly created).</b>
15507
+ * @type {number || null}
15292
15508
  */
15293
- this.FileId = null;
15509
+ this.SubAppId = null;
15294
15510
 
15295
15511
  /**
15296
- * The source of clipping solidification has the following three types.
15297
- <li>SimpleHlsClip: Comes from simple HLS edit;</li>
15298
- <li>FastEditMedia: Comes from quick media editing;</li>
15299
- <li>LiveRealTimeClip: comes from live stream clipping.</li>
15512
+ * Image processing template flag list. Length limit: 100.
15513
+ * @type {Array.<number> || null}
15514
+ */
15515
+ this.Definitions = null;
15516
+
15517
+ /**
15518
+ * Condition for filtering templates by type. Valid values:
15519
+ <li>Preset: system preset template;</li>
15520
+ <li>Custom: User-defined template.</li>
15300
15521
  * @type {string || null}
15301
15522
  */
15302
- this.PersistenceSource = null;
15523
+ this.Type = null;
15524
+
15525
+ /**
15526
+ * Pagination offset. Default value: 0.
15527
+ * @type {number || null}
15528
+ */
15529
+ this.Offset = null;
15530
+
15531
+ /**
15532
+ * Number of returned entries. Default value: 10. Maximum value: 100.
15533
+ * @type {number || null}
15534
+ */
15535
+ this.Limit = null;
15303
15536
 
15304
15537
  }
15305
15538
 
@@ -15310,8 +15543,11 @@ class PersistenceCompleteTask extends AbstractModel {
15310
15543
  if (!params) {
15311
15544
  return;
15312
15545
  }
15313
- this.FileId = 'FileId' in params ? params.FileId : null;
15314
- this.PersistenceSource = 'PersistenceSource' in params ? params.PersistenceSource : null;
15546
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
15547
+ this.Definitions = 'Definitions' in params ? params.Definitions : null;
15548
+ this.Type = 'Type' in params ? params.Type : null;
15549
+ this.Offset = 'Offset' in params ? params.Offset : null;
15550
+ this.Limit = 'Limit' in params ? params.Limit : null;
15315
15551
 
15316
15552
  }
15317
15553
  }
@@ -16285,7 +16521,7 @@ class AigcImageOutputConfig extends AbstractModel {
16285
16521
  this.ExpireTime = null;
16286
16522
 
16287
16523
  /**
16288
- * <p>Resolution of the generated image. Available values for each model:</p><ul><li>OG: 1K, 2K, 4K, default 1K;</li><li>GG 2.5: 1K, 2K, 4K, default 1K;</li><li>GG 3.0: 1K, 2K, 4K, default 1K;</li><li>GG 3.1: 512, 1K, 2K, 4K, default 1K;</li><li>Kling 2.1: 1k, 2k, default 1k;</li><li>Kling 3.0: 1k, 2k, default 1k;</li><li>Kling 3.0-Omni: 1k, 2k, 4k, default 1k;</li><li>Kling O1: 1k, 2k, 4k, default 1k;</li><li>SI 4.0: 1K, 2K, 4K, default 1K;</li><li>SI 4.5: 2K, 4K, default 2K;</li><li>SI 5.0-lite: 2K, 3K, default 2K;</li><li>Vidu q2: 1080p, 2K, 4K, default 1080p;</li><li>Hunyuan 3.0: This field is not currently supported. Set resolution via the <code>ExtInfo</code> field;</li><li>Qwen 0925: This field is not currently supported. Set resolution via the <code>ExtInfo</code> field;</li></ul>
16524
+ * <p>Image generation resolution. Available values for each model:</p><ul><li>OG: 1K, 2K, 4K, default 1K;</li><li>GG 2.5: 1K, 2K, 4K, default 1K;</li><li>GG 3.0: 1K, 2K, 4K, default 1K;</li><li>GG 3.1: 720P, 1K, 2K, 4K, default 1K;</li><li>Kling 2.1: 1k, 2k, default 1k;</li><li>Kling 3.0: 1k, 2k, default 1k;</li><li>Kling 3.0-Omni: 1k, 2k, 4k, default 1k;</li><li>Kling O1: 1k, 2k, 4k, default 1k;</li><li>SI 4.0: 1K, 2K, 4K, default 1K;</li><li>SI 4.5: 2K, 4K, default 2K;</li><li>SI 5.0-lite: 2K, 3K, default 2K;</li><li>Vidu q2: 1080p, 2K, 4K, default 1080p;</li><li>Hunyuan 3.0: This field is not currently supported. Use the <code>ExtInfo</code> field to set resolution;</li><li>Qwen 0925: This field is not currently supported. Use the <code>ExtInfo</code> field to set resolution;</li></ul>
16289
16525
  * @type {string || null}
16290
16526
  */
16291
16527
  this.Resolution = null;
@@ -16358,52 +16594,72 @@ class AigcImageOutputConfig extends AbstractModel {
16358
16594
  }
16359
16595
 
16360
16596
  /**
16361
- * Just In Time transcoding watermark template update configuration.
16597
+ * ProcessImageAsync request structure.
16362
16598
  * @class
16363
16599
  */
16364
- class WatermarkConfigureInfoForUpdate extends AbstractModel {
16600
+ class ProcessImageAsyncRequest extends AbstractModel {
16365
16601
  constructor(){
16366
16602
  super();
16367
16603
 
16368
16604
  /**
16369
- * Whether to enable watermark. Possible values:
16370
- <li>ON: means enabling watermark;</li>
16371
- <li>OFF: means turning off watermark. </li>
16605
+ * <p><b>Video-on-demand (VOD) <a href="/document/product/266/14574?from_cn_redirect=1">application</a> ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID to access resources in on-demand applications (whether default or newly created application).</b></p>
16606
+ * @type {number || null}
16607
+ */
16608
+ this.SubAppId = null;
16609
+
16610
+ /**
16611
+ * <p>FileId that needs image processing. Cannot be used with Url simultaneously.</p>
16372
16612
  * @type {string || null}
16373
16613
  */
16374
- this.Switch = null;
16614
+ this.FileId = null;
16375
16615
 
16376
16616
  /**
16377
- * Watermark image Base64 encoded string. Supports jpeg, png image formats.
16617
+ * <p>Url for image processing. Cannot be used with FileId.</p>
16378
16618
  * @type {string || null}
16379
16619
  */
16380
- this.ImageContent = null;
16620
+ this.Url = null;
16381
16621
 
16382
16622
  /**
16383
- * The width of the watermark.
16384
- <li>The string ends with %, indicating that the watermark Width is a percentage of the video width, such as 10% indicating that the Width is 10% of the video width;</li>
16623
+ * <p>The Base64 that needs image processing requires the image file to be less than 4MB. When using Base64, do not add any prefix such as <code>data:image/png;base64,</code>, just provide the Base64 encoded string itself.</p>
16385
16624
  * @type {string || null}
16386
16625
  */
16387
- this.Width = null;
16626
+ this.Base64 = null;
16388
16627
 
16389
16628
  /**
16390
- * The height of the watermark.
16391
- <li>The string ends with %, indicating that the watermark Height is a percentage of the video height, for example, 10% means that the Height is 10% of the video height;</li>
16629
+ * <p>Image processing parameter.</p>
16630
+ * @type {ProcessImageAsyncTaskInput || null}
16631
+ */
16632
+ this.ImageTaskInput = null;
16633
+
16634
+ /**
16635
+ * <p>Output media file configuration for the image processing task.</p>
16636
+ * @type {ProcessImageAsyncOutputConfig || null}
16637
+ */
16638
+ this.OutputConfig = null;
16639
+
16640
+ /**
16641
+ * <p>Identifier for deduplication. If a request with the same identifier has been sent within the past three days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed.</p>
16392
16642
  * @type {string || null}
16393
16643
  */
16394
- this.Height = null;
16644
+ this.SessionId = null;
16395
16645
 
16396
16646
  /**
16397
- * The horizontal position of the watermark origin from the video image coordinate origin. The string ends with %, indicating that the watermark XPos specifies a percentage of the video width, such as 10% indicating that XPos is 10% of the video width.
16647
+ * <p>Source context. This is used to pass through user request information. The audio and video quality revival complete callback returns the value of this field. The maximum length is 1000 characters.</p>
16398
16648
  * @type {string || null}
16399
16649
  */
16400
- this.XPos = null;
16650
+ this.SessionContext = null;
16401
16651
 
16402
16652
  /**
16403
- * The vertical position of the watermark origin from the video image coordinate origin. When the string ends with %, it means that the watermark YPos specifies a percentage of the video height. For example, 10% means that YPos is 10% of the video height.
16653
+ * <p>Task priority. The higher the value, the higher the priority. The value ranges from -10 to 10. If this is not specified, it represents 0.</p>
16654
+ * @type {number || null}
16655
+ */
16656
+ this.TasksPriority = null;
16657
+
16658
+ /**
16659
+ * <p>Reserved field, used when special purpose.</p>
16404
16660
  * @type {string || null}
16405
16661
  */
16406
- this.YPos = null;
16662
+ this.ExtInfo = null;
16407
16663
 
16408
16664
  }
16409
16665
 
@@ -16414,12 +16670,26 @@ class WatermarkConfigureInfoForUpdate extends AbstractModel {
16414
16670
  if (!params) {
16415
16671
  return;
16416
16672
  }
16417
- this.Switch = 'Switch' in params ? params.Switch : null;
16418
- this.ImageContent = 'ImageContent' in params ? params.ImageContent : null;
16419
- this.Width = 'Width' in params ? params.Width : null;
16420
- this.Height = 'Height' in params ? params.Height : null;
16421
- this.XPos = 'XPos' in params ? params.XPos : null;
16422
- this.YPos = 'YPos' in params ? params.YPos : null;
16673
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
16674
+ this.FileId = 'FileId' in params ? params.FileId : null;
16675
+ this.Url = 'Url' in params ? params.Url : null;
16676
+ this.Base64 = 'Base64' in params ? params.Base64 : null;
16677
+
16678
+ if (params.ImageTaskInput) {
16679
+ let obj = new ProcessImageAsyncTaskInput();
16680
+ obj.deserialize(params.ImageTaskInput)
16681
+ this.ImageTaskInput = obj;
16682
+ }
16683
+
16684
+ if (params.OutputConfig) {
16685
+ let obj = new ProcessImageAsyncOutputConfig();
16686
+ obj.deserialize(params.OutputConfig)
16687
+ this.OutputConfig = obj;
16688
+ }
16689
+ this.SessionId = 'SessionId' in params ? params.SessionId : null;
16690
+ this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
16691
+ this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
16692
+ this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
16423
16693
 
16424
16694
  }
16425
16695
  }
@@ -17240,7 +17510,7 @@ class LiveRealTimeClipRequest extends AbstractModel {
17240
17510
  this.Procedure = null;
17241
17511
 
17242
17512
  /**
17243
- * Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the [Create Category](https://www.tencentcloud.com/document/product/266/7812?from_cn_redirect=1) API.
17513
+ * Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the [Create Category](https://www.tencentcloud.com/document/product/266/31772?from_cn_redirect=1) API.
17244
17514
  <li>Default value: 0, indicating other categories.</li>
17245
17515
  Valid when IsPersistence is 1.
17246
17516
  * @type {number || null}
@@ -21196,7 +21466,7 @@ class AigcVideoTaskInputFileInfo extends AbstractModel {
21196
21466
  super();
21197
21467
 
21198
21468
  /**
21199
- * <p>Input video file type. Valid values: <li>File: On-demand media file;</li> <li>Url: Accessible URL;</li></p>
21469
+ * <p>Input video file type. Valid values: <li>File: on-demand media file;</li> <li>Url: accessible Url;</li> <li>Base64: Base64 string of image or video conversion;</li></p>
21200
21470
  * @type {string || null}
21201
21471
  */
21202
21472
  this.Type = null;
@@ -21220,7 +21490,7 @@ class AigcVideoTaskInputFileInfo extends AbstractModel {
21220
21490
  this.Url = null;
21221
21491
 
21222
21492
  /**
21223
- *
21493
+ * <p>Accessible file Base64. This parameter is valid when Type value is Base64. Description:</p><ol><li>The total size of all files must not exceed 7MB to avoid exceeding the 10MB upper limit of message size for cloud APIs after conversion to Base64.</li><li>Image format should be: jpeg, jpg, png, webp.</li><li>Video format should be: mp4, mov, avi.</li><li>Do not include prefixes like data:image/jpeg;base64.</li></ol>
21224
21494
  * @type {string || null}
21225
21495
  */
21226
21496
  this.Base64 = null;
@@ -21250,7 +21520,7 @@ class AigcVideoTaskInputFileInfo extends AbstractModel {
21250
21520
  this.KeepOriginalSound = null;
21251
21521
 
21252
21522
  /**
21253
- * <p>Used to distinguish whether the input image is for <strong>first (last) frame to video</strong>, <strong>image to video</strong>, or <strong>reference to video</strong>. Available values:</p><ul><li>FirstFrame: For first (last) frame to video or image to video;</li><li>Reference: For reference to video;</li></ul><p><strong>Note: FirstFrame is selected by default</strong></p>
21523
+ * <p>Used to distinguish whether the input image is for <strong>first (last) frame to video</strong>, <strong>image to video</strong>, or <strong>reference to video</strong>. Available values:</p><ul><li>FirstFrame: Used for the first frame of first (last) frame to video or image to video.</li><li>Reference: Used for reference to video.</li><li>LastFrame: Used for the last frame of first (last) frame to video.</li></ul><p><strong>Note that FirstFrame is selected by default</strong></p>
21254
21524
  * @type {string || null}
21255
21525
  */
21256
21526
  this.Usage = null;
@@ -22193,6 +22463,12 @@ class CreateAigcAudioTaskRequest extends AbstractModel {
22193
22463
  constructor(){
22194
22464
  super();
22195
22465
 
22466
+ /**
22467
+ * <p>VOD app ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether default or newly created application).</p>
22468
+ * @type {number || null}
22469
+ */
22470
+ this.SubAppId = null;
22471
+
22196
22472
  /**
22197
22473
  * <p>Model name.</p>
22198
22474
  * @type {string || null}
@@ -22206,7 +22482,7 @@ class CreateAigcAudioTaskRequest extends AbstractModel {
22206
22482
  this.ModelVersion = null;
22207
22483
 
22208
22484
  /**
22209
- * <p>Designated scenarios currently support sfx (sound effects).</p>
22485
+ * <p>Designated scenarios currently support sfx (sound effects) and music.</p>
22210
22486
  * @type {string || null}
22211
22487
  */
22212
22488
  this.SceneType = null;
@@ -22250,6 +22526,7 @@ class CreateAigcAudioTaskRequest extends AbstractModel {
22250
22526
  if (!params) {
22251
22527
  return;
22252
22528
  }
22529
+ this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
22253
22530
  this.ModelName = 'ModelName' in params ? params.ModelName : null;
22254
22531
  this.ModelVersion = 'ModelVersion' in params ? params.ModelVersion : null;
22255
22532
  this.SceneType = 'SceneType' in params ? params.SceneType : null;
@@ -25926,7 +26203,7 @@ class CreateAigcVideoTaskRequest extends AbstractModel {
25926
26203
  this.ModelName = null;
25927
26204
 
25928
26205
  /**
25929
- * <p>Model version. Parameter Value:<br>When ModelName is Hailuo, optional values are 02, 2.3, and 2.3-fast.<br>When ModelName is Kling, optional values are 1.6, 2.0, 2.1, 2.5, 2.6, O1, 3.0, and 3.0-Omni.<br>When ModelName is Jimeng, optional value is 3.0pro.<br>When ModelName is Vidu, optional values are q2, q2-pro, q2-turbo, q3, q3-pro, and q3-turbo.<br>When ModelName is GV, optional values are 3.1 and 3.1-fast.<br>When ModelName is OS, optional value is 2.0.<br>When ModelName is Hunyuan, optional value is 1.5.<br>When ModelName is Mingmou, optional value is 1.0.<br>When ModelName is PixVerse, optional values are v5.6, v6, and c1.</p>
26206
+ * <p>Model version. Parameter value:<br>When ModelName is Hailuo, optional values are 02, 2.3, and 2.3-fast.<br>When ModelName is Kling, optional values are 1.6, 2.0, 2.1, 2.5, 2.6, O1, 3.0, and 3.0-Omni.<br>When ModelName is Vidu, optional values are q2, q2-pro, q2-turbo, q3, q3-pro, and q3-turbo.<br>When ModelName is GV, optional values are 3.1 and 3.1-fast.<br>When ModelName is OS, optional value is 2.0.<br>When ModelName is Hunyuan, optional value is 1.5.<br>When ModelName is Mingmou, optional value is 1.0.<br>When ModelName is PixVerse, optional values are v5.6, v6, and c1.</p>
25930
26207
  * @type {string || null}
25931
26208
  */
25932
26209
  this.ModelVersion = null;
@@ -25991,6 +26268,12 @@ class CreateAigcVideoTaskRequest extends AbstractModel {
25991
26268
  */
25992
26269
  this.SceneType = null;
25993
26270
 
26271
+ /**
26272
+ * <p><a href="https://www.tencentcloud.com/document/product/266/33475?from_cn_redirect=1#.E4.BB.BB.E5.8A.A1.E6.B5.81">Task flow name</a>. Fill in when you need to execute task flow for the generated new video.</p>
26273
+ * @type {string || null}
26274
+ */
26275
+ this.Procedure = null;
26276
+
25994
26277
  /**
25995
26278
  * <p>Random seed of the model.</p>
25996
26279
  * @type {number || null}
@@ -26064,6 +26347,7 @@ class CreateAigcVideoTaskRequest extends AbstractModel {
26064
26347
  }
26065
26348
  this.InputRegion = 'InputRegion' in params ? params.InputRegion : null;
26066
26349
  this.SceneType = 'SceneType' in params ? params.SceneType : null;
26350
+ this.Procedure = 'Procedure' in params ? params.Procedure : null;
26067
26351
  this.Seed = 'Seed' in params ? params.Seed : null;
26068
26352
  this.SessionId = 'SessionId' in params ? params.SessionId : null;
26069
26353
  this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
@@ -33426,44 +33710,18 @@ Default value: vocal.
33426
33710
  }
33427
33711
 
33428
33712
  /**
33429
- * DescribeImageProcessingTemplates request structure.
33713
+ * Asynchronously fetch AIGC human face information output
33430
33714
  * @class
33431
33715
  */
33432
- class DescribeImageProcessingTemplatesRequest extends AbstractModel {
33716
+ class DescribeAigcFaceInfoAsyncOutput extends AbstractModel {
33433
33717
  constructor(){
33434
33718
  super();
33435
33719
 
33436
33720
  /**
33437
- * <b>On-demand [application](https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1) ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether default or newly created).</b>
33438
- * @type {number || null}
33439
- */
33440
- this.SubAppId = null;
33441
-
33442
- /**
33443
- * Image processing template flag list. Length limit: 100.
33444
- * @type {Array.<number> || null}
33445
- */
33446
- this.Definitions = null;
33447
-
33448
- /**
33449
- * Condition for filtering templates by type. Valid values:
33450
- <li>Preset: system preset template;</li>
33451
- <li>Custom: User-defined template.</li>
33452
- * @type {string || null}
33453
- */
33454
- this.Type = null;
33455
-
33456
- /**
33457
- * Pagination offset. Default value: 0.
33458
- * @type {number || null}
33459
- */
33460
- this.Offset = null;
33461
-
33462
- /**
33463
- * Number of returned entries. Default value: 10. Maximum value: 100.
33464
- * @type {number || null}
33721
+ * <p>Face information.</p>
33722
+ * @type {Array.<AigcFaceInfo> || null}
33465
33723
  */
33466
- this.Limit = null;
33724
+ this.FaceInfoSet = null;
33467
33725
 
33468
33726
  }
33469
33727
 
@@ -33474,11 +33732,15 @@ class DescribeImageProcessingTemplatesRequest extends AbstractModel {
33474
33732
  if (!params) {
33475
33733
  return;
33476
33734
  }
33477
- this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
33478
- this.Definitions = 'Definitions' in params ? params.Definitions : null;
33479
- this.Type = 'Type' in params ? params.Type : null;
33480
- this.Offset = 'Offset' in params ? params.Offset : null;
33481
- this.Limit = 'Limit' in params ? params.Limit : null;
33735
+
33736
+ if (params.FaceInfoSet) {
33737
+ this.FaceInfoSet = new Array();
33738
+ for (let z in params.FaceInfoSet) {
33739
+ let obj = new AigcFaceInfo();
33740
+ obj.deserialize(params.FaceInfoSet[z]);
33741
+ this.FaceInfoSet.push(obj);
33742
+ }
33743
+ }
33482
33744
 
33483
33745
  }
33484
33746
  }
@@ -35754,11 +36016,17 @@ class AigcVideoTaskOutput extends AbstractModel {
35754
36016
  super();
35755
36017
 
35756
36018
  /**
35757
- * Output file information of the AIGC video task.
36019
+ * <p>Output file info of the AIGC video task.</p>
35758
36020
  * @type {Array.<AigcVideoTaskOutputFileInfo> || null}
35759
36021
  */
35760
36022
  this.FileInfos = null;
35761
36023
 
36024
+ /**
36025
+ * <p>The task ID of the task type Procedure. If a task flow template (Procedure) is specified when initiating <a href="https://www.tencentcloud.com/document/product/266/126239?from_cn_redirect=1">AIGC video task creation</a>, the task is initiated when the task flow template specifies one or more of MediaProcessTask, AiAnalysisTask, or AiRecognitionTask.</p>
36026
+ * @type {Array.<string> || null}
36027
+ */
36028
+ this.ProcedureTaskIds = null;
36029
+
35762
36030
  }
35763
36031
 
35764
36032
  /**
@@ -35777,6 +36045,7 @@ class AigcVideoTaskOutput extends AbstractModel {
35777
36045
  this.FileInfos.push(obj);
35778
36046
  }
35779
36047
  }
36048
+ this.ProcedureTaskIds = 'ProcedureTaskIds' in params ? params.ProcedureTaskIds : null;
35780
36049
 
35781
36050
  }
35782
36051
  }
@@ -40322,35 +40591,41 @@ class AigcImageTaskInputFileInfo extends AbstractModel {
40322
40591
  super();
40323
40592
 
40324
40593
  /**
40325
- * Input video file type. Valid values: <li>File: on-demand media file;</li> <li>Url: accessible URL;</li>
40594
+ * <p>Input file type. Valid values: <li>File: on-demand media file;</li> <li>Url: accessible Url;</li> <li>Base64: Base64 string of image or video conversion;</li></p>
40326
40595
  * @type {string || null}
40327
40596
  */
40328
40597
  this.Type = null;
40329
40598
 
40330
40599
  /**
40331
- * The media File ID of the image File, which is the globally unique identifier of the File in vod, is assigned by the vod backend after successful upload. you can get this field in the [video upload completion event notification](https://www.tencentcloud.com/document/product/266/7830?from_cn_redirect=1) or [vod console](https://console.cloud.tencent.com/vod/media). this parameter is valid when the Type value is File.
40332
- Description:.
40333
- 1. recommended for use: image less than 7 mb.
40334
- 2. Valid values of image format: jpeg, jpg, png, and webp.
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>
40335
40601
  * @type {string || null}
40336
40602
  */
40337
40603
  this.FileId = null;
40338
40604
 
40339
40605
  /**
40340
- * Accessible file URL. this parameter is valid when the Type value is URL.
40341
- Description:.
40342
- 1. recommended for use: image less than 7 mb.
40343
- 2. Valid values of image format: jpeg, jpg, png, and webp.
40606
+ * <p>Accessible file URL. This parameter is valid when the Type value is URL.</p><ol><li>Images less than 7M are recommended.</li><li>Image format values: jpeg, jpg, png, webp.</li></ol>
40344
40607
  * @type {string || null}
40345
40608
  */
40346
40609
  this.Url = null;
40347
40610
 
40348
40611
  /**
40349
- * Description of the input image, used to help the model understand the image. valid for GEM 2.5 and GEM 3.0 only.
40612
+ * <p>Accessible file Base64. This parameter is valid when Type value is Base64. Description:</p><ol><li>Total size of all files must not exceed 7 MB to avoid exceeding the 10 MB size limit of the cloud API after converting to Base64;</li><li>Format should be jpeg, jpg, png, or webp;</li><li>Do not include prefixes such as data:image/jpeg;base64,.</li></ol>
40613
+ * @type {string || null}
40614
+ */
40615
+ this.Base64 = null;
40616
+
40617
+ /**
40618
+ * <p>Description of the input image, used to help the model understand the image. Only valid for GEM 2.5 and GEM 3.0.</p>
40350
40619
  * @type {string || null}
40351
40620
  */
40352
40621
  this.Text = null;
40353
40622
 
40623
+ /**
40624
+ * <p><strong>Valid only when ModelName is OG</strong>. Image type.</p><p>Enumeration value:</p><ul><li>mask: Image mask.</li></ul>
40625
+ * @type {string || null}
40626
+ */
40627
+ this.ReferenceType = null;
40628
+
40354
40629
  }
40355
40630
 
40356
40631
  /**
@@ -40363,7 +40638,9 @@ Description:.
40363
40638
  this.Type = 'Type' in params ? params.Type : null;
40364
40639
  this.FileId = 'FileId' in params ? params.FileId : null;
40365
40640
  this.Url = 'Url' in params ? params.Url : null;
40641
+ this.Base64 = 'Base64' in params ? params.Base64 : null;
40366
40642
  this.Text = 'Text' in params ? params.Text : null;
40643
+ this.ReferenceType = 'ReferenceType' in params ? params.ReferenceType : null;
40367
40644
 
40368
40645
  }
40369
40646
  }
@@ -44729,7 +45006,7 @@ If MediaType is not filled in or takes an empty string, the file type will be au
44729
45006
  this.StorageRegion = null;
44730
45007
 
44731
45008
  /**
44732
- * Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the [create category](https://www.tencentcloud.com/document/product/266/7812?from_cn_redirect=1) API.
45009
+ * Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the [create category](https://www.tencentcloud.com/document/product/266/31772?from_cn_redirect=1) API.
44733
45010
  * @type {number || null}
44734
45011
  */
44735
45012
  this.ClassId = null;
@@ -46909,13 +47186,13 @@ class AigcImageTaskInput extends AbstractModel {
46909
47186
  this.FileInfos = null;
46910
47187
 
46911
47188
  /**
46912
- * <p>Prompt for image generation. Supports up to 1000 characters. This parameter is required when FileInfos is empty.</p>
47189
+ * <p>Prompt content for image generation. This parameter is required when FileInfos is empty.</p>
46913
47190
  * @type {string || null}
46914
47191
  */
46915
47192
  this.Prompt = null;
46916
47193
 
46917
47194
  /**
46918
- * <p>To prevent the model from generating images, set a prompt. Supports a maximum of 1000 characters.</p>
47195
+ * <p>To prevent the model from generating image prompts.</p>
46919
47196
  * @type {string || null}
46920
47197
  */
46921
47198
  this.NegativePrompt = null;
@@ -47373,6 +47650,12 @@ class AdaptiveDynamicStreamingTaskInput extends AbstractModel {
47373
47650
  */
47374
47651
  this.SubtitleInfoSet = null;
47375
47652
 
47653
+ /**
47654
+ * <p>Third-party DRM encrypted information. Task flow is not currently supported to initiate task via third-party DRM information.</p>
47655
+ * @type {ThirdPartyDrmInfo || null}
47656
+ */
47657
+ this.DrmInfo = null;
47658
+
47376
47659
  }
47377
47660
 
47378
47661
  /**
@@ -47421,6 +47704,12 @@ class AdaptiveDynamicStreamingTaskInput extends AbstractModel {
47421
47704
  }
47422
47705
  }
47423
47706
 
47707
+ if (params.DrmInfo) {
47708
+ let obj = new ThirdPartyDrmInfo();
47709
+ obj.deserialize(params.DrmInfo)
47710
+ this.DrmInfo = obj;
47711
+ }
47712
+
47424
47713
  }
47425
47714
  }
47426
47715
 
@@ -48289,7 +48578,7 @@ class DescribeTaskDetailResponse extends AbstractModel {
48289
48578
  super();
48290
48579
 
48291
48580
  /**
48292
- * <p>Task type. Value: <li>Procedure: Video processing task;</li><li>EditMedia: Video editing task;</li><li>SplitMedia: Video splitting task;</li><li>ComposeMedia: Media file creation task;</li><li>WechatPublish: WeChat publish task;</li><li>WechatMiniProgramPublish: WeChat Mini Program Video Publishing Task;</li><li>PullUpload: Pull and upload media files task;</li><li>FastClipMedia: Quick trimming task;</li><li>RemoveWatermarkTask: Intelligent watermark removal task;</li><li>DescribeFileAttributesTask: File attribute retrieval task;</li><li>RebuildMedia: Audio and video quality regeneration task (not recommended);</li><li>ReviewAudioVideo: Audio/video moderation task;</li><li>ExtractTraceWatermark: Source watermark extraction task;</li><li>ExtractCopyRightWatermark: Copyright Watermark Extraction Task;</li><li>QualityInspect: Audio and video quality inspection task;</li><li>QualityEnhance: Audio and video quality regeneration task;</li><li>ComplexAdaptiveDynamicStreaming: Complex adaptive bitstream task;</li><li>ProcessMediaByMPS: MPS video processing task;</li><li>AigcImageTask: AIGC image generation task;</li><li>SceneAigcImageTask: Scenario-based AIGC image generation task;</li><li>AigcVideoTask: AIGC video generation task;</li><li>ImportMediaKnowledge: Import media knowledge task.</li><li>SceneAigcVideoTask: Scenario-based AIGC video generation task;</li><li>ExtractBlindWatermark: Digital watermark extraction task.</li><li>ExtractBlindWatermark: Digital watermark extraction task.</li><li>CreateAigcAdvancedCustomElement: Create custom subject task</li><li>CreateAigcCustomVoice: Create custom voice type task</li><li>CreateAigcSubject: Create subject task</li><li>AigcVideoRedrawTask: AIGC video redraw task</li><li>CreateAigcAudioClone: AIGC sound clone task</li></p>
48581
+ * <p>Task type. Valid values: <li>Procedure: Video processing task;</li><li>EditMedia: Video editing task;</li><li>SplitMedia: Video splitting task;</li><li>ComposeMedia: Media file creation task;</li><li>WechatPublish: WeChat publishing task;</li><li>WechatMiniProgramPublish: WeChat Mini Program Video Publishing Task;</li><li>PullUpload: Pull and upload media files task;</li><li>FastClipMedia: Quick trimming task;</li><li>RemoveWatermarkTask: Intelligent watermark removal task;</li><li>DescribeFileAttributesTask: File attribute retrieval task;</li><li>RebuildMedia: Audio and video quality regeneration task (not recommended);</li><li>ReviewAudioVideo: Audio/video moderation task;</li><li>ExtractTraceWatermark: Source watermark extraction task;</li><li>ExtractCopyRightWatermark: Copyright Watermark Extraction Task;</li><li>QualityInspect: Audio and video quality inspection task;</li><li>QualityEnhance: Audio and video quality regeneration task;</li><li>ComplexAdaptiveDynamicStreaming: Complex adaptive bitstream task;</li><li>ProcessMediaByMPS: MPS video processing task;</li><li>AigcImageTask: AIGC image generation task;</li><li>SceneAigcImageTask: Scenario-based AIGC image generation task;</li><li>AigcVideoTask: AIGC video generation task;</li><li>ImportMediaKnowledge: Import media knowledge task.</li><li>SceneAigcVideoTask: Scenario-based AIGC video generation task;</li><li>ExtractBlindWatermark: Digital watermark extraction task.</li><li>ExtractBlindWatermark: Digital watermark extraction task.</li><li>CreateAigcAdvancedCustomElement: Create custom subject task</li><li>CreateAigcCustomVoice: Create custom voice type task</li><li>CreateAigcSubject: Create subject task</li><li>AigcVideoRedrawTask: AIGC video redraw task</li><li>CreateAigcAudioClone: AIGC voice clone task</li><li>DescribeAigcFaceInfoAsync: Asynchronously fetch AIGC face information task</li></p>
48293
48582
  * @type {string || null}
48294
48583
  */
48295
48584
  this.TaskType = null;
@@ -48539,13 +48828,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
48539
48828
  this.CreateAigcSubjectTask = null;
48540
48829
 
48541
48830
  /**
48542
- * <p>AIGC video conversion info. This field has a value only when TaskType is AigcVideoRedrawTask.</p>
48831
+ * <p>AIGC video redraw info, valid only when TaskType is AigcVideoRedrawTask and this field has a value.</p>
48543
48832
  * @type {AigcVideoRedrawTask || null}
48544
48833
  */
48545
48834
  this.AigcVideoRedrawTask = null;
48546
48835
 
48547
48836
  /**
48548
- * <p>AIGC audio effect info. This field has a value only when TaskType is AigcAudioTask.</p>
48837
+ * <p>AIGC sound effect information. This field has a value only when TaskType is AigcAudioTask.</p>
48549
48838
  * @type {AigcAudioTask || null}
48550
48839
  */
48551
48840
  this.AigcAudioTask = null;
@@ -48556,6 +48845,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
48556
48845
  */
48557
48846
  this.CreateAigcAudioCloneTask = null;
48558
48847
 
48848
+ /**
48849
+ * <p>Asynchronously fetch AIGC face information. This field has a value only when TaskType is DescribeAigcFaceInfoAsync.</p>
48850
+ * @type {DescribeAigcFaceInfoAsyncTask || null}
48851
+ */
48852
+ this.DescribeAigcFaceInfoAsyncTask = null;
48853
+
48559
48854
  /**
48560
48855
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
48561
48856
  * @type {string || null}
@@ -48792,6 +49087,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
48792
49087
  obj.deserialize(params.CreateAigcAudioCloneTask)
48793
49088
  this.CreateAigcAudioCloneTask = obj;
48794
49089
  }
49090
+
49091
+ if (params.DescribeAigcFaceInfoAsyncTask) {
49092
+ let obj = new DescribeAigcFaceInfoAsyncTask();
49093
+ obj.deserialize(params.DescribeAigcFaceInfoAsyncTask)
49094
+ this.DescribeAigcFaceInfoAsyncTask = obj;
49095
+ }
48795
49096
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
48796
49097
 
48797
49098
  }
@@ -48885,7 +49186,7 @@ class SimpleHlsClipRequest extends AbstractModel {
48885
49186
  this.Procedure = null;
48886
49187
 
48887
49188
  /**
48888
- * Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the [create category](https://www.tencentcloud.com/document/product/266/7812?from_cn_redirect=1) API.
49189
+ * Category ID, used to categorize and manage media. You can create a category and obtain the category ID via the [create category](https://www.tencentcloud.com/document/product/266/31772?from_cn_redirect=1) API.
48889
49190
  <li>Default value: 0, indicating other categories.</li>
48890
49191
  Valid when IsPersistence is 1.
48891
49192
  * @type {number || null}
@@ -49740,7 +50041,7 @@ class DescribeAigcUsageDataRequest extends AbstractModel {
49740
50041
  this.EndTime = null;
49741
50042
 
49742
50043
  /**
49743
- * <p>AIGC type.</p><p>Enumeration value:</p><ul><li>Video: Video</li><li>Image: Image</li><li>Text: Text</li><li>SceneAigcVideo: Scenario-based video processing</li><li>SceneAigcImage: Scenario-based image processing</li><li>SceneAigcTime: Scenario-based processing times</li></ul>
50044
+ * <p>AIGC type.</p><p>Enumeration value:</p><ul><li>Video: video</li><li>Image: image</li><li>Text: text</li><li>Audio: audio</li><li>SceneAigcVideo: scenario-based video processing</li><li>SceneAigcImage: scenario-based image processing</li><li>SceneAigcTime: scenario-based processing times</li></ul>
49744
50045
  * @type {string || null}
49745
50046
  */
49746
50047
  this.AigcType = null;
@@ -49751,6 +50052,18 @@ class DescribeAigcUsageDataRequest extends AbstractModel {
49751
50052
  */
49752
50053
  this.SubAppId = null;
49753
50054
 
50055
+ /**
50056
+ * <p>API Key</p>
50057
+ * @type {string || null}
50058
+ */
50059
+ this.APIKey = null;
50060
+
50061
+ /**
50062
+ * <p>API Key</p>
50063
+ * @type {Array.<string> || null}
50064
+ */
50065
+ this.APIKeys = null;
50066
+
49754
50067
  }
49755
50068
 
49756
50069
  /**
@@ -49764,6 +50077,8 @@ class DescribeAigcUsageDataRequest extends AbstractModel {
49764
50077
  this.EndTime = 'EndTime' in params ? params.EndTime : null;
49765
50078
  this.AigcType = 'AigcType' in params ? params.AigcType : null;
49766
50079
  this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
50080
+ this.APIKey = 'APIKey' in params ? params.APIKey : null;
50081
+ this.APIKeys = 'APIKeys' in params ? params.APIKeys : null;
49767
50082
 
49768
50083
  }
49769
50084
  }
@@ -54339,7 +54654,7 @@ class CreateAigcImageTaskRequest extends AbstractModel {
54339
54654
  this.ModelName = null;
54340
54655
 
54341
54656
  /**
54342
- * <p>Model version. Parameter value:</p><li>When ModelName is OG, available values are image2_low, image2_medium, image2_high;</li><li>When ModelName is GG, available values are 2.5, 3.0, 3.1;</li><li>When ModelName is Jimeng, available values are 4.0;</li><li>When ModelName is SI, available values are 4.0, 4.5, 5.0-lite;</li><li>When ModelName is Qwen, available values are 0925;</li><li>When ModelName is Hunyuan, available values are 3.0;</li><li>When ModelName is Vidu, available values are q2;</li><li>When ModelName is Kling, available values are 2.1, 3.0, 3.0-Omni, O1;</li>
54657
+ * <p>Model version. Parameter:</p><li>When ModelName is OG, available values are image2_low, image2_medium, image2_high;</li><li>When ModelName is GG, available values are 2.5, 3.0, 3.1;</li><li>When ModelName is Jimeng, available values are 4.0;</li><li>When ModelName is SI, available values are 4.0, 4.5, 5.0-lite;</li><li>When ModelName is Qwen, available values are 0925;</li><li>When ModelName is Hunyuan, available values are 3.0;</li><li>When ModelName is Vidu, available values are q2;</li><li>When ModelName is Kling, available values are 2.1, 3.0, 3.0-Omni, O1, scene;</li>
54343
54658
  * @type {string || null}
54344
54659
  */
54345
54660
  this.ModelVersion = null;
@@ -54381,7 +54696,7 @@ class CreateAigcImageTaskRequest extends AbstractModel {
54381
54696
  this.InputRegion = null;
54382
54697
 
54383
54698
  /**
54384
- * <p>Scenario type. Values as follows: <li>When ModelName is Hunyuan: 3d_panorama means Panoramic View;</li> <li>Other ModelName is not currently supported.</li></p>
54699
+ * <p>Scenario type. Values are as follows:</p><li>When ModelName is Hunyuan: 3d_panorama means panoramic view;</li><li>When ModelName is Kling: image_expand means image expansion;</li><li>Other ModelNames are not currently supported.</li>
54385
54700
  * @type {string || null}
54386
54701
  */
54387
54702
  this.SceneType = null;
@@ -54411,7 +54726,7 @@ class CreateAigcImageTaskRequest extends AbstractModel {
54411
54726
  this.TasksPriority = null;
54412
54727
 
54413
54728
  /**
54414
- * <p>Reserved field, used for special purpose.</p><ul><li><p>Hunyuan 3.0</p><ul><li>Supports freely setting resolution width and height. Both width and height must be within [512, 2048] pixels, and the product of width and height must be ≤ 1024x1024 pixels. Example: <code>{"AdditionalParameters": "{\"size\":\"728x1024\"}"}</code></li></ul></li><li><p>SI series</p><ul><li>Supports freely setting resolution width and height:<ul><li>SI 4.0: Valid total pixel range [1280x720=921600, 4096x4096=16777216]. Example: <code>{"AdditionalParameters": "{\"size\":\"728x1356\"}"}</code></li><li>SI 4.5: Valid total pixel range [2560x1440=3686400, 4096x4096=16777216]. Example: <code>{"AdditionalParameters": "{\"size\":\"2560x1440\"}"}</code></li><li>SI 5.0-lite: Valid total pixel range [2560x1440=3686400, 3072x3072x1.1025=10404496]. Example: <code>{"AdditionalParameters": "{\"size\":\"2560x1440\"}"}</code></li></ul></li><li>Can be used to enable output of multiple images. Example: <code>{"AdditionalParameters": "{\"sequential_image_generation\":\"auto\"}"}</code>. Besides, the number of output images must be specified in <code>Prompt</code>, such as: output 3 images.</li></ul></li><li><p>Qwen 0925</p><ul><li>Supports freely setting resolution width and height. Valid total pixel range [512x512=261632, 2048x2048=4194304]. Example: <code>{"AdditionalParameters": "{\"size\":\"728*1024\"}"}</code></li></ul></li></ul>
54729
+ * <p>Reserved field, used for special purpose.</p><ul><li><p>Hunyuan 3.0</p><ul><li>Supports freely setting resolution width and height, both within [512, 2048] pixels, with the product of width and height ≤ 1024x1024 pixels. Example: <code>{"AdditionalParameters": "{\"size\":\"728x1024\"}"}</code></li></ul></li><li><p>SI series</p><ul><li>Supports freely setting resolution width and height:<ul><li>SI 4.0: Valid total pixel range [1280x720=921600, 4096x4096=16777216]. Example: <code>{"AdditionalParameters": "{\"size\":\"728x1356\"}"}</code></li><li>SI 4.5: Valid total pixel range [2560x1440=3686400, 4096x4096=16777216]. Example: <code>{"AdditionalParameters": "{\"size\":\"2560x1440\"}"}</code></li><li>SI 5.0-lite: Valid total pixel range [2560x1440=3686400, 3072x3072x1.1025=10404496]. Example: <code>{"AdditionalParameters": "{\"size\":\"2560x1440\"}"}</code></li></ul></li><li>Can be used to enable output of multiple images. Example: <code>{"AdditionalParameters": "{\"sequential_image_generation\":\"auto\"}"}</code>. Besides, the number of images to output must be specified in the <code>Prompt</code>, such as "output 3 images".</li></ul></li><li><p>Qwen 0925</p><ul><li>Supports freely setting resolution width and height, with valid total pixel range [512x512=261632, 2048x2048=4194304]. Example: <code>{"AdditionalParameters": "{\"size\":\"728*1024\"}"}</code></li></ul></li><li><p>OG</p><ul><li>Supports freely setting resolution width and height:<ul><li>Pixel size must be divisible by 16.</li><li>Total pixels must be at least 655,360 and should not exceed 8,294,400.</li><li>Example: <code>{"AdditionalParameters": "{\"size\":\"728*1024\"}"}</code></li></ul></li><li>Supports setting transparent layer:<ul><li>Example: <code>{"AdditionalParameters": "{\"background\":\"transparent\"}"}</code></li></ul></li></ul></li><li><p>Kling</p><ul><li>Supports setting image expansion parameters. Example: <code>{AdditionalParameters":"{\"down_expansion_ratio\":0.2,\"left_expansion_ratio\":0.3,\"right_expansion_ratio\":0.4,\"up_expansion_ratio\":0.1}}</code><ul><li>Common constraints:<ul><li>Value range: [0, 2].</li><li>The overall area of the new image should not exceed 3 times that of the original image.</li><li>Forward prompts can be input through the <code>Prompt</code> field.</li><li>Example description:<ul><li>up_expansion_ratio: Upward expansion range, calculated based on a multiple of the original image height. If the original image height is 20 and the parameter value is 0.1, the distance from the top edge of the original image to the top edge of the new image is 20 × 0.1 = 2, which is the expansion range.</li><li>down_expansion_ratio: Downward expansion range, calculated based on a multiple of the original image height. If the original image height is 20 and the parameter value is 0.2, the distance from the bottom edge of the original image to the bottom edge of the new image is 20 × 0.2 = 4, which is the expansion range.</li><li>left_expansion_ratio: Leftward expansion range, calculated based on a multiple of the original image width. If the original image width is 30 and the parameter value is 0.3, the distance from the left edge of the original image to the left edge of the new image is 30 × 0.3 = 9, which is the expansion range.</li><li>right_expansion_ratio: Rightward expansion range, calculated based on a multiple of the original image width. If the original image width is 30 and the parameter value is 0.4, the distance from the right edge of the original image to the right edge of the new image is 30 × 0.4 = 12, which is the expansion range.</li></ul></li></ul></li></ul></li></ul></li></ul>
54415
54730
  * @type {string || null}
54416
54731
  */
54417
54732
  this.ExtInfo = null;
@@ -55898,6 +56213,69 @@ class RemoveWatermarkRequest extends AbstractModel {
55898
56213
  }
55899
56214
  }
55900
56215
 
56216
+ /**
56217
+ * Third-party DRM manufacturer encrypted information.
56218
+ * @class
56219
+ */
56220
+ class SPEKEDrm extends AbstractModel {
56221
+ constructor(){
56222
+ super();
56223
+
56224
+ /**
56225
+ * <p>Resource tagging. This field content is user-customized. It supports 1-128 characters, including numbers, letters, underscores (_), and hyphens (-). This field corresponds to the cid field in the Speke request. Note: Different DRM manufacturers have differences in limitations for this field (for example: Huawei Xloud does not support underscores (_) in this field). For specific rules, contact the DRM manufacturer for confirmation.</p>
56226
+ * @type {string || null}
56227
+ */
56228
+ this.ResourceId = null;
56229
+
56230
+ /**
56231
+ * <p>DRM manufacturer access address. The field content is obtained from the DRM manufacturer. Note: Different DRM manufacturers have different limits on the number of substreams. For example, PallyCon limits the number to a maximum of 5 substreams, while DRMtoday only supports up to 9 substream encryptions.</p>
56232
+ * @type {string || null}
56233
+ */
56234
+ this.KeyServerUrl = null;
56235
+
56236
+ /**
56237
+ * <p>Initialization vector (32-byte hexadecimal string) for encryption. The field content is user-customized.</p>
56238
+ * @type {string || null}
56239
+ */
56240
+ this.Vector = null;
56241
+
56242
+ /**
56243
+ * <p>Encryption method. Available values:<br>cbcs: supports PlayReady, Widevine, FairPlay, Widevine+FairPlay, Widevine+PlayReady, PlayReady+FairPlay, Widevine+PlayReady+FairPlay;<br>cenc: supports PlayReady, Widevine, Widevine+PlayReady;<br>If left blank, FairPlay defaults to cbcs;<br>PlayReady and Widevine default to cenc;<br>Widevine+FairPlay, PlayReady+FairPlay, and Widevine+PlayReady+FairPlay default to cbcs;<br>Widevine+PlayReady defaults to cenc;</p>
56244
+ * @type {string || null}
56245
+ */
56246
+ this.EncryptionMethod = null;
56247
+
56248
+ /**
56249
+ * <p>Substream encryption rules, default preset 0<br>preset 0: use the same key to encrypt all substreams;<br>preset 1: use different keys to encrypt each substream;</p>
56250
+ * @type {string || null}
56251
+ */
56252
+ this.EncryptionPreset = null;
56253
+
56254
+ /**
56255
+ * <p>DRM manufacturer request method.</p><p>Enumeration value:</p><ul><li>POST: Most DRM manufacturers use the POST method.</li><li>GET: Partial DRM manufacturers support the GET method. At the time of request using this method, the KeyServerUrl field needs to include all request information.</li></ul><p>Default value: POST</p>
56256
+ * @type {string || null}
56257
+ */
56258
+ this.KeyAcquireMode = null;
56259
+
56260
+ }
56261
+
56262
+ /**
56263
+ * @private
56264
+ */
56265
+ deserialize(params) {
56266
+ if (!params) {
56267
+ return;
56268
+ }
56269
+ this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
56270
+ this.KeyServerUrl = 'KeyServerUrl' in params ? params.KeyServerUrl : null;
56271
+ this.Vector = 'Vector' in params ? params.Vector : null;
56272
+ this.EncryptionMethod = 'EncryptionMethod' in params ? params.EncryptionMethod : null;
56273
+ this.EncryptionPreset = 'EncryptionPreset' in params ? params.EncryptionPreset : null;
56274
+ this.KeyAcquireMode = 'KeyAcquireMode' in params ? params.KeyAcquireMode : null;
56275
+
56276
+ }
56277
+ }
56278
+
55901
56279
  /**
55902
56280
  * ExecuteFunction request structure.
55903
56281
  * @class
@@ -56609,102 +56987,95 @@ class MediaTranscodeItem extends AbstractModel {
56609
56987
  super();
56610
56988
 
56611
56989
  /**
56612
- * Address of output video file.
56613
- Note: this field may return null, indicating that no valid values can be obtained.
56990
+ * <p>File URL of the transcoded video.</p>
56614
56991
  * @type {string || null}
56615
56992
  */
56616
56993
  this.Url = null;
56617
56994
 
56618
56995
  /**
56619
- * For transcoding specification ID, see [Transcoding Parameter Template](https://intl.cloud.tencent.com/document/product/266/33476?from_cn_redirect=1).
56620
- <font color=red>Note: A value of 0 represents the original file. </font>
56996
+ * <p>Transcoding specification ID. Please refer to <a href="https://www.tencentcloud.com/document/product/266/33476?from_cn_redirect=1">transcoding parameter template</a>.<br><font color="red">Note: A value of 0 means the raw file.</font></p>
56621
56997
  * @type {number || null}
56622
56998
  */
56623
56999
  this.Definition = null;
56624
57000
 
56625
57001
  /**
56626
- * Sum of the average bitrate of a video stream and that of an audio stream in bps.
56627
- Note: this field may return null, indicating that no valid values can be obtained.
57002
+ * <p>Sum of the mean bitrate of a stream and the mean audio stream bit rate, unit: bps.</p>
56628
57003
  * @type {number || null}
56629
57004
  */
56630
57005
  this.Bitrate = null;
56631
57006
 
56632
57007
  /**
56633
- * Maximum value of the height of a video stream in px.
56634
- Note: this field may return null, indicating that no valid values can be obtained.
57008
+ * <p>Maximum value of video stream height. Unit: px.</p>
56635
57009
  * @type {number || null}
56636
57010
  */
56637
57011
  this.Height = null;
56638
57012
 
56639
57013
  /**
56640
- * Maximum value of the width of a video stream in px.
56641
- Note: this field may return null, indicating that no valid values can be obtained.
57014
+ * <p>Maximum value of video stream width. Unit: px.</p>
56642
57015
  * @type {number || null}
56643
57016
  */
56644
57017
  this.Width = null;
56645
57018
 
56646
57019
  /**
56647
- * The file size (bytes).
56648
- <li>If the file is an HLS file, the value of this parameter is the sum of the size of the M3U8 and TS files.</li>
57020
+ * <p>Total size of media files, measurement unit: byte.</p><li>When the media file is HLS, the size is the sum of m3u8 and ts file sizes.</li>
56649
57021
  * @type {number || null}
56650
57022
  */
56651
57023
  this.Size = null;
56652
57024
 
56653
57025
  /**
56654
- * Video duration in seconds.
56655
- Note: this field may return null, indicating that no valid values can be obtained.
57026
+ * <p>Video duration, in seconds.</p>
56656
57027
  * @type {number || null}
56657
57028
  */
56658
57029
  this.Duration = null;
56659
57030
 
56660
57031
  /**
56661
- * MD5 value of video.
56662
- Note: this field may return null, indicating that no valid values can be obtained.
57032
+ * <p>md5 value of the video.</p>
56663
57033
  * @type {string || null}
56664
57034
  */
56665
57035
  this.Md5 = null;
56666
57036
 
56667
57037
  /**
56668
- * Container, such as m4a and mp4.
56669
- Note: this field may return null, indicating that no valid values can be obtained.
57038
+ * <p>Container type, such as m4a, mp4.</p>
56670
57039
  * @type {string || null}
56671
57040
  */
56672
57041
  this.Container = null;
56673
57042
 
56674
57043
  /**
56675
- * Video stream information.
56676
- Note: this field may return null, indicating that no valid values can be obtained.
57044
+ * <p>Video stream information.</p>
56677
57045
  * @type {Array.<MediaVideoStreamItem> || null}
56678
57046
  */
56679
57047
  this.VideoStreamSet = null;
56680
57048
 
56681
57049
  /**
56682
- * Audio stream information.
56683
- Note: this field may return null, indicating that no valid values can be obtained.
57050
+ * <p>Audio stream information.</p>
56684
57051
  * @type {Array.<MediaAudioStreamItem> || null}
56685
57052
  */
56686
57053
  this.AudioStreamSet = null;
56687
57054
 
56688
57055
  /**
56689
- * The watermark type. Valid values:
56690
- <li>Trace: Digital watermark</li>
56691
- <li>None: Regular watermark</li>
57056
+ * <p>Digital watermark type. Available values:</p><li>Trace means transit watermark processing;</li><li>CopyRight means copyright watermark processing;</li><li>None means no digital watermark processing.</li>
56692
57057
  * @type {string || null}
56693
57058
  */
56694
57059
  this.DigitalWatermarkType = null;
56695
57060
 
56696
57061
  /**
56697
- *
57062
+ * <p>Copyright information.</p>
56698
57063
  * @type {string || null}
56699
57064
  */
56700
57065
  this.CopyRightWatermarkText = null;
56701
57066
 
56702
57067
  /**
56703
- * Digital watermark template id.
57068
+ * <p>Digital watermark template id.</p>
56704
57069
  * @type {number || null}
56705
57070
  */
56706
57071
  this.BlindWatermarkDefinition = null;
56707
57072
 
57073
+ /**
57074
+ * <p>Generated new FileId for transcoding. Valid when requesting to enable independence media output.</p>
57075
+ * @type {string || null}
57076
+ */
57077
+ this.FileId = null;
57078
+
56708
57079
  }
56709
57080
 
56710
57081
  /**
@@ -56744,6 +57115,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
56744
57115
  this.DigitalWatermarkType = 'DigitalWatermarkType' in params ? params.DigitalWatermarkType : null;
56745
57116
  this.CopyRightWatermarkText = 'CopyRightWatermarkText' in params ? params.CopyRightWatermarkText : null;
56746
57117
  this.BlindWatermarkDefinition = 'BlindWatermarkDefinition' in params ? params.BlindWatermarkDefinition : null;
57118
+ this.FileId = 'FileId' in params ? params.FileId : null;
56747
57119
 
56748
57120
  }
56749
57121
  }
@@ -61002,6 +61374,12 @@ class CreateAigcCustomVoiceRequest extends AbstractModel {
61002
61374
  */
61003
61375
  this.VideoId = null;
61004
61376
 
61377
+ /**
61378
+ * <p>If the overseas custom timbre library is enabled, you can input <code>True</code> to use it.</p><p>Enumeration value:</p><ul><li>True: Use the overseas custom timbre library.</li><li>False: Non-use of the overseas custom timbre library.</li></ul>
61379
+ * @type {string || null}
61380
+ */
61381
+ this.DisableModeration = null;
61382
+
61005
61383
  /**
61006
61384
  * <p>Identifier for deduplication. If a request with the same identifier has been sent within the past three days, an error is returned for the current request. The maximum length is 50 characters. If this is not specified or left empty, deduplication is not performed.</p>
61007
61385
  * @type {string || null}
@@ -61033,6 +61411,7 @@ class CreateAigcCustomVoiceRequest extends AbstractModel {
61033
61411
  this.VoiceName = 'VoiceName' in params ? params.VoiceName : null;
61034
61412
  this.VoiceUrl = 'VoiceUrl' in params ? params.VoiceUrl : null;
61035
61413
  this.VideoId = 'VideoId' in params ? params.VideoId : null;
61414
+ this.DisableModeration = 'DisableModeration' in params ? params.DisableModeration : null;
61036
61415
  this.SessionId = 'SessionId' in params ? params.SessionId : null;
61037
61416
  this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
61038
61417
  this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
@@ -61859,6 +62238,46 @@ class SubtitleFormatsOperation extends AbstractModel {
61859
62238
  }
61860
62239
  }
61861
62240
 
62241
+ /**
62242
+ * Third-party Drm encrypted information.
62243
+ * @class
62244
+ */
62245
+ class ThirdPartyDrmInfo extends AbstractModel {
62246
+ constructor(){
62247
+ super();
62248
+
62249
+ /**
62250
+ * <p>Encryption type:</p><ul><li>FairPlay: Can only be used for HLS. The slice format can only be mp4.</li><li>Widevine: Can be used for HLS and DASH. The slice format can only be mp4.</li><li>PlayReady: Can be used for HLS and DASH. The slice format can only be mp4.</li><li>Widevine+FairPlay, PlayReady+FairPlay, Widevine PlayReady FairPlay composite: Can only be used for HLS. The slice format can only be mp4.</li><li>Widevine PlayReady composite: Can be used for HLS and MPEG-DASH. The slice format can only be mp4.</li></ul>
62251
+ * @type {Array.<string> || null}
62252
+ */
62253
+ this.DrmTypes = null;
62254
+
62255
+ /**
62256
+ * <p>External DRM vendor information.</p>
62257
+ * @type {SPEKEDrm || null}
62258
+ */
62259
+ this.SPEKEDrm = null;
62260
+
62261
+ }
62262
+
62263
+ /**
62264
+ * @private
62265
+ */
62266
+ deserialize(params) {
62267
+ if (!params) {
62268
+ return;
62269
+ }
62270
+ this.DrmTypes = 'DrmTypes' in params ? params.DrmTypes : null;
62271
+
62272
+ if (params.SPEKEDrm) {
62273
+ let obj = new SPEKEDrm();
62274
+ obj.deserialize(params.SPEKEDrm)
62275
+ this.SPEKEDrm = obj;
62276
+ }
62277
+
62278
+ }
62279
+ }
62280
+
61862
62281
  /**
61863
62282
  * Track information
61864
62283
  * @class
@@ -62989,6 +63408,44 @@ class MPSUpdateSmartEraseWatermarkConfig extends AbstractModel {
62989
63408
  }
62990
63409
  }
62991
63410
 
63411
+ /**
63412
+ * Clipping solidification task information.
63413
+ * @class
63414
+ */
63415
+ class PersistenceCompleteTask extends AbstractModel {
63416
+ constructor(){
63417
+ super();
63418
+
63419
+ /**
63420
+ * Consolidate the generated Media ID.
63421
+ * @type {string || null}
63422
+ */
63423
+ this.FileId = null;
63424
+
63425
+ /**
63426
+ * The source of clipping solidification has the following three types.
63427
+ <li>SimpleHlsClip: Comes from simple HLS edit;</li>
63428
+ <li>FastEditMedia: Comes from quick media editing;</li>
63429
+ <li>LiveRealTimeClip: comes from live stream clipping.</li>
63430
+ * @type {string || null}
63431
+ */
63432
+ this.PersistenceSource = null;
63433
+
63434
+ }
63435
+
63436
+ /**
63437
+ * @private
63438
+ */
63439
+ deserialize(params) {
63440
+ if (!params) {
63441
+ return;
63442
+ }
63443
+ this.FileId = 'FileId' in params ? params.FileId : null;
63444
+ this.PersistenceSource = 'PersistenceSource' in params ? params.PersistenceSource : null;
63445
+
63446
+ }
63447
+ }
63448
+
62992
63449
  /**
62993
63450
  * DescribeJustInTimeTranscodeTemplates request structure.
62994
63451
  * @class
@@ -63583,7 +64040,7 @@ module.exports = {
63583
64040
  DescribeAigcFaceInfoRequest: DescribeAigcFaceInfoRequest,
63584
64041
  CacheConfigFollowOrigin: CacheConfigFollowOrigin,
63585
64042
  NoiseConfigureInfo: NoiseConfigureInfo,
63586
- MediaMiniProgramReviewElem: MediaMiniProgramReviewElem,
64043
+ DescribeAigcFaceInfoAsyncResponse: DescribeAigcFaceInfoAsyncResponse,
63587
64044
  ManageTaskResponse: ManageTaskResponse,
63588
64045
  CreateImageProcessingTemplateRequest: CreateImageProcessingTemplateRequest,
63589
64046
  ModifyDefaultStorageRegionRequest: ModifyDefaultStorageRegionRequest,
@@ -63719,8 +64176,10 @@ module.exports = {
63719
64176
  SharpEnhanceInfo: SharpEnhanceInfo,
63720
64177
  ModifySuperPlayerConfigResponse: ModifySuperPlayerConfigResponse,
63721
64178
  DescribeWordSamplesResponse: DescribeWordSamplesResponse,
64179
+ DescribeAigcFaceInfoAsyncRequest: DescribeAigcFaceInfoAsyncRequest,
63722
64180
  RefreshUrlCacheResponse: RefreshUrlCacheResponse,
63723
64181
  ConcatTask2017: ConcatTask2017,
64182
+ DescribeAigcFaceInfoAsyncTask: DescribeAigcFaceInfoAsyncTask,
63724
64183
  DeleteAIRecognitionTemplateRequest: DeleteAIRecognitionTemplateRequest,
63725
64184
  FileUploadTask: FileUploadTask,
63726
64185
  DescribeCDNStatDetailsResponse: DescribeCDNStatDetailsResponse,
@@ -63730,6 +64189,7 @@ module.exports = {
63730
64189
  DescribeEventConfigRequest: DescribeEventConfigRequest,
63731
64190
  MediaContentReviewOcrTextSegmentItem: MediaContentReviewOcrTextSegmentItem,
63732
64191
  ModifyLLMComprehendTemplateResponse: ModifyLLMComprehendTemplateResponse,
64192
+ DescribeAigcFaceInfoAsyncInput: DescribeAigcFaceInfoAsyncInput,
63733
64193
  AiAnalysisTaskClassificationOutput: AiAnalysisTaskClassificationOutput,
63734
64194
  QualityInspectTask: QualityInspectTask,
63735
64195
  CacheConfigNoCache: CacheConfigNoCache,
@@ -63757,9 +64217,10 @@ module.exports = {
63757
64217
  FileReviewInfo: FileReviewInfo,
63758
64218
  WatermarkTemplate: WatermarkTemplate,
63759
64219
  CoverBySnapshotTaskOutput: CoverBySnapshotTaskOutput,
64220
+ WatermarkConfigureInfoForUpdate: WatermarkConfigureInfoForUpdate,
63760
64221
  ModifyQualityInspectTemplateResponse: ModifyQualityInspectTemplateResponse,
63761
64222
  AigcAudioTaskInput: AigcAudioTaskInput,
63762
- ProcessImageAsyncRequest: ProcessImageAsyncRequest,
64223
+ MediaMiniProgramReviewElem: MediaMiniProgramReviewElem,
63763
64224
  ModifyAdaptiveDynamicStreamingTemplateRequest: ModifyAdaptiveDynamicStreamingTemplateRequest,
63764
64225
  ForbidMediaDistributionRequest: ForbidMediaDistributionRequest,
63765
64226
  DescribeAIRecognitionTemplatesResponse: DescribeAIRecognitionTemplatesResponse,
@@ -63799,7 +64260,7 @@ module.exports = {
63799
64260
  MediaImageSpriteInfo: MediaImageSpriteInfo,
63800
64261
  EnhanceMediaQualityRequest: EnhanceMediaQualityRequest,
63801
64262
  ExtractBlindWatermarkTask: ExtractBlindWatermarkTask,
63802
- PersistenceCompleteTask: PersistenceCompleteTask,
64263
+ DescribeImageProcessingTemplatesRequest: DescribeImageProcessingTemplatesRequest,
63803
64264
  AiRecognitionTaskFaceSegmentItem: AiRecognitionTaskFaceSegmentItem,
63804
64265
  ProcessMediaResponse: ProcessMediaResponse,
63805
64266
  CreateWordSamplesResponse: CreateWordSamplesResponse,
@@ -63820,7 +64281,7 @@ module.exports = {
63820
64281
  AiReviewTaskTerrorismOcrResult: AiReviewTaskTerrorismOcrResult,
63821
64282
  DescribeProcessImageAsyncTemplatesRequest: DescribeProcessImageAsyncTemplatesRequest,
63822
64283
  AigcImageOutputConfig: AigcImageOutputConfig,
63823
- WatermarkConfigureInfoForUpdate: WatermarkConfigureInfoForUpdate,
64284
+ ProcessImageAsyncRequest: ProcessImageAsyncRequest,
63824
64285
  AiRecognitionTaskOcrWordsResult: AiRecognitionTaskOcrWordsResult,
63825
64286
  PornAsrReviewTemplateInfo: PornAsrReviewTemplateInfo,
63826
64287
  AiRecognitionTaskSegmentResult: AiRecognitionTaskSegmentResult,
@@ -64111,7 +64572,7 @@ module.exports = {
64111
64572
  DeleteTranscodeTemplateRequest: DeleteTranscodeTemplateRequest,
64112
64573
  AiReviewTerrorismTaskOutput: AiReviewTerrorismTaskOutput,
64113
64574
  AudioSeparateInfo: AudioSeparateInfo,
64114
- DescribeImageProcessingTemplatesRequest: DescribeImageProcessingTemplatesRequest,
64575
+ DescribeAigcFaceInfoAsyncOutput: DescribeAigcFaceInfoAsyncOutput,
64115
64576
  QualityInspectTaskInput: QualityInspectTaskInput,
64116
64577
  ProhibitedConfigureInfo: ProhibitedConfigureInfo,
64117
64578
  DrmStreamingsInfo: DrmStreamingsInfo,
@@ -64488,6 +64949,7 @@ module.exports = {
64488
64949
  AigcVideoRedrawTaskOutput: AigcVideoRedrawTaskOutput,
64489
64950
  FrameTagConfigureInfo: FrameTagConfigureInfo,
64490
64951
  RemoveWatermarkRequest: RemoveWatermarkRequest,
64952
+ SPEKEDrm: SPEKEDrm,
64491
64953
  ExecuteFunctionRequest: ExecuteFunctionRequest,
64492
64954
  RebuildMediaTask: RebuildMediaTask,
64493
64955
  TimeRange: TimeRange,
@@ -64584,6 +65046,7 @@ module.exports = {
64584
65046
  DescribeStorageDetailsRequest: DescribeStorageDetailsRequest,
64585
65047
  EnhanceMediaQualityResponse: EnhanceMediaQualityResponse,
64586
65048
  SubtitleFormatsOperation: SubtitleFormatsOperation,
65049
+ ThirdPartyDrmInfo: ThirdPartyDrmInfo,
64587
65050
  MediaTrack: MediaTrack,
64588
65051
  FastEditMediaFileInfo: FastEditMediaFileInfo,
64589
65052
  StorageStatData: StorageStatData,
@@ -64602,6 +65065,7 @@ module.exports = {
64602
65065
  SubtitleInfoInput: SubtitleInfoInput,
64603
65066
  DeleteJustInTimeTranscodeTemplateResponse: DeleteJustInTimeTranscodeTemplateResponse,
64604
65067
  MPSUpdateSmartEraseWatermarkConfig: MPSUpdateSmartEraseWatermarkConfig,
65068
+ PersistenceCompleteTask: PersistenceCompleteTask,
64605
65069
  DescribeJustInTimeTranscodeTemplatesRequest: DescribeJustInTimeTranscodeTemplatesRequest,
64606
65070
  SearchMediaBySemanticsRequest: SearchMediaBySemanticsRequest,
64607
65071
  CreateHeadTailTemplateRequest: CreateHeadTailTemplateRequest,