tencentcloud-sdk-nodejs-intl-en 3.0.1383 → 3.0.1385

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.
@@ -2119,43 +2119,18 @@ class DeleteScheduleResponse extends AbstractModel {
2119
2119
  }
2120
2120
 
2121
2121
  /**
2122
- * Translation result.
2122
+ * DisableSchedule response structure.
2123
2123
  * @class
2124
2124
  */
2125
- class SmartSubtitleTaskTransTextResultOutput extends AbstractModel {
2125
+ class DisableScheduleResponse extends AbstractModel {
2126
2126
  constructor(){
2127
2127
  super();
2128
2128
 
2129
2129
  /**
2130
- * <p>List of segments for translation.</p>
2131
- Note: This field may return null, indicating that no valid values can be obtained.
2132
- * @type {Array.<SmartSubtitleTaskTransTextSegmentItem> || null}
2133
- */
2134
- this.SegmentSet = null;
2135
-
2136
- /**
2137
- * <p>Subtitle file URL.</p>
2138
- * @type {string || null}
2139
- */
2140
- this.SubtitlePath = null;
2141
-
2142
- /**
2143
- * <p>Smart subtitling result storage information.</p>
2144
- * @type {TaskOutputStorage || null}
2145
- */
2146
- this.OutputStorage = null;
2147
-
2148
- /**
2149
- * <p>Subtitle file path</p>
2130
+ * 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.
2150
2131
  * @type {string || null}
2151
2132
  */
2152
- this.Path = null;
2153
-
2154
- /**
2155
- * <p>Returned translation result during multilingual translation.</p>
2156
- * @type {Array.<SubtitleTransResultItem> || null}
2157
- */
2158
- this.SubtitleResults = null;
2133
+ this.RequestId = null;
2159
2134
 
2160
2135
  }
2161
2136
 
@@ -2166,32 +2141,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
2166
2141
  if (!params) {
2167
2142
  return;
2168
2143
  }
2169
-
2170
- if (params.SegmentSet) {
2171
- this.SegmentSet = new Array();
2172
- for (let z in params.SegmentSet) {
2173
- let obj = new SmartSubtitleTaskTransTextSegmentItem();
2174
- obj.deserialize(params.SegmentSet[z]);
2175
- this.SegmentSet.push(obj);
2176
- }
2177
- }
2178
- this.SubtitlePath = 'SubtitlePath' in params ? params.SubtitlePath : null;
2179
-
2180
- if (params.OutputStorage) {
2181
- let obj = new TaskOutputStorage();
2182
- obj.deserialize(params.OutputStorage)
2183
- this.OutputStorage = obj;
2184
- }
2185
- this.Path = 'Path' in params ? params.Path : null;
2186
-
2187
- if (params.SubtitleResults) {
2188
- this.SubtitleResults = new Array();
2189
- for (let z in params.SubtitleResults) {
2190
- let obj = new SubtitleTransResultItem();
2191
- obj.deserialize(params.SubtitleResults[z]);
2192
- this.SubtitleResults.push(obj);
2193
- }
2194
- }
2144
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2195
2145
 
2196
2146
  }
2197
2147
  }
@@ -2756,49 +2706,24 @@ class DescribeTextToSpeechAsyncTaskRequest extends AbstractModel {
2756
2706
  }
2757
2707
 
2758
2708
  /**
2759
- * The information of the object to process.
2709
+ *
2760
2710
  * @class
2761
2711
  */
2762
- class MediaInputInfo extends AbstractModel {
2712
+ class AigcAudioOutputVideoInfo extends AbstractModel {
2763
2713
  constructor(){
2764
2714
  super();
2765
2715
 
2766
2716
  /**
2767
- * Type of input source object. valid values:.
2768
- <Li>COS: specifies the cos origin.</li>
2769
- <Li>URL: the url source.</li>
2770
- <Li>AWS-S3: aws source. currently only supports transcoding tasks.</li>
2771
- <Li>VOD: video-on-demand pro edition (VOD Pro). </li>
2717
+ *
2772
2718
  * @type {string || null}
2773
2719
  */
2774
- this.Type = null;
2775
-
2776
- /**
2777
- * The information of the COS object to process. This parameter is valid and required when `Type` is `COS`.
2778
- * @type {CosInputInfo || null}
2779
- */
2780
- this.CosInputInfo = null;
2781
-
2782
- /**
2783
- * The URL of the object to process. This parameter is valid and required when `Type` is `URL`.
2784
- Note: This field may return null, indicating that no valid value can be obtained.
2785
- * @type {UrlInputInfo || null}
2786
- */
2787
- this.UrlInputInfo = null;
2788
-
2789
- /**
2790
- * The information of the AWS S3 object processed. This parameter is required if `Type` is `AWS-S3`.
2791
- Note: This field may return null, indicating that no valid value can be obtained.
2792
- * @type {S3InputInfo || null}
2793
- */
2794
- this.S3InputInfo = null;
2720
+ this.Url = null;
2795
2721
 
2796
2722
  /**
2797
- * The information of the VOD Pro object processed. This parameter is required if `Type` is `VOD`.
2798
- Note: This field may return null, indicating that no valid value can be obtained.
2799
- * @type {VODInputInfo || null}
2723
+ *
2724
+ * @type {number || null}
2800
2725
  */
2801
- this.VODInputInfo = null;
2726
+ this.Duration = null;
2802
2727
 
2803
2728
  }
2804
2729
 
@@ -2809,31 +2734,8 @@ Note: This field may return null, indicating that no valid value can be obtained
2809
2734
  if (!params) {
2810
2735
  return;
2811
2736
  }
2812
- this.Type = 'Type' in params ? params.Type : null;
2813
-
2814
- if (params.CosInputInfo) {
2815
- let obj = new CosInputInfo();
2816
- obj.deserialize(params.CosInputInfo)
2817
- this.CosInputInfo = obj;
2818
- }
2819
-
2820
- if (params.UrlInputInfo) {
2821
- let obj = new UrlInputInfo();
2822
- obj.deserialize(params.UrlInputInfo)
2823
- this.UrlInputInfo = obj;
2824
- }
2825
-
2826
- if (params.S3InputInfo) {
2827
- let obj = new S3InputInfo();
2828
- obj.deserialize(params.S3InputInfo)
2829
- this.S3InputInfo = obj;
2830
- }
2831
-
2832
- if (params.VODInputInfo) {
2833
- let obj = new VODInputInfo();
2834
- obj.deserialize(params.VODInputInfo)
2835
- this.VODInputInfo = obj;
2836
- }
2737
+ this.Url = 'Url' in params ? params.Url : null;
2738
+ this.Duration = 'Duration' in params ? params.Duration : null;
2837
2739
 
2838
2740
  }
2839
2741
  }
@@ -3527,6 +3429,94 @@ Note: This field may return `null`, indicating that no valid values can be obtai
3527
3429
  }
3528
3430
  }
3529
3431
 
3432
+ /**
3433
+ * Smart subtitle task result.
3434
+ * @class
3435
+ */
3436
+ class SmartSubtitlesResult extends AbstractModel {
3437
+ constructor(){
3438
+ super();
3439
+
3440
+ /**
3441
+ * Task type. Valid values:
3442
+ - AsrFullTextRecognition: full speech recognition.
3443
+ - TransTextRecognition: speech translation.
3444
+ - PureSubtitleTrans: pure subtitle translation.
3445
+ - OcrFullTextRecognition: text-based subtitle extraction.
3446
+ * @type {string || null}
3447
+ */
3448
+ this.Type = null;
3449
+
3450
+ /**
3451
+ * Full speech recognition result. When Type is
3452
+ set to AsrFullTextRecognition, this parameter takes effect.
3453
+ Note: This field may return null, indicating that no valid value can be obtained.
3454
+ * @type {SmartSubtitleTaskAsrFullTextResult || null}
3455
+ */
3456
+ this.AsrFullTextTask = null;
3457
+
3458
+ /**
3459
+ * Translation result. When Type is
3460
+
3461
+ set to TransTextRecognition, this parameter takes effect.
3462
+ Note: This field may return null, indicating that no valid value can be obtained.
3463
+ * @type {SmartSubtitleTaskTransTextResult || null}
3464
+ */
3465
+ this.TransTextTask = null;
3466
+
3467
+ /**
3468
+ * The translation result of the pure subtitle file is returned when the translation type is PureSubtitleTrans.
3469
+ Note: This field may return null, indicating that no valid values can be obtained.
3470
+ * @type {PureSubtitleTransResult || null}
3471
+ */
3472
+ this.PureSubtitleTransTask = null;
3473
+
3474
+ /**
3475
+ * Text-based subtitle extraction result. This field is valid when the value of Type is
3476
+ OcrFullTextRecognition.
3477
+ Note: This field may return null, indicating that no valid values can be obtained.
3478
+ * @type {SmartSubtitleTaskFullTextResult || null}
3479
+ */
3480
+ this.OcrFullTextTask = null;
3481
+
3482
+ }
3483
+
3484
+ /**
3485
+ * @private
3486
+ */
3487
+ deserialize(params) {
3488
+ if (!params) {
3489
+ return;
3490
+ }
3491
+ this.Type = 'Type' in params ? params.Type : null;
3492
+
3493
+ if (params.AsrFullTextTask) {
3494
+ let obj = new SmartSubtitleTaskAsrFullTextResult();
3495
+ obj.deserialize(params.AsrFullTextTask)
3496
+ this.AsrFullTextTask = obj;
3497
+ }
3498
+
3499
+ if (params.TransTextTask) {
3500
+ let obj = new SmartSubtitleTaskTransTextResult();
3501
+ obj.deserialize(params.TransTextTask)
3502
+ this.TransTextTask = obj;
3503
+ }
3504
+
3505
+ if (params.PureSubtitleTransTask) {
3506
+ let obj = new PureSubtitleTransResult();
3507
+ obj.deserialize(params.PureSubtitleTransTask)
3508
+ this.PureSubtitleTransTask = obj;
3509
+ }
3510
+
3511
+ if (params.OcrFullTextTask) {
3512
+ let obj = new SmartSubtitleTaskFullTextResult();
3513
+ obj.deserialize(params.OcrFullTextTask)
3514
+ this.OcrFullTextTask = obj;
3515
+ }
3516
+
3517
+ }
3518
+ }
3519
+
3530
3520
  /**
3531
3521
  * AI-based sample management - keyword output information.
3532
3522
  * @class
@@ -3735,6 +3725,34 @@ Default value: black.
3735
3725
  }
3736
3726
  }
3737
3727
 
3728
+ /**
3729
+ *
3730
+ * @class
3731
+ */
3732
+ class AigcAudioReferenceAudioInfo extends AbstractModel {
3733
+ constructor(){
3734
+ super();
3735
+
3736
+ /**
3737
+ *
3738
+ * @type {string || null}
3739
+ */
3740
+ this.AudioUrl = null;
3741
+
3742
+ }
3743
+
3744
+ /**
3745
+ * @private
3746
+ */
3747
+ deserialize(params) {
3748
+ if (!params) {
3749
+ return;
3750
+ }
3751
+ this.AudioUrl = 'AudioUrl' in params ? params.AudioUrl : null;
3752
+
3753
+ }
3754
+ }
3755
+
3738
3756
  /**
3739
3757
  * Intelligent erasure template privacy protection configuration.
3740
3758
  * @class
@@ -5051,6 +5069,76 @@ class ModifyProcessImageTemplateRequest extends AbstractModel {
5051
5069
  }
5052
5070
  }
5053
5071
 
5072
+ /**
5073
+ * The information of the media processing output object.
5074
+ * @class
5075
+ */
5076
+ class TaskOutputStorage extends AbstractModel {
5077
+ constructor(){
5078
+ super();
5079
+
5080
+ /**
5081
+ * Specifies the type of storage location for the media processing service output object. valid values:.
5082
+ <Li>COS: cos storage.</li>.
5083
+ <Li>AWS-S3: aws storage, suitable for aws tasks only and requires the same region.</li>.
5084
+ <Li>VOD: video-on-demand (vod) pro edition</li>.
5085
+ * @type {string || null}
5086
+ */
5087
+ this.Type = null;
5088
+
5089
+ /**
5090
+ * The location to save the output object in COS. This parameter is valid and required when `Type` is COS.
5091
+ Note: This field may return null, indicating that no valid value can be obtained.
5092
+ * @type {CosOutputStorage || null}
5093
+ */
5094
+ this.CosOutputStorage = null;
5095
+
5096
+ /**
5097
+ * The AWS S3 bucket to save the output file. This parameter is required if `Type` is `AWS-S3`.
5098
+ Note: This field may return null, indicating that no valid value can be obtained.
5099
+ * @type {S3OutputStorage || null}
5100
+ */
5101
+ this.S3OutputStorage = null;
5102
+
5103
+ /**
5104
+ * The VOD Pro application and bucket to save the output file. This parameter is required if `Type` is `VOD`.
5105
+ Note: This field may return null, indicating that no valid value can be obtained.
5106
+ * @type {VODOutputStorage || null}
5107
+ */
5108
+ this.VODOutputStorage = null;
5109
+
5110
+ }
5111
+
5112
+ /**
5113
+ * @private
5114
+ */
5115
+ deserialize(params) {
5116
+ if (!params) {
5117
+ return;
5118
+ }
5119
+ this.Type = 'Type' in params ? params.Type : null;
5120
+
5121
+ if (params.CosOutputStorage) {
5122
+ let obj = new CosOutputStorage();
5123
+ obj.deserialize(params.CosOutputStorage)
5124
+ this.CosOutputStorage = obj;
5125
+ }
5126
+
5127
+ if (params.S3OutputStorage) {
5128
+ let obj = new S3OutputStorage();
5129
+ obj.deserialize(params.S3OutputStorage)
5130
+ this.S3OutputStorage = obj;
5131
+ }
5132
+
5133
+ if (params.VODOutputStorage) {
5134
+ let obj = new VODOutputStorage();
5135
+ obj.deserialize(params.VODOutputStorage)
5136
+ this.VODOutputStorage = obj;
5137
+ }
5138
+
5139
+ }
5140
+ }
5141
+
5054
5142
  /**
5055
5143
  * DeletePersonSample request structure.
5056
5144
  * @class
@@ -7738,6 +7826,41 @@ class DeleteAIRecognitionTemplateRequest extends AbstractModel {
7738
7826
  }
7739
7827
  }
7740
7828
 
7829
+ /**
7830
+ *
7831
+ * @class
7832
+ */
7833
+ class AigcAudioOutputAudioInfo extends AbstractModel {
7834
+ constructor(){
7835
+ super();
7836
+
7837
+ /**
7838
+ *
7839
+ * @type {string || null}
7840
+ */
7841
+ this.Url = null;
7842
+
7843
+ /**
7844
+ *
7845
+ * @type {number || null}
7846
+ */
7847
+ this.Duration = null;
7848
+
7849
+ }
7850
+
7851
+ /**
7852
+ * @private
7853
+ */
7854
+ deserialize(params) {
7855
+ if (!params) {
7856
+ return;
7857
+ }
7858
+ this.Url = 'Url' in params ? params.Url : null;
7859
+ this.Duration = 'Duration' in params ? params.Duration : null;
7860
+
7861
+ }
7862
+ }
7863
+
7741
7864
  /**
7742
7865
  * Result type of intelligent cover generating task
7743
7866
  * @class
@@ -8559,6 +8682,119 @@ strongest: normal video quality, highest resilience.
8559
8682
  }
8560
8683
  }
8561
8684
 
8685
+ /**
8686
+ * CreateAigcAudioTask response structure.
8687
+ * @class
8688
+ */
8689
+ class CreateAigcAudioTaskResponse extends AbstractModel {
8690
+ constructor(){
8691
+ super();
8692
+
8693
+ /**
8694
+ * The task ID returned after the task is created successfully.Call the query API to poll for task progress and the generation result.Example value: 24*******AigcAudio-6a38**3a9f51468da5bfc25****9a462
8695
+ * @type {string || null}
8696
+ */
8697
+ this.TaskId = null;
8698
+
8699
+ /**
8700
+ * 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.
8701
+ * @type {string || null}
8702
+ */
8703
+ this.RequestId = null;
8704
+
8705
+ }
8706
+
8707
+ /**
8708
+ * @private
8709
+ */
8710
+ deserialize(params) {
8711
+ if (!params) {
8712
+ return;
8713
+ }
8714
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
8715
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8716
+
8717
+ }
8718
+ }
8719
+
8720
+ /**
8721
+ * Translation result.
8722
+ * @class
8723
+ */
8724
+ class SmartSubtitleTaskTransTextResultOutput extends AbstractModel {
8725
+ constructor(){
8726
+ super();
8727
+
8728
+ /**
8729
+ * <p>List of segments for translation.</p>
8730
+ Note: This field may return null, indicating that no valid values can be obtained.
8731
+ * @type {Array.<SmartSubtitleTaskTransTextSegmentItem> || null}
8732
+ */
8733
+ this.SegmentSet = null;
8734
+
8735
+ /**
8736
+ * <p>Subtitle file URL.</p>
8737
+ * @type {string || null}
8738
+ */
8739
+ this.SubtitlePath = null;
8740
+
8741
+ /**
8742
+ * <p>Smart subtitling result storage information.</p>
8743
+ * @type {TaskOutputStorage || null}
8744
+ */
8745
+ this.OutputStorage = null;
8746
+
8747
+ /**
8748
+ * <p>Subtitle file path</p>
8749
+ * @type {string || null}
8750
+ */
8751
+ this.Path = null;
8752
+
8753
+ /**
8754
+ * <p>Returned translation result during multilingual translation.</p>
8755
+ * @type {Array.<SubtitleTransResultItem> || null}
8756
+ */
8757
+ this.SubtitleResults = null;
8758
+
8759
+ }
8760
+
8761
+ /**
8762
+ * @private
8763
+ */
8764
+ deserialize(params) {
8765
+ if (!params) {
8766
+ return;
8767
+ }
8768
+
8769
+ if (params.SegmentSet) {
8770
+ this.SegmentSet = new Array();
8771
+ for (let z in params.SegmentSet) {
8772
+ let obj = new SmartSubtitleTaskTransTextSegmentItem();
8773
+ obj.deserialize(params.SegmentSet[z]);
8774
+ this.SegmentSet.push(obj);
8775
+ }
8776
+ }
8777
+ this.SubtitlePath = 'SubtitlePath' in params ? params.SubtitlePath : null;
8778
+
8779
+ if (params.OutputStorage) {
8780
+ let obj = new TaskOutputStorage();
8781
+ obj.deserialize(params.OutputStorage)
8782
+ this.OutputStorage = obj;
8783
+ }
8784
+ this.Path = 'Path' in params ? params.Path : null;
8785
+
8786
+ if (params.SubtitleResults) {
8787
+ this.SubtitleResults = new Array();
8788
+ for (let z in params.SubtitleResults) {
8789
+ let obj = new SubtitleTransResultItem();
8790
+ obj.deserialize(params.SubtitleResults[z]);
8791
+ this.SubtitleResults.push(obj);
8792
+ }
8793
+ }
8794
+
8795
+ }
8796
+ }
8797
+
8562
8798
  /**
8563
8799
  * Result type of adaptive bitrate streaming task
8564
8800
  * @class
@@ -10118,48 +10354,42 @@ Default value: 0.8.
10118
10354
  }
10119
10355
 
10120
10356
  /**
10121
- * The type of media processing task.
10357
+ * DescribeAigcAudioTask response structure.
10122
10358
  * @class
10123
10359
  */
10124
- class MediaProcessTaskInput extends AbstractModel {
10360
+ class DescribeAigcAudioTaskResponse extends AbstractModel {
10125
10361
  constructor(){
10126
10362
  super();
10127
10363
 
10128
10364
  /**
10129
- * List of transcoding tasks.
10130
- * @type {Array.<TranscodeTaskInput> || null}
10365
+ * Current task status. WAIT: waiting; RUN: running; FAIL: failed; DONE: successful.Example value: DONE
10366
+ * @type {string || null}
10131
10367
  */
10132
- this.TranscodeTaskSet = null;
10368
+ this.Status = null;
10133
10369
 
10134
10370
  /**
10135
- * List of animated image screenshot tasks.
10136
- * @type {Array.<AnimatedGraphicTaskInput> || null}
10371
+ * When the task status is FAIL, the failure information is returned.
10372
+ * @type {string || null}
10137
10373
  */
10138
- this.AnimatedGraphicTaskSet = null;
10374
+ this.Message = null;
10139
10375
 
10140
10376
  /**
10141
- * List of time point screenshot tasks.
10142
- * @type {Array.<SnapshotByTimeOffsetTaskInput> || null}
10377
+ * Output audio information.
10378
+ * @type {Array.<AigcAudioOutputAudioInfo> || null}
10143
10379
  */
10144
- this.SnapshotByTimeOffsetTaskSet = null;
10380
+ this.AudioInfos = null;
10145
10381
 
10146
10382
  /**
10147
- * List of sampled screenshot tasks.
10148
- * @type {Array.<SampleSnapshotTaskInput> || null}
10383
+ * Output video information. Only returned for scenarios such as video dubbing.
10384
+ * @type {Array.<AigcAudioOutputVideoInfo> || null}
10149
10385
  */
10150
- this.SampleSnapshotTaskSet = null;
10151
-
10152
- /**
10153
- * List of image sprite screenshot tasks.
10154
- * @type {Array.<ImageSpriteTaskInput> || null}
10155
- */
10156
- this.ImageSpriteTaskSet = null;
10386
+ this.VideoInfos = null;
10157
10387
 
10158
10388
  /**
10159
- * List of adaptive bitrate streaming tasks.
10160
- * @type {Array.<AdaptiveDynamicStreamingTaskInput> || null}
10389
+ * 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.
10390
+ * @type {string || null}
10161
10391
  */
10162
- this.AdaptiveDynamicStreamingTaskSet = null;
10392
+ this.RequestId = null;
10163
10393
 
10164
10394
  }
10165
10395
 
@@ -10170,60 +10400,27 @@ class MediaProcessTaskInput extends AbstractModel {
10170
10400
  if (!params) {
10171
10401
  return;
10172
10402
  }
10403
+ this.Status = 'Status' in params ? params.Status : null;
10404
+ this.Message = 'Message' in params ? params.Message : null;
10173
10405
 
10174
- if (params.TranscodeTaskSet) {
10175
- this.TranscodeTaskSet = new Array();
10176
- for (let z in params.TranscodeTaskSet) {
10177
- let obj = new TranscodeTaskInput();
10178
- obj.deserialize(params.TranscodeTaskSet[z]);
10179
- this.TranscodeTaskSet.push(obj);
10180
- }
10181
- }
10182
-
10183
- if (params.AnimatedGraphicTaskSet) {
10184
- this.AnimatedGraphicTaskSet = new Array();
10185
- for (let z in params.AnimatedGraphicTaskSet) {
10186
- let obj = new AnimatedGraphicTaskInput();
10187
- obj.deserialize(params.AnimatedGraphicTaskSet[z]);
10188
- this.AnimatedGraphicTaskSet.push(obj);
10189
- }
10190
- }
10191
-
10192
- if (params.SnapshotByTimeOffsetTaskSet) {
10193
- this.SnapshotByTimeOffsetTaskSet = new Array();
10194
- for (let z in params.SnapshotByTimeOffsetTaskSet) {
10195
- let obj = new SnapshotByTimeOffsetTaskInput();
10196
- obj.deserialize(params.SnapshotByTimeOffsetTaskSet[z]);
10197
- this.SnapshotByTimeOffsetTaskSet.push(obj);
10198
- }
10199
- }
10200
-
10201
- if (params.SampleSnapshotTaskSet) {
10202
- this.SampleSnapshotTaskSet = new Array();
10203
- for (let z in params.SampleSnapshotTaskSet) {
10204
- let obj = new SampleSnapshotTaskInput();
10205
- obj.deserialize(params.SampleSnapshotTaskSet[z]);
10206
- this.SampleSnapshotTaskSet.push(obj);
10406
+ if (params.AudioInfos) {
10407
+ this.AudioInfos = new Array();
10408
+ for (let z in params.AudioInfos) {
10409
+ let obj = new AigcAudioOutputAudioInfo();
10410
+ obj.deserialize(params.AudioInfos[z]);
10411
+ this.AudioInfos.push(obj);
10207
10412
  }
10208
10413
  }
10209
10414
 
10210
- if (params.ImageSpriteTaskSet) {
10211
- this.ImageSpriteTaskSet = new Array();
10212
- for (let z in params.ImageSpriteTaskSet) {
10213
- let obj = new ImageSpriteTaskInput();
10214
- obj.deserialize(params.ImageSpriteTaskSet[z]);
10215
- this.ImageSpriteTaskSet.push(obj);
10216
- }
10217
- }
10218
-
10219
- if (params.AdaptiveDynamicStreamingTaskSet) {
10220
- this.AdaptiveDynamicStreamingTaskSet = new Array();
10221
- for (let z in params.AdaptiveDynamicStreamingTaskSet) {
10222
- let obj = new AdaptiveDynamicStreamingTaskInput();
10223
- obj.deserialize(params.AdaptiveDynamicStreamingTaskSet[z]);
10224
- this.AdaptiveDynamicStreamingTaskSet.push(obj);
10415
+ if (params.VideoInfos) {
10416
+ this.VideoInfos = new Array();
10417
+ for (let z in params.VideoInfos) {
10418
+ let obj = new AigcAudioOutputVideoInfo();
10419
+ obj.deserialize(params.VideoInfos[z]);
10420
+ this.VideoInfos.push(obj);
10225
10421
  }
10226
10422
  }
10423
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
10227
10424
 
10228
10425
  }
10229
10426
  }
@@ -14648,42 +14845,78 @@ class DescribeWatermarkTemplatesRequest extends AbstractModel {
14648
14845
  }
14649
14846
 
14650
14847
  /**
14651
- * The information of the media processing output object.
14848
+ * CreateAigcAudioTask request structure.
14652
14849
  * @class
14653
14850
  */
14654
- class TaskOutputStorage extends AbstractModel {
14851
+ class CreateAigcAudioTaskRequest extends AbstractModel {
14655
14852
  constructor(){
14656
14853
  super();
14657
14854
 
14658
14855
  /**
14659
- * Specifies the type of storage location for the media processing service output object. valid values:.
14660
- <Li>COS: cos storage.</li>.
14661
- <Li>AWS-S3: aws storage, suitable for aws tasks only and requires the same region.</li>.
14662
- <Li>VOD: video-on-demand (vod) pro edition</li>.
14856
+ * Model name. Currently supported models for music generation: GL, MinimaxMusic.Example value: MiniMaxMusic
14663
14857
  * @type {string || null}
14664
14858
  */
14665
- this.Type = null;
14859
+ this.ModelName = null;
14666
14860
 
14667
14861
  /**
14668
- * The location to save the output object in COS. This parameter is valid and required when `Type` is COS.
14669
- Note: This field may return null, indicating that no valid value can be obtained.
14670
- * @type {CosOutputStorage || null}
14862
+ * Specifies the model version. By default, the system uses the supported stable version of the model.Supported versions for GL: 2.0, 3.0-clip, 3.0-pro.Supported versions for MinimaxMusic: 2.0, 2.5, 2.6.Example value: 2.0
14863
+ * @type {string || null}
14671
14864
  */
14672
- this.CosOutputStorage = null;
14865
+ this.ModelVersion = null;
14673
14866
 
14674
14867
  /**
14675
- * The AWS S3 bucket to save the output file. This parameter is required if `Type` is `AWS-S3`.
14676
- Note: This field may return null, indicating that no valid value can be obtained.
14677
- * @type {S3OutputStorage || null}
14868
+ * Specifies the audio generation scene. Music: music.Example value: music
14869
+ * @type {string || null}
14678
14870
  */
14679
- this.S3OutputStorage = null;
14871
+ this.SceneType = null;
14680
14872
 
14681
14873
  /**
14682
- * The VOD Pro application and bucket to save the output file. This parameter is required if `Type` is `VOD`.
14683
- Note: This field may return null, indicating that no valid value can be obtained.
14684
- * @type {VODOutputStorage || null}
14874
+ * Description of the generated audio. (Note: Supports up to 2000 characters.) This parameter is required when no reference image is passed in.Example value: generate a piece of music
14875
+ * @type {string || null}
14685
14876
  */
14686
- this.VODOutputStorage = null;
14877
+ this.Prompt = null;
14878
+
14879
+ /**
14880
+ * Reference video information. Only supported by certain models.
14881
+ * @type {Array.<AigcAudioReferenceVideoInfo> || null}
14882
+ */
14883
+ this.VideoInfos = null;
14884
+
14885
+ /**
14886
+ * Reference audio information.For example, this parameter is required when generating music from a reference audio.
14887
+ * @type {Array.<AigcAudioReferenceAudioInfo> || null}
14888
+ */
14889
+ this.AudioInfos = null;
14890
+
14891
+ /**
14892
+ * Output audio format. Empty by default. Supported values: mp3, wav.Example value: wav
14893
+ * @type {string || null}
14894
+ */
14895
+ this.OutputAudioFormat = null;
14896
+
14897
+ /**
14898
+ * COS bucket information for the file result. Note: COS is required and the MPS_QcsRole role needs to be created and authorized.
14899
+ * @type {AigcStoreCosParam || null}
14900
+ */
14901
+ this.StoreCosParam = null;
14902
+
14903
+ /**
14904
+ * Additional parameters required for the model.
14905
+ * @type {AigcAudioExtraParam || null}
14906
+ */
14907
+ this.ExtraParameters = null;
14908
+
14909
+ /**
14910
+ * Used to input some special scene parameters required by the model, serialized into a string in JSON format.Example: when passing lyrics to the MinimaxMusic model:{"lyric":{"The pony runs happily, flowers are blooming"}}Example value: {"sequential_image_generation":"auto"}
14911
+ * @type {string || null}
14912
+ */
14913
+ this.AdditionalParameters = null;
14914
+
14915
+ /**
14916
+ * API operator name.Example value: admin
14917
+ * @type {string || null}
14918
+ */
14919
+ this.Operator = null;
14687
14920
 
14688
14921
  }
14689
14922
 
@@ -14694,25 +14927,43 @@ Note: This field may return null, indicating that no valid value can be obtained
14694
14927
  if (!params) {
14695
14928
  return;
14696
14929
  }
14697
- this.Type = 'Type' in params ? params.Type : null;
14930
+ this.ModelName = 'ModelName' in params ? params.ModelName : null;
14931
+ this.ModelVersion = 'ModelVersion' in params ? params.ModelVersion : null;
14932
+ this.SceneType = 'SceneType' in params ? params.SceneType : null;
14933
+ this.Prompt = 'Prompt' in params ? params.Prompt : null;
14698
14934
 
14699
- if (params.CosOutputStorage) {
14700
- let obj = new CosOutputStorage();
14701
- obj.deserialize(params.CosOutputStorage)
14702
- this.CosOutputStorage = obj;
14935
+ if (params.VideoInfos) {
14936
+ this.VideoInfos = new Array();
14937
+ for (let z in params.VideoInfos) {
14938
+ let obj = new AigcAudioReferenceVideoInfo();
14939
+ obj.deserialize(params.VideoInfos[z]);
14940
+ this.VideoInfos.push(obj);
14941
+ }
14703
14942
  }
14704
14943
 
14705
- if (params.S3OutputStorage) {
14706
- let obj = new S3OutputStorage();
14707
- obj.deserialize(params.S3OutputStorage)
14708
- this.S3OutputStorage = obj;
14944
+ if (params.AudioInfos) {
14945
+ this.AudioInfos = new Array();
14946
+ for (let z in params.AudioInfos) {
14947
+ let obj = new AigcAudioReferenceAudioInfo();
14948
+ obj.deserialize(params.AudioInfos[z]);
14949
+ this.AudioInfos.push(obj);
14950
+ }
14709
14951
  }
14952
+ this.OutputAudioFormat = 'OutputAudioFormat' in params ? params.OutputAudioFormat : null;
14710
14953
 
14711
- if (params.VODOutputStorage) {
14712
- let obj = new VODOutputStorage();
14713
- obj.deserialize(params.VODOutputStorage)
14714
- this.VODOutputStorage = obj;
14954
+ if (params.StoreCosParam) {
14955
+ let obj = new AigcStoreCosParam();
14956
+ obj.deserialize(params.StoreCosParam)
14957
+ this.StoreCosParam = obj;
14958
+ }
14959
+
14960
+ if (params.ExtraParameters) {
14961
+ let obj = new AigcAudioExtraParam();
14962
+ obj.deserialize(params.ExtraParameters)
14963
+ this.ExtraParameters = obj;
14715
14964
  }
14965
+ this.AdditionalParameters = 'AdditionalParameters' in params ? params.AdditionalParameters : null;
14966
+ this.Operator = 'Operator' in params ? params.Operator : null;
14716
14967
 
14717
14968
  }
14718
14969
  }
@@ -18864,6 +19115,117 @@ class QueryProjectResponse extends AbstractModel {
18864
19115
  }
18865
19116
  }
18866
19117
 
19118
+ /**
19119
+ * The type of media processing task.
19120
+ * @class
19121
+ */
19122
+ class MediaProcessTaskInput extends AbstractModel {
19123
+ constructor(){
19124
+ super();
19125
+
19126
+ /**
19127
+ * List of transcoding tasks.
19128
+ * @type {Array.<TranscodeTaskInput> || null}
19129
+ */
19130
+ this.TranscodeTaskSet = null;
19131
+
19132
+ /**
19133
+ * List of animated image screenshot tasks.
19134
+ * @type {Array.<AnimatedGraphicTaskInput> || null}
19135
+ */
19136
+ this.AnimatedGraphicTaskSet = null;
19137
+
19138
+ /**
19139
+ * List of time point screenshot tasks.
19140
+ * @type {Array.<SnapshotByTimeOffsetTaskInput> || null}
19141
+ */
19142
+ this.SnapshotByTimeOffsetTaskSet = null;
19143
+
19144
+ /**
19145
+ * List of sampled screenshot tasks.
19146
+ * @type {Array.<SampleSnapshotTaskInput> || null}
19147
+ */
19148
+ this.SampleSnapshotTaskSet = null;
19149
+
19150
+ /**
19151
+ * List of image sprite screenshot tasks.
19152
+ * @type {Array.<ImageSpriteTaskInput> || null}
19153
+ */
19154
+ this.ImageSpriteTaskSet = null;
19155
+
19156
+ /**
19157
+ * List of adaptive bitrate streaming tasks.
19158
+ * @type {Array.<AdaptiveDynamicStreamingTaskInput> || null}
19159
+ */
19160
+ this.AdaptiveDynamicStreamingTaskSet = null;
19161
+
19162
+ }
19163
+
19164
+ /**
19165
+ * @private
19166
+ */
19167
+ deserialize(params) {
19168
+ if (!params) {
19169
+ return;
19170
+ }
19171
+
19172
+ if (params.TranscodeTaskSet) {
19173
+ this.TranscodeTaskSet = new Array();
19174
+ for (let z in params.TranscodeTaskSet) {
19175
+ let obj = new TranscodeTaskInput();
19176
+ obj.deserialize(params.TranscodeTaskSet[z]);
19177
+ this.TranscodeTaskSet.push(obj);
19178
+ }
19179
+ }
19180
+
19181
+ if (params.AnimatedGraphicTaskSet) {
19182
+ this.AnimatedGraphicTaskSet = new Array();
19183
+ for (let z in params.AnimatedGraphicTaskSet) {
19184
+ let obj = new AnimatedGraphicTaskInput();
19185
+ obj.deserialize(params.AnimatedGraphicTaskSet[z]);
19186
+ this.AnimatedGraphicTaskSet.push(obj);
19187
+ }
19188
+ }
19189
+
19190
+ if (params.SnapshotByTimeOffsetTaskSet) {
19191
+ this.SnapshotByTimeOffsetTaskSet = new Array();
19192
+ for (let z in params.SnapshotByTimeOffsetTaskSet) {
19193
+ let obj = new SnapshotByTimeOffsetTaskInput();
19194
+ obj.deserialize(params.SnapshotByTimeOffsetTaskSet[z]);
19195
+ this.SnapshotByTimeOffsetTaskSet.push(obj);
19196
+ }
19197
+ }
19198
+
19199
+ if (params.SampleSnapshotTaskSet) {
19200
+ this.SampleSnapshotTaskSet = new Array();
19201
+ for (let z in params.SampleSnapshotTaskSet) {
19202
+ let obj = new SampleSnapshotTaskInput();
19203
+ obj.deserialize(params.SampleSnapshotTaskSet[z]);
19204
+ this.SampleSnapshotTaskSet.push(obj);
19205
+ }
19206
+ }
19207
+
19208
+ if (params.ImageSpriteTaskSet) {
19209
+ this.ImageSpriteTaskSet = new Array();
19210
+ for (let z in params.ImageSpriteTaskSet) {
19211
+ let obj = new ImageSpriteTaskInput();
19212
+ obj.deserialize(params.ImageSpriteTaskSet[z]);
19213
+ this.ImageSpriteTaskSet.push(obj);
19214
+ }
19215
+ }
19216
+
19217
+ if (params.AdaptiveDynamicStreamingTaskSet) {
19218
+ this.AdaptiveDynamicStreamingTaskSet = new Array();
19219
+ for (let z in params.AdaptiveDynamicStreamingTaskSet) {
19220
+ let obj = new AdaptiveDynamicStreamingTaskInput();
19221
+ obj.deserialize(params.AdaptiveDynamicStreamingTaskSet[z]);
19222
+ this.AdaptiveDynamicStreamingTaskSet.push(obj);
19223
+ }
19224
+ }
19225
+
19226
+ }
19227
+ }
19228
+
18867
19229
  /**
18868
19230
  * DescribeDesignTask request structure.
18869
19231
  * @class
@@ -22007,6 +22369,34 @@ class CreateQualityControlTemplateRequest extends AbstractModel {
22007
22369
  }
22008
22370
  }
22009
22371
 
22372
+ /**
22373
+ *
22374
+ * @class
22375
+ */
22376
+ class AigcAudioExtraParam extends AbstractModel {
22377
+ constructor(){
22378
+ super();
22379
+
22380
+ /**
22381
+ *
22382
+ * @type {string || null}
22383
+ */
22384
+ this.ResourceId = null;
22385
+
22386
+ }
22387
+
22388
+ /**
22389
+ * @private
22390
+ */
22391
+ deserialize(params) {
22392
+ if (!params) {
22393
+ return;
22394
+ }
22395
+ this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
22396
+
22397
+ }
22398
+ }
22399
+
22010
22400
  /**
22011
22401
  * AI-based sample management - tag operation.
22012
22402
  * @class
@@ -28284,18 +28674,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
28284
28674
  }
28285
28675
 
28286
28676
  /**
28287
- * DisableSchedule response structure.
28677
+ * DescribeAigcAudioTask request structure.
28288
28678
  * @class
28289
28679
  */
28290
- class DisableScheduleResponse extends AbstractModel {
28680
+ class DescribeAigcAudioTaskRequest extends AbstractModel {
28291
28681
  constructor(){
28292
28682
  super();
28293
28683
 
28294
28684
  /**
28295
- * 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.
28685
+ * The task ID returned when creating the AIGC audio generation task.Example value: 24000145-****d**-cb46b8040b684b539bbd46****e*e2fd
28296
28686
  * @type {string || null}
28297
28687
  */
28298
- this.RequestId = null;
28688
+ this.TaskId = null;
28299
28689
 
28300
28690
  }
28301
28691
 
@@ -28306,7 +28696,7 @@ class DisableScheduleResponse extends AbstractModel {
28306
28696
  if (!params) {
28307
28697
  return;
28308
28698
  }
28309
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
28699
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
28310
28700
 
28311
28701
  }
28312
28702
  }
@@ -33857,54 +34247,68 @@ class AiRecognitionTaskTransTextResultOutput extends AbstractModel {
33857
34247
  }
33858
34248
 
33859
34249
  /**
33860
- * Smart subtitle task result.
34250
+ * ModifySnapshotByTimeOffsetTemplate request structure.
33861
34251
  * @class
33862
34252
  */
33863
- class SmartSubtitlesResult extends AbstractModel {
34253
+ class ModifySnapshotByTimeOffsetTemplateRequest extends AbstractModel {
33864
34254
  constructor(){
33865
34255
  super();
33866
34256
 
33867
34257
  /**
33868
- * Task type. Valid values:
33869
- - AsrFullTextRecognition: full speech recognition.
33870
- - TransTextRecognition: speech translation.
33871
- - PureSubtitleTrans: pure subtitle translation.
33872
- - OcrFullTextRecognition: text-based subtitle extraction.
34258
+ * Unique ID of a time point screencapturing template.
34259
+ * @type {number || null}
34260
+ */
34261
+ this.Definition = null;
34262
+
34263
+ /**
34264
+ * Name of a time point screencapturing template. Length limit: 64 characters.
33873
34265
  * @type {string || null}
33874
34266
  */
33875
- this.Type = null;
34267
+ this.Name = null;
33876
34268
 
33877
34269
  /**
33878
- * Full speech recognition result. When Type is
33879
- set to AsrFullTextRecognition, this parameter takes effect.
33880
- Note: This field may return null, indicating that no valid value can be obtained.
33881
- * @type {SmartSubtitleTaskAsrFullTextResult || null}
34270
+ * Image width in px. Value range: [128, 4,096].
34271
+ * @type {number || null}
33882
34272
  */
33883
- this.AsrFullTextTask = null;
34273
+ this.Width = null;
33884
34274
 
33885
34275
  /**
33886
- * Translation result. When Type is
34276
+ * Image height in px. Value range: [128, 4,096].
34277
+ * @type {number || null}
34278
+ */
34279
+ this.Height = null;
33887
34280
 
33888
- set to TransTextRecognition, this parameter takes effect.
33889
- Note: This field may return null, indicating that no valid value can be obtained.
33890
- * @type {SmartSubtitleTaskTransTextResult || null}
34281
+ /**
34282
+ * Resolution adaption. Valid values:
34283
+ <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
34284
+ <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
34285
+ Default value: open.
34286
+ * @type {string || null}
33891
34287
  */
33892
- this.TransTextTask = null;
34288
+ this.ResolutionAdaptive = null;
33893
34289
 
33894
34290
  /**
33895
- * The translation result of the pure subtitle file is returned when the translation type is PureSubtitleTrans.
33896
- Note: This field may return null, indicating that no valid values can be obtained.
33897
- * @type {PureSubtitleTransResult || null}
34291
+ * The image format. Valid values: jpg, png, webp.
34292
+ * @type {string || null}
33898
34293
  */
33899
- this.PureSubtitleTransTask = null;
34294
+ this.Format = null;
33900
34295
 
33901
34296
  /**
33902
- * Text-based subtitle extraction result. This field is valid when the value of Type is
33903
- OcrFullTextRecognition.
33904
- Note: This field may return null, indicating that no valid values can be obtained.
33905
- * @type {SmartSubtitleTaskFullTextResult || null}
34297
+ * Template description. Length limit: 256 characters.
34298
+ * @type {string || null}
33906
34299
  */
33907
- this.OcrFullTextTask = null;
34300
+ this.Comment = null;
34301
+
34302
+ /**
34303
+ * Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
34304
+ <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
34305
+ <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
34306
+ <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
34307
+ <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
34308
+ Default value: black.
34309
+ * @type {string || null}
34310
+ */
34311
+ this.FillType = null;
33908
34312
 
33909
34313
  }
33910
34314
 
@@ -33915,31 +34319,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
33915
34319
  if (!params) {
33916
34320
  return;
33917
34321
  }
33918
- this.Type = 'Type' in params ? params.Type : null;
33919
-
33920
- if (params.AsrFullTextTask) {
33921
- let obj = new SmartSubtitleTaskAsrFullTextResult();
33922
- obj.deserialize(params.AsrFullTextTask)
33923
- this.AsrFullTextTask = obj;
33924
- }
33925
-
33926
- if (params.TransTextTask) {
33927
- let obj = new SmartSubtitleTaskTransTextResult();
33928
- obj.deserialize(params.TransTextTask)
33929
- this.TransTextTask = obj;
33930
- }
33931
-
33932
- if (params.PureSubtitleTransTask) {
33933
- let obj = new PureSubtitleTransResult();
33934
- obj.deserialize(params.PureSubtitleTransTask)
33935
- this.PureSubtitleTransTask = obj;
33936
- }
33937
-
33938
- if (params.OcrFullTextTask) {
33939
- let obj = new SmartSubtitleTaskFullTextResult();
33940
- obj.deserialize(params.OcrFullTextTask)
33941
- this.OcrFullTextTask = obj;
33942
- }
34322
+ this.Definition = 'Definition' in params ? params.Definition : null;
34323
+ this.Name = 'Name' in params ? params.Name : null;
34324
+ this.Width = 'Width' in params ? params.Width : null;
34325
+ this.Height = 'Height' in params ? params.Height : null;
34326
+ this.ResolutionAdaptive = 'ResolutionAdaptive' in params ? params.ResolutionAdaptive : null;
34327
+ this.Format = 'Format' in params ? params.Format : null;
34328
+ this.Comment = 'Comment' in params ? params.Comment : null;
34329
+ this.FillType = 'FillType' in params ? params.FillType : null;
33943
34330
 
33944
34331
  }
33945
34332
  }
@@ -34178,68 +34565,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
34178
34565
  }
34179
34566
 
34180
34567
  /**
34181
- * ModifySnapshotByTimeOffsetTemplate request structure.
34568
+ * The information of the object to process.
34182
34569
  * @class
34183
34570
  */
34184
- class ModifySnapshotByTimeOffsetTemplateRequest extends AbstractModel {
34571
+ class MediaInputInfo extends AbstractModel {
34185
34572
  constructor(){
34186
34573
  super();
34187
34574
 
34188
34575
  /**
34189
- * Unique ID of a time point screencapturing template.
34190
- * @type {number || null}
34191
- */
34192
- this.Definition = null;
34193
-
34194
- /**
34195
- * Name of a time point screencapturing template. Length limit: 64 characters.
34576
+ * Type of input source object. valid values:.
34577
+ <Li>COS: specifies the cos origin.</li>
34578
+ <Li>URL: the url source.</li>
34579
+ <Li>AWS-S3: aws source. currently only supports transcoding tasks.</li>
34580
+ <Li>VOD: video-on-demand pro edition (VOD Pro). </li>
34196
34581
  * @type {string || null}
34197
34582
  */
34198
- this.Name = null;
34199
-
34200
- /**
34201
- * Image width in px. Value range: [128, 4,096].
34202
- * @type {number || null}
34203
- */
34204
- this.Width = null;
34205
-
34206
- /**
34207
- * Image height in px. Value range: [128, 4,096].
34208
- * @type {number || null}
34209
- */
34210
- this.Height = null;
34583
+ this.Type = null;
34211
34584
 
34212
34585
  /**
34213
- * Resolution adaption. Valid values:
34214
- <li>open: enabled. In this case, `Width` represents the long side of a video, while `Height` the short side;</li>
34215
- <li>close: disabled. In this case, `Width` represents the width of a video, while `Height` the height.</li>
34216
- Default value: open.
34217
- * @type {string || null}
34586
+ * The information of the COS object to process. This parameter is valid and required when `Type` is `COS`.
34587
+ * @type {CosInputInfo || null}
34218
34588
  */
34219
- this.ResolutionAdaptive = null;
34589
+ this.CosInputInfo = null;
34220
34590
 
34221
34591
  /**
34222
- * The image format. Valid values: jpg, png, webp.
34223
- * @type {string || null}
34592
+ * The URL of the object to process. This parameter is valid and required when `Type` is `URL`.
34593
+ Note: This field may return null, indicating that no valid value can be obtained.
34594
+ * @type {UrlInputInfo || null}
34224
34595
  */
34225
- this.Format = null;
34596
+ this.UrlInputInfo = null;
34226
34597
 
34227
34598
  /**
34228
- * Template description. Length limit: 256 characters.
34229
- * @type {string || null}
34599
+ * The information of the AWS S3 object processed. This parameter is required if `Type` is `AWS-S3`.
34600
+ Note: This field may return null, indicating that no valid value can be obtained.
34601
+ * @type {S3InputInfo || null}
34230
34602
  */
34231
- this.Comment = null;
34603
+ this.S3InputInfo = null;
34232
34604
 
34233
34605
  /**
34234
- * Fill type. "Fill" refers to the way of processing a screenshot when its aspect ratio is different from that of the source video. The following fill types are supported:
34235
- <li> stretch: stretch. The screenshot will be stretched frame by frame to match the aspect ratio of the source video, which may make the screenshot "shorter" or "longer";</li>
34236
- <li>black: fill with black. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with black color blocks.</li>
34237
- <li>white: fill with white. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with white color blocks.</li>
34238
- <li>gauss: fill with Gaussian blur. This option retains the aspect ratio of the source video for the screenshot and fills the unmatched area with Gaussian blur.</li>
34239
- Default value: black.
34240
- * @type {string || null}
34606
+ * The information of the VOD Pro object processed. This parameter is required if `Type` is `VOD`.
34607
+ Note: This field may return null, indicating that no valid value can be obtained.
34608
+ * @type {VODInputInfo || null}
34241
34609
  */
34242
- this.FillType = null;
34610
+ this.VODInputInfo = null;
34243
34611
 
34244
34612
  }
34245
34613
 
@@ -34250,14 +34618,31 @@ Default value: black.
34250
34618
  if (!params) {
34251
34619
  return;
34252
34620
  }
34253
- this.Definition = 'Definition' in params ? params.Definition : null;
34254
- this.Name = 'Name' in params ? params.Name : null;
34255
- this.Width = 'Width' in params ? params.Width : null;
34256
- this.Height = 'Height' in params ? params.Height : null;
34257
- this.ResolutionAdaptive = 'ResolutionAdaptive' in params ? params.ResolutionAdaptive : null;
34258
- this.Format = 'Format' in params ? params.Format : null;
34259
- this.Comment = 'Comment' in params ? params.Comment : null;
34260
- this.FillType = 'FillType' in params ? params.FillType : null;
34621
+ this.Type = 'Type' in params ? params.Type : null;
34622
+
34623
+ if (params.CosInputInfo) {
34624
+ let obj = new CosInputInfo();
34625
+ obj.deserialize(params.CosInputInfo)
34626
+ this.CosInputInfo = obj;
34627
+ }
34628
+
34629
+ if (params.UrlInputInfo) {
34630
+ let obj = new UrlInputInfo();
34631
+ obj.deserialize(params.UrlInputInfo)
34632
+ this.UrlInputInfo = obj;
34633
+ }
34634
+
34635
+ if (params.S3InputInfo) {
34636
+ let obj = new S3InputInfo();
34637
+ obj.deserialize(params.S3InputInfo)
34638
+ this.S3InputInfo = obj;
34639
+ }
34640
+
34641
+ if (params.VODInputInfo) {
34642
+ let obj = new VODInputInfo();
34643
+ obj.deserialize(params.VODInputInfo)
34644
+ this.VODInputInfo = obj;
34645
+ }
34261
34646
 
34262
34647
  }
34263
34648
  }
@@ -38844,6 +39229,34 @@ class DescribePersonSamplesResponse extends AbstractModel {
38844
39229
  }
38845
39230
  }
38846
39231
 
39232
+ /**
39233
+ *
39234
+ * @class
39235
+ */
39236
+ class AigcAudioReferenceVideoInfo extends AbstractModel {
39237
+ constructor(){
39238
+ super();
39239
+
39240
+ /**
39241
+ *
39242
+ * @type {string || null}
39243
+ */
39244
+ this.VideoUrl = null;
39245
+
39246
+ }
39247
+
39248
+ /**
39249
+ * @private
39250
+ */
39251
+ deserialize(params) {
39252
+ if (!params) {
39253
+ return;
39254
+ }
39255
+ this.VideoUrl = 'VideoUrl' in params ? params.VideoUrl : null;
39256
+
39257
+ }
39258
+ }
39259
+
38847
39260
  /**
38848
39261
  * ModifySchedule response structure.
38849
39262
  * @class
@@ -43829,7 +44242,7 @@ module.exports = {
43829
44242
  AsrHotwordsSetItem: AsrHotwordsSetItem,
43830
44243
  AiReviewProhibitedOcrTaskOutput: AiReviewProhibitedOcrTaskOutput,
43831
44244
  DeleteScheduleResponse: DeleteScheduleResponse,
43832
- SmartSubtitleTaskTransTextResultOutput: SmartSubtitleTaskTransTextResultOutput,
44245
+ DisableScheduleResponse: DisableScheduleResponse,
43833
44246
  ManageTaskResponse: ManageTaskResponse,
43834
44247
  DeleteWorkflowRequest: DeleteWorkflowRequest,
43835
44248
  AwsS3FileUploadTrigger: AwsS3FileUploadTrigger,
@@ -43840,7 +44253,7 @@ module.exports = {
43840
44253
  SmartSubtitleTaskTransTextResult: SmartSubtitleTaskTransTextResult,
43841
44254
  CreateSmartEraseTemplateRequest: CreateSmartEraseTemplateRequest,
43842
44255
  DescribeTextToSpeechAsyncTaskRequest: DescribeTextToSpeechAsyncTaskRequest,
43843
- MediaInputInfo: MediaInputInfo,
44256
+ AigcAudioOutputVideoInfo: AigcAudioOutputVideoInfo,
43844
44257
  CreateWorkflowRequest: CreateWorkflowRequest,
43845
44258
  OcrWordsConfigureInfo: OcrWordsConfigureInfo,
43846
44259
  DescribeAsrHotwordsRequest: DescribeAsrHotwordsRequest,
@@ -43850,9 +44263,11 @@ module.exports = {
43850
44263
  SmartEraseTaskInput: SmartEraseTaskInput,
43851
44264
  RawWatermarkParameter: RawWatermarkParameter,
43852
44265
  AiReviewTaskPoliticalOcrResult: AiReviewTaskPoliticalOcrResult,
44266
+ SmartSubtitlesResult: SmartSubtitlesResult,
43853
44267
  AiSampleWord: AiSampleWord,
43854
44268
  PoliticalOcrReviewTemplateInfo: PoliticalOcrReviewTemplateInfo,
43855
44269
  CreateImageSpriteTemplateRequest: CreateImageSpriteTemplateRequest,
44270
+ AigcAudioReferenceAudioInfo: AigcAudioReferenceAudioInfo,
43856
44271
  SmartErasePrivacyConfig: SmartErasePrivacyConfig,
43857
44272
  MediaSnapshotByTimePicInfoItem: MediaSnapshotByTimePicInfoItem,
43858
44273
  DescribeAigcImageTaskRequest: DescribeAigcImageTaskRequest,
@@ -43875,6 +44290,7 @@ module.exports = {
43875
44290
  UpdateSmartEraseWatermarkConfig: UpdateSmartEraseWatermarkConfig,
43876
44291
  CreateProjectResponse: CreateProjectResponse,
43877
44292
  ModifyProcessImageTemplateRequest: ModifyProcessImageTemplateRequest,
44293
+ TaskOutputStorage: TaskOutputStorage,
43878
44294
  DeletePersonSampleRequest: DeletePersonSampleRequest,
43879
44295
  DeleteProjectResponse: DeleteProjectResponse,
43880
44296
  AiRecognitionTaskAsrWordsSegmentItem: AiRecognitionTaskAsrWordsSegmentItem,
@@ -43921,6 +44337,7 @@ module.exports = {
43921
44337
  AiParagraphInfo: AiParagraphInfo,
43922
44338
  AudioSeparateConfig: AudioSeparateConfig,
43923
44339
  DeleteAIRecognitionTemplateRequest: DeleteAIRecognitionTemplateRequest,
44340
+ AigcAudioOutputAudioInfo: AigcAudioOutputAudioInfo,
43924
44341
  AiAnalysisTaskCoverResult: AiAnalysisTaskCoverResult,
43925
44342
  AudioBeautifyConfig: AudioBeautifyConfig,
43926
44343
  EnableWorkflowRequest: EnableWorkflowRequest,
@@ -43936,6 +44353,8 @@ module.exports = {
43936
44353
  AiSampleFaceInfo: AiSampleFaceInfo,
43937
44354
  MediaTranscodeItem: MediaTranscodeItem,
43938
44355
  CreateBlindWatermarkTemplateRequest: CreateBlindWatermarkTemplateRequest,
44356
+ CreateAigcAudioTaskResponse: CreateAigcAudioTaskResponse,
44357
+ SmartSubtitleTaskTransTextResultOutput: SmartSubtitleTaskTransTextResultOutput,
43939
44358
  MediaProcessTaskAdaptiveDynamicStreamingResult: MediaProcessTaskAdaptiveDynamicStreamingResult,
43940
44359
  OcrWordsConfigureInfoForUpdate: OcrWordsConfigureInfoForUpdate,
43941
44360
  WatermarkTemplate: WatermarkTemplate,
@@ -43961,7 +44380,7 @@ module.exports = {
43961
44380
  ComposeTargetInfo: ComposeTargetInfo,
43962
44381
  TaskStatData: TaskStatData,
43963
44382
  SubtitleBoardConfig: SubtitleBoardConfig,
43964
- MediaProcessTaskInput: MediaProcessTaskInput,
44383
+ DescribeAigcAudioTaskResponse: DescribeAigcAudioTaskResponse,
43965
44384
  DisableScheduleRequest: DisableScheduleRequest,
43966
44385
  AiAnalysisTaskHorizontalToVerticalResult: AiAnalysisTaskHorizontalToVerticalResult,
43967
44386
  CosOutputStorage: CosOutputStorage,
@@ -44041,7 +44460,7 @@ module.exports = {
44041
44460
  AiReviewTaskPornOcrResult: AiReviewTaskPornOcrResult,
44042
44461
  BatchProcessMediaRequest: BatchProcessMediaRequest,
44043
44462
  DescribeWatermarkTemplatesRequest: DescribeWatermarkTemplatesRequest,
44044
- TaskOutputStorage: TaskOutputStorage,
44463
+ CreateAigcAudioTaskRequest: CreateAigcAudioTaskRequest,
44045
44464
  VoiceInfo: VoiceInfo,
44046
44465
  ModifyAIAnalysisTemplateRequest: ModifyAIAnalysisTemplateRequest,
44047
44466
  UserDefineConfigureInfo: UserDefineConfigureInfo,
@@ -44110,6 +44529,7 @@ module.exports = {
44110
44529
  SmartSubtitleTaskAsrFullTextResult: SmartSubtitleTaskAsrFullTextResult,
44111
44530
  BatchSmartSubtitlesResult: BatchSmartSubtitlesResult,
44112
44531
  QueryProjectResponse: QueryProjectResponse,
44532
+ MediaProcessTaskInput: MediaProcessTaskInput,
44113
44533
  DescribeDesignTaskRequest: DescribeDesignTaskRequest,
44114
44534
  SimpleAesDrm: SimpleAesDrm,
44115
44535
  DescribeWorkflowsResponse: DescribeWorkflowsResponse,
@@ -44154,6 +44574,7 @@ module.exports = {
44154
44574
  RawImageWatermarkInput: RawImageWatermarkInput,
44155
44575
  DescribeImageSpriteTemplatesRequest: DescribeImageSpriteTemplatesRequest,
44156
44576
  CreateQualityControlTemplateRequest: CreateQualityControlTemplateRequest,
44577
+ AigcAudioExtraParam: AigcAudioExtraParam,
44157
44578
  AiSampleTagOperation: AiSampleTagOperation,
44158
44579
  RawSmartEraseParameter: RawSmartEraseParameter,
44159
44580
  ScheduleExecRuleTaskResult: ScheduleExecRuleTaskResult,
@@ -44256,7 +44677,7 @@ module.exports = {
44256
44677
  SmartSubtitleTaskFullTextResult: SmartSubtitleTaskFullTextResult,
44257
44678
  TranscodeTaskInput: TranscodeTaskInput,
44258
44679
  SmartSubtitleTemplateItem: SmartSubtitleTemplateItem,
44259
- DisableScheduleResponse: DisableScheduleResponse,
44680
+ DescribeAigcAudioTaskRequest: DescribeAigcAudioTaskRequest,
44260
44681
  ModifyAIRecognitionTemplateRequest: ModifyAIRecognitionTemplateRequest,
44261
44682
  ParseNotificationResponse: ParseNotificationResponse,
44262
44683
  ComposeImageOperation: ComposeImageOperation,
@@ -44353,10 +44774,10 @@ module.exports = {
44353
44774
  AiReviewTaskPoliticalResult: AiReviewTaskPoliticalResult,
44354
44775
  SelectingSubtitleAreasConfig: SelectingSubtitleAreasConfig,
44355
44776
  AiRecognitionTaskTransTextResultOutput: AiRecognitionTaskTransTextResultOutput,
44356
- SmartSubtitlesResult: SmartSubtitlesResult,
44777
+ ModifySnapshotByTimeOffsetTemplateRequest: ModifySnapshotByTimeOffsetTemplateRequest,
44357
44778
  WorkflowInfo: WorkflowInfo,
44358
44779
  SyncDubbingResponse: SyncDubbingResponse,
44359
- ModifySnapshotByTimeOffsetTemplateRequest: ModifySnapshotByTimeOffsetTemplateRequest,
44780
+ MediaInputInfo: MediaInputInfo,
44360
44781
  AsrHotWordsConfigure: AsrHotWordsConfigure,
44361
44782
  ImageAreaBoxInfo: ImageAreaBoxInfo,
44362
44783
  LiveStreamAiReviewResultItem: LiveStreamAiReviewResultItem,
@@ -44427,6 +44848,7 @@ module.exports = {
44427
44848
  LiveStreamObjectRecognitionResult: LiveStreamObjectRecognitionResult,
44428
44849
  DescribeImageTaskDetailResponse: DescribeImageTaskDetailResponse,
44429
44850
  DescribePersonSamplesResponse: DescribePersonSamplesResponse,
44851
+ AigcAudioReferenceVideoInfo: AigcAudioReferenceVideoInfo,
44430
44852
  ModifyScheduleResponse: ModifyScheduleResponse,
44431
44853
  PornConfigureInfo: PornConfigureInfo,
44432
44854
  AiRecognitionTaskObjectSeqmentItem: AiRecognitionTaskObjectSeqmentItem,