tencentcloud-sdk-nodejs-intl-en 3.0.1307 → 3.0.1308
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.
|
@@ -91,6 +91,134 @@ class ModifySampleSnapshotTemplateResponse extends AbstractModel {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
+
/**
|
|
95
|
+
* Output media file configuration for AIGC video task.
|
|
96
|
+
* @class
|
|
97
|
+
*/
|
|
98
|
+
class AigcVideoOutputConfig extends AbstractModel {
|
|
99
|
+
constructor(){
|
|
100
|
+
super();
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Storage mode. valid values: <li>Permanent: Permanent storage. the generated video file will be stored in vod, and the FileId can be obtained from the event notification.</li> <li>Temporary: Temporary storage. the generated video file will not be stored in vod, and a Temporary access URL can be obtained from the event notification.</li>
|
|
104
|
+
Default value: Temporary.
|
|
105
|
+
* @type {string || null}
|
|
106
|
+
*/
|
|
107
|
+
this.StorageMode = null;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Output media filename, longest 64 characters. default filename is specified by the system.
|
|
111
|
+
* @type {string || null}
|
|
112
|
+
*/
|
|
113
|
+
this.MediaName = null;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 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.
|
|
117
|
+
<Li>Default value: 0, indicate other categories.</li>.
|
|
118
|
+
* @type {number || null}
|
|
119
|
+
*/
|
|
120
|
+
this.ClassId = null;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The expiry date of the output file. files will be deleted longer than this time. default is never expire. format according to ISO 8601 standard. see [ISO date format description](https://www.tencentcloud.comom/document/product/266/11732?from_cn_redirect=1#I).
|
|
124
|
+
* @type {string || null}
|
|
125
|
+
*/
|
|
126
|
+
this.ExpireTime = null;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Video duration, unit: seconds. <li>when ModelName is Kling, optional values: 5, 10, defaults to 5;</li> <li>when ModelName is Hailuo, optional values: 6, 10, defaults to 6;</li> <li>when ModelName is Vidu, specify 1-10;</li> <li>when ModelName is GV, optional values: 8, defaults to 8;</li> <li>when ModelName is OS, optional values: 4, 8, 12, defaults to 8;</li>
|
|
130
|
+
* @type {number || null}
|
|
131
|
+
*/
|
|
132
|
+
this.Duration = null;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Generated video resolution.
|
|
136
|
+
<li>When ModelName is Kling, available values are 720P and 1080P, with a default value of 720P.</li>
|
|
137
|
+
<li>When ModelName is Hailuo, optional values are 768P and 1080P, with a default value of 768P.</li>
|
|
138
|
+
<li>When ModelName is Vidu, optional values are 720P, 1080P, defaults to 720P.</li>
|
|
139
|
+
<li>When ModelName is GV, optional values are 720P, 1080P, with a default value of 720P.</li>
|
|
140
|
+
<li>When ModelName is OS, the optional values are 720P.</li>
|
|
141
|
+
* @type {string || null}
|
|
142
|
+
*/
|
|
143
|
+
this.Resolution = null;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Specify the aspect ratio of the generated video.
|
|
147
|
+
<li>When ModelName is Kling, for text-to-video, the optional values are 16:9, 9:16, 1:1, default is 16:9.</li>
|
|
148
|
+
<li>When ModelName is Vidu, the optional values for video generation and image generation usage reference are 16:9, 9:16, 4:3, 3:4, and 1:1. among them, only version q2 supports 4:3 and 3:4.</li>
|
|
149
|
+
<li>When ModelName is GV, optional values are 16:9 and 9:16, with a default value of 16:9.</li>
|
|
150
|
+
<li>When ModelName is OS, for text-to-video, optional values are 16:9, 9:16, default is 16:9;</li>
|
|
151
|
+
<li>When ModelName is Hailuo, it is not currently supported.</li>
|
|
152
|
+
* @type {string || null}
|
|
153
|
+
*/
|
|
154
|
+
this.AspectRatio = null;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Whether to generate audio. supported models include GV, OS, Vidu. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>
|
|
158
|
+
Default value: Disabled.
|
|
159
|
+
* @type {string || null}
|
|
160
|
+
*/
|
|
161
|
+
this.AudioGeneration = null;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Whether to allow figure or human face generation. valid values: <li>AllowAdult: allow adult generation.</li> <li>Disallowed: forbid including figures or human faces in images.</li>
|
|
165
|
+
* @type {string || null}
|
|
166
|
+
*/
|
|
167
|
+
this.PersonGeneration = null;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Whether to enable compliance check for input content. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>
|
|
171
|
+
* @type {string || null}
|
|
172
|
+
*/
|
|
173
|
+
this.InputComplianceCheck = null;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Whether to enable compliance check for output content. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>
|
|
177
|
+
* @type {string || null}
|
|
178
|
+
*/
|
|
179
|
+
this.OutputComplianceCheck = null;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Whether to enable video enhancement. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>
|
|
183
|
+
Note:
|
|
184
|
+
1. when the selected resolution exceeds the resolution the model can generate, enhancement is enabled by default.
|
|
185
|
+
2. for resolutions that the model can directly output, you can also proactively select the model to directly output low-resolution images and use enhancement to obtain the specified resolution.
|
|
186
|
+
* @type {string || null}
|
|
187
|
+
*/
|
|
188
|
+
this.EnhanceSwitch = null;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Whether to enable vidu intelligent frame interpolation. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>
|
|
192
|
+
* @type {string || null}
|
|
193
|
+
*/
|
|
194
|
+
this.FrameInterpolate = null;
|
|
195
|
+
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @private
|
|
200
|
+
*/
|
|
201
|
+
deserialize(params) {
|
|
202
|
+
if (!params) {
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
this.StorageMode = 'StorageMode' in params ? params.StorageMode : null;
|
|
206
|
+
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
207
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
208
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
209
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
210
|
+
this.Resolution = 'Resolution' in params ? params.Resolution : null;
|
|
211
|
+
this.AspectRatio = 'AspectRatio' in params ? params.AspectRatio : null;
|
|
212
|
+
this.AudioGeneration = 'AudioGeneration' in params ? params.AudioGeneration : null;
|
|
213
|
+
this.PersonGeneration = 'PersonGeneration' in params ? params.PersonGeneration : null;
|
|
214
|
+
this.InputComplianceCheck = 'InputComplianceCheck' in params ? params.InputComplianceCheck : null;
|
|
215
|
+
this.OutputComplianceCheck = 'OutputComplianceCheck' in params ? params.OutputComplianceCheck : null;
|
|
216
|
+
this.EnhanceSwitch = 'EnhanceSwitch' in params ? params.EnhanceSwitch : null;
|
|
217
|
+
this.FrameInterpolate = 'FrameInterpolate' in params ? params.FrameInterpolate : null;
|
|
218
|
+
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
94
222
|
/**
|
|
95
223
|
* ForbidMediaDistribution response structure.
|
|
96
224
|
* @class
|
|
@@ -240,6 +368,53 @@ class ModifyWatermarkTemplateRequest extends AbstractModel {
|
|
|
240
368
|
}
|
|
241
369
|
}
|
|
242
370
|
|
|
371
|
+
/**
|
|
372
|
+
* Screencapturing output information (v2017)
|
|
373
|
+
* @class
|
|
374
|
+
*/
|
|
375
|
+
class SnapshotByTimeOffset2017 extends AbstractModel {
|
|
376
|
+
constructor(){
|
|
377
|
+
super();
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Error code
|
|
381
|
+
<li>0: success;</li>
|
|
382
|
+
<li>Other values: failure.</li>
|
|
383
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
384
|
+
* @type {number || null}
|
|
385
|
+
*/
|
|
386
|
+
this.ErrCode = null;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Specific time point of screenshot in milliseconds.
|
|
390
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
391
|
+
* @type {number || null}
|
|
392
|
+
*/
|
|
393
|
+
this.TimeOffset = null;
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* Address of output screenshot file.
|
|
397
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
398
|
+
* @type {string || null}
|
|
399
|
+
*/
|
|
400
|
+
this.Url = null;
|
|
401
|
+
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @private
|
|
406
|
+
*/
|
|
407
|
+
deserialize(params) {
|
|
408
|
+
if (!params) {
|
|
409
|
+
return;
|
|
410
|
+
}
|
|
411
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
412
|
+
this.TimeOffset = 'TimeOffset' in params ? params.TimeOffset : null;
|
|
413
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
414
|
+
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
243
418
|
/**
|
|
244
419
|
* CreateStorageRegion request structure.
|
|
245
420
|
* @class
|
|
@@ -533,6 +708,42 @@ class DescribeAllClassRequest extends AbstractModel {
|
|
|
533
708
|
}
|
|
534
709
|
}
|
|
535
710
|
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @class
|
|
714
|
+
*/
|
|
715
|
+
class AigcImageTaskOutput extends AbstractModel {
|
|
716
|
+
constructor(){
|
|
717
|
+
super();
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* File information of the out image for the AIGC image generation task.
|
|
721
|
+
* @type {Array.<AigcImageTaskOutputFileInfo> || null}
|
|
722
|
+
*/
|
|
723
|
+
this.FileInfos = null;
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* @private
|
|
729
|
+
*/
|
|
730
|
+
deserialize(params) {
|
|
731
|
+
if (!params) {
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
if (params.FileInfos) {
|
|
736
|
+
this.FileInfos = new Array();
|
|
737
|
+
for (let z in params.FileInfos) {
|
|
738
|
+
let obj = new AigcImageTaskOutputFileInfo();
|
|
739
|
+
obj.deserialize(params.FileInfos[z]);
|
|
740
|
+
this.FileInfos.push(obj);
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
536
747
|
/**
|
|
537
748
|
* UserAgent blacklist/whitelist rule configuration
|
|
538
749
|
* @class
|
|
@@ -1776,6 +1987,46 @@ class AiReviewProhibitedOcrTaskOutput extends AbstractModel {
|
|
|
1776
1987
|
}
|
|
1777
1988
|
}
|
|
1778
1989
|
|
|
1990
|
+
/**
|
|
1991
|
+
* Path cache configuration follows the origin server configuration.
|
|
1992
|
+
* @class
|
|
1993
|
+
*/
|
|
1994
|
+
class CacheConfigFollowOrigin extends AbstractModel {
|
|
1995
|
+
constructor(){
|
|
1996
|
+
super();
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* The path cache follows the origin site configuration switch. The values u200bu200bare: <li>on: on; </li> <li>off: off. </li>
|
|
2000
|
+
* @type {string || null}
|
|
2001
|
+
*/
|
|
2002
|
+
this.Switch = null;
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* Heuristic cache configuration
|
|
2006
|
+
* @type {HeuristicCache || null}
|
|
2007
|
+
*/
|
|
2008
|
+
this.HeuristicCache = null;
|
|
2009
|
+
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* @private
|
|
2014
|
+
*/
|
|
2015
|
+
deserialize(params) {
|
|
2016
|
+
if (!params) {
|
|
2017
|
+
return;
|
|
2018
|
+
}
|
|
2019
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
2020
|
+
|
|
2021
|
+
if (params.HeuristicCache) {
|
|
2022
|
+
let obj = new HeuristicCache();
|
|
2023
|
+
obj.deserialize(params.HeuristicCache)
|
|
2024
|
+
this.HeuristicCache = obj;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
|
|
1779
2030
|
/**
|
|
1780
2031
|
*
|
|
1781
2032
|
* @class
|
|
@@ -2726,49 +2977,24 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2726
2977
|
}
|
|
2727
2978
|
|
|
2728
2979
|
/**
|
|
2729
|
-
*
|
|
2980
|
+
* DescribeImageReviewUsageData response structure.
|
|
2730
2981
|
* @class
|
|
2731
2982
|
*/
|
|
2732
|
-
class
|
|
2983
|
+
class DescribeImageReviewUsageDataResponse extends AbstractModel {
|
|
2733
2984
|
constructor(){
|
|
2734
2985
|
super();
|
|
2735
2986
|
|
|
2736
2987
|
/**
|
|
2737
|
-
*
|
|
2738
|
-
|
|
2739
|
-
<li>Other values: failure.</li>
|
|
2740
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2741
|
-
* @type {number || null}
|
|
2742
|
-
*/
|
|
2743
|
-
this.ErrCode = null;
|
|
2744
|
-
|
|
2745
|
-
/**
|
|
2746
|
-
* Error description.
|
|
2747
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2748
|
-
* @type {string || null}
|
|
2749
|
-
*/
|
|
2750
|
-
this.Message = null;
|
|
2751
|
-
|
|
2752
|
-
/**
|
|
2753
|
-
* Output target file ID.
|
|
2754
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2755
|
-
* @type {string || null}
|
|
2756
|
-
*/
|
|
2757
|
-
this.FileId = null;
|
|
2758
|
-
|
|
2759
|
-
/**
|
|
2760
|
-
* Output target file address.
|
|
2761
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2762
|
-
* @type {string || null}
|
|
2988
|
+
* The image recognition usage statistics (the number of times the image recognition feature is used in the time period specified).
|
|
2989
|
+
* @type {Array.<ImageReviewUsageDataItem> || null}
|
|
2763
2990
|
*/
|
|
2764
|
-
this.
|
|
2991
|
+
this.ImageReviewUsageDataSet = null;
|
|
2765
2992
|
|
|
2766
2993
|
/**
|
|
2767
|
-
*
|
|
2768
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
2994
|
+
* 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.
|
|
2769
2995
|
* @type {string || null}
|
|
2770
2996
|
*/
|
|
2771
|
-
this.
|
|
2997
|
+
this.RequestId = null;
|
|
2772
2998
|
|
|
2773
2999
|
}
|
|
2774
3000
|
|
|
@@ -2779,11 +3005,16 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
2779
3005
|
if (!params) {
|
|
2780
3006
|
return;
|
|
2781
3007
|
}
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
3008
|
+
|
|
3009
|
+
if (params.ImageReviewUsageDataSet) {
|
|
3010
|
+
this.ImageReviewUsageDataSet = new Array();
|
|
3011
|
+
for (let z in params.ImageReviewUsageDataSet) {
|
|
3012
|
+
let obj = new ImageReviewUsageDataItem();
|
|
3013
|
+
obj.deserialize(params.ImageReviewUsageDataSet[z]);
|
|
3014
|
+
this.ImageReviewUsageDataSet.push(obj);
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2787
3018
|
|
|
2788
3019
|
}
|
|
2789
3020
|
}
|
|
@@ -2837,6 +3068,239 @@ class TempCertificate extends AbstractModel {
|
|
|
2837
3068
|
}
|
|
2838
3069
|
}
|
|
2839
3070
|
|
|
3071
|
+
/**
|
|
3072
|
+
* RebuildMedia request structure.
|
|
3073
|
+
* @class
|
|
3074
|
+
*/
|
|
3075
|
+
class RebuildMediaRequest extends AbstractModel {
|
|
3076
|
+
constructor(){
|
|
3077
|
+
super();
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* The file ID.
|
|
3081
|
+
* @type {string || null}
|
|
3082
|
+
*/
|
|
3083
|
+
this.FileId = null;
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
3087
|
+
* @type {number || null}
|
|
3088
|
+
*/
|
|
3089
|
+
this.SubAppId = null;
|
|
3090
|
+
|
|
3091
|
+
/**
|
|
3092
|
+
* The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
|
|
3093
|
+
* @type {number || null}
|
|
3094
|
+
*/
|
|
3095
|
+
this.StartTimeOffset = null;
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
|
|
3099
|
+
* @type {number || null}
|
|
3100
|
+
*/
|
|
3101
|
+
this.EndTimeOffset = null;
|
|
3102
|
+
|
|
3103
|
+
/**
|
|
3104
|
+
* The video quality remastering parameters.
|
|
3105
|
+
* @type {RepairInfo || null}
|
|
3106
|
+
*/
|
|
3107
|
+
this.RepairInfo = null;
|
|
3108
|
+
|
|
3109
|
+
/**
|
|
3110
|
+
* The smart frame interpolation parameters.
|
|
3111
|
+
* @type {VideoFrameInterpolationInfo || null}
|
|
3112
|
+
*/
|
|
3113
|
+
this.VideoFrameInterpolationInfo = null;
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* The super resolution parameters.
|
|
3117
|
+
* @type {SuperResolutionInfo || null}
|
|
3118
|
+
*/
|
|
3119
|
+
this.SuperResolutionInfo = null;
|
|
3120
|
+
|
|
3121
|
+
/**
|
|
3122
|
+
* The high dynamic range (HDR) parameters.
|
|
3123
|
+
* @type {HDRInfo || null}
|
|
3124
|
+
*/
|
|
3125
|
+
this.HDRInfo = null;
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
* The image noise removal parameters.
|
|
3129
|
+
* @type {VideoDenoiseInfo || null}
|
|
3130
|
+
*/
|
|
3131
|
+
this.VideoDenoiseInfo = null;
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* The noise removal parameters.
|
|
3135
|
+
* @type {AudioDenoiseInfo || null}
|
|
3136
|
+
*/
|
|
3137
|
+
this.AudioDenoiseInfo = null;
|
|
3138
|
+
|
|
3139
|
+
/**
|
|
3140
|
+
* The color enhancement parameters.
|
|
3141
|
+
* @type {ColorEnhanceInfo || null}
|
|
3142
|
+
*/
|
|
3143
|
+
this.ColorInfo = null;
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* The detail enhancement parameters.
|
|
3147
|
+
* @type {SharpEnhanceInfo || null}
|
|
3148
|
+
*/
|
|
3149
|
+
this.SharpInfo = null;
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* The face enhancement parameters.
|
|
3153
|
+
* @type {FaceEnhanceInfo || null}
|
|
3154
|
+
*/
|
|
3155
|
+
this.FaceInfo = null;
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* The low-light enhancement parameters.
|
|
3159
|
+
* @type {LowLightEnhanceInfo || null}
|
|
3160
|
+
*/
|
|
3161
|
+
this.LowLightInfo = null;
|
|
3162
|
+
|
|
3163
|
+
/**
|
|
3164
|
+
* The banding removal parameters.
|
|
3165
|
+
* @type {ScratchRepairInfo || null}
|
|
3166
|
+
*/
|
|
3167
|
+
this.ScratchRepairInfo = null;
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
* The artifact removal (smoothing) parameters.
|
|
3171
|
+
* @type {ArtifactRepairInfo || null}
|
|
3172
|
+
*/
|
|
3173
|
+
this.ArtifactRepairInfo = null;
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* The output parameters of the file.
|
|
3177
|
+
* @type {RebuildMediaTargetInfo || null}
|
|
3178
|
+
*/
|
|
3179
|
+
this.TargetInfo = null;
|
|
3180
|
+
|
|
3181
|
+
/**
|
|
3182
|
+
* The session ID, which is used for de-duplication. If there was a request with the same session ID in the last three days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified.
|
|
3183
|
+
* @type {string || null}
|
|
3184
|
+
*/
|
|
3185
|
+
this.SessionId = null;
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters.
|
|
3189
|
+
* @type {string || null}
|
|
3190
|
+
*/
|
|
3191
|
+
this.SessionContext = null;
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* The task priority, which can be a value from -10 to 10. The higher the value, the higher the priority. If this parameter is left empty, 0 will be used.
|
|
3195
|
+
* @type {number || null}
|
|
3196
|
+
*/
|
|
3197
|
+
this.TasksPriority = null;
|
|
3198
|
+
|
|
3199
|
+
/**
|
|
3200
|
+
* A reserved parameter.
|
|
3201
|
+
* @type {string || null}
|
|
3202
|
+
*/
|
|
3203
|
+
this.ExtInfo = null;
|
|
3204
|
+
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
|
+
/**
|
|
3208
|
+
* @private
|
|
3209
|
+
*/
|
|
3210
|
+
deserialize(params) {
|
|
3211
|
+
if (!params) {
|
|
3212
|
+
return;
|
|
3213
|
+
}
|
|
3214
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
3215
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
3216
|
+
this.StartTimeOffset = 'StartTimeOffset' in params ? params.StartTimeOffset : null;
|
|
3217
|
+
this.EndTimeOffset = 'EndTimeOffset' in params ? params.EndTimeOffset : null;
|
|
3218
|
+
|
|
3219
|
+
if (params.RepairInfo) {
|
|
3220
|
+
let obj = new RepairInfo();
|
|
3221
|
+
obj.deserialize(params.RepairInfo)
|
|
3222
|
+
this.RepairInfo = obj;
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
if (params.VideoFrameInterpolationInfo) {
|
|
3226
|
+
let obj = new VideoFrameInterpolationInfo();
|
|
3227
|
+
obj.deserialize(params.VideoFrameInterpolationInfo)
|
|
3228
|
+
this.VideoFrameInterpolationInfo = obj;
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
if (params.SuperResolutionInfo) {
|
|
3232
|
+
let obj = new SuperResolutionInfo();
|
|
3233
|
+
obj.deserialize(params.SuperResolutionInfo)
|
|
3234
|
+
this.SuperResolutionInfo = obj;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
if (params.HDRInfo) {
|
|
3238
|
+
let obj = new HDRInfo();
|
|
3239
|
+
obj.deserialize(params.HDRInfo)
|
|
3240
|
+
this.HDRInfo = obj;
|
|
3241
|
+
}
|
|
3242
|
+
|
|
3243
|
+
if (params.VideoDenoiseInfo) {
|
|
3244
|
+
let obj = new VideoDenoiseInfo();
|
|
3245
|
+
obj.deserialize(params.VideoDenoiseInfo)
|
|
3246
|
+
this.VideoDenoiseInfo = obj;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
if (params.AudioDenoiseInfo) {
|
|
3250
|
+
let obj = new AudioDenoiseInfo();
|
|
3251
|
+
obj.deserialize(params.AudioDenoiseInfo)
|
|
3252
|
+
this.AudioDenoiseInfo = obj;
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
if (params.ColorInfo) {
|
|
3256
|
+
let obj = new ColorEnhanceInfo();
|
|
3257
|
+
obj.deserialize(params.ColorInfo)
|
|
3258
|
+
this.ColorInfo = obj;
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
if (params.SharpInfo) {
|
|
3262
|
+
let obj = new SharpEnhanceInfo();
|
|
3263
|
+
obj.deserialize(params.SharpInfo)
|
|
3264
|
+
this.SharpInfo = obj;
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
if (params.FaceInfo) {
|
|
3268
|
+
let obj = new FaceEnhanceInfo();
|
|
3269
|
+
obj.deserialize(params.FaceInfo)
|
|
3270
|
+
this.FaceInfo = obj;
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
if (params.LowLightInfo) {
|
|
3274
|
+
let obj = new LowLightEnhanceInfo();
|
|
3275
|
+
obj.deserialize(params.LowLightInfo)
|
|
3276
|
+
this.LowLightInfo = obj;
|
|
3277
|
+
}
|
|
3278
|
+
|
|
3279
|
+
if (params.ScratchRepairInfo) {
|
|
3280
|
+
let obj = new ScratchRepairInfo();
|
|
3281
|
+
obj.deserialize(params.ScratchRepairInfo)
|
|
3282
|
+
this.ScratchRepairInfo = obj;
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
if (params.ArtifactRepairInfo) {
|
|
3286
|
+
let obj = new ArtifactRepairInfo();
|
|
3287
|
+
obj.deserialize(params.ArtifactRepairInfo)
|
|
3288
|
+
this.ArtifactRepairInfo = obj;
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
if (params.TargetInfo) {
|
|
3292
|
+
let obj = new RebuildMediaTargetInfo();
|
|
3293
|
+
obj.deserialize(params.TargetInfo)
|
|
3294
|
+
this.TargetInfo = obj;
|
|
3295
|
+
}
|
|
3296
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
3297
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
3298
|
+
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
3299
|
+
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
3300
|
+
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
|
|
2840
3304
|
/**
|
|
2841
3305
|
* Result for OCR-based recognition of politically sensitive content
|
|
2842
3306
|
* @class
|
|
@@ -3156,6 +3620,50 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
3156
3620
|
}
|
|
3157
3621
|
}
|
|
3158
3622
|
|
|
3623
|
+
/**
|
|
3624
|
+
* Parameters for OCR-based recognition of politically sensitive content
|
|
3625
|
+
* @class
|
|
3626
|
+
*/
|
|
3627
|
+
class PoliticalOcrReviewTemplateInfo extends AbstractModel {
|
|
3628
|
+
constructor(){
|
|
3629
|
+
super();
|
|
3630
|
+
|
|
3631
|
+
/**
|
|
3632
|
+
* Whether to enable OCR-based recognition of politically sensitive content. Valid values:
|
|
3633
|
+
<li>ON</li>
|
|
3634
|
+
<li>OFF</li>
|
|
3635
|
+
* @type {string || null}
|
|
3636
|
+
*/
|
|
3637
|
+
this.Switch = null;
|
|
3638
|
+
|
|
3639
|
+
/**
|
|
3640
|
+
* Confidence score threshold for determining that something should be blocked. If this threshold is reached, VOD will suggest that the content be blocked. If this parameter is left empty, `100` will be used by default. Value range: 0-100
|
|
3641
|
+
* @type {number || null}
|
|
3642
|
+
*/
|
|
3643
|
+
this.BlockConfidence = null;
|
|
3644
|
+
|
|
3645
|
+
/**
|
|
3646
|
+
* Confidence score threshold for human review. If this threshold is reached, human review is needed. If this parameter is left empty, `75` will be used by default. Value range: 0-100
|
|
3647
|
+
* @type {number || null}
|
|
3648
|
+
*/
|
|
3649
|
+
this.ReviewConfidence = null;
|
|
3650
|
+
|
|
3651
|
+
}
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* @private
|
|
3655
|
+
*/
|
|
3656
|
+
deserialize(params) {
|
|
3657
|
+
if (!params) {
|
|
3658
|
+
return;
|
|
3659
|
+
}
|
|
3660
|
+
this.Switch = 'Switch' in params ? params.Switch : null;
|
|
3661
|
+
this.BlockConfidence = 'BlockConfidence' in params ? params.BlockConfidence : null;
|
|
3662
|
+
this.ReviewConfidence = 'ReviewConfidence' in params ? params.ReviewConfidence : null;
|
|
3663
|
+
|
|
3664
|
+
}
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3159
3667
|
/**
|
|
3160
3668
|
* CreateImageSpriteTemplate request structure.
|
|
3161
3669
|
* @class
|
|
@@ -3617,6 +4125,90 @@ Note: This field may return `null`, indicating that no valid value can be found.
|
|
|
3617
4125
|
}
|
|
3618
4126
|
}
|
|
3619
4127
|
|
|
4128
|
+
/**
|
|
4129
|
+
* AIGC image task output file information.
|
|
4130
|
+
* @class
|
|
4131
|
+
*/
|
|
4132
|
+
class AigcImageTaskOutputFileInfo extends AbstractModel {
|
|
4133
|
+
constructor(){
|
|
4134
|
+
super();
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* Storage mode. valid values: <li>Permanent: Permanent storage. the generated image file will be stored in VOD (video on demand).</li> <li>Temporary: Temporary storage. the generated image file will not be stored in vod.</li>.
|
|
4138
|
+
Default value: Temporary.
|
|
4139
|
+
* @type {string || null}
|
|
4140
|
+
*/
|
|
4141
|
+
this.StorageMode = null;
|
|
4142
|
+
|
|
4143
|
+
/**
|
|
4144
|
+
* Output filename, up to 64 characters. default filename is assigned by the system.
|
|
4145
|
+
* @type {string || null}
|
|
4146
|
+
*/
|
|
4147
|
+
this.MediaName = null;
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
* Category ID, used to categorize and manage media. you can create a category and obtain the category ID via the [create classification](https://www.tencentcloud.com/document/product/266/7812?from_cn_redirect=1) api.
|
|
4151
|
+
<Li>Default value: 0, indicating other categories.</li>.
|
|
4152
|
+
* @type {number || null}
|
|
4153
|
+
*/
|
|
4154
|
+
this.ClassId = null;
|
|
4155
|
+
|
|
4156
|
+
/**
|
|
4157
|
+
* The expiry date of the output file. files will be deleted longer than this time. default is no expiration. format according to ISO 8601 standard. for details, see [ISO date format description](https://www.tencentcloud.comom/document/product/266/11732?from_cn_redirect=1#I).
|
|
4158
|
+
* @type {string || null}
|
|
4159
|
+
*/
|
|
4160
|
+
this.ExpireTime = null;
|
|
4161
|
+
|
|
4162
|
+
/**
|
|
4163
|
+
* File Type.
|
|
4164
|
+
* @type {string || null}
|
|
4165
|
+
*/
|
|
4166
|
+
this.FileType = null;
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* File Url.
|
|
4170
|
+
* @type {string || null}
|
|
4171
|
+
*/
|
|
4172
|
+
this.FileUrl = null;
|
|
4173
|
+
|
|
4174
|
+
/**
|
|
4175
|
+
* File ID.
|
|
4176
|
+
* @type {string || null}
|
|
4177
|
+
*/
|
|
4178
|
+
this.FileId = null;
|
|
4179
|
+
|
|
4180
|
+
/**
|
|
4181
|
+
* Meta Data.
|
|
4182
|
+
* @type {MediaMetaData || null}
|
|
4183
|
+
*/
|
|
4184
|
+
this.MetaData = null;
|
|
4185
|
+
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
/**
|
|
4189
|
+
* @private
|
|
4190
|
+
*/
|
|
4191
|
+
deserialize(params) {
|
|
4192
|
+
if (!params) {
|
|
4193
|
+
return;
|
|
4194
|
+
}
|
|
4195
|
+
this.StorageMode = 'StorageMode' in params ? params.StorageMode : null;
|
|
4196
|
+
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
4197
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
4198
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
4199
|
+
this.FileType = 'FileType' in params ? params.FileType : null;
|
|
4200
|
+
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
4201
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
4202
|
+
|
|
4203
|
+
if (params.MetaData) {
|
|
4204
|
+
let obj = new MediaMetaData();
|
|
4205
|
+
obj.deserialize(params.MetaData)
|
|
4206
|
+
this.MetaData = obj;
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
}
|
|
4210
|
+
}
|
|
4211
|
+
|
|
3620
4212
|
/**
|
|
3621
4213
|
* DeleteAIRecognitionTemplate response structure.
|
|
3622
4214
|
* @class
|
|
@@ -6387,6 +6979,57 @@ Default: `declick`.
|
|
|
6387
6979
|
}
|
|
6388
6980
|
}
|
|
6389
6981
|
|
|
6982
|
+
/**
|
|
6983
|
+
* Output of full text recognition.
|
|
6984
|
+
* @class
|
|
6985
|
+
*/
|
|
6986
|
+
class AiRecognitionTaskOcrFullTextResultOutput extends AbstractModel {
|
|
6987
|
+
constructor(){
|
|
6988
|
+
super();
|
|
6989
|
+
|
|
6990
|
+
/**
|
|
6991
|
+
* Full-text recognition result set
|
|
6992
|
+
<font color=red>Note</font>: this list displays up to the first 100 results. You can get all the results from the file whose URL is `SegmentSetFileUrl`.
|
|
6993
|
+
* @type {Array.<AiRecognitionTaskOcrFullTextSegmentItem> || null}
|
|
6994
|
+
*/
|
|
6995
|
+
this.SegmentSet = null;
|
|
6996
|
+
|
|
6997
|
+
/**
|
|
6998
|
+
* URL to the file of the full-text recognition result set. The file format is JSON, and the data structure is the same as `SegmentSet`. The file will be deleted upon the expiration time `SegmentSetFileUrlExpireTime`, instead of being stored permanently.
|
|
6999
|
+
* @type {string || null}
|
|
7000
|
+
*/
|
|
7001
|
+
this.SegmentSetFileUrl = null;
|
|
7002
|
+
|
|
7003
|
+
/**
|
|
7004
|
+
* Expiration time of the URL to the file of the full-text recognition result set, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732)
|
|
7005
|
+
* @type {string || null}
|
|
7006
|
+
*/
|
|
7007
|
+
this.SegmentSetFileUrlExpireTime = null;
|
|
7008
|
+
|
|
7009
|
+
}
|
|
7010
|
+
|
|
7011
|
+
/**
|
|
7012
|
+
* @private
|
|
7013
|
+
*/
|
|
7014
|
+
deserialize(params) {
|
|
7015
|
+
if (!params) {
|
|
7016
|
+
return;
|
|
7017
|
+
}
|
|
7018
|
+
|
|
7019
|
+
if (params.SegmentSet) {
|
|
7020
|
+
this.SegmentSet = new Array();
|
|
7021
|
+
for (let z in params.SegmentSet) {
|
|
7022
|
+
let obj = new AiRecognitionTaskOcrFullTextSegmentItem();
|
|
7023
|
+
obj.deserialize(params.SegmentSet[z]);
|
|
7024
|
+
this.SegmentSet.push(obj);
|
|
7025
|
+
}
|
|
7026
|
+
}
|
|
7027
|
+
this.SegmentSetFileUrl = 'SegmentSetFileUrl' in params ? params.SegmentSetFileUrl : null;
|
|
7028
|
+
this.SegmentSetFileUrlExpireTime = 'SegmentSetFileUrlExpireTime' in params ? params.SegmentSetFileUrlExpireTime : null;
|
|
7029
|
+
|
|
7030
|
+
}
|
|
7031
|
+
}
|
|
7032
|
+
|
|
6390
7033
|
/**
|
|
6391
7034
|
* ModifyTranscodeTemplate request structure.
|
|
6392
7035
|
* @class
|
|
@@ -6566,7 +7209,7 @@ class RuleCache extends AbstractModel {
|
|
|
6566
7209
|
}
|
|
6567
7210
|
|
|
6568
7211
|
/**
|
|
6569
|
-
*
|
|
7212
|
+
* MPS media processing task information.
|
|
6570
7213
|
* @class
|
|
6571
7214
|
*/
|
|
6572
7215
|
class ProcessMediaByMPS extends AbstractModel {
|
|
@@ -6574,31 +7217,31 @@ class ProcessMediaByMPS extends AbstractModel {
|
|
|
6574
7217
|
super();
|
|
6575
7218
|
|
|
6576
7219
|
/**
|
|
6577
|
-
*
|
|
7220
|
+
* The task ID.
|
|
6578
7221
|
* @type {string || null}
|
|
6579
7222
|
*/
|
|
6580
7223
|
this.TaskId = null;
|
|
6581
7224
|
|
|
6582
7225
|
/**
|
|
6583
|
-
*
|
|
7226
|
+
* Task status, value: <li>PROCESSING: processing;</li><li>FINISH: completed.</li>
|
|
6584
7227
|
* @type {string || null}
|
|
6585
7228
|
*/
|
|
6586
7229
|
this.Status = null;
|
|
6587
7230
|
|
|
6588
7231
|
/**
|
|
6589
|
-
*
|
|
7232
|
+
* Error code. A non-zero error code is returned when the source is abnormal. If 0 is returned, use the ErrCode of each specific task.
|
|
6590
7233
|
* @type {number || null}
|
|
6591
7234
|
*/
|
|
6592
7235
|
this.ErrCode = null;
|
|
6593
7236
|
|
|
6594
7237
|
/**
|
|
6595
|
-
*
|
|
7238
|
+
* Error message. If the source is abnormal, the corresponding exception message is returned. Otherwise, use the message of each specific task.
|
|
6596
7239
|
* @type {string || null}
|
|
6597
7240
|
*/
|
|
6598
7241
|
this.Message = null;
|
|
6599
7242
|
|
|
6600
7243
|
/**
|
|
6601
|
-
*
|
|
7244
|
+
* MPS media processing tasks.
|
|
6602
7245
|
* @type {Array.<MPSSubTaskResult> || null}
|
|
6603
7246
|
*/
|
|
6604
7247
|
this.SubTaskSet = null;
|
|
@@ -6999,6 +7642,90 @@ class AiRecognitionTaskOcrWordsResultInput extends AbstractModel {
|
|
|
6999
7642
|
}
|
|
7000
7643
|
}
|
|
7001
7644
|
|
|
7645
|
+
/**
|
|
7646
|
+
* Scene AIGC image task output file information.
|
|
7647
|
+
* @class
|
|
7648
|
+
*/
|
|
7649
|
+
class SceneAigcImageTaskOutputFileInfo extends AbstractModel {
|
|
7650
|
+
constructor(){
|
|
7651
|
+
super();
|
|
7652
|
+
|
|
7653
|
+
/**
|
|
7654
|
+
* Storage mode. valid values: <li>Permanent: Permanent storage. the generated image file will be stored in VOD (video on demand).</li> <li>Temporary: Temporary storage. the generated image file will not be stored in vod.</li>.
|
|
7655
|
+
Default value: Temporary.
|
|
7656
|
+
* @type {string || null}
|
|
7657
|
+
*/
|
|
7658
|
+
this.StorageMode = null;
|
|
7659
|
+
|
|
7660
|
+
/**
|
|
7661
|
+
* Output filename, up to 64 characters. default filename is assigned by the system.
|
|
7662
|
+
* @type {string || null}
|
|
7663
|
+
*/
|
|
7664
|
+
this.MediaName = null;
|
|
7665
|
+
|
|
7666
|
+
/**
|
|
7667
|
+
* Category ID, used to categorize and manage media. you can create a category and obtain the category ID via the [create classification](https://www.tencentcloud.com/document/product/266/7812?from_cn_redirect=1) api.
|
|
7668
|
+
<Li>Default value: 0, indicating other categories.</li>.
|
|
7669
|
+
* @type {number || null}
|
|
7670
|
+
*/
|
|
7671
|
+
this.ClassId = null;
|
|
7672
|
+
|
|
7673
|
+
/**
|
|
7674
|
+
* The expiry date of the output file. files will be deleted longer than this time. default is no expiration. format according to ISO 8601 standard. for details, see [ISO date format description](https://www.tencentcloud.comom/document/product/266/11732?from_cn_redirect=1#I).
|
|
7675
|
+
* @type {string || null}
|
|
7676
|
+
*/
|
|
7677
|
+
this.ExpireTime = null;
|
|
7678
|
+
|
|
7679
|
+
/**
|
|
7680
|
+
* File Type.
|
|
7681
|
+
* @type {string || null}
|
|
7682
|
+
*/
|
|
7683
|
+
this.FileType = null;
|
|
7684
|
+
|
|
7685
|
+
/**
|
|
7686
|
+
* File Url.
|
|
7687
|
+
* @type {string || null}
|
|
7688
|
+
*/
|
|
7689
|
+
this.FileUrl = null;
|
|
7690
|
+
|
|
7691
|
+
/**
|
|
7692
|
+
* File ID.
|
|
7693
|
+
* @type {string || null}
|
|
7694
|
+
*/
|
|
7695
|
+
this.FileId = null;
|
|
7696
|
+
|
|
7697
|
+
/**
|
|
7698
|
+
* Meta Data.
|
|
7699
|
+
* @type {MediaMetaData || null}
|
|
7700
|
+
*/
|
|
7701
|
+
this.MetaData = null;
|
|
7702
|
+
|
|
7703
|
+
}
|
|
7704
|
+
|
|
7705
|
+
/**
|
|
7706
|
+
* @private
|
|
7707
|
+
*/
|
|
7708
|
+
deserialize(params) {
|
|
7709
|
+
if (!params) {
|
|
7710
|
+
return;
|
|
7711
|
+
}
|
|
7712
|
+
this.StorageMode = 'StorageMode' in params ? params.StorageMode : null;
|
|
7713
|
+
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
7714
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
7715
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
7716
|
+
this.FileType = 'FileType' in params ? params.FileType : null;
|
|
7717
|
+
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
7718
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
7719
|
+
|
|
7720
|
+
if (params.MetaData) {
|
|
7721
|
+
let obj = new MediaMetaData();
|
|
7722
|
+
obj.deserialize(params.MetaData)
|
|
7723
|
+
this.MetaData = obj;
|
|
7724
|
+
}
|
|
7725
|
+
|
|
7726
|
+
}
|
|
7727
|
+
}
|
|
7728
|
+
|
|
7002
7729
|
/**
|
|
7003
7730
|
* ModifyMediaStorageClass response structure.
|
|
7004
7731
|
* @class
|
|
@@ -7404,7 +8131,7 @@ class DescribeMediaProcessUsageDataRequest extends AbstractModel {
|
|
|
7404
8131
|
}
|
|
7405
8132
|
|
|
7406
8133
|
/**
|
|
7407
|
-
*
|
|
8134
|
+
* Used to describe the returned file results in ProcessMediaByMPS tasks.
|
|
7408
8135
|
* @class
|
|
7409
8136
|
*/
|
|
7410
8137
|
class MPSOutputFile extends AbstractModel {
|
|
@@ -7412,31 +8139,31 @@ class MPSOutputFile extends AbstractModel {
|
|
|
7412
8139
|
super();
|
|
7413
8140
|
|
|
7414
8141
|
/**
|
|
7415
|
-
*
|
|
8142
|
+
* File type. Used to identify the specific file returned in the ProcessMediaByMPS task execution results. Values: <li>AiAnalysis.DeLogo.Video: The erased video file generated by the smart erase task;</li><li>AiAnalysis.DeLogo.OriginSubtitle: The subtitle file extracted based on the screen in the smart erase task;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: The subtitle translation file extracted based on the screen in the smart erase task.</li>
|
|
7416
8143
|
* @type {string || null}
|
|
7417
8144
|
*/
|
|
7418
8145
|
this.FileType = null;
|
|
7419
8146
|
|
|
7420
8147
|
/**
|
|
7421
|
-
*
|
|
8148
|
+
* Storage mode. It is used to indicate the storage mode of the result file. The possible values are: <li> Permanent: permanent storage; </li><li> Temporary: temporary storage. </li>
|
|
7422
8149
|
* @type {string || null}
|
|
7423
8150
|
*/
|
|
7424
8151
|
this.StorageMode = null;
|
|
7425
8152
|
|
|
7426
8153
|
/**
|
|
7427
|
-
*
|
|
8154
|
+
* Media file ID. Valid when Type is Permanent, indicating that the result file is stored in the VOD platform as a video media asset. The field value is the FileId of the video media asset.
|
|
7428
8155
|
* @type {string || null}
|
|
7429
8156
|
*/
|
|
7430
8157
|
this.FileId = null;
|
|
7431
8158
|
|
|
7432
8159
|
/**
|
|
7433
|
-
*
|
|
8160
|
+
* Downloadable URL for the result file.
|
|
7434
8161
|
* @type {string || null}
|
|
7435
8162
|
*/
|
|
7436
8163
|
this.Url = null;
|
|
7437
8164
|
|
|
7438
8165
|
/**
|
|
7439
|
-
*
|
|
8166
|
+
* Expiration time. Valid when StorageMode is Temporary. It indicates the expiration time of the URL in seconds.
|
|
7440
8167
|
* @type {number || null}
|
|
7441
8168
|
*/
|
|
7442
8169
|
this.ExpiredTime = null;
|
|
@@ -8844,31 +9571,32 @@ class ImportMediaKnowledgeRequest extends AbstractModel {
|
|
|
8844
9571
|
}
|
|
8845
9572
|
|
|
8846
9573
|
/**
|
|
8847
|
-
*
|
|
9574
|
+
* Scenario-Based AIGC image generation configuration.
|
|
8848
9575
|
* @class
|
|
8849
9576
|
*/
|
|
8850
|
-
class
|
|
9577
|
+
class AigcImageSceneInfo extends AbstractModel {
|
|
8851
9578
|
constructor(){
|
|
8852
9579
|
super();
|
|
8853
9580
|
|
|
8854
9581
|
/**
|
|
8855
|
-
*
|
|
8856
|
-
|
|
8857
|
-
|
|
9582
|
+
* AI image generation scenario type. valid values:
|
|
9583
|
+
-change_clothes: AI clothing change.
|
|
9584
|
+
-product_image: AI-generated product image.
|
|
9585
|
+
* @type {string || null}
|
|
8858
9586
|
*/
|
|
8859
|
-
this.
|
|
9587
|
+
this.Type = null;
|
|
8860
9588
|
|
|
8861
9589
|
/**
|
|
8862
|
-
*
|
|
8863
|
-
* @type {
|
|
9590
|
+
* Valid when Type is change_clothes. this item is required and indicates the AI clothes-changing image generation config.
|
|
9591
|
+
* @type {ChangeClothesConfig || null}
|
|
8864
9592
|
*/
|
|
8865
|
-
this.
|
|
9593
|
+
this.ChangeClothesConfig = null;
|
|
8866
9594
|
|
|
8867
9595
|
/**
|
|
8868
|
-
*
|
|
8869
|
-
* @type {
|
|
9596
|
+
* Valid when Type is product_image. indicates the AI-generated product image config.
|
|
9597
|
+
* @type {ProductImageConfig || null}
|
|
8870
9598
|
*/
|
|
8871
|
-
this.
|
|
9599
|
+
this.ProductImageConfig = null;
|
|
8872
9600
|
|
|
8873
9601
|
}
|
|
8874
9602
|
|
|
@@ -8879,17 +9607,19 @@ class AiRecognitionTaskOcrFullTextResultOutput extends AbstractModel {
|
|
|
8879
9607
|
if (!params) {
|
|
8880
9608
|
return;
|
|
8881
9609
|
}
|
|
9610
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
8882
9611
|
|
|
8883
|
-
if (params.
|
|
8884
|
-
|
|
8885
|
-
|
|
8886
|
-
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
|
|
9612
|
+
if (params.ChangeClothesConfig) {
|
|
9613
|
+
let obj = new ChangeClothesConfig();
|
|
9614
|
+
obj.deserialize(params.ChangeClothesConfig)
|
|
9615
|
+
this.ChangeClothesConfig = obj;
|
|
9616
|
+
}
|
|
9617
|
+
|
|
9618
|
+
if (params.ProductImageConfig) {
|
|
9619
|
+
let obj = new ProductImageConfig();
|
|
9620
|
+
obj.deserialize(params.ProductImageConfig)
|
|
9621
|
+
this.ProductImageConfig = obj;
|
|
8890
9622
|
}
|
|
8891
|
-
this.SegmentSetFileUrl = 'SegmentSetFileUrl' in params ? params.SegmentSetFileUrl : null;
|
|
8892
|
-
this.SegmentSetFileUrlExpireTime = 'SegmentSetFileUrlExpireTime' in params ? params.SegmentSetFileUrlExpireTime : null;
|
|
8893
9623
|
|
|
8894
9624
|
}
|
|
8895
9625
|
}
|
|
@@ -9040,6 +9770,41 @@ class SetVodDomainCertificateRequest extends AbstractModel {
|
|
|
9040
9770
|
}
|
|
9041
9771
|
}
|
|
9042
9772
|
|
|
9773
|
+
/**
|
|
9774
|
+
* CreateAigcVideoTask response structure.
|
|
9775
|
+
* @class
|
|
9776
|
+
*/
|
|
9777
|
+
class CreateAigcVideoTaskResponse extends AbstractModel {
|
|
9778
|
+
constructor(){
|
|
9779
|
+
super();
|
|
9780
|
+
|
|
9781
|
+
/**
|
|
9782
|
+
* Task ID.
|
|
9783
|
+
* @type {string || null}
|
|
9784
|
+
*/
|
|
9785
|
+
this.TaskId = null;
|
|
9786
|
+
|
|
9787
|
+
/**
|
|
9788
|
+
* 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.
|
|
9789
|
+
* @type {string || null}
|
|
9790
|
+
*/
|
|
9791
|
+
this.RequestId = null;
|
|
9792
|
+
|
|
9793
|
+
}
|
|
9794
|
+
|
|
9795
|
+
/**
|
|
9796
|
+
* @private
|
|
9797
|
+
*/
|
|
9798
|
+
deserialize(params) {
|
|
9799
|
+
if (!params) {
|
|
9800
|
+
return;
|
|
9801
|
+
}
|
|
9802
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
9803
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9804
|
+
|
|
9805
|
+
}
|
|
9806
|
+
}
|
|
9807
|
+
|
|
9043
9808
|
/**
|
|
9044
9809
|
* CreateRebuildMediaTemplate response structure.
|
|
9045
9810
|
* @class
|
|
@@ -11916,6 +12681,62 @@ class EnhanceMediaQualityRequest extends AbstractModel {
|
|
|
11916
12681
|
}
|
|
11917
12682
|
}
|
|
11918
12683
|
|
|
12684
|
+
/**
|
|
12685
|
+
* AI product image parameter configuration.
|
|
12686
|
+
* @class
|
|
12687
|
+
*/
|
|
12688
|
+
class ProductImageConfig extends AbstractModel {
|
|
12689
|
+
constructor(){
|
|
12690
|
+
super();
|
|
12691
|
+
|
|
12692
|
+
/**
|
|
12693
|
+
* Prompt content for image generation background. if this field is default, inspiration is automatically generated internally.
|
|
12694
|
+
* @type {string || null}
|
|
12695
|
+
*/
|
|
12696
|
+
this.Prompt = null;
|
|
12697
|
+
|
|
12698
|
+
/**
|
|
12699
|
+
* Prevent the model from generating image prompts.
|
|
12700
|
+
* @type {string || null}
|
|
12701
|
+
*/
|
|
12702
|
+
this.NegativePrompt = null;
|
|
12703
|
+
|
|
12704
|
+
/**
|
|
12705
|
+
* Product description describes in detail, helping generate images that meet requirements.
|
|
12706
|
+
* @type {string || null}
|
|
12707
|
+
*/
|
|
12708
|
+
this.ProductDesc = null;
|
|
12709
|
+
|
|
12710
|
+
/**
|
|
12711
|
+
* Special requirements. if any, import them through this field.
|
|
12712
|
+
* @type {string || null}
|
|
12713
|
+
*/
|
|
12714
|
+
this.MoreRequirement = null;
|
|
12715
|
+
|
|
12716
|
+
/**
|
|
12717
|
+
* Specifies the number of images to generate. defaults to 1 if left empty. valid value: 10.
|
|
12718
|
+
* @type {number || null}
|
|
12719
|
+
*/
|
|
12720
|
+
this.OutputImageCount = null;
|
|
12721
|
+
|
|
12722
|
+
}
|
|
12723
|
+
|
|
12724
|
+
/**
|
|
12725
|
+
* @private
|
|
12726
|
+
*/
|
|
12727
|
+
deserialize(params) {
|
|
12728
|
+
if (!params) {
|
|
12729
|
+
return;
|
|
12730
|
+
}
|
|
12731
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
12732
|
+
this.NegativePrompt = 'NegativePrompt' in params ? params.NegativePrompt : null;
|
|
12733
|
+
this.ProductDesc = 'ProductDesc' in params ? params.ProductDesc : null;
|
|
12734
|
+
this.MoreRequirement = 'MoreRequirement' in params ? params.MoreRequirement : null;
|
|
12735
|
+
this.OutputImageCount = 'OutputImageCount' in params ? params.OutputImageCount : null;
|
|
12736
|
+
|
|
12737
|
+
}
|
|
12738
|
+
}
|
|
12739
|
+
|
|
11919
12740
|
/**
|
|
11920
12741
|
*
|
|
11921
12742
|
* @class
|
|
@@ -12543,6 +13364,92 @@ Note: This field may return `null`, indicating that no valid value can be found.
|
|
|
12543
13364
|
}
|
|
12544
13365
|
}
|
|
12545
13366
|
|
|
13367
|
+
/**
|
|
13368
|
+
* Output media file configuration for the AIGC image generation task.
|
|
13369
|
+
* @class
|
|
13370
|
+
*/
|
|
13371
|
+
class AigcImageOutputConfig extends AbstractModel {
|
|
13372
|
+
constructor(){
|
|
13373
|
+
super();
|
|
13374
|
+
|
|
13375
|
+
/**
|
|
13376
|
+
* Storage mode. valid values: <li>Permanent: Permanent storage. the generated image file will be stored in VOD (video on demand), and the FileId can be obtained in the event notification.</li> <li>Temporary: Temporary storage. the generated image file will not be stored in vod, and the Temporary access URL can be obtained in the event notification.</li>.
|
|
13377
|
+
Default value: Temporary.
|
|
13378
|
+
* @type {string || null}
|
|
13379
|
+
*/
|
|
13380
|
+
this.StorageMode = null;
|
|
13381
|
+
|
|
13382
|
+
/**
|
|
13383
|
+
* Output filename, up to 64 characters. default filename is assigned by the system.
|
|
13384
|
+
* @type {string || null}
|
|
13385
|
+
*/
|
|
13386
|
+
this.MediaName = null;
|
|
13387
|
+
|
|
13388
|
+
/**
|
|
13389
|
+
* Category ID, used to categorize and manage media. you can create a category and obtain the category ID via the [create classification](https://www.tencentcloud.com/document/product/266/7812?from_cn_redirect=1) api.
|
|
13390
|
+
<Li>Default value: 0, indicating other categories.</li>.
|
|
13391
|
+
* @type {number || null}
|
|
13392
|
+
*/
|
|
13393
|
+
this.ClassId = null;
|
|
13394
|
+
|
|
13395
|
+
/**
|
|
13396
|
+
* The expiry date of the output file. files will be deleted longer than this time. default is no expiration. format according to ISO 8601 standard. for details, see [ISO date format description](https://www.tencentcloud.comom/document/product/266/11732?from_cn_redirect=1#I).
|
|
13397
|
+
* @type {string || null}
|
|
13398
|
+
*/
|
|
13399
|
+
this.ExpireTime = null;
|
|
13400
|
+
|
|
13401
|
+
/**
|
|
13402
|
+
* Image generation resolution. available values are 720P, 1080P, 2K, 4K, 1024x1024, 2048x2048, 2304x1728, 2496x1664, 2560x1440, 3024x1296, 4096x4096, 4694x3520, 4992x3328, 5404x3040, 6198x2656.
|
|
13403
|
+
* @type {string || null}
|
|
13404
|
+
*/
|
|
13405
|
+
this.Resolution = null;
|
|
13406
|
+
|
|
13407
|
+
/**
|
|
13408
|
+
* Specify the aspect ratio of the generated image. <li>when ModelName is GEM, the available values are 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, and 21:9.</li> <li>when ModelName is Qwen, it is not currently supported.</li>.
|
|
13409
|
+
* @type {string || null}
|
|
13410
|
+
*/
|
|
13411
|
+
this.AspectRatio = null;
|
|
13412
|
+
|
|
13413
|
+
/**
|
|
13414
|
+
* Whether to allow figure or human face generation. valid values: <li>AllowAdult: allow adult generation.</li> <li>Disallowed: forbid including figures or human faces in images.</li>.
|
|
13415
|
+
* @type {string || null}
|
|
13416
|
+
*/
|
|
13417
|
+
this.PersonGeneration = null;
|
|
13418
|
+
|
|
13419
|
+
/**
|
|
13420
|
+
* Whether to enable compliance check for input content. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>.
|
|
13421
|
+
* @type {string || null}
|
|
13422
|
+
*/
|
|
13423
|
+
this.InputComplianceCheck = null;
|
|
13424
|
+
|
|
13425
|
+
/**
|
|
13426
|
+
* Whether to enable compliance check for output content. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>.
|
|
13427
|
+
* @type {string || null}
|
|
13428
|
+
*/
|
|
13429
|
+
this.OutputComplianceCheck = null;
|
|
13430
|
+
|
|
13431
|
+
}
|
|
13432
|
+
|
|
13433
|
+
/**
|
|
13434
|
+
* @private
|
|
13435
|
+
*/
|
|
13436
|
+
deserialize(params) {
|
|
13437
|
+
if (!params) {
|
|
13438
|
+
return;
|
|
13439
|
+
}
|
|
13440
|
+
this.StorageMode = 'StorageMode' in params ? params.StorageMode : null;
|
|
13441
|
+
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
13442
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
13443
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
13444
|
+
this.Resolution = 'Resolution' in params ? params.Resolution : null;
|
|
13445
|
+
this.AspectRatio = 'AspectRatio' in params ? params.AspectRatio : null;
|
|
13446
|
+
this.PersonGeneration = 'PersonGeneration' in params ? params.PersonGeneration : null;
|
|
13447
|
+
this.InputComplianceCheck = 'InputComplianceCheck' in params ? params.InputComplianceCheck : null;
|
|
13448
|
+
this.OutputComplianceCheck = 'OutputComplianceCheck' in params ? params.OutputComplianceCheck : null;
|
|
13449
|
+
|
|
13450
|
+
}
|
|
13451
|
+
}
|
|
13452
|
+
|
|
12546
13453
|
/**
|
|
12547
13454
|
* Just In Time transcoding watermark template update configuration.
|
|
12548
13455
|
* @class
|
|
@@ -12845,6 +13752,41 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
12845
13752
|
}
|
|
12846
13753
|
}
|
|
12847
13754
|
|
|
13755
|
+
/**
|
|
13756
|
+
* CreateAigcImageTask response structure.
|
|
13757
|
+
* @class
|
|
13758
|
+
*/
|
|
13759
|
+
class CreateAigcImageTaskResponse extends AbstractModel {
|
|
13760
|
+
constructor(){
|
|
13761
|
+
super();
|
|
13762
|
+
|
|
13763
|
+
/**
|
|
13764
|
+
* Task ID.
|
|
13765
|
+
* @type {string || null}
|
|
13766
|
+
*/
|
|
13767
|
+
this.TaskId = null;
|
|
13768
|
+
|
|
13769
|
+
/**
|
|
13770
|
+
* 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.
|
|
13771
|
+
* @type {string || null}
|
|
13772
|
+
*/
|
|
13773
|
+
this.RequestId = null;
|
|
13774
|
+
|
|
13775
|
+
}
|
|
13776
|
+
|
|
13777
|
+
/**
|
|
13778
|
+
* @private
|
|
13779
|
+
*/
|
|
13780
|
+
deserialize(params) {
|
|
13781
|
+
if (!params) {
|
|
13782
|
+
return;
|
|
13783
|
+
}
|
|
13784
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
13785
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
13786
|
+
|
|
13787
|
+
}
|
|
13788
|
+
}
|
|
13789
|
+
|
|
12848
13790
|
/**
|
|
12849
13791
|
* Control parameters for video jitter and ghost detection.
|
|
12850
13792
|
* @class
|
|
@@ -13120,6 +14062,41 @@ class ModifyAnimatedGraphicsTemplateResponse extends AbstractModel {
|
|
|
13120
14062
|
}
|
|
13121
14063
|
}
|
|
13122
14064
|
|
|
14065
|
+
/**
|
|
14066
|
+
* CreateSceneAigcImageTask response structure.
|
|
14067
|
+
* @class
|
|
14068
|
+
*/
|
|
14069
|
+
class CreateSceneAigcImageTaskResponse extends AbstractModel {
|
|
14070
|
+
constructor(){
|
|
14071
|
+
super();
|
|
14072
|
+
|
|
14073
|
+
/**
|
|
14074
|
+
* Task ID.
|
|
14075
|
+
* @type {string || null}
|
|
14076
|
+
*/
|
|
14077
|
+
this.TaskId = null;
|
|
14078
|
+
|
|
14079
|
+
/**
|
|
14080
|
+
* 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.
|
|
14081
|
+
* @type {string || null}
|
|
14082
|
+
*/
|
|
14083
|
+
this.RequestId = null;
|
|
14084
|
+
|
|
14085
|
+
}
|
|
14086
|
+
|
|
14087
|
+
/**
|
|
14088
|
+
* @private
|
|
14089
|
+
*/
|
|
14090
|
+
deserialize(params) {
|
|
14091
|
+
if (!params) {
|
|
14092
|
+
return;
|
|
14093
|
+
}
|
|
14094
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
14095
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
14096
|
+
|
|
14097
|
+
}
|
|
14098
|
+
}
|
|
14099
|
+
|
|
13123
14100
|
/**
|
|
13124
14101
|
* Voice translation segment.
|
|
13125
14102
|
* @class
|
|
@@ -13732,46 +14709,66 @@ class RequestHeader extends AbstractModel {
|
|
|
13732
14709
|
}
|
|
13733
14710
|
|
|
13734
14711
|
/**
|
|
13735
|
-
*
|
|
14712
|
+
* AIGC image task information.
|
|
13736
14713
|
* @class
|
|
13737
14714
|
*/
|
|
13738
|
-
class
|
|
14715
|
+
class AigcImageTask extends AbstractModel {
|
|
13739
14716
|
constructor(){
|
|
13740
14717
|
super();
|
|
13741
14718
|
|
|
13742
14719
|
/**
|
|
13743
|
-
*
|
|
13744
|
-
<font color=red>Note:</font> Tasks before 2024-11-01T10:00:00Z return this field as invalid.
|
|
14720
|
+
* The task ID.
|
|
13745
14721
|
* @type {string || null}
|
|
13746
14722
|
*/
|
|
13747
|
-
this.
|
|
14723
|
+
this.TaskId = null;
|
|
13748
14724
|
|
|
13749
14725
|
/**
|
|
13750
|
-
*
|
|
13751
|
-
<font color=red>Note:</font> Tasks before 2024-11-01T10:00:00Z return this field as invalid.
|
|
14726
|
+
* Task status, value: <li>PROCESSING: processing;</li><li>FINISH: completed.</li>
|
|
13752
14727
|
* @type {string || null}
|
|
13753
14728
|
*/
|
|
13754
|
-
this.
|
|
14729
|
+
this.Status = null;
|
|
13755
14730
|
|
|
13756
14731
|
/**
|
|
13757
|
-
*
|
|
14732
|
+
* Error code. A non-zero error code is returned when the source is abnormal. If 0 is returned, use the ErrCode of each specific task.
|
|
14733
|
+
* @type {number || null}
|
|
14734
|
+
*/
|
|
14735
|
+
this.ErrCode = null;
|
|
14736
|
+
|
|
14737
|
+
/**
|
|
14738
|
+
* Error message. If the source is abnormal, the corresponding exception message is returned. Otherwise, use the message of each specific task.
|
|
13758
14739
|
* @type {string || null}
|
|
13759
14740
|
*/
|
|
13760
|
-
this.
|
|
14741
|
+
this.Message = null;
|
|
13761
14742
|
|
|
13762
14743
|
/**
|
|
13763
|
-
* The
|
|
13764
|
-
|
|
13765
|
-
|
|
14744
|
+
* The execution progress of a single adaptive bitrate stream. Value range: 0-100.
|
|
14745
|
+
* @type {number || null}
|
|
14746
|
+
*/
|
|
14747
|
+
this.Progress = null;
|
|
14748
|
+
|
|
14749
|
+
/**
|
|
14750
|
+
* Input of AIGC image task.
|
|
14751
|
+
* @type {AigcImageTaskInput || null}
|
|
14752
|
+
*/
|
|
14753
|
+
this.Input = null;
|
|
14754
|
+
|
|
14755
|
+
/**
|
|
14756
|
+
* Output of AIGC image task.
|
|
14757
|
+
* @type {AigcImageTaskOutput || null}
|
|
14758
|
+
*/
|
|
14759
|
+
this.Output = null;
|
|
14760
|
+
|
|
14761
|
+
/**
|
|
14762
|
+
* ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is not carried or is left empty, no deduplication will be performed.
|
|
13766
14763
|
* @type {string || null}
|
|
13767
14764
|
*/
|
|
13768
|
-
this.
|
|
14765
|
+
this.SessionId = null;
|
|
13769
14766
|
|
|
13770
14767
|
/**
|
|
13771
|
-
* The
|
|
14768
|
+
* The source context which is used to pass through the user request information. The task flow status change callback will return the value of this parameter. It can contain up to 1000 characters.
|
|
13772
14769
|
* @type {string || null}
|
|
13773
14770
|
*/
|
|
13774
|
-
this.
|
|
14771
|
+
this.SessionContext = null;
|
|
13775
14772
|
|
|
13776
14773
|
}
|
|
13777
14774
|
|
|
@@ -13782,11 +14779,25 @@ class AiRecognitionTaskAsrFullTextResultOutputSubtitleItem extends AbstractMode
|
|
|
13782
14779
|
if (!params) {
|
|
13783
14780
|
return;
|
|
13784
14781
|
}
|
|
13785
|
-
this.
|
|
13786
|
-
this.
|
|
13787
|
-
this.
|
|
13788
|
-
this.
|
|
13789
|
-
this.
|
|
14782
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
14783
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
14784
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
14785
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
14786
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
14787
|
+
|
|
14788
|
+
if (params.Input) {
|
|
14789
|
+
let obj = new AigcImageTaskInput();
|
|
14790
|
+
obj.deserialize(params.Input)
|
|
14791
|
+
this.Input = obj;
|
|
14792
|
+
}
|
|
14793
|
+
|
|
14794
|
+
if (params.Output) {
|
|
14795
|
+
let obj = new AigcImageTaskOutput();
|
|
14796
|
+
obj.deserialize(params.Output)
|
|
14797
|
+
this.Output = obj;
|
|
14798
|
+
}
|
|
14799
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
14800
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
13790
14801
|
|
|
13791
14802
|
}
|
|
13792
14803
|
}
|
|
@@ -13852,6 +14863,90 @@ class SimpleHlsClipResponse extends AbstractModel {
|
|
|
13852
14863
|
}
|
|
13853
14864
|
}
|
|
13854
14865
|
|
|
14866
|
+
/**
|
|
14867
|
+
* AIGC video task output file information.
|
|
14868
|
+
* @class
|
|
14869
|
+
*/
|
|
14870
|
+
class AigcVideoTaskOutputFileInfo extends AbstractModel {
|
|
14871
|
+
constructor(){
|
|
14872
|
+
super();
|
|
14873
|
+
|
|
14874
|
+
/**
|
|
14875
|
+
* Storage mode. valid values: <li>Permanent: Permanent storage. the generated video file will be stored in vod.</li> <li>Temporary: Temporary storage. the generated video file will not be stored in vod.</li>
|
|
14876
|
+
Default value: Temporary.
|
|
14877
|
+
* @type {string || null}
|
|
14878
|
+
*/
|
|
14879
|
+
this.StorageMode = null;
|
|
14880
|
+
|
|
14881
|
+
/**
|
|
14882
|
+
* Output media filename, longest 64 characters. default filename is specified by the system.
|
|
14883
|
+
* @type {string || null}
|
|
14884
|
+
*/
|
|
14885
|
+
this.MediaName = null;
|
|
14886
|
+
|
|
14887
|
+
/**
|
|
14888
|
+
* 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.
|
|
14889
|
+
<Li>Default value: 0, indicate other categories.</li>.
|
|
14890
|
+
* @type {number || null}
|
|
14891
|
+
*/
|
|
14892
|
+
this.ClassId = null;
|
|
14893
|
+
|
|
14894
|
+
/**
|
|
14895
|
+
* The expiry date of the output file. files will be deleted longer than this time. default is never expire. format according to ISO 8601 standard. see [ISO date format description](https://www.tencentcloud.comom/document/product/266/11732?from_cn_redirect=1#I).
|
|
14896
|
+
* @type {string || null}
|
|
14897
|
+
*/
|
|
14898
|
+
this.ExpireTime = null;
|
|
14899
|
+
|
|
14900
|
+
/**
|
|
14901
|
+
* File Type.
|
|
14902
|
+
* @type {string || null}
|
|
14903
|
+
*/
|
|
14904
|
+
this.FileType = null;
|
|
14905
|
+
|
|
14906
|
+
/**
|
|
14907
|
+
* File Url.
|
|
14908
|
+
* @type {string || null}
|
|
14909
|
+
*/
|
|
14910
|
+
this.FileUrl = null;
|
|
14911
|
+
|
|
14912
|
+
/**
|
|
14913
|
+
* File ID.
|
|
14914
|
+
* @type {string || null}
|
|
14915
|
+
*/
|
|
14916
|
+
this.FileId = null;
|
|
14917
|
+
|
|
14918
|
+
/**
|
|
14919
|
+
* Meta Data.
|
|
14920
|
+
* @type {MediaMetaData || null}
|
|
14921
|
+
*/
|
|
14922
|
+
this.MetaData = null;
|
|
14923
|
+
|
|
14924
|
+
}
|
|
14925
|
+
|
|
14926
|
+
/**
|
|
14927
|
+
* @private
|
|
14928
|
+
*/
|
|
14929
|
+
deserialize(params) {
|
|
14930
|
+
if (!params) {
|
|
14931
|
+
return;
|
|
14932
|
+
}
|
|
14933
|
+
this.StorageMode = 'StorageMode' in params ? params.StorageMode : null;
|
|
14934
|
+
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
14935
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
14936
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
14937
|
+
this.FileType = 'FileType' in params ? params.FileType : null;
|
|
14938
|
+
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
14939
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
14940
|
+
|
|
14941
|
+
if (params.MetaData) {
|
|
14942
|
+
let obj = new MediaMetaData();
|
|
14943
|
+
obj.deserialize(params.MetaData)
|
|
14944
|
+
this.MetaData = obj;
|
|
14945
|
+
}
|
|
14946
|
+
|
|
14947
|
+
}
|
|
14948
|
+
}
|
|
14949
|
+
|
|
13855
14950
|
/**
|
|
13856
14951
|
* DeleteAIAnalysisTemplate request structure.
|
|
13857
14952
|
* @class
|
|
@@ -15897,53 +16992,42 @@ class DescribeAIAnalysisTemplatesRequest extends AbstractModel {
|
|
|
15897
16992
|
}
|
|
15898
16993
|
|
|
15899
16994
|
/**
|
|
15900
|
-
*
|
|
16995
|
+
* AIGC image generation task input file information.
|
|
15901
16996
|
* @class
|
|
15902
16997
|
*/
|
|
15903
|
-
class
|
|
16998
|
+
class AigcImageTaskInputFileInfo extends AbstractModel {
|
|
15904
16999
|
constructor(){
|
|
15905
17000
|
super();
|
|
15906
17001
|
|
|
15907
17002
|
/**
|
|
15908
|
-
*
|
|
17003
|
+
* Input video File type. valid values: <li>File: on-demand media File;</li> <li>Url: accessible Url;</li>.
|
|
15909
17004
|
* @type {string || null}
|
|
15910
17005
|
*/
|
|
15911
|
-
this.
|
|
15912
|
-
|
|
15913
|
-
/**
|
|
15914
|
-
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
15915
|
-
* @type {number || null}
|
|
15916
|
-
*/
|
|
15917
|
-
this.SubAppId = null;
|
|
17006
|
+
this.Type = null;
|
|
15918
17007
|
|
|
15919
17008
|
/**
|
|
15920
|
-
*
|
|
17009
|
+
* 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.
|
|
17010
|
+
Description:.
|
|
17011
|
+
1. recommended for use: image less than 7 mb.
|
|
17012
|
+
2. Valid values of image format: jpeg, jpg, png, and webp.
|
|
15921
17013
|
* @type {string || null}
|
|
15922
17014
|
*/
|
|
15923
|
-
this.
|
|
15924
|
-
|
|
15925
|
-
/**
|
|
15926
|
-
* Title candidate list, fill in the FileId of the video. When transcoding, the title closest to the aspect ratio of the feature film will be automatically selected (when the aspect ratio is the same, the front candidate will take precedence). Supports up to 5 candidate titles.
|
|
15927
|
-
* @type {Array.<string> || null}
|
|
15928
|
-
*/
|
|
15929
|
-
this.HeadCandidateSet = null;
|
|
17015
|
+
this.FileId = null;
|
|
15930
17016
|
|
|
15931
17017
|
/**
|
|
15932
|
-
*
|
|
15933
|
-
|
|
17018
|
+
* Accessible file URL. this parameter is valid when the Type value is URL.
|
|
17019
|
+
Description:.
|
|
17020
|
+
1. recommended for use: image less than 7 mb.
|
|
17021
|
+
2. Valid values of image format: jpeg, jpg, png, and webp.
|
|
17022
|
+
* @type {string || null}
|
|
15934
17023
|
*/
|
|
15935
|
-
this.
|
|
17024
|
+
this.Url = null;
|
|
15936
17025
|
|
|
15937
17026
|
/**
|
|
15938
|
-
*
|
|
15939
|
-
<li> stretch: stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be "squashed" or "stretched";</li>
|
|
15940
|
-
<li> gauss: Gaussian blur, keep the video aspect ratio unchanged, use Gaussian blur for the remaining edges; </li>
|
|
15941
|
-
<li> white: leave blank, keep the video aspect ratio unchanged, use the remaining edges for the edge Use white filling; </li>
|
|
15942
|
-
<li> black: Leave black, keep the video aspect ratio unchanged, and fill the remaining edges with black. </li>
|
|
15943
|
-
Default value: stretch.
|
|
17027
|
+
* Description of the input image, used to help the model understand the image. valid for GEM 2.5 and GEM 3.0 only.
|
|
15944
17028
|
* @type {string || null}
|
|
15945
17029
|
*/
|
|
15946
|
-
this.
|
|
17030
|
+
this.Text = null;
|
|
15947
17031
|
|
|
15948
17032
|
}
|
|
15949
17033
|
|
|
@@ -15954,12 +17038,10 @@ Default value: stretch.
|
|
|
15954
17038
|
if (!params) {
|
|
15955
17039
|
return;
|
|
15956
17040
|
}
|
|
15957
|
-
this.
|
|
15958
|
-
this.
|
|
15959
|
-
this.
|
|
15960
|
-
this.
|
|
15961
|
-
this.TailCandidateSet = 'TailCandidateSet' in params ? params.TailCandidateSet : null;
|
|
15962
|
-
this.FillType = 'FillType' in params ? params.FillType : null;
|
|
17041
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
17042
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
17043
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
17044
|
+
this.Text = 'Text' in params ? params.Text : null;
|
|
15963
17045
|
|
|
15964
17046
|
}
|
|
15965
17047
|
}
|
|
@@ -16221,24 +17303,58 @@ class RefererRule extends AbstractModel {
|
|
|
16221
17303
|
}
|
|
16222
17304
|
|
|
16223
17305
|
/**
|
|
16224
|
-
*
|
|
17306
|
+
* Image file info for AIGC video task input.
|
|
16225
17307
|
* @class
|
|
16226
17308
|
*/
|
|
16227
|
-
class
|
|
17309
|
+
class AigcVideoTaskInputFileInfo extends AbstractModel {
|
|
16228
17310
|
constructor(){
|
|
16229
17311
|
super();
|
|
16230
17312
|
|
|
16231
17313
|
/**
|
|
16232
|
-
*
|
|
17314
|
+
* Input video File type. valid values: <li>File: on-demand media File;</li> <li>Url: accessible Url;</li>
|
|
16233
17315
|
* @type {string || null}
|
|
16234
17316
|
*/
|
|
16235
|
-
this.
|
|
17317
|
+
this.Type = null;
|
|
16236
17318
|
|
|
16237
17319
|
/**
|
|
16238
|
-
*
|
|
16239
|
-
|
|
17320
|
+
* The media File ID, which is the globally unique identifier (guid) of the File in vod, is assigned by the vod backend after successful upload. you can retrieve 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. description:.
|
|
17321
|
+
1. recommended image size: less than 10 mb.
|
|
17322
|
+
2. image format value is jpeg, jpg, png.
|
|
17323
|
+
* @type {string || null}
|
|
16240
17324
|
*/
|
|
16241
|
-
this.
|
|
17325
|
+
this.FileId = null;
|
|
17326
|
+
|
|
17327
|
+
/**
|
|
17328
|
+
* Accessible file URL. this parameter is valid when Type value is URL.
|
|
17329
|
+
Note:.
|
|
17330
|
+
1. recommended image size: less than 10 mb.
|
|
17331
|
+
2. image format value is jpeg, jpg, png.
|
|
17332
|
+
* @type {string || null}
|
|
17333
|
+
*/
|
|
17334
|
+
this.Url = null;
|
|
17335
|
+
|
|
17336
|
+
/**
|
|
17337
|
+
* Reference type. Used for the GV model.
|
|
17338
|
+
Note:
|
|
17339
|
+
When using the GV model, can be used as a reference method, selectable asset (material), style.
|
|
17340
|
+
* @type {string || null}
|
|
17341
|
+
*/
|
|
17342
|
+
this.ReferenceType = null;
|
|
17343
|
+
|
|
17344
|
+
/**
|
|
17345
|
+
* Object id.
|
|
17346
|
+
Applicable model: Vidu-q2.
|
|
17347
|
+
When an image identifier is required, each image must have a subject id. the subject id can be used via @subject id in subsequent generation.
|
|
17348
|
+
* @type {string || null}
|
|
17349
|
+
*/
|
|
17350
|
+
this.ObjectId = null;
|
|
17351
|
+
|
|
17352
|
+
/**
|
|
17353
|
+
* Suitable for the Vidu-q2 model.
|
|
17354
|
+
When all images carry object ids, you can set the timbre id for the object. timbre list: https://shengshu.feishu.cn/sheets/EgFvs6DShhiEBStmjzccr5gonOg.
|
|
17355
|
+
* @type {string || null}
|
|
17356
|
+
*/
|
|
17357
|
+
this.VoiceId = null;
|
|
16242
17358
|
|
|
16243
17359
|
}
|
|
16244
17360
|
|
|
@@ -16249,13 +17365,12 @@ class CacheConfigFollowOrigin extends AbstractModel {
|
|
|
16249
17365
|
if (!params) {
|
|
16250
17366
|
return;
|
|
16251
17367
|
}
|
|
16252
|
-
this.
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
|
|
16257
|
-
|
|
16258
|
-
}
|
|
17368
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
17369
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
17370
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
17371
|
+
this.ReferenceType = 'ReferenceType' in params ? params.ReferenceType : null;
|
|
17372
|
+
this.ObjectId = 'ObjectId' in params ? params.ObjectId : null;
|
|
17373
|
+
this.VoiceId = 'VoiceId' in params ? params.VoiceId : null;
|
|
16259
17374
|
|
|
16260
17375
|
}
|
|
16261
17376
|
}
|
|
@@ -16520,6 +17635,122 @@ This parameter is <font color=red>\*no longer recommended</font>. Please use [Re
|
|
|
16520
17635
|
}
|
|
16521
17636
|
}
|
|
16522
17637
|
|
|
17638
|
+
/**
|
|
17639
|
+
* The information of a bitrate reduction task.
|
|
17640
|
+
* @class
|
|
17641
|
+
*/
|
|
17642
|
+
class ReduceMediaBitrateTask extends AbstractModel {
|
|
17643
|
+
constructor(){
|
|
17644
|
+
super();
|
|
17645
|
+
|
|
17646
|
+
/**
|
|
17647
|
+
* The task ID.
|
|
17648
|
+
* @type {string || null}
|
|
17649
|
+
*/
|
|
17650
|
+
this.TaskId = null;
|
|
17651
|
+
|
|
17652
|
+
/**
|
|
17653
|
+
* The task flow status. Valid values:
|
|
17654
|
+
<li>PROCESSING</li>
|
|
17655
|
+
<li>FINISH</li>
|
|
17656
|
+
* @type {string || null}
|
|
17657
|
+
*/
|
|
17658
|
+
this.Status = null;
|
|
17659
|
+
|
|
17660
|
+
/**
|
|
17661
|
+
* The ID of the media file.
|
|
17662
|
+
* @type {string || null}
|
|
17663
|
+
*/
|
|
17664
|
+
this.FileId = null;
|
|
17665
|
+
|
|
17666
|
+
/**
|
|
17667
|
+
* The name of the media file.
|
|
17668
|
+
* @type {string || null}
|
|
17669
|
+
*/
|
|
17670
|
+
this.FileName = null;
|
|
17671
|
+
|
|
17672
|
+
/**
|
|
17673
|
+
* The address of the media file.
|
|
17674
|
+
* @type {string || null}
|
|
17675
|
+
*/
|
|
17676
|
+
this.FileUrl = null;
|
|
17677
|
+
|
|
17678
|
+
/**
|
|
17679
|
+
* The metadata of the source video.
|
|
17680
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
17681
|
+
* @type {MediaMetaData || null}
|
|
17682
|
+
*/
|
|
17683
|
+
this.MetaData = null;
|
|
17684
|
+
|
|
17685
|
+
/**
|
|
17686
|
+
* The execution status and result of the bitrate reduction task.
|
|
17687
|
+
* @type {Array.<ReduceMediaBitrateMediaProcessTaskResult> || null}
|
|
17688
|
+
*/
|
|
17689
|
+
this.MediaProcessResultSet = null;
|
|
17690
|
+
|
|
17691
|
+
/**
|
|
17692
|
+
* The task priority, which can be a value from -10 to 10.
|
|
17693
|
+
* @type {number || null}
|
|
17694
|
+
*/
|
|
17695
|
+
this.TasksPriority = null;
|
|
17696
|
+
|
|
17697
|
+
/**
|
|
17698
|
+
* The notification mode for the change of task status. Valid values:
|
|
17699
|
+
<li>Finish: Send a notification after the task is completed.</li>
|
|
17700
|
+
<li>None: Do not send status change notifications for this task.</li>
|
|
17701
|
+
* @type {string || null}
|
|
17702
|
+
*/
|
|
17703
|
+
this.TasksNotifyMode = null;
|
|
17704
|
+
|
|
17705
|
+
/**
|
|
17706
|
+
* The source context, which is used to pass through user request information. The `ProcedureStateChanged` callback will return the value of this parameter. It can contain up to 1,000 characters.
|
|
17707
|
+
* @type {string || null}
|
|
17708
|
+
*/
|
|
17709
|
+
this.SessionContext = null;
|
|
17710
|
+
|
|
17711
|
+
/**
|
|
17712
|
+
* The session ID, which is used for de-duplication. If there was a request with the same session ID in the last seven days, an error will be returned for the current request. The session ID can contain up to 50 characters. If you do not pass this parameter or pass in an empty string, duplicate sessions will not be identified.
|
|
17713
|
+
* @type {string || null}
|
|
17714
|
+
*/
|
|
17715
|
+
this.SessionId = null;
|
|
17716
|
+
|
|
17717
|
+
}
|
|
17718
|
+
|
|
17719
|
+
/**
|
|
17720
|
+
* @private
|
|
17721
|
+
*/
|
|
17722
|
+
deserialize(params) {
|
|
17723
|
+
if (!params) {
|
|
17724
|
+
return;
|
|
17725
|
+
}
|
|
17726
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
17727
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
17728
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
17729
|
+
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
17730
|
+
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
17731
|
+
|
|
17732
|
+
if (params.MetaData) {
|
|
17733
|
+
let obj = new MediaMetaData();
|
|
17734
|
+
obj.deserialize(params.MetaData)
|
|
17735
|
+
this.MetaData = obj;
|
|
17736
|
+
}
|
|
17737
|
+
|
|
17738
|
+
if (params.MediaProcessResultSet) {
|
|
17739
|
+
this.MediaProcessResultSet = new Array();
|
|
17740
|
+
for (let z in params.MediaProcessResultSet) {
|
|
17741
|
+
let obj = new ReduceMediaBitrateMediaProcessTaskResult();
|
|
17742
|
+
obj.deserialize(params.MediaProcessResultSet[z]);
|
|
17743
|
+
this.MediaProcessResultSet.push(obj);
|
|
17744
|
+
}
|
|
17745
|
+
}
|
|
17746
|
+
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
17747
|
+
this.TasksNotifyMode = 'TasksNotifyMode' in params ? params.TasksNotifyMode : null;
|
|
17748
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
17749
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
17750
|
+
|
|
17751
|
+
}
|
|
17752
|
+
}
|
|
17753
|
+
|
|
16523
17754
|
/**
|
|
16524
17755
|
* DescribeMediaPlayStatDetails response structure.
|
|
16525
17756
|
* @class
|
|
@@ -16740,32 +17971,66 @@ Default value: hvc1.
|
|
|
16740
17971
|
}
|
|
16741
17972
|
|
|
16742
17973
|
/**
|
|
16743
|
-
*
|
|
17974
|
+
* AIGC video generation task.
|
|
16744
17975
|
* @class
|
|
16745
17976
|
*/
|
|
16746
|
-
class
|
|
17977
|
+
class AigcVideoTask extends AbstractModel {
|
|
16747
17978
|
constructor(){
|
|
16748
17979
|
super();
|
|
16749
17980
|
|
|
16750
17981
|
/**
|
|
16751
|
-
*
|
|
16752
|
-
<li>ON</li>
|
|
16753
|
-
<li>OFF</li>
|
|
17982
|
+
* The task ID.
|
|
16754
17983
|
* @type {string || null}
|
|
16755
17984
|
*/
|
|
16756
|
-
this.
|
|
17985
|
+
this.TaskId = null;
|
|
16757
17986
|
|
|
16758
17987
|
/**
|
|
16759
|
-
*
|
|
17988
|
+
* Task status, value: <li>PROCESSING: processing;</li><li>FINISH: completed.</li>
|
|
17989
|
+
* @type {string || null}
|
|
17990
|
+
*/
|
|
17991
|
+
this.Status = null;
|
|
17992
|
+
|
|
17993
|
+
/**
|
|
17994
|
+
* Error code. A non-zero error code is returned when the source is abnormal. If 0 is returned, use the ErrCode of each specific task.
|
|
16760
17995
|
* @type {number || null}
|
|
16761
17996
|
*/
|
|
16762
|
-
this.
|
|
17997
|
+
this.ErrCode = null;
|
|
16763
17998
|
|
|
16764
17999
|
/**
|
|
16765
|
-
*
|
|
18000
|
+
* Error message. If the source is abnormal, the corresponding exception message is returned. Otherwise, use the message of each specific task.
|
|
18001
|
+
* @type {string || null}
|
|
18002
|
+
*/
|
|
18003
|
+
this.Message = null;
|
|
18004
|
+
|
|
18005
|
+
/**
|
|
18006
|
+
* The execution progress of a single adaptive bitrate stream. Value range: 0-100.
|
|
16766
18007
|
* @type {number || null}
|
|
16767
18008
|
*/
|
|
16768
|
-
this.
|
|
18009
|
+
this.Progress = null;
|
|
18010
|
+
|
|
18011
|
+
/**
|
|
18012
|
+
* Input of AIGC video task.
|
|
18013
|
+
* @type {AigcVideoTaskInput || null}
|
|
18014
|
+
*/
|
|
18015
|
+
this.Input = null;
|
|
18016
|
+
|
|
18017
|
+
/**
|
|
18018
|
+
* Output of AIGC video task.
|
|
18019
|
+
* @type {AigcVideoTaskOutput || null}
|
|
18020
|
+
*/
|
|
18021
|
+
this.Output = null;
|
|
18022
|
+
|
|
18023
|
+
/**
|
|
18024
|
+
* ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is not carried or is left empty, no deduplication will be performed.
|
|
18025
|
+
* @type {string || null}
|
|
18026
|
+
*/
|
|
18027
|
+
this.SessionId = null;
|
|
18028
|
+
|
|
18029
|
+
/**
|
|
18030
|
+
* The source context which is used to pass through the user request information. The task flow status change callback will return the value of this parameter. It can contain up to 1000 characters.
|
|
18031
|
+
* @type {string || null}
|
|
18032
|
+
*/
|
|
18033
|
+
this.SessionContext = null;
|
|
16769
18034
|
|
|
16770
18035
|
}
|
|
16771
18036
|
|
|
@@ -16776,9 +18041,25 @@ class PoliticalOcrReviewTemplateInfo extends AbstractModel {
|
|
|
16776
18041
|
if (!params) {
|
|
16777
18042
|
return;
|
|
16778
18043
|
}
|
|
16779
|
-
this.
|
|
16780
|
-
this.
|
|
16781
|
-
this.
|
|
18044
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
18045
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
18046
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
18047
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
18048
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
18049
|
+
|
|
18050
|
+
if (params.Input) {
|
|
18051
|
+
let obj = new AigcVideoTaskInput();
|
|
18052
|
+
obj.deserialize(params.Input)
|
|
18053
|
+
this.Input = obj;
|
|
18054
|
+
}
|
|
18055
|
+
|
|
18056
|
+
if (params.Output) {
|
|
18057
|
+
let obj = new AigcVideoTaskOutput();
|
|
18058
|
+
obj.deserialize(params.Output)
|
|
18059
|
+
this.Output = obj;
|
|
18060
|
+
}
|
|
18061
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
18062
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
16782
18063
|
|
|
16783
18064
|
}
|
|
16784
18065
|
}
|
|
@@ -19540,7 +20821,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
19540
20821
|
}
|
|
19541
20822
|
|
|
19542
20823
|
/**
|
|
19543
|
-
*
|
|
20824
|
+
* MPS specific subtask query result type.
|
|
19544
20825
|
* @class
|
|
19545
20826
|
*/
|
|
19546
20827
|
class MPSSubTaskResult extends AbstractModel {
|
|
@@ -19548,37 +20829,37 @@ class MPSSubTaskResult extends AbstractModel {
|
|
|
19548
20829
|
super();
|
|
19549
20830
|
|
|
19550
20831
|
/**
|
|
19551
|
-
*
|
|
20832
|
+
* Task type. Specific subtask type in the MPS WorkflowTask structure. Value: <li>AiAnalysis.DeLogo: Intelligent erasure task.</li>
|
|
19552
20833
|
* @type {string || null}
|
|
19553
20834
|
*/
|
|
19554
20835
|
this.TaskType = null;
|
|
19555
20836
|
|
|
19556
20837
|
/**
|
|
19557
|
-
*
|
|
20838
|
+
* Task status. There are three types: PROCESSING, SUCCESS, and FAIL.
|
|
19558
20839
|
* @type {string || null}
|
|
19559
20840
|
*/
|
|
19560
20841
|
this.Status = null;
|
|
19561
20842
|
|
|
19562
20843
|
/**
|
|
19563
|
-
*
|
|
20844
|
+
* Error code. Returns 0 for success, other values for failure.
|
|
19564
20845
|
* @type {string || null}
|
|
19565
20846
|
*/
|
|
19566
20847
|
this.ErrCode = null;
|
|
19567
20848
|
|
|
19568
20849
|
/**
|
|
19569
|
-
*
|
|
20850
|
+
* Error message.
|
|
19570
20851
|
* @type {string || null}
|
|
19571
20852
|
*/
|
|
19572
20853
|
this.Message = null;
|
|
19573
20854
|
|
|
19574
20855
|
/**
|
|
19575
|
-
*
|
|
20856
|
+
* MPS media processing task input. This field corresponds to the Input result in the MPS task response and is returned in JSON format.
|
|
19576
20857
|
* @type {string || null}
|
|
19577
20858
|
*/
|
|
19578
20859
|
this.Input = null;
|
|
19579
20860
|
|
|
19580
20861
|
/**
|
|
19581
|
-
*
|
|
20862
|
+
* MPS media processing task output.
|
|
19582
20863
|
* @type {MPSTaskOutput || null}
|
|
19583
20864
|
*/
|
|
19584
20865
|
this.Output = null;
|
|
@@ -19994,6 +21275,162 @@ class CreateJustInTimeTranscodeTemplateRequest extends AbstractModel {
|
|
|
19994
21275
|
}
|
|
19995
21276
|
}
|
|
19996
21277
|
|
|
21278
|
+
/**
|
|
21279
|
+
* CreateAigcVideoTask request structure.
|
|
21280
|
+
* @class
|
|
21281
|
+
*/
|
|
21282
|
+
class CreateAigcVideoTaskRequest extends AbstractModel {
|
|
21283
|
+
constructor(){
|
|
21284
|
+
super();
|
|
21285
|
+
|
|
21286
|
+
/**
|
|
21287
|
+
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
21288
|
+
* @type {number || null}
|
|
21289
|
+
*/
|
|
21290
|
+
this.SubAppId = null;
|
|
21291
|
+
|
|
21292
|
+
/**
|
|
21293
|
+
* Model name. valid values: <li>Hailuo: conch;</li><li>Kling: Kling;</li><li>Jimeng: Jimeng;</li><li>Vidu;</li><li>Hunyuan: Hunyuan;</li><li>Mingmou: bright eyes;</li>
|
|
21294
|
+
* @type {string || null}
|
|
21295
|
+
*/
|
|
21296
|
+
this.ModelName = null;
|
|
21297
|
+
|
|
21298
|
+
/**
|
|
21299
|
+
* Model version. parameter value: <li>when ModelName is Hailuo, optional values are 02, 2.3, 2.3-fast;</li><li>when ModelName is Kling, optional values are 1.6, 2.0, 2.1, 2.5, O1;</li><li>when ModelName is Jimeng, optional values are 3.0pro;</li><li>when ModelName is Vidu, optional values are q2, q2-pro, q2-turbo;</li><li>when ModelName is GV, optional values are 3.1, 3.1-fast;</li><li>when ModelName is OS, optional values are 2.0;</li><li>when ModelName is Hunyuan, optional values are 1.5;</li><li>when ModelName is Mingmou, optional values are 1.0;</li>
|
|
21300
|
+
* @type {string || null}
|
|
21301
|
+
*/
|
|
21302
|
+
this.ModelVersion = null;
|
|
21303
|
+
|
|
21304
|
+
/**
|
|
21305
|
+
* List of up to three material resources for description of resource images to be used by the model in video generation.
|
|
21306
|
+
|
|
21307
|
+
Video generation with first and last frame: use the first table in FileInfos to represent the first frame (FileInfos contains at most one image at this point). LastFrameFileId or LastFrameUrl represents the last frame.
|
|
21308
|
+
|
|
21309
|
+
Model supporting multi-image input.
|
|
21310
|
+
1. GV, when entering multiple images, LastFrameFileId and LastFrameUrl are unavailable.
|
|
21311
|
+
2. Vidu supports multi-image reference for video generation. the q2 model accepts 1-7 images. use the ObjectId in FileInfos as the subject id for input.
|
|
21312
|
+
|
|
21313
|
+
Note:.
|
|
21314
|
+
1. Image size: the size should not exceed 10 mb.
|
|
21315
|
+
2. supported image formats: jpeg, png.
|
|
21316
|
+
* @type {Array.<AigcVideoTaskInputFileInfo> || null}
|
|
21317
|
+
*/
|
|
21318
|
+
this.FileInfos = null;
|
|
21319
|
+
|
|
21320
|
+
/**
|
|
21321
|
+
* The media file ID used as the end frame to generate video. this file has a globally unique ID on vod, 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). description:.
|
|
21322
|
+
1. only models GV, Kling, and Vidu are supported. other models are not currently supported. when ModelName is GV, if you specify this parameter, you must simultaneously specify FileInfos as the first frame of the video to be generated. when ModelName is Kling and ModelVersion is 2.1 and specify output Resolution Resolution as 1080P, you can specify this parameter. when ModelName is Vidu and ModelVersion is q2-pro or q2-turbo, you can specify this parameter.
|
|
21323
|
+
2. Image size: the size should be less than 5 mb.
|
|
21324
|
+
3. image format value is jpeg, jpg, png, webp.
|
|
21325
|
+
* @type {string || null}
|
|
21326
|
+
*/
|
|
21327
|
+
this.LastFrameFileId = null;
|
|
21328
|
+
|
|
21329
|
+
/**
|
|
21330
|
+
* Media file URL used as frames to generate video. description:.
|
|
21331
|
+
1. only models GV, Kling, and Vidu are supported. other models are not currently supported. when ModelName is GV, if you specify this parameter, you must simultaneously specify FileInfos as the first frame of the video to be generated. when ModelName is Kling and ModelVersion is 2.1 and specify output Resolution Resolution as 1080P, you can specify this parameter. when ModelName is Vidu and ModelVersion is q2-pro or q2-turbo, you can specify this parameter.
|
|
21332
|
+
2. Image size: the size should be less than 5 mb.
|
|
21333
|
+
3. image format value is jpeg, jpg, png, webp.
|
|
21334
|
+
* @type {string || null}
|
|
21335
|
+
*/
|
|
21336
|
+
this.LastFrameUrl = null;
|
|
21337
|
+
|
|
21338
|
+
/**
|
|
21339
|
+
* Prompt content for video generation. this parameter is required when FileInfos is empty.
|
|
21340
|
+
Example value: move the picture.
|
|
21341
|
+
* @type {string || null}
|
|
21342
|
+
*/
|
|
21343
|
+
this.Prompt = null;
|
|
21344
|
+
|
|
21345
|
+
/**
|
|
21346
|
+
* Prevent the model from generating video prompts.
|
|
21347
|
+
* @type {string || null}
|
|
21348
|
+
*/
|
|
21349
|
+
this.NegativePrompt = null;
|
|
21350
|
+
|
|
21351
|
+
/**
|
|
21352
|
+
* Whether to optimize Prompt content automatically. when Enabled, the passed-in Prompt will be optimized automatically to enhance generation quality. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>.
|
|
21353
|
+
* @type {string || null}
|
|
21354
|
+
*/
|
|
21355
|
+
this.EnhancePrompt = null;
|
|
21356
|
+
|
|
21357
|
+
/**
|
|
21358
|
+
* Specifies the output media file configuration for the video task.
|
|
21359
|
+
* @type {AigcVideoOutputConfig || null}
|
|
21360
|
+
*/
|
|
21361
|
+
this.OutputConfig = null;
|
|
21362
|
+
|
|
21363
|
+
/**
|
|
21364
|
+
* An identifier for deduplication. if there has been a request with the same identifier within the past 3 days, an error will be returned for the current request. the maximum length is 50 characters. leaving it blank or using an empty string indicates no deduplication.
|
|
21365
|
+
* @type {string || null}
|
|
21366
|
+
*/
|
|
21367
|
+
this.SessionId = null;
|
|
21368
|
+
|
|
21369
|
+
/**
|
|
21370
|
+
* Source context, used to pass through user request information. the audio and video quality revival complete callback will return the value of this field, up to 1000 characters.
|
|
21371
|
+
* @type {string || null}
|
|
21372
|
+
*/
|
|
21373
|
+
this.SessionContext = null;
|
|
21374
|
+
|
|
21375
|
+
/**
|
|
21376
|
+
* Task priority. the higher the value, the higher the priority. the value range is from -10 to 10. if left blank, the default value is 0.
|
|
21377
|
+
* @type {number || null}
|
|
21378
|
+
*/
|
|
21379
|
+
this.TasksPriority = null;
|
|
21380
|
+
|
|
21381
|
+
/**
|
|
21382
|
+
* Reserved field, used for special purpose.
|
|
21383
|
+
* @type {string || null}
|
|
21384
|
+
*/
|
|
21385
|
+
this.ExtInfo = null;
|
|
21386
|
+
|
|
21387
|
+
/**
|
|
21388
|
+
* Specifies the region information of the input image. when the image url is a foreign address, selectable Oversea. default Mainland.
|
|
21389
|
+
* @type {string || null}
|
|
21390
|
+
*/
|
|
21391
|
+
this.InputRegion = null;
|
|
21392
|
+
|
|
21393
|
+
}
|
|
21394
|
+
|
|
21395
|
+
/**
|
|
21396
|
+
* @private
|
|
21397
|
+
*/
|
|
21398
|
+
deserialize(params) {
|
|
21399
|
+
if (!params) {
|
|
21400
|
+
return;
|
|
21401
|
+
}
|
|
21402
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
21403
|
+
this.ModelName = 'ModelName' in params ? params.ModelName : null;
|
|
21404
|
+
this.ModelVersion = 'ModelVersion' in params ? params.ModelVersion : null;
|
|
21405
|
+
|
|
21406
|
+
if (params.FileInfos) {
|
|
21407
|
+
this.FileInfos = new Array();
|
|
21408
|
+
for (let z in params.FileInfos) {
|
|
21409
|
+
let obj = new AigcVideoTaskInputFileInfo();
|
|
21410
|
+
obj.deserialize(params.FileInfos[z]);
|
|
21411
|
+
this.FileInfos.push(obj);
|
|
21412
|
+
}
|
|
21413
|
+
}
|
|
21414
|
+
this.LastFrameFileId = 'LastFrameFileId' in params ? params.LastFrameFileId : null;
|
|
21415
|
+
this.LastFrameUrl = 'LastFrameUrl' in params ? params.LastFrameUrl : null;
|
|
21416
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
21417
|
+
this.NegativePrompt = 'NegativePrompt' in params ? params.NegativePrompt : null;
|
|
21418
|
+
this.EnhancePrompt = 'EnhancePrompt' in params ? params.EnhancePrompt : null;
|
|
21419
|
+
|
|
21420
|
+
if (params.OutputConfig) {
|
|
21421
|
+
let obj = new AigcVideoOutputConfig();
|
|
21422
|
+
obj.deserialize(params.OutputConfig)
|
|
21423
|
+
this.OutputConfig = obj;
|
|
21424
|
+
}
|
|
21425
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
21426
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
21427
|
+
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
21428
|
+
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
21429
|
+
this.InputRegion = 'InputRegion' in params ? params.InputRegion : null;
|
|
21430
|
+
|
|
21431
|
+
}
|
|
21432
|
+
}
|
|
21433
|
+
|
|
19997
21434
|
/**
|
|
19998
21435
|
* Input parameters for audio streams in the adaptive bitrate streaming task.
|
|
19999
21436
|
* @class
|
|
@@ -22245,7 +23682,7 @@ class IpFilter extends AbstractModel {
|
|
|
22245
23682
|
}
|
|
22246
23683
|
|
|
22247
23684
|
/**
|
|
22248
|
-
*
|
|
23685
|
+
* The MPS subtask output returns the result.
|
|
22249
23686
|
* @class
|
|
22250
23687
|
*/
|
|
22251
23688
|
class MPSTaskOutput extends AbstractModel {
|
|
@@ -22253,7 +23690,7 @@ class MPSTaskOutput extends AbstractModel {
|
|
|
22253
23690
|
super();
|
|
22254
23691
|
|
|
22255
23692
|
/**
|
|
22256
|
-
*
|
|
23693
|
+
* The file type in the task's return result. For example, in a smart erase, the erased video file will be stored in the media asset and its FileId will be given in this field. The URL of the subtitle file extracted based on the image will also be given in this field.
|
|
22257
23694
|
* @type {Array.<MPSOutputFile> || null}
|
|
22258
23695
|
*/
|
|
22259
23696
|
this.OutputFiles = null;
|
|
@@ -22537,6 +23974,66 @@ class ModifyImageSpriteTemplateResponse extends AbstractModel {
|
|
|
22537
23974
|
}
|
|
22538
23975
|
}
|
|
22539
23976
|
|
|
23977
|
+
/**
|
|
23978
|
+
* Output media file configuration for the scenario-based AIGC image generation task.
|
|
23979
|
+
* @class
|
|
23980
|
+
*/
|
|
23981
|
+
class SceneAigcImageOutputConfig extends AbstractModel {
|
|
23982
|
+
constructor(){
|
|
23983
|
+
super();
|
|
23984
|
+
|
|
23985
|
+
/**
|
|
23986
|
+
* Storage mode. valid values: <li>Permanent: Permanent storage. the generated image file will be stored in vod, and the FileId can be obtained from the event notification.</li> <li>Temporary: Temporary storage. the generated image file will not be stored in vod, and the Temporary access URL can be obtained from the event notification.</li>
|
|
23987
|
+
Default value: Temporary.
|
|
23988
|
+
* @type {string || null}
|
|
23989
|
+
*/
|
|
23990
|
+
this.StorageMode = null;
|
|
23991
|
+
|
|
23992
|
+
/**
|
|
23993
|
+
* Output filename, longest 64 characters. default filename is specified by the system.
|
|
23994
|
+
* @type {string || null}
|
|
23995
|
+
*/
|
|
23996
|
+
this.MediaName = null;
|
|
23997
|
+
|
|
23998
|
+
/**
|
|
23999
|
+
* 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.
|
|
24000
|
+
<Li>Default value: 0, indicate other categories.</li>
|
|
24001
|
+
* @type {number || null}
|
|
24002
|
+
*/
|
|
24003
|
+
this.ClassId = null;
|
|
24004
|
+
|
|
24005
|
+
/**
|
|
24006
|
+
* The expiry date of the output file. files will be deleted longer than this time. default is never expire. format according to ISO 8601 standard. see [ISO date format description](https://www.tencentcloud.comom/document/product/266/11732?from_cn_redirect=1#I).
|
|
24007
|
+
* @type {string || null}
|
|
24008
|
+
*/
|
|
24009
|
+
this.ExpireTime = null;
|
|
24010
|
+
|
|
24011
|
+
/**
|
|
24012
|
+
* Specify the aspect ratio of the generated image. input format is W:H.
|
|
24013
|
+
|
|
24014
|
+
Only valid for product_image scenarios. available values are: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 16:9, 9:16, 21:9.
|
|
24015
|
+
* @type {string || null}
|
|
24016
|
+
*/
|
|
24017
|
+
this.AspectRatio = null;
|
|
24018
|
+
|
|
24019
|
+
}
|
|
24020
|
+
|
|
24021
|
+
/**
|
|
24022
|
+
* @private
|
|
24023
|
+
*/
|
|
24024
|
+
deserialize(params) {
|
|
24025
|
+
if (!params) {
|
|
24026
|
+
return;
|
|
24027
|
+
}
|
|
24028
|
+
this.StorageMode = 'StorageMode' in params ? params.StorageMode : null;
|
|
24029
|
+
this.MediaName = 'MediaName' in params ? params.MediaName : null;
|
|
24030
|
+
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
24031
|
+
this.ExpireTime = 'ExpireTime' in params ? params.ExpireTime : null;
|
|
24032
|
+
this.AspectRatio = 'AspectRatio' in params ? params.AspectRatio : null;
|
|
24033
|
+
|
|
24034
|
+
}
|
|
24035
|
+
}
|
|
24036
|
+
|
|
22540
24037
|
/**
|
|
22541
24038
|
* SetVodDomainCertificate response structure.
|
|
22542
24039
|
* @class
|
|
@@ -24877,6 +26374,100 @@ When SrcLanguage is fr (French), value range:
|
|
|
24877
26374
|
}
|
|
24878
26375
|
}
|
|
24879
26376
|
|
|
26377
|
+
/**
|
|
26378
|
+
* Scenario-based AIGC Image Generation Task Information
|
|
26379
|
+
* @class
|
|
26380
|
+
*/
|
|
26381
|
+
class SceneAigcImageTask extends AbstractModel {
|
|
26382
|
+
constructor(){
|
|
26383
|
+
super();
|
|
26384
|
+
|
|
26385
|
+
/**
|
|
26386
|
+
* The task ID.
|
|
26387
|
+
* @type {string || null}
|
|
26388
|
+
*/
|
|
26389
|
+
this.TaskId = null;
|
|
26390
|
+
|
|
26391
|
+
/**
|
|
26392
|
+
* Task status, value: <li>PROCESSING: processing;</li><li>FINISH: completed.</li>
|
|
26393
|
+
* @type {string || null}
|
|
26394
|
+
*/
|
|
26395
|
+
this.Status = null;
|
|
26396
|
+
|
|
26397
|
+
/**
|
|
26398
|
+
* Error code. A non-zero error code is returned when the source is abnormal. If 0 is returned, use the ErrCode of each specific task.
|
|
26399
|
+
* @type {number || null}
|
|
26400
|
+
*/
|
|
26401
|
+
this.ErrCode = null;
|
|
26402
|
+
|
|
26403
|
+
/**
|
|
26404
|
+
* Error message. If the source is abnormal, the corresponding exception message is returned. Otherwise, use the message of each specific task.
|
|
26405
|
+
* @type {string || null}
|
|
26406
|
+
*/
|
|
26407
|
+
this.Message = null;
|
|
26408
|
+
|
|
26409
|
+
/**
|
|
26410
|
+
* The execution progress of a single adaptive bitrate stream. Value range: 0-100.
|
|
26411
|
+
* @type {number || null}
|
|
26412
|
+
*/
|
|
26413
|
+
this.Progress = null;
|
|
26414
|
+
|
|
26415
|
+
/**
|
|
26416
|
+
* Input of AIGC image task.
|
|
26417
|
+
* @type {SceneAigcImageTaskInput || null}
|
|
26418
|
+
*/
|
|
26419
|
+
this.Input = null;
|
|
26420
|
+
|
|
26421
|
+
/**
|
|
26422
|
+
* Output of AIGC image task.
|
|
26423
|
+
* @type {SceneAigcImageTaskOutput || null}
|
|
26424
|
+
*/
|
|
26425
|
+
this.Output = null;
|
|
26426
|
+
|
|
26427
|
+
/**
|
|
26428
|
+
* ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is not carried or is left empty, no deduplication will be performed.
|
|
26429
|
+
* @type {string || null}
|
|
26430
|
+
*/
|
|
26431
|
+
this.SessionId = null;
|
|
26432
|
+
|
|
26433
|
+
/**
|
|
26434
|
+
* The source context which is used to pass through the user request information. The task flow status change callback will return the value of this parameter. It can contain up to 1000 characters.
|
|
26435
|
+
* @type {string || null}
|
|
26436
|
+
*/
|
|
26437
|
+
this.SessionContext = null;
|
|
26438
|
+
|
|
26439
|
+
}
|
|
26440
|
+
|
|
26441
|
+
/**
|
|
26442
|
+
* @private
|
|
26443
|
+
*/
|
|
26444
|
+
deserialize(params) {
|
|
26445
|
+
if (!params) {
|
|
26446
|
+
return;
|
|
26447
|
+
}
|
|
26448
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
26449
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
26450
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
26451
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
26452
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
26453
|
+
|
|
26454
|
+
if (params.Input) {
|
|
26455
|
+
let obj = new SceneAigcImageTaskInput();
|
|
26456
|
+
obj.deserialize(params.Input)
|
|
26457
|
+
this.Input = obj;
|
|
26458
|
+
}
|
|
26459
|
+
|
|
26460
|
+
if (params.Output) {
|
|
26461
|
+
let obj = new SceneAigcImageTaskOutput();
|
|
26462
|
+
obj.deserialize(params.Output)
|
|
26463
|
+
this.Output = obj;
|
|
26464
|
+
}
|
|
26465
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
26466
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
26467
|
+
|
|
26468
|
+
}
|
|
26469
|
+
}
|
|
26470
|
+
|
|
24880
26471
|
/**
|
|
24881
26472
|
* RebuildMediaByTemplate request structure.
|
|
24882
26473
|
* @class
|
|
@@ -27863,6 +29454,42 @@ military:
|
|
|
27863
29454
|
}
|
|
27864
29455
|
}
|
|
27865
29456
|
|
|
29457
|
+
/**
|
|
29458
|
+
* AIGC video task output.
|
|
29459
|
+
* @class
|
|
29460
|
+
*/
|
|
29461
|
+
class AigcVideoTaskOutput extends AbstractModel {
|
|
29462
|
+
constructor(){
|
|
29463
|
+
super();
|
|
29464
|
+
|
|
29465
|
+
/**
|
|
29466
|
+
* File information of the output video for the AIGC video generation task.
|
|
29467
|
+
* @type {Array.<AigcVideoTaskOutputFileInfo> || null}
|
|
29468
|
+
*/
|
|
29469
|
+
this.FileInfos = null;
|
|
29470
|
+
|
|
29471
|
+
}
|
|
29472
|
+
|
|
29473
|
+
/**
|
|
29474
|
+
* @private
|
|
29475
|
+
*/
|
|
29476
|
+
deserialize(params) {
|
|
29477
|
+
if (!params) {
|
|
29478
|
+
return;
|
|
29479
|
+
}
|
|
29480
|
+
|
|
29481
|
+
if (params.FileInfos) {
|
|
29482
|
+
this.FileInfos = new Array();
|
|
29483
|
+
for (let z in params.FileInfos) {
|
|
29484
|
+
let obj = new AigcVideoTaskOutputFileInfo();
|
|
29485
|
+
obj.deserialize(params.FileInfos[z]);
|
|
29486
|
+
this.FileInfos.push(obj);
|
|
29487
|
+
}
|
|
29488
|
+
}
|
|
29489
|
+
|
|
29490
|
+
}
|
|
29491
|
+
}
|
|
29492
|
+
|
|
27866
29493
|
/**
|
|
27867
29494
|
* DeletePersonSample response structure.
|
|
27868
29495
|
* @class
|
|
@@ -27891,6 +29518,71 @@ class DeletePersonSampleResponse extends AbstractModel {
|
|
|
27891
29518
|
}
|
|
27892
29519
|
}
|
|
27893
29520
|
|
|
29521
|
+
/**
|
|
29522
|
+
* Moderation details.
|
|
29523
|
+
* @class
|
|
29524
|
+
*/
|
|
29525
|
+
class ReviewInfo extends AbstractModel {
|
|
29526
|
+
constructor(){
|
|
29527
|
+
super();
|
|
29528
|
+
|
|
29529
|
+
/**
|
|
29530
|
+
* The moderation template ID.
|
|
29531
|
+
* @type {number || null}
|
|
29532
|
+
*/
|
|
29533
|
+
this.Definition = null;
|
|
29534
|
+
|
|
29535
|
+
/**
|
|
29536
|
+
* The suggestion. Valid values:
|
|
29537
|
+
<li>pass</li>
|
|
29538
|
+
<li>review</li>
|
|
29539
|
+
<li>block</li>
|
|
29540
|
+
* @type {string || null}
|
|
29541
|
+
*/
|
|
29542
|
+
this.Suggestion = null;
|
|
29543
|
+
|
|
29544
|
+
/**
|
|
29545
|
+
* The moderation type in the format of `Form.Label`. This parameter is valid if `Suggestion` is `review` or `block`.
|
|
29546
|
+
`Form` indicates the type of inappropriate content detected. Valid values:
|
|
29547
|
+
<li>`Image` (people or icons in images)</li>
|
|
29548
|
+
<li>`OCR` (text in images)</li>
|
|
29549
|
+
<li>`ASR` (speech)</li>
|
|
29550
|
+
<li>`Voice`</li>
|
|
29551
|
+
`Label` indicates the violation label. Valid values:
|
|
29552
|
+
<li>`Porn` (pornographic content)</li>
|
|
29553
|
+
<li>`Terror` (terrorist content)</li>
|
|
29554
|
+
<li>`Polity` (politically sensitive content)</li>
|
|
29555
|
+
<li>`Ad` (advertisement)</li>
|
|
29556
|
+
<li>`Illegal` (illegal content)</li>
|
|
29557
|
+
<li>`Abuse`</li>
|
|
29558
|
+
<li>`Moan`</li>
|
|
29559
|
+
* @type {Array.<string> || null}
|
|
29560
|
+
*/
|
|
29561
|
+
this.TypeSet = null;
|
|
29562
|
+
|
|
29563
|
+
/**
|
|
29564
|
+
* The moderation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
|
29565
|
+
* @type {string || null}
|
|
29566
|
+
*/
|
|
29567
|
+
this.ReviewTime = null;
|
|
29568
|
+
|
|
29569
|
+
}
|
|
29570
|
+
|
|
29571
|
+
/**
|
|
29572
|
+
* @private
|
|
29573
|
+
*/
|
|
29574
|
+
deserialize(params) {
|
|
29575
|
+
if (!params) {
|
|
29576
|
+
return;
|
|
29577
|
+
}
|
|
29578
|
+
this.Definition = 'Definition' in params ? params.Definition : null;
|
|
29579
|
+
this.Suggestion = 'Suggestion' in params ? params.Suggestion : null;
|
|
29580
|
+
this.TypeSet = 'TypeSet' in params ? params.TypeSet : null;
|
|
29581
|
+
this.ReviewTime = 'ReviewTime' in params ? params.ReviewTime : null;
|
|
29582
|
+
|
|
29583
|
+
}
|
|
29584
|
+
}
|
|
29585
|
+
|
|
27894
29586
|
/**
|
|
27895
29587
|
* CreateSnapshotByTimeOffsetTemplate response structure.
|
|
27896
29588
|
* @class
|
|
@@ -32604,24 +34296,49 @@ class HeadTailTaskInput extends AbstractModel {
|
|
|
32604
34296
|
}
|
|
32605
34297
|
|
|
32606
34298
|
/**
|
|
32607
|
-
*
|
|
34299
|
+
* Information of file generated by video clipping (v2017)
|
|
32608
34300
|
* @class
|
|
32609
34301
|
*/
|
|
32610
|
-
class
|
|
34302
|
+
class ClipFileInfo2017 extends AbstractModel {
|
|
32611
34303
|
constructor(){
|
|
32612
34304
|
super();
|
|
32613
34305
|
|
|
32614
34306
|
/**
|
|
32615
|
-
*
|
|
32616
|
-
|
|
34307
|
+
* Error code
|
|
34308
|
+
<li>0: success;</li>
|
|
34309
|
+
<li>Other values: failure.</li>
|
|
34310
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
34311
|
+
* @type {number || null}
|
|
32617
34312
|
*/
|
|
32618
|
-
this.
|
|
34313
|
+
this.ErrCode = null;
|
|
32619
34314
|
|
|
32620
34315
|
/**
|
|
32621
|
-
*
|
|
34316
|
+
* Error description.
|
|
34317
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
32622
34318
|
* @type {string || null}
|
|
32623
34319
|
*/
|
|
32624
|
-
this.
|
|
34320
|
+
this.Message = null;
|
|
34321
|
+
|
|
34322
|
+
/**
|
|
34323
|
+
* Output target file ID.
|
|
34324
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
34325
|
+
* @type {string || null}
|
|
34326
|
+
*/
|
|
34327
|
+
this.FileId = null;
|
|
34328
|
+
|
|
34329
|
+
/**
|
|
34330
|
+
* Output target file address.
|
|
34331
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
34332
|
+
* @type {string || null}
|
|
34333
|
+
*/
|
|
34334
|
+
this.FileUrl = null;
|
|
34335
|
+
|
|
34336
|
+
/**
|
|
34337
|
+
* Output target file type.
|
|
34338
|
+
Note: this field may return null, indicating that no valid values can be obtained.
|
|
34339
|
+
* @type {string || null}
|
|
34340
|
+
*/
|
|
34341
|
+
this.FileType = null;
|
|
32625
34342
|
|
|
32626
34343
|
}
|
|
32627
34344
|
|
|
@@ -32632,16 +34349,11 @@ class DescribeImageReviewUsageDataResponse extends AbstractModel {
|
|
|
32632
34349
|
if (!params) {
|
|
32633
34350
|
return;
|
|
32634
34351
|
}
|
|
32635
|
-
|
|
32636
|
-
|
|
32637
|
-
|
|
32638
|
-
|
|
32639
|
-
|
|
32640
|
-
obj.deserialize(params.ImageReviewUsageDataSet[z]);
|
|
32641
|
-
this.ImageReviewUsageDataSet.push(obj);
|
|
32642
|
-
}
|
|
32643
|
-
}
|
|
32644
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
34352
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
34353
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
34354
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
34355
|
+
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
34356
|
+
this.FileType = 'FileType' in params ? params.FileType : null;
|
|
32645
34357
|
|
|
32646
34358
|
}
|
|
32647
34359
|
}
|
|
@@ -33250,6 +34962,26 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
33250
34962
|
*/
|
|
33251
34963
|
this.ComplexAdaptiveDynamicStreamingCompleteEvent = null;
|
|
33252
34964
|
|
|
34965
|
+
/**
|
|
34966
|
+
*
|
|
34967
|
+
* @type {ProcessMediaByMPS || null}
|
|
34968
|
+
*/
|
|
34969
|
+
this.ProcessMediaByMPSCompleteEvent = null;
|
|
34970
|
+
|
|
34971
|
+
/**
|
|
34972
|
+
* AIGC image task completion event, valid when the event type is AigcImageTaskComplete.
|
|
34973
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
34974
|
+
* @type {AigcImageTask || null}
|
|
34975
|
+
*/
|
|
34976
|
+
this.AigcImageCompleteEvent = null;
|
|
34977
|
+
|
|
34978
|
+
/**
|
|
34979
|
+
* AIGC video task completion event, valid when the event type is AigcVideoTaskComplete.
|
|
34980
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
34981
|
+
* @type {AigcVideoTask || null}
|
|
34982
|
+
*/
|
|
34983
|
+
this.AigcVideoCompleteEvent = null;
|
|
34984
|
+
|
|
33253
34985
|
}
|
|
33254
34986
|
|
|
33255
34987
|
/**
|
|
@@ -33424,6 +35156,24 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
33424
35156
|
this.ComplexAdaptiveDynamicStreamingCompleteEvent = obj;
|
|
33425
35157
|
}
|
|
33426
35158
|
|
|
35159
|
+
if (params.ProcessMediaByMPSCompleteEvent) {
|
|
35160
|
+
let obj = new ProcessMediaByMPS();
|
|
35161
|
+
obj.deserialize(params.ProcessMediaByMPSCompleteEvent)
|
|
35162
|
+
this.ProcessMediaByMPSCompleteEvent = obj;
|
|
35163
|
+
}
|
|
35164
|
+
|
|
35165
|
+
if (params.AigcImageCompleteEvent) {
|
|
35166
|
+
let obj = new AigcImageTask();
|
|
35167
|
+
obj.deserialize(params.AigcImageCompleteEvent)
|
|
35168
|
+
this.AigcImageCompleteEvent = obj;
|
|
35169
|
+
}
|
|
35170
|
+
|
|
35171
|
+
if (params.AigcVideoCompleteEvent) {
|
|
35172
|
+
let obj = new AigcVideoTask();
|
|
35173
|
+
obj.deserialize(params.AigcVideoCompleteEvent)
|
|
35174
|
+
this.AigcVideoCompleteEvent = obj;
|
|
35175
|
+
}
|
|
35176
|
+
|
|
33427
35177
|
}
|
|
33428
35178
|
}
|
|
33429
35179
|
|
|
@@ -33792,6 +35542,54 @@ class QRCodeConfigureInfoForUpdate extends AbstractModel {
|
|
|
33792
35542
|
}
|
|
33793
35543
|
}
|
|
33794
35544
|
|
|
35545
|
+
/**
|
|
35546
|
+
* Input file information for the scenario-based AIGC image generation task.
|
|
35547
|
+
* @class
|
|
35548
|
+
*/
|
|
35549
|
+
class SceneAigcImageTaskInputFileInfo extends AbstractModel {
|
|
35550
|
+
constructor(){
|
|
35551
|
+
super();
|
|
35552
|
+
|
|
35553
|
+
/**
|
|
35554
|
+
* Input video File type. valid values: <li>File: on-demand media File;</li> <li>Url: accessible Url;</li>
|
|
35555
|
+
* @type {string || null}
|
|
35556
|
+
*/
|
|
35557
|
+
this.Type = null;
|
|
35558
|
+
|
|
35559
|
+
/**
|
|
35560
|
+
* 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 obtain 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.
|
|
35561
|
+
Note:
|
|
35562
|
+
1. recommended for use with images less than 7 mb.
|
|
35563
|
+
2. image format value is jpeg, jpg, png, webp.
|
|
35564
|
+
* @type {string || null}
|
|
35565
|
+
*/
|
|
35566
|
+
this.FileId = null;
|
|
35567
|
+
|
|
35568
|
+
/**
|
|
35569
|
+
* Accessible file URL. this parameter is valid when Type value is Url.
|
|
35570
|
+
Note:
|
|
35571
|
+
1. recommended for use with images less than 7 MB.
|
|
35572
|
+
2. image format value is jpeg, jpg, png, webp.
|
|
35573
|
+
* @type {string || null}
|
|
35574
|
+
*/
|
|
35575
|
+
this.Url = null;
|
|
35576
|
+
|
|
35577
|
+
}
|
|
35578
|
+
|
|
35579
|
+
/**
|
|
35580
|
+
* @private
|
|
35581
|
+
*/
|
|
35582
|
+
deserialize(params) {
|
|
35583
|
+
if (!params) {
|
|
35584
|
+
return;
|
|
35585
|
+
}
|
|
35586
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
35587
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
35588
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
35589
|
+
|
|
35590
|
+
}
|
|
35591
|
+
}
|
|
35592
|
+
|
|
33795
35593
|
/**
|
|
33796
35594
|
* Statistics of task with specified specification.
|
|
33797
35595
|
* @class
|
|
@@ -33870,6 +35668,42 @@ class TEHDConfigForUpdate extends AbstractModel {
|
|
|
33870
35668
|
}
|
|
33871
35669
|
}
|
|
33872
35670
|
|
|
35671
|
+
/**
|
|
35672
|
+
* Scene AIGC image task output.
|
|
35673
|
+
* @class
|
|
35674
|
+
*/
|
|
35675
|
+
class SceneAigcImageTaskOutput extends AbstractModel {
|
|
35676
|
+
constructor(){
|
|
35677
|
+
super();
|
|
35678
|
+
|
|
35679
|
+
/**
|
|
35680
|
+
* File information of the out image for the AIGC image generation task.
|
|
35681
|
+
* @type {Array.<SceneAigcImageTaskOutputFileInfo> || null}
|
|
35682
|
+
*/
|
|
35683
|
+
this.FileInfos = null;
|
|
35684
|
+
|
|
35685
|
+
}
|
|
35686
|
+
|
|
35687
|
+
/**
|
|
35688
|
+
* @private
|
|
35689
|
+
*/
|
|
35690
|
+
deserialize(params) {
|
|
35691
|
+
if (!params) {
|
|
35692
|
+
return;
|
|
35693
|
+
}
|
|
35694
|
+
|
|
35695
|
+
if (params.FileInfos) {
|
|
35696
|
+
this.FileInfos = new Array();
|
|
35697
|
+
for (let z in params.FileInfos) {
|
|
35698
|
+
let obj = new SceneAigcImageTaskOutputFileInfo();
|
|
35699
|
+
obj.deserialize(params.FileInfos[z]);
|
|
35700
|
+
this.FileInfos.push(obj);
|
|
35701
|
+
}
|
|
35702
|
+
}
|
|
35703
|
+
|
|
35704
|
+
}
|
|
35705
|
+
}
|
|
35706
|
+
|
|
33873
35707
|
/**
|
|
33874
35708
|
* Output of media file composing task.
|
|
33875
35709
|
* @class
|
|
@@ -36428,6 +38262,96 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
36428
38262
|
}
|
|
36429
38263
|
}
|
|
36430
38264
|
|
|
38265
|
+
/**
|
|
38266
|
+
* Input of AIGC image task.
|
|
38267
|
+
* @class
|
|
38268
|
+
*/
|
|
38269
|
+
class AigcImageTaskInput extends AbstractModel {
|
|
38270
|
+
constructor(){
|
|
38271
|
+
super();
|
|
38272
|
+
|
|
38273
|
+
/**
|
|
38274
|
+
* Model name.
|
|
38275
|
+
* @type {string || null}
|
|
38276
|
+
*/
|
|
38277
|
+
this.ModelName = null;
|
|
38278
|
+
|
|
38279
|
+
/**
|
|
38280
|
+
* Model version.
|
|
38281
|
+
* @type {string || null}
|
|
38282
|
+
*/
|
|
38283
|
+
this.ModelVersion = null;
|
|
38284
|
+
|
|
38285
|
+
/**
|
|
38286
|
+
* File information of the input image for the AIGC image generation task.
|
|
38287
|
+
* @type {Array.<AigcImageTaskInputFileInfo> || null}
|
|
38288
|
+
*/
|
|
38289
|
+
this.FileInfos = null;
|
|
38290
|
+
|
|
38291
|
+
/**
|
|
38292
|
+
* The prompt content for image generation.
|
|
38293
|
+
* @type {string || null}
|
|
38294
|
+
*/
|
|
38295
|
+
this.Prompt = null;
|
|
38296
|
+
|
|
38297
|
+
/**
|
|
38298
|
+
* Prevent the model from generating image generation prompts.
|
|
38299
|
+
* @type {string || null}
|
|
38300
|
+
*/
|
|
38301
|
+
this.NegativePrompt = null;
|
|
38302
|
+
|
|
38303
|
+
/**
|
|
38304
|
+
* Whether to optimize Prompt content automatically. when Enabled, it will optimize the passed in Prompt automatically to enhance generation quality. valid values: <li>Enabled: turn on;</li> <li>Disabled: turn off;</li>
|
|
38305
|
+
* @type {string || null}
|
|
38306
|
+
*/
|
|
38307
|
+
this.EnhancePrompt = null;
|
|
38308
|
+
|
|
38309
|
+
/**
|
|
38310
|
+
*
|
|
38311
|
+
* @type {string || null}
|
|
38312
|
+
*/
|
|
38313
|
+
this.GenerationMode = null;
|
|
38314
|
+
|
|
38315
|
+
/**
|
|
38316
|
+
* Output media file configuration for the task.
|
|
38317
|
+
* @type {AigcImageOutputConfig || null}
|
|
38318
|
+
*/
|
|
38319
|
+
this.OutputConfig = null;
|
|
38320
|
+
|
|
38321
|
+
}
|
|
38322
|
+
|
|
38323
|
+
/**
|
|
38324
|
+
* @private
|
|
38325
|
+
*/
|
|
38326
|
+
deserialize(params) {
|
|
38327
|
+
if (!params) {
|
|
38328
|
+
return;
|
|
38329
|
+
}
|
|
38330
|
+
this.ModelName = 'ModelName' in params ? params.ModelName : null;
|
|
38331
|
+
this.ModelVersion = 'ModelVersion' in params ? params.ModelVersion : null;
|
|
38332
|
+
|
|
38333
|
+
if (params.FileInfos) {
|
|
38334
|
+
this.FileInfos = new Array();
|
|
38335
|
+
for (let z in params.FileInfos) {
|
|
38336
|
+
let obj = new AigcImageTaskInputFileInfo();
|
|
38337
|
+
obj.deserialize(params.FileInfos[z]);
|
|
38338
|
+
this.FileInfos.push(obj);
|
|
38339
|
+
}
|
|
38340
|
+
}
|
|
38341
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
38342
|
+
this.NegativePrompt = 'NegativePrompt' in params ? params.NegativePrompt : null;
|
|
38343
|
+
this.EnhancePrompt = 'EnhancePrompt' in params ? params.EnhancePrompt : null;
|
|
38344
|
+
this.GenerationMode = 'GenerationMode' in params ? params.GenerationMode : null;
|
|
38345
|
+
|
|
38346
|
+
if (params.OutputConfig) {
|
|
38347
|
+
let obj = new AigcImageOutputConfig();
|
|
38348
|
+
obj.deserialize(params.OutputConfig)
|
|
38349
|
+
this.OutputConfig = obj;
|
|
38350
|
+
}
|
|
38351
|
+
|
|
38352
|
+
}
|
|
38353
|
+
}
|
|
38354
|
+
|
|
36431
38355
|
/**
|
|
36432
38356
|
* Video stream configuration parameter
|
|
36433
38357
|
* @class
|
|
@@ -36885,6 +38809,104 @@ class DescribeImageSpriteTemplatesResponse extends AbstractModel {
|
|
|
36885
38809
|
}
|
|
36886
38810
|
}
|
|
36887
38811
|
|
|
38812
|
+
/**
|
|
38813
|
+
* CreateSceneAigcImageTask request structure.
|
|
38814
|
+
* @class
|
|
38815
|
+
*/
|
|
38816
|
+
class CreateSceneAigcImageTaskRequest extends AbstractModel {
|
|
38817
|
+
constructor(){
|
|
38818
|
+
super();
|
|
38819
|
+
|
|
38820
|
+
/**
|
|
38821
|
+
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
38822
|
+
* @type {number || null}
|
|
38823
|
+
*/
|
|
38824
|
+
this.SubAppId = null;
|
|
38825
|
+
|
|
38826
|
+
/**
|
|
38827
|
+
* Scenario-Based image generation parameter configuration.
|
|
38828
|
+
* @type {AigcImageSceneInfo || null}
|
|
38829
|
+
*/
|
|
38830
|
+
this.SceneInfo = null;
|
|
38831
|
+
|
|
38832
|
+
/**
|
|
38833
|
+
* Input image list. supported image formats: jpg, jpeg, png, webp. different scenarios require different input data.
|
|
38834
|
+
|
|
38835
|
+
- AI clothing change scenario: input only 1 model image.
|
|
38836
|
+
- AI product image scenario: manually input 1-10 images of different angles per product.
|
|
38837
|
+
* @type {Array.<SceneAigcImageTaskInputFileInfo> || null}
|
|
38838
|
+
*/
|
|
38839
|
+
this.FileInfos = null;
|
|
38840
|
+
|
|
38841
|
+
/**
|
|
38842
|
+
* Specifies the output media file configuration for the scenario-based image task.
|
|
38843
|
+
* @type {SceneAigcImageOutputConfig || null}
|
|
38844
|
+
*/
|
|
38845
|
+
this.OutputConfig = null;
|
|
38846
|
+
|
|
38847
|
+
/**
|
|
38848
|
+
* An identifier for deduplication. if there has been a request with the same identifier within the past 3 days, an error will be returned for the current request. the maximum length is 50 characters. leaving it blank or using an empty string indicates no deduplication.
|
|
38849
|
+
* @type {string || null}
|
|
38850
|
+
*/
|
|
38851
|
+
this.SessionId = null;
|
|
38852
|
+
|
|
38853
|
+
/**
|
|
38854
|
+
* Source context, used to pass through user request information. the audio and video quality revival complete callback will return the value of this field, up to 1000 characters.
|
|
38855
|
+
* @type {string || null}
|
|
38856
|
+
*/
|
|
38857
|
+
this.SessionContext = null;
|
|
38858
|
+
|
|
38859
|
+
/**
|
|
38860
|
+
* Task priority. the higher the value, the higher the priority. the value range is from -10 to 10. if left blank, the default value is 0.
|
|
38861
|
+
* @type {number || null}
|
|
38862
|
+
*/
|
|
38863
|
+
this.TasksPriority = null;
|
|
38864
|
+
|
|
38865
|
+
/**
|
|
38866
|
+
* Reserved field, used for special purpose.
|
|
38867
|
+
* @type {string || null}
|
|
38868
|
+
*/
|
|
38869
|
+
this.ExtInfo = null;
|
|
38870
|
+
|
|
38871
|
+
}
|
|
38872
|
+
|
|
38873
|
+
/**
|
|
38874
|
+
* @private
|
|
38875
|
+
*/
|
|
38876
|
+
deserialize(params) {
|
|
38877
|
+
if (!params) {
|
|
38878
|
+
return;
|
|
38879
|
+
}
|
|
38880
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
38881
|
+
|
|
38882
|
+
if (params.SceneInfo) {
|
|
38883
|
+
let obj = new AigcImageSceneInfo();
|
|
38884
|
+
obj.deserialize(params.SceneInfo)
|
|
38885
|
+
this.SceneInfo = obj;
|
|
38886
|
+
}
|
|
38887
|
+
|
|
38888
|
+
if (params.FileInfos) {
|
|
38889
|
+
this.FileInfos = new Array();
|
|
38890
|
+
for (let z in params.FileInfos) {
|
|
38891
|
+
let obj = new SceneAigcImageTaskInputFileInfo();
|
|
38892
|
+
obj.deserialize(params.FileInfos[z]);
|
|
38893
|
+
this.FileInfos.push(obj);
|
|
38894
|
+
}
|
|
38895
|
+
}
|
|
38896
|
+
|
|
38897
|
+
if (params.OutputConfig) {
|
|
38898
|
+
let obj = new SceneAigcImageOutputConfig();
|
|
38899
|
+
obj.deserialize(params.OutputConfig)
|
|
38900
|
+
this.OutputConfig = obj;
|
|
38901
|
+
}
|
|
38902
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
38903
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
38904
|
+
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
38905
|
+
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
38906
|
+
|
|
38907
|
+
}
|
|
38908
|
+
}
|
|
38909
|
+
|
|
36888
38910
|
/**
|
|
36889
38911
|
* InspectMediaQuality request structure.
|
|
36890
38912
|
* @class
|
|
@@ -37407,138 +39429,46 @@ class Https extends AbstractModel {
|
|
|
37407
39429
|
}
|
|
37408
39430
|
|
|
37409
39431
|
/**
|
|
37410
|
-
*
|
|
39432
|
+
* Subtitle information.
|
|
37411
39433
|
* @class
|
|
37412
39434
|
*/
|
|
37413
|
-
class
|
|
39435
|
+
class AiRecognitionTaskAsrFullTextResultOutputSubtitleItem extends AbstractModel {
|
|
37414
39436
|
constructor(){
|
|
37415
39437
|
super();
|
|
37416
39438
|
|
|
37417
39439
|
/**
|
|
37418
|
-
*
|
|
39440
|
+
* Media asset subtitle ID, used for media asset subtitle management, only valid when Format is vtt.
|
|
39441
|
+
<font color=red>Note:</font> Tasks before 2024-11-01T10:00:00Z return this field as invalid.
|
|
37419
39442
|
* @type {string || null}
|
|
37420
39443
|
*/
|
|
37421
|
-
this.
|
|
37422
|
-
|
|
37423
|
-
/**
|
|
37424
|
-
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
37425
|
-
* @type {number || null}
|
|
37426
|
-
*/
|
|
37427
|
-
this.SubAppId = null;
|
|
37428
|
-
|
|
37429
|
-
/**
|
|
37430
|
-
* The start offset (seconds). If you do not specify this, the segment will start from the beginning of the video.
|
|
37431
|
-
* @type {number || null}
|
|
37432
|
-
*/
|
|
37433
|
-
this.StartTimeOffset = null;
|
|
37434
|
-
|
|
37435
|
-
/**
|
|
37436
|
-
* The end offset (seconds). If you do not specify this, the segment will end at the end of the video.
|
|
37437
|
-
* @type {number || null}
|
|
37438
|
-
*/
|
|
37439
|
-
this.EndTimeOffset = null;
|
|
37440
|
-
|
|
37441
|
-
/**
|
|
37442
|
-
* The video quality remastering parameters.
|
|
37443
|
-
* @type {RepairInfo || null}
|
|
37444
|
-
*/
|
|
37445
|
-
this.RepairInfo = null;
|
|
37446
|
-
|
|
37447
|
-
/**
|
|
37448
|
-
* The smart frame interpolation parameters.
|
|
37449
|
-
* @type {VideoFrameInterpolationInfo || null}
|
|
37450
|
-
*/
|
|
37451
|
-
this.VideoFrameInterpolationInfo = null;
|
|
37452
|
-
|
|
37453
|
-
/**
|
|
37454
|
-
* The super resolution parameters.
|
|
37455
|
-
* @type {SuperResolutionInfo || null}
|
|
37456
|
-
*/
|
|
37457
|
-
this.SuperResolutionInfo = null;
|
|
37458
|
-
|
|
37459
|
-
/**
|
|
37460
|
-
* The high dynamic range (HDR) parameters.
|
|
37461
|
-
* @type {HDRInfo || null}
|
|
37462
|
-
*/
|
|
37463
|
-
this.HDRInfo = null;
|
|
37464
|
-
|
|
37465
|
-
/**
|
|
37466
|
-
* The image noise removal parameters.
|
|
37467
|
-
* @type {VideoDenoiseInfo || null}
|
|
37468
|
-
*/
|
|
37469
|
-
this.VideoDenoiseInfo = null;
|
|
37470
|
-
|
|
37471
|
-
/**
|
|
37472
|
-
* The noise removal parameters.
|
|
37473
|
-
* @type {AudioDenoiseInfo || null}
|
|
37474
|
-
*/
|
|
37475
|
-
this.AudioDenoiseInfo = null;
|
|
37476
|
-
|
|
37477
|
-
/**
|
|
37478
|
-
* The color enhancement parameters.
|
|
37479
|
-
* @type {ColorEnhanceInfo || null}
|
|
37480
|
-
*/
|
|
37481
|
-
this.ColorInfo = null;
|
|
37482
|
-
|
|
37483
|
-
/**
|
|
37484
|
-
* The detail enhancement parameters.
|
|
37485
|
-
* @type {SharpEnhanceInfo || null}
|
|
37486
|
-
*/
|
|
37487
|
-
this.SharpInfo = null;
|
|
37488
|
-
|
|
37489
|
-
/**
|
|
37490
|
-
* The face enhancement parameters.
|
|
37491
|
-
* @type {FaceEnhanceInfo || null}
|
|
37492
|
-
*/
|
|
37493
|
-
this.FaceInfo = null;
|
|
37494
|
-
|
|
37495
|
-
/**
|
|
37496
|
-
* The low-light enhancement parameters.
|
|
37497
|
-
* @type {LowLightEnhanceInfo || null}
|
|
37498
|
-
*/
|
|
37499
|
-
this.LowLightInfo = null;
|
|
37500
|
-
|
|
37501
|
-
/**
|
|
37502
|
-
* The banding removal parameters.
|
|
37503
|
-
* @type {ScratchRepairInfo || null}
|
|
37504
|
-
*/
|
|
37505
|
-
this.ScratchRepairInfo = null;
|
|
37506
|
-
|
|
37507
|
-
/**
|
|
37508
|
-
* The artifact removal (smoothing) parameters.
|
|
37509
|
-
* @type {ArtifactRepairInfo || null}
|
|
37510
|
-
*/
|
|
37511
|
-
this.ArtifactRepairInfo = null;
|
|
37512
|
-
|
|
37513
|
-
/**
|
|
37514
|
-
* The output parameters of the file.
|
|
37515
|
-
* @type {RebuildMediaTargetInfo || null}
|
|
37516
|
-
*/
|
|
37517
|
-
this.TargetInfo = null;
|
|
39444
|
+
this.Id = null;
|
|
37518
39445
|
|
|
37519
39446
|
/**
|
|
37520
|
-
*
|
|
39447
|
+
* Media asset subtitle name, used for player display, only valid when Format is vtt.
|
|
39448
|
+
<font color=red>Note:</font> Tasks before 2024-11-01T10:00:00Z return this field as invalid.
|
|
37521
39449
|
* @type {string || null}
|
|
37522
39450
|
*/
|
|
37523
|
-
this.
|
|
39451
|
+
this.Name = null;
|
|
37524
39452
|
|
|
37525
39453
|
/**
|
|
37526
|
-
*
|
|
39454
|
+
* Subtitle Language.
|
|
37527
39455
|
* @type {string || null}
|
|
37528
39456
|
*/
|
|
37529
|
-
this.
|
|
39457
|
+
this.Language = null;
|
|
37530
39458
|
|
|
37531
39459
|
/**
|
|
37532
|
-
* The
|
|
37533
|
-
|
|
39460
|
+
* The format of the subtitle files. Valid values:
|
|
39461
|
+
<li>vtt</li>
|
|
39462
|
+
<li>srt</li>
|
|
39463
|
+
* @type {string || null}
|
|
37534
39464
|
*/
|
|
37535
|
-
this.
|
|
39465
|
+
this.Format = null;
|
|
37536
39466
|
|
|
37537
39467
|
/**
|
|
37538
|
-
*
|
|
39468
|
+
* The URL of a subtitle file.
|
|
37539
39469
|
* @type {string || null}
|
|
37540
39470
|
*/
|
|
37541
|
-
this.
|
|
39471
|
+
this.Url = null;
|
|
37542
39472
|
|
|
37543
39473
|
}
|
|
37544
39474
|
|
|
@@ -37549,92 +39479,11 @@ class RebuildMediaRequest extends AbstractModel {
|
|
|
37549
39479
|
if (!params) {
|
|
37550
39480
|
return;
|
|
37551
39481
|
}
|
|
37552
|
-
this.
|
|
37553
|
-
this.
|
|
37554
|
-
this.
|
|
37555
|
-
this.
|
|
37556
|
-
|
|
37557
|
-
if (params.RepairInfo) {
|
|
37558
|
-
let obj = new RepairInfo();
|
|
37559
|
-
obj.deserialize(params.RepairInfo)
|
|
37560
|
-
this.RepairInfo = obj;
|
|
37561
|
-
}
|
|
37562
|
-
|
|
37563
|
-
if (params.VideoFrameInterpolationInfo) {
|
|
37564
|
-
let obj = new VideoFrameInterpolationInfo();
|
|
37565
|
-
obj.deserialize(params.VideoFrameInterpolationInfo)
|
|
37566
|
-
this.VideoFrameInterpolationInfo = obj;
|
|
37567
|
-
}
|
|
37568
|
-
|
|
37569
|
-
if (params.SuperResolutionInfo) {
|
|
37570
|
-
let obj = new SuperResolutionInfo();
|
|
37571
|
-
obj.deserialize(params.SuperResolutionInfo)
|
|
37572
|
-
this.SuperResolutionInfo = obj;
|
|
37573
|
-
}
|
|
37574
|
-
|
|
37575
|
-
if (params.HDRInfo) {
|
|
37576
|
-
let obj = new HDRInfo();
|
|
37577
|
-
obj.deserialize(params.HDRInfo)
|
|
37578
|
-
this.HDRInfo = obj;
|
|
37579
|
-
}
|
|
37580
|
-
|
|
37581
|
-
if (params.VideoDenoiseInfo) {
|
|
37582
|
-
let obj = new VideoDenoiseInfo();
|
|
37583
|
-
obj.deserialize(params.VideoDenoiseInfo)
|
|
37584
|
-
this.VideoDenoiseInfo = obj;
|
|
37585
|
-
}
|
|
37586
|
-
|
|
37587
|
-
if (params.AudioDenoiseInfo) {
|
|
37588
|
-
let obj = new AudioDenoiseInfo();
|
|
37589
|
-
obj.deserialize(params.AudioDenoiseInfo)
|
|
37590
|
-
this.AudioDenoiseInfo = obj;
|
|
37591
|
-
}
|
|
37592
|
-
|
|
37593
|
-
if (params.ColorInfo) {
|
|
37594
|
-
let obj = new ColorEnhanceInfo();
|
|
37595
|
-
obj.deserialize(params.ColorInfo)
|
|
37596
|
-
this.ColorInfo = obj;
|
|
37597
|
-
}
|
|
37598
|
-
|
|
37599
|
-
if (params.SharpInfo) {
|
|
37600
|
-
let obj = new SharpEnhanceInfo();
|
|
37601
|
-
obj.deserialize(params.SharpInfo)
|
|
37602
|
-
this.SharpInfo = obj;
|
|
37603
|
-
}
|
|
37604
|
-
|
|
37605
|
-
if (params.FaceInfo) {
|
|
37606
|
-
let obj = new FaceEnhanceInfo();
|
|
37607
|
-
obj.deserialize(params.FaceInfo)
|
|
37608
|
-
this.FaceInfo = obj;
|
|
37609
|
-
}
|
|
37610
|
-
|
|
37611
|
-
if (params.LowLightInfo) {
|
|
37612
|
-
let obj = new LowLightEnhanceInfo();
|
|
37613
|
-
obj.deserialize(params.LowLightInfo)
|
|
37614
|
-
this.LowLightInfo = obj;
|
|
37615
|
-
}
|
|
37616
|
-
|
|
37617
|
-
if (params.ScratchRepairInfo) {
|
|
37618
|
-
let obj = new ScratchRepairInfo();
|
|
37619
|
-
obj.deserialize(params.ScratchRepairInfo)
|
|
37620
|
-
this.ScratchRepairInfo = obj;
|
|
37621
|
-
}
|
|
37622
|
-
|
|
37623
|
-
if (params.ArtifactRepairInfo) {
|
|
37624
|
-
let obj = new ArtifactRepairInfo();
|
|
37625
|
-
obj.deserialize(params.ArtifactRepairInfo)
|
|
37626
|
-
this.ArtifactRepairInfo = obj;
|
|
37627
|
-
}
|
|
37628
|
-
|
|
37629
|
-
if (params.TargetInfo) {
|
|
37630
|
-
let obj = new RebuildMediaTargetInfo();
|
|
37631
|
-
obj.deserialize(params.TargetInfo)
|
|
37632
|
-
this.TargetInfo = obj;
|
|
37633
|
-
}
|
|
37634
|
-
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
37635
|
-
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
37636
|
-
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
37637
|
-
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
39482
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
39483
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
39484
|
+
this.Language = 'Language' in params ? params.Language : null;
|
|
39485
|
+
this.Format = 'Format' in params ? params.Format : null;
|
|
39486
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
37638
39487
|
|
|
37639
39488
|
}
|
|
37640
39489
|
}
|
|
@@ -37854,6 +39703,30 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
37854
39703
|
*/
|
|
37855
39704
|
this.ProcessMediaByMPSTask = null;
|
|
37856
39705
|
|
|
39706
|
+
/**
|
|
39707
|
+
* AIGC image task information. This field contains a value only when TaskType is AigcImageTask.
|
|
39708
|
+
* @type {AigcImageTask || null}
|
|
39709
|
+
*/
|
|
39710
|
+
this.AigcImageTask = null;
|
|
39711
|
+
|
|
39712
|
+
/**
|
|
39713
|
+
* AIGC video task information. This field contains a value only when TaskType is AigcVideoTask.
|
|
39714
|
+
* @type {AigcVideoTask || null}
|
|
39715
|
+
*/
|
|
39716
|
+
this.AigcVideoTask = null;
|
|
39717
|
+
|
|
39718
|
+
/**
|
|
39719
|
+
*
|
|
39720
|
+
* @type {ImportMediaKnowledgeTask || null}
|
|
39721
|
+
*/
|
|
39722
|
+
this.ImportMediaKnowledge = null;
|
|
39723
|
+
|
|
39724
|
+
/**
|
|
39725
|
+
* Scenario-based AIGC image task information. This field contains a value only when TaskType is SceneAigcImageTask.
|
|
39726
|
+
* @type {SceneAigcImageTask || null}
|
|
39727
|
+
*/
|
|
39728
|
+
this.SceneAigcImageTask = null;
|
|
39729
|
+
|
|
37857
39730
|
/**
|
|
37858
39731
|
* 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.
|
|
37859
39732
|
* @type {string || null}
|
|
@@ -38012,6 +39885,30 @@ Note: This field may return null, indicating that no valid value can be obtained
|
|
|
38012
39885
|
obj.deserialize(params.ProcessMediaByMPSTask)
|
|
38013
39886
|
this.ProcessMediaByMPSTask = obj;
|
|
38014
39887
|
}
|
|
39888
|
+
|
|
39889
|
+
if (params.AigcImageTask) {
|
|
39890
|
+
let obj = new AigcImageTask();
|
|
39891
|
+
obj.deserialize(params.AigcImageTask)
|
|
39892
|
+
this.AigcImageTask = obj;
|
|
39893
|
+
}
|
|
39894
|
+
|
|
39895
|
+
if (params.AigcVideoTask) {
|
|
39896
|
+
let obj = new AigcVideoTask();
|
|
39897
|
+
obj.deserialize(params.AigcVideoTask)
|
|
39898
|
+
this.AigcVideoTask = obj;
|
|
39899
|
+
}
|
|
39900
|
+
|
|
39901
|
+
if (params.ImportMediaKnowledge) {
|
|
39902
|
+
let obj = new ImportMediaKnowledgeTask();
|
|
39903
|
+
obj.deserialize(params.ImportMediaKnowledge)
|
|
39904
|
+
this.ImportMediaKnowledge = obj;
|
|
39905
|
+
}
|
|
39906
|
+
|
|
39907
|
+
if (params.SceneAigcImageTask) {
|
|
39908
|
+
let obj = new SceneAigcImageTask();
|
|
39909
|
+
obj.deserialize(params.SceneAigcImageTask)
|
|
39910
|
+
this.SceneAigcImageTask = obj;
|
|
39911
|
+
}
|
|
38015
39912
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
38016
39913
|
|
|
38017
39914
|
}
|
|
@@ -39207,18 +41104,36 @@ Note: This field may return `null`, indicating that no valid value can be found.
|
|
|
39207
41104
|
}
|
|
39208
41105
|
|
|
39209
41106
|
/**
|
|
39210
|
-
*
|
|
41107
|
+
*
|
|
39211
41108
|
* @class
|
|
39212
41109
|
*/
|
|
39213
|
-
class
|
|
41110
|
+
class ImportMediaKnowledgeTask extends AbstractModel {
|
|
39214
41111
|
constructor(){
|
|
39215
41112
|
super();
|
|
39216
41113
|
|
|
39217
41114
|
/**
|
|
39218
|
-
*
|
|
41115
|
+
*
|
|
39219
41116
|
* @type {string || null}
|
|
39220
41117
|
*/
|
|
39221
|
-
this.
|
|
41118
|
+
this.TaskId = null;
|
|
41119
|
+
|
|
41120
|
+
/**
|
|
41121
|
+
*
|
|
41122
|
+
* @type {string || null}
|
|
41123
|
+
*/
|
|
41124
|
+
this.Status = null;
|
|
41125
|
+
|
|
41126
|
+
/**
|
|
41127
|
+
*
|
|
41128
|
+
* @type {number || null}
|
|
41129
|
+
*/
|
|
41130
|
+
this.ErrCode = null;
|
|
41131
|
+
|
|
41132
|
+
/**
|
|
41133
|
+
*
|
|
41134
|
+
* @type {string || null}
|
|
41135
|
+
*/
|
|
41136
|
+
this.Message = null;
|
|
39222
41137
|
|
|
39223
41138
|
}
|
|
39224
41139
|
|
|
@@ -39229,7 +41144,46 @@ class ModifySubAppIdStatusResponse extends AbstractModel {
|
|
|
39229
41144
|
if (!params) {
|
|
39230
41145
|
return;
|
|
39231
41146
|
}
|
|
39232
|
-
this.
|
|
41147
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
41148
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
41149
|
+
this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
|
|
41150
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
41151
|
+
|
|
41152
|
+
}
|
|
41153
|
+
}
|
|
41154
|
+
|
|
41155
|
+
/**
|
|
41156
|
+
* AI outfit change parameter configuration.
|
|
41157
|
+
* @class
|
|
41158
|
+
*/
|
|
41159
|
+
class ChangeClothesConfig extends AbstractModel {
|
|
41160
|
+
constructor(){
|
|
41161
|
+
super();
|
|
41162
|
+
|
|
41163
|
+
/**
|
|
41164
|
+
* Manually input the image list of **clothing** that needs to be replaced. currently support a maximum of 4 images.
|
|
41165
|
+
* @type {Array.<SceneAigcImageTaskInputFileInfo> || null}
|
|
41166
|
+
*/
|
|
41167
|
+
this.ClothesFileInfos = null;
|
|
41168
|
+
|
|
41169
|
+
}
|
|
41170
|
+
|
|
41171
|
+
/**
|
|
41172
|
+
* @private
|
|
41173
|
+
*/
|
|
41174
|
+
deserialize(params) {
|
|
41175
|
+
if (!params) {
|
|
41176
|
+
return;
|
|
41177
|
+
}
|
|
41178
|
+
|
|
41179
|
+
if (params.ClothesFileInfos) {
|
|
41180
|
+
this.ClothesFileInfos = new Array();
|
|
41181
|
+
for (let z in params.ClothesFileInfos) {
|
|
41182
|
+
let obj = new SceneAigcImageTaskInputFileInfo();
|
|
41183
|
+
obj.deserialize(params.ClothesFileInfos[z]);
|
|
41184
|
+
this.ClothesFileInfos.push(obj);
|
|
41185
|
+
}
|
|
41186
|
+
}
|
|
39233
41187
|
|
|
39234
41188
|
}
|
|
39235
41189
|
}
|
|
@@ -41095,35 +43049,18 @@ class AiRecognitionTaskAsrWordsResultInput extends AbstractModel {
|
|
|
41095
43049
|
}
|
|
41096
43050
|
|
|
41097
43051
|
/**
|
|
41098
|
-
*
|
|
43052
|
+
* ModifySubAppIdStatus response structure.
|
|
41099
43053
|
* @class
|
|
41100
43054
|
*/
|
|
41101
|
-
class
|
|
43055
|
+
class ModifySubAppIdStatusResponse extends AbstractModel {
|
|
41102
43056
|
constructor(){
|
|
41103
43057
|
super();
|
|
41104
43058
|
|
|
41105
43059
|
/**
|
|
41106
|
-
*
|
|
41107
|
-
<li>0: success;</li>
|
|
41108
|
-
<li>Other values: failure.</li>
|
|
41109
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
41110
|
-
* @type {number || null}
|
|
41111
|
-
*/
|
|
41112
|
-
this.ErrCode = null;
|
|
41113
|
-
|
|
41114
|
-
/**
|
|
41115
|
-
* Specific time point of screenshot in milliseconds.
|
|
41116
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
41117
|
-
* @type {number || null}
|
|
41118
|
-
*/
|
|
41119
|
-
this.TimeOffset = null;
|
|
41120
|
-
|
|
41121
|
-
/**
|
|
41122
|
-
* Address of output screenshot file.
|
|
41123
|
-
Note: this field may return null, indicating that no valid values can be obtained.
|
|
43060
|
+
* 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.
|
|
41124
43061
|
* @type {string || null}
|
|
41125
43062
|
*/
|
|
41126
|
-
this.
|
|
43063
|
+
this.RequestId = null;
|
|
41127
43064
|
|
|
41128
43065
|
}
|
|
41129
43066
|
|
|
@@ -41134,9 +43071,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
41134
43071
|
if (!params) {
|
|
41135
43072
|
return;
|
|
41136
43073
|
}
|
|
41137
|
-
this.
|
|
41138
|
-
this.TimeOffset = 'TimeOffset' in params ? params.TimeOffset : null;
|
|
41139
|
-
this.Url = 'Url' in params ? params.Url : null;
|
|
43074
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
41140
43075
|
|
|
41141
43076
|
}
|
|
41142
43077
|
}
|
|
@@ -43003,83 +44938,90 @@ Note: This field may return `null`, indicating that no valid value can be found.
|
|
|
43003
44938
|
}
|
|
43004
44939
|
|
|
43005
44940
|
/**
|
|
43006
|
-
*
|
|
44941
|
+
* CreateAigcImageTask request structure.
|
|
43007
44942
|
* @class
|
|
43008
44943
|
*/
|
|
43009
|
-
class
|
|
44944
|
+
class CreateAigcImageTaskRequest extends AbstractModel {
|
|
43010
44945
|
constructor(){
|
|
43011
44946
|
super();
|
|
43012
44947
|
|
|
43013
44948
|
/**
|
|
43014
|
-
* The
|
|
43015
|
-
* @type {
|
|
44949
|
+
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
44950
|
+
* @type {number || null}
|
|
43016
44951
|
*/
|
|
43017
|
-
this.
|
|
44952
|
+
this.SubAppId = null;
|
|
43018
44953
|
|
|
43019
44954
|
/**
|
|
43020
|
-
*
|
|
43021
|
-
<li>
|
|
43022
|
-
<
|
|
44955
|
+
* Model name. valid values:.
|
|
44956
|
+
<li>GEM:Gemini;</li>
|
|
44957
|
+
<Li>Qwen: qianwen.</li>
|
|
44958
|
+
<Li>Hunyuan: hunyuan.</li>
|
|
43023
44959
|
* @type {string || null}
|
|
43024
44960
|
*/
|
|
43025
|
-
this.
|
|
44961
|
+
this.ModelName = null;
|
|
43026
44962
|
|
|
43027
44963
|
/**
|
|
43028
|
-
*
|
|
44964
|
+
* Model version. valid values:.
|
|
44965
|
+
<li>When ModelName is GEM, optional values are 2.5, 3.0;</li>
|
|
44966
|
+
<li>When ModelName is Qwen, optional values are 0925.</li>
|
|
44967
|
+
<li>When ModelName is Hunyuan, the optional values are 3.0.</li>
|
|
43029
44968
|
* @type {string || null}
|
|
43030
44969
|
*/
|
|
43031
|
-
this.
|
|
44970
|
+
this.ModelVersion = null;
|
|
43032
44971
|
|
|
43033
44972
|
/**
|
|
43034
|
-
*
|
|
43035
|
-
* @type {
|
|
44973
|
+
* File information of the input image for the AIGC image generation task. By default only one image can be specified; when using the GEM model, version 2.5 supports up to 3 images and version 3.0 supports up to 14 images.
|
|
44974
|
+
* @type {Array.<AigcImageTaskInputFileInfo> || null}
|
|
43036
44975
|
*/
|
|
43037
|
-
this.
|
|
44976
|
+
this.FileInfos = null;
|
|
43038
44977
|
|
|
43039
44978
|
/**
|
|
43040
|
-
* The
|
|
44979
|
+
* The prompt content for image generation. this parameter is required when FileInfos is empty.
|
|
43041
44980
|
* @type {string || null}
|
|
43042
44981
|
*/
|
|
43043
|
-
this.
|
|
44982
|
+
this.Prompt = null;
|
|
43044
44983
|
|
|
43045
44984
|
/**
|
|
43046
|
-
*
|
|
43047
|
-
|
|
43048
|
-
* @type {MediaMetaData || null}
|
|
44985
|
+
* Prevent the model from generating image generation prompts.
|
|
44986
|
+
* @type {string || null}
|
|
43049
44987
|
*/
|
|
43050
|
-
this.
|
|
44988
|
+
this.NegativePrompt = null;
|
|
43051
44989
|
|
|
43052
44990
|
/**
|
|
43053
|
-
*
|
|
43054
|
-
* @type {
|
|
44991
|
+
* Whether to optimize Prompt content automatically. when Enabled, it will optimize the passed in Prompt automatically to enhance generation quality. valid values: <li>Enabled: turn on;</li> <li>Disabled: turn off;</li>
|
|
44992
|
+
* @type {string || null}
|
|
43055
44993
|
*/
|
|
43056
|
-
this.
|
|
44994
|
+
this.EnhancePrompt = null;
|
|
43057
44995
|
|
|
43058
44996
|
/**
|
|
43059
|
-
*
|
|
43060
|
-
* @type {
|
|
44997
|
+
* Output media file configuration for the task.
|
|
44998
|
+
* @type {AigcImageOutputConfig || null}
|
|
43061
44999
|
*/
|
|
43062
|
-
this.
|
|
45000
|
+
this.OutputConfig = null;
|
|
43063
45001
|
|
|
43064
45002
|
/**
|
|
43065
|
-
*
|
|
43066
|
-
<li>Finish: Send a notification after the task is completed.</li>
|
|
43067
|
-
<li>None: Do not send status change notifications for this task.</li>
|
|
45003
|
+
* An identifier for deduplication. if there has been a request with the same identifier within the past 3 days, an error will be returned for the current request. the maximum length is 50 characters. leaving it blank or using an empty string indicates no deduplication.
|
|
43068
45004
|
* @type {string || null}
|
|
43069
45005
|
*/
|
|
43070
|
-
this.
|
|
45006
|
+
this.SessionId = null;
|
|
43071
45007
|
|
|
43072
45008
|
/**
|
|
43073
|
-
*
|
|
45009
|
+
* Source context, used to pass through user request information. the audio and video quality revival complete callback will return the value of this field. longest 1000 characters.
|
|
43074
45010
|
* @type {string || null}
|
|
43075
45011
|
*/
|
|
43076
45012
|
this.SessionContext = null;
|
|
43077
45013
|
|
|
43078
45014
|
/**
|
|
43079
|
-
*
|
|
45015
|
+
* Task priority. the higher the value, the higher the priority. value range is from -10 to 10. if left blank, the default value is 0.
|
|
45016
|
+
* @type {number || null}
|
|
45017
|
+
*/
|
|
45018
|
+
this.TasksPriority = null;
|
|
45019
|
+
|
|
45020
|
+
/**
|
|
45021
|
+
* Reserved field, used when special purpose.
|
|
43080
45022
|
* @type {string || null}
|
|
43081
45023
|
*/
|
|
43082
|
-
this.
|
|
45024
|
+
this.ExtInfo = null;
|
|
43083
45025
|
|
|
43084
45026
|
}
|
|
43085
45027
|
|
|
@@ -43090,30 +45032,31 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
43090
45032
|
if (!params) {
|
|
43091
45033
|
return;
|
|
43092
45034
|
}
|
|
43093
|
-
this.
|
|
43094
|
-
this.
|
|
43095
|
-
this.
|
|
43096
|
-
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
43097
|
-
this.FileUrl = 'FileUrl' in params ? params.FileUrl : null;
|
|
45035
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
45036
|
+
this.ModelName = 'ModelName' in params ? params.ModelName : null;
|
|
45037
|
+
this.ModelVersion = 'ModelVersion' in params ? params.ModelVersion : null;
|
|
43098
45038
|
|
|
43099
|
-
if (params.
|
|
43100
|
-
|
|
43101
|
-
|
|
43102
|
-
|
|
45039
|
+
if (params.FileInfos) {
|
|
45040
|
+
this.FileInfos = new Array();
|
|
45041
|
+
for (let z in params.FileInfos) {
|
|
45042
|
+
let obj = new AigcImageTaskInputFileInfo();
|
|
45043
|
+
obj.deserialize(params.FileInfos[z]);
|
|
45044
|
+
this.FileInfos.push(obj);
|
|
45045
|
+
}
|
|
43103
45046
|
}
|
|
45047
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
45048
|
+
this.NegativePrompt = 'NegativePrompt' in params ? params.NegativePrompt : null;
|
|
45049
|
+
this.EnhancePrompt = 'EnhancePrompt' in params ? params.EnhancePrompt : null;
|
|
43104
45050
|
|
|
43105
|
-
if (params.
|
|
43106
|
-
|
|
43107
|
-
|
|
43108
|
-
|
|
43109
|
-
obj.deserialize(params.MediaProcessResultSet[z]);
|
|
43110
|
-
this.MediaProcessResultSet.push(obj);
|
|
43111
|
-
}
|
|
45051
|
+
if (params.OutputConfig) {
|
|
45052
|
+
let obj = new AigcImageOutputConfig();
|
|
45053
|
+
obj.deserialize(params.OutputConfig)
|
|
45054
|
+
this.OutputConfig = obj;
|
|
43112
45055
|
}
|
|
43113
|
-
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
43114
|
-
this.TasksNotifyMode = 'TasksNotifyMode' in params ? params.TasksNotifyMode : null;
|
|
43115
|
-
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
43116
45056
|
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
45057
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
45058
|
+
this.TasksPriority = 'TasksPriority' in params ? params.TasksPriority : null;
|
|
45059
|
+
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
43117
45060
|
|
|
43118
45061
|
}
|
|
43119
45062
|
}
|
|
@@ -47672,52 +49615,24 @@ class SnapshotByTimeOffsetTask2017 extends AbstractModel {
|
|
|
47672
49615
|
}
|
|
47673
49616
|
|
|
47674
49617
|
/**
|
|
47675
|
-
*
|
|
49618
|
+
* Control parameter of prohibited information detection task
|
|
47676
49619
|
* @class
|
|
47677
49620
|
*/
|
|
47678
|
-
class
|
|
49621
|
+
class ProhibitedConfigureInfoForUpdate extends AbstractModel {
|
|
47679
49622
|
constructor(){
|
|
47680
49623
|
super();
|
|
47681
49624
|
|
|
47682
49625
|
/**
|
|
47683
|
-
*
|
|
47684
|
-
* @type {
|
|
47685
|
-
*/
|
|
47686
|
-
this.Definition = null;
|
|
47687
|
-
|
|
47688
|
-
/**
|
|
47689
|
-
* The suggestion. Valid values:
|
|
47690
|
-
<li>pass</li>
|
|
47691
|
-
<li>review</li>
|
|
47692
|
-
<li>block</li>
|
|
47693
|
-
* @type {string || null}
|
|
47694
|
-
*/
|
|
47695
|
-
this.Suggestion = null;
|
|
47696
|
-
|
|
47697
|
-
/**
|
|
47698
|
-
* The moderation type in the format of `Form.Label`. This parameter is valid if `Suggestion` is `review` or `block`.
|
|
47699
|
-
`Form` indicates the type of inappropriate content detected. Valid values:
|
|
47700
|
-
<li>`Image` (people or icons in images)</li>
|
|
47701
|
-
<li>`OCR` (text in images)</li>
|
|
47702
|
-
<li>`ASR` (speech)</li>
|
|
47703
|
-
<li>`Voice`</li>
|
|
47704
|
-
`Label` indicates the violation label. Valid values:
|
|
47705
|
-
<li>`Porn` (pornographic content)</li>
|
|
47706
|
-
<li>`Terror` (terrorist content)</li>
|
|
47707
|
-
<li>`Polity` (politically sensitive content)</li>
|
|
47708
|
-
<li>`Ad` (advertisement)</li>
|
|
47709
|
-
<li>`Illegal` (illegal content)</li>
|
|
47710
|
-
<li>`Abuse`</li>
|
|
47711
|
-
<li>`Moan`</li>
|
|
47712
|
-
* @type {Array.<string> || null}
|
|
49626
|
+
* Control parameter of prohibited information detection in speech.
|
|
49627
|
+
* @type {ProhibitedAsrReviewTemplateInfoForUpdate || null}
|
|
47713
49628
|
*/
|
|
47714
|
-
this.
|
|
49629
|
+
this.AsrReviewInfo = null;
|
|
47715
49630
|
|
|
47716
49631
|
/**
|
|
47717
|
-
*
|
|
47718
|
-
* @type {
|
|
49632
|
+
* Control parameter of prohibited information detection in text.
|
|
49633
|
+
* @type {ProhibitedOcrReviewTemplateInfoForUpdate || null}
|
|
47719
49634
|
*/
|
|
47720
|
-
this.
|
|
49635
|
+
this.OcrReviewInfo = null;
|
|
47721
49636
|
|
|
47722
49637
|
}
|
|
47723
49638
|
|
|
@@ -47728,10 +49643,18 @@ class ReviewInfo extends AbstractModel {
|
|
|
47728
49643
|
if (!params) {
|
|
47729
49644
|
return;
|
|
47730
49645
|
}
|
|
47731
|
-
|
|
47732
|
-
|
|
47733
|
-
|
|
47734
|
-
|
|
49646
|
+
|
|
49647
|
+
if (params.AsrReviewInfo) {
|
|
49648
|
+
let obj = new ProhibitedAsrReviewTemplateInfoForUpdate();
|
|
49649
|
+
obj.deserialize(params.AsrReviewInfo)
|
|
49650
|
+
this.AsrReviewInfo = obj;
|
|
49651
|
+
}
|
|
49652
|
+
|
|
49653
|
+
if (params.OcrReviewInfo) {
|
|
49654
|
+
let obj = new ProhibitedOcrReviewTemplateInfoForUpdate();
|
|
49655
|
+
obj.deserialize(params.OcrReviewInfo)
|
|
49656
|
+
this.OcrReviewInfo = obj;
|
|
49657
|
+
}
|
|
47735
49658
|
|
|
47736
49659
|
}
|
|
47737
49660
|
}
|
|
@@ -48825,6 +50748,66 @@ class PoliticalAsrReviewTemplateInfo extends AbstractModel {
|
|
|
48825
50748
|
}
|
|
48826
50749
|
}
|
|
48827
50750
|
|
|
50751
|
+
/**
|
|
50752
|
+
* Scene AIGC image task input.
|
|
50753
|
+
* @class
|
|
50754
|
+
*/
|
|
50755
|
+
class SceneAigcImageTaskInput extends AbstractModel {
|
|
50756
|
+
constructor(){
|
|
50757
|
+
super();
|
|
50758
|
+
|
|
50759
|
+
/**
|
|
50760
|
+
* Scenario-based Image Generation Parameter Configuration.
|
|
50761
|
+
* @type {AigcImageSceneInfo || null}
|
|
50762
|
+
*/
|
|
50763
|
+
this.SceneInfo = null;
|
|
50764
|
+
|
|
50765
|
+
/**
|
|
50766
|
+
* File information of the input image.
|
|
50767
|
+
* @type {Array.<SceneAigcImageTaskInputFileInfo> || null}
|
|
50768
|
+
*/
|
|
50769
|
+
this.FileInfos = null;
|
|
50770
|
+
|
|
50771
|
+
/**
|
|
50772
|
+
* Output media file configuration for the task.
|
|
50773
|
+
* @type {SceneAigcImageOutputConfig || null}
|
|
50774
|
+
*/
|
|
50775
|
+
this.OutputConfig = null;
|
|
50776
|
+
|
|
50777
|
+
}
|
|
50778
|
+
|
|
50779
|
+
/**
|
|
50780
|
+
* @private
|
|
50781
|
+
*/
|
|
50782
|
+
deserialize(params) {
|
|
50783
|
+
if (!params) {
|
|
50784
|
+
return;
|
|
50785
|
+
}
|
|
50786
|
+
|
|
50787
|
+
if (params.SceneInfo) {
|
|
50788
|
+
let obj = new AigcImageSceneInfo();
|
|
50789
|
+
obj.deserialize(params.SceneInfo)
|
|
50790
|
+
this.SceneInfo = obj;
|
|
50791
|
+
}
|
|
50792
|
+
|
|
50793
|
+
if (params.FileInfos) {
|
|
50794
|
+
this.FileInfos = new Array();
|
|
50795
|
+
for (let z in params.FileInfos) {
|
|
50796
|
+
let obj = new SceneAigcImageTaskInputFileInfo();
|
|
50797
|
+
obj.deserialize(params.FileInfos[z]);
|
|
50798
|
+
this.FileInfos.push(obj);
|
|
50799
|
+
}
|
|
50800
|
+
}
|
|
50801
|
+
|
|
50802
|
+
if (params.OutputConfig) {
|
|
50803
|
+
let obj = new SceneAigcImageOutputConfig();
|
|
50804
|
+
obj.deserialize(params.OutputConfig)
|
|
50805
|
+
this.OutputConfig = obj;
|
|
50806
|
+
}
|
|
50807
|
+
|
|
50808
|
+
}
|
|
50809
|
+
}
|
|
50810
|
+
|
|
48828
50811
|
/**
|
|
48829
50812
|
* CreateAnimatedGraphicsTemplate response structure.
|
|
48830
50813
|
* @class
|
|
@@ -48909,6 +50892,103 @@ class HwPrivateAccess extends AbstractModel {
|
|
|
48909
50892
|
}
|
|
48910
50893
|
}
|
|
48911
50894
|
|
|
50895
|
+
/**
|
|
50896
|
+
* Aigc video task input.
|
|
50897
|
+
* @class
|
|
50898
|
+
*/
|
|
50899
|
+
class AigcVideoTaskInput extends AbstractModel {
|
|
50900
|
+
constructor(){
|
|
50901
|
+
super();
|
|
50902
|
+
|
|
50903
|
+
/**
|
|
50904
|
+
* Model name.
|
|
50905
|
+
* @type {string || null}
|
|
50906
|
+
*/
|
|
50907
|
+
this.ModelName = null;
|
|
50908
|
+
|
|
50909
|
+
/**
|
|
50910
|
+
* Model version.
|
|
50911
|
+
* @type {string || null}
|
|
50912
|
+
*/
|
|
50913
|
+
this.ModelVersion = null;
|
|
50914
|
+
|
|
50915
|
+
/**
|
|
50916
|
+
* File information of the input video for the AIGC video generation task.
|
|
50917
|
+
* @type {Array.<AigcVideoTaskInputFileInfo> || null}
|
|
50918
|
+
*/
|
|
50919
|
+
this.FileInfos = null;
|
|
50920
|
+
|
|
50921
|
+
/**
|
|
50922
|
+
* The media file ID used as the end frame to generate video.
|
|
50923
|
+
* @type {string || null}
|
|
50924
|
+
*/
|
|
50925
|
+
this.LastFrameFileId = null;
|
|
50926
|
+
|
|
50927
|
+
/**
|
|
50928
|
+
* Prompt content for video generation.
|
|
50929
|
+
* @type {string || null}
|
|
50930
|
+
*/
|
|
50931
|
+
this.Prompt = null;
|
|
50932
|
+
|
|
50933
|
+
/**
|
|
50934
|
+
* Prevent the model from generating video prompts.
|
|
50935
|
+
* @type {string || null}
|
|
50936
|
+
*/
|
|
50937
|
+
this.NegativePrompt = null;
|
|
50938
|
+
|
|
50939
|
+
/**
|
|
50940
|
+
* Whether to optimize Prompt content automatically. when Enabled, the passed-in Prompt will be optimized automatically to enhance generation quality. valid values: <li>Enabled: enable;</li> <li>Disabled: disable;</li>.
|
|
50941
|
+
* @type {string || null}
|
|
50942
|
+
*/
|
|
50943
|
+
this.EnhancePrompt = null;
|
|
50944
|
+
|
|
50945
|
+
/**
|
|
50946
|
+
*
|
|
50947
|
+
* @type {string || null}
|
|
50948
|
+
*/
|
|
50949
|
+
this.GenerationMode = null;
|
|
50950
|
+
|
|
50951
|
+
/**
|
|
50952
|
+
* Specifies the output media file configuration for the video task.
|
|
50953
|
+
* @type {AigcVideoOutputConfig || null}
|
|
50954
|
+
*/
|
|
50955
|
+
this.OutputConfig = null;
|
|
50956
|
+
|
|
50957
|
+
}
|
|
50958
|
+
|
|
50959
|
+
/**
|
|
50960
|
+
* @private
|
|
50961
|
+
*/
|
|
50962
|
+
deserialize(params) {
|
|
50963
|
+
if (!params) {
|
|
50964
|
+
return;
|
|
50965
|
+
}
|
|
50966
|
+
this.ModelName = 'ModelName' in params ? params.ModelName : null;
|
|
50967
|
+
this.ModelVersion = 'ModelVersion' in params ? params.ModelVersion : null;
|
|
50968
|
+
|
|
50969
|
+
if (params.FileInfos) {
|
|
50970
|
+
this.FileInfos = new Array();
|
|
50971
|
+
for (let z in params.FileInfos) {
|
|
50972
|
+
let obj = new AigcVideoTaskInputFileInfo();
|
|
50973
|
+
obj.deserialize(params.FileInfos[z]);
|
|
50974
|
+
this.FileInfos.push(obj);
|
|
50975
|
+
}
|
|
50976
|
+
}
|
|
50977
|
+
this.LastFrameFileId = 'LastFrameFileId' in params ? params.LastFrameFileId : null;
|
|
50978
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
50979
|
+
this.NegativePrompt = 'NegativePrompt' in params ? params.NegativePrompt : null;
|
|
50980
|
+
this.EnhancePrompt = 'EnhancePrompt' in params ? params.EnhancePrompt : null;
|
|
50981
|
+
this.GenerationMode = 'GenerationMode' in params ? params.GenerationMode : null;
|
|
50982
|
+
|
|
50983
|
+
if (params.OutputConfig) {
|
|
50984
|
+
let obj = new AigcVideoOutputConfig();
|
|
50985
|
+
obj.deserialize(params.OutputConfig)
|
|
50986
|
+
this.OutputConfig = obj;
|
|
50987
|
+
}
|
|
50988
|
+
|
|
50989
|
+
}
|
|
50990
|
+
}
|
|
50991
|
+
|
|
48912
50992
|
/**
|
|
48913
50993
|
* Video opening and ending credits recognition result.
|
|
48914
50994
|
* @class
|
|
@@ -50320,24 +52400,53 @@ class SearchMediaBySemanticsRequest extends AbstractModel {
|
|
|
50320
52400
|
}
|
|
50321
52401
|
|
|
50322
52402
|
/**
|
|
50323
|
-
*
|
|
52403
|
+
* CreateHeadTailTemplate request structure.
|
|
50324
52404
|
* @class
|
|
50325
52405
|
*/
|
|
50326
|
-
class
|
|
52406
|
+
class CreateHeadTailTemplateRequest extends AbstractModel {
|
|
50327
52407
|
constructor(){
|
|
50328
52408
|
super();
|
|
50329
52409
|
|
|
50330
52410
|
/**
|
|
50331
|
-
*
|
|
50332
|
-
* @type {
|
|
52411
|
+
* Template name, length limit is 64 characters.
|
|
52412
|
+
* @type {string || null}
|
|
50333
52413
|
*/
|
|
50334
|
-
this.
|
|
52414
|
+
this.Name = null;
|
|
50335
52415
|
|
|
50336
52416
|
/**
|
|
50337
|
-
*
|
|
50338
|
-
* @type {
|
|
52417
|
+
* <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
52418
|
+
* @type {number || null}
|
|
50339
52419
|
*/
|
|
50340
|
-
this.
|
|
52420
|
+
this.SubAppId = null;
|
|
52421
|
+
|
|
52422
|
+
/**
|
|
52423
|
+
* Template description information, length limit is 256 characters.
|
|
52424
|
+
* @type {string || null}
|
|
52425
|
+
*/
|
|
52426
|
+
this.Comment = null;
|
|
52427
|
+
|
|
52428
|
+
/**
|
|
52429
|
+
* Title candidate list, fill in the FileId of the video. When transcoding, the title closest to the aspect ratio of the feature film will be automatically selected (when the aspect ratio is the same, the front candidate will take precedence). Supports up to 5 candidate titles.
|
|
52430
|
+
* @type {Array.<string> || null}
|
|
52431
|
+
*/
|
|
52432
|
+
this.HeadCandidateSet = null;
|
|
52433
|
+
|
|
52434
|
+
/**
|
|
52435
|
+
* Ending candidate list, fill in the FileId of the video. When transcoding, the ending with the aspect ratio closest to the feature film will be automatically selected (when the aspect ratio is the same, the front candidate will take precedence). Supports up to 5 candidate endings.
|
|
52436
|
+
* @type {Array.<string> || null}
|
|
52437
|
+
*/
|
|
52438
|
+
this.TailCandidateSet = null;
|
|
52439
|
+
|
|
52440
|
+
/**
|
|
52441
|
+
* Padding method. When the video stream configuration width and height parameters are inconsistent with the aspect ratio of the original video, the transcoding processing method is "padding". Optional filling method:
|
|
52442
|
+
<li> stretch: stretch, stretch each frame to fill the entire screen, which may cause the transcoded video to be "squashed" or "stretched";</li>
|
|
52443
|
+
<li> gauss: Gaussian blur, keep the video aspect ratio unchanged, use Gaussian blur for the remaining edges; </li>
|
|
52444
|
+
<li> white: leave blank, keep the video aspect ratio unchanged, use the remaining edges for the edge Use white filling; </li>
|
|
52445
|
+
<li> black: Leave black, keep the video aspect ratio unchanged, and fill the remaining edges with black. </li>
|
|
52446
|
+
Default value: stretch.
|
|
52447
|
+
* @type {string || null}
|
|
52448
|
+
*/
|
|
52449
|
+
this.FillType = null;
|
|
50341
52450
|
|
|
50342
52451
|
}
|
|
50343
52452
|
|
|
@@ -50348,18 +52457,12 @@ class ProhibitedConfigureInfoForUpdate extends AbstractModel {
|
|
|
50348
52457
|
if (!params) {
|
|
50349
52458
|
return;
|
|
50350
52459
|
}
|
|
50351
|
-
|
|
50352
|
-
|
|
50353
|
-
|
|
50354
|
-
|
|
50355
|
-
|
|
50356
|
-
|
|
50357
|
-
|
|
50358
|
-
if (params.OcrReviewInfo) {
|
|
50359
|
-
let obj = new ProhibitedOcrReviewTemplateInfoForUpdate();
|
|
50360
|
-
obj.deserialize(params.OcrReviewInfo)
|
|
50361
|
-
this.OcrReviewInfo = obj;
|
|
50362
|
-
}
|
|
52460
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
52461
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
52462
|
+
this.Comment = 'Comment' in params ? params.Comment : null;
|
|
52463
|
+
this.HeadCandidateSet = 'HeadCandidateSet' in params ? params.HeadCandidateSet : null;
|
|
52464
|
+
this.TailCandidateSet = 'TailCandidateSet' in params ? params.TailCandidateSet : null;
|
|
52465
|
+
this.FillType = 'FillType' in params ? params.FillType : null;
|
|
50363
52466
|
|
|
50364
52467
|
}
|
|
50365
52468
|
}
|
|
@@ -50729,14 +52832,17 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
50729
52832
|
module.exports = {
|
|
50730
52833
|
Canvas: Canvas,
|
|
50731
52834
|
ModifySampleSnapshotTemplateResponse: ModifySampleSnapshotTemplateResponse,
|
|
52835
|
+
AigcVideoOutputConfig: AigcVideoOutputConfig,
|
|
50732
52836
|
ForbidMediaDistributionResponse: ForbidMediaDistributionResponse,
|
|
50733
52837
|
ModifyWatermarkTemplateRequest: ModifyWatermarkTemplateRequest,
|
|
52838
|
+
SnapshotByTimeOffset2017: SnapshotByTimeOffset2017,
|
|
50734
52839
|
CreateStorageRegionRequest: CreateStorageRegionRequest,
|
|
50735
52840
|
AiRecognitionTaskAsrFullTextSegmentItem: AiRecognitionTaskAsrFullTextSegmentItem,
|
|
50736
52841
|
DescribeFileAttributesTask: DescribeFileAttributesTask,
|
|
50737
52842
|
QualityEvaluationConfigureInfo: QualityEvaluationConfigureInfo,
|
|
50738
52843
|
ReviewAudioVideoTaskInput: ReviewAudioVideoTaskInput,
|
|
50739
52844
|
DescribeAllClassRequest: DescribeAllClassRequest,
|
|
52845
|
+
AigcImageTaskOutput: AigcImageTaskOutput,
|
|
50740
52846
|
UserAgentFilterRule: UserAgentFilterRule,
|
|
50741
52847
|
DescribeRoundPlaysRequest: DescribeRoundPlaysRequest,
|
|
50742
52848
|
AiAnalysisTaskClassificationInput: AiAnalysisTaskClassificationInput,
|
|
@@ -50755,6 +52861,7 @@ module.exports = {
|
|
|
50755
52861
|
AiReviewTaskProhibitedOcrResult: AiReviewTaskProhibitedOcrResult,
|
|
50756
52862
|
AiRecognitionTaskAsrFullTextResultOutput: AiRecognitionTaskAsrFullTextResultOutput,
|
|
50757
52863
|
AiReviewProhibitedOcrTaskOutput: AiReviewProhibitedOcrTaskOutput,
|
|
52864
|
+
CacheConfigFollowOrigin: CacheConfigFollowOrigin,
|
|
50758
52865
|
MediaMiniProgramReviewElem: MediaMiniProgramReviewElem,
|
|
50759
52866
|
ManageTaskResponse: ManageTaskResponse,
|
|
50760
52867
|
CreateImageProcessingTemplateRequest: CreateImageProcessingTemplateRequest,
|
|
@@ -50772,18 +52879,21 @@ module.exports = {
|
|
|
50772
52879
|
EnhanceConfig: EnhanceConfig,
|
|
50773
52880
|
MediaInputInfo: MediaInputInfo,
|
|
50774
52881
|
CreateImageSpriteTask2017: CreateImageSpriteTask2017,
|
|
50775
|
-
|
|
52882
|
+
DescribeImageReviewUsageDataResponse: DescribeImageReviewUsageDataResponse,
|
|
50776
52883
|
TempCertificate: TempCertificate,
|
|
52884
|
+
RebuildMediaRequest: RebuildMediaRequest,
|
|
50777
52885
|
AiReviewTaskPoliticalOcrResult: AiReviewTaskPoliticalOcrResult,
|
|
50778
52886
|
QualityEnhanceTask: QualityEnhanceTask,
|
|
50779
52887
|
AiSampleWord: AiSampleWord,
|
|
50780
52888
|
RuleCacheConfig: RuleCacheConfig,
|
|
52889
|
+
PoliticalOcrReviewTemplateInfo: PoliticalOcrReviewTemplateInfo,
|
|
50781
52890
|
CreateImageSpriteTemplateRequest: CreateImageSpriteTemplateRequest,
|
|
50782
52891
|
MediaSnapshotByTimePicInfoItem: MediaSnapshotByTimePicInfoItem,
|
|
50783
52892
|
PornOcrReviewTemplateInfoForUpdate: PornOcrReviewTemplateInfoForUpdate,
|
|
50784
52893
|
RefreshUrlCacheRequest: RefreshUrlCacheRequest,
|
|
50785
52894
|
FaceConfigureInfoForUpdate: FaceConfigureInfoForUpdate,
|
|
50786
52895
|
ContentReviewTemplateItem: ContentReviewTemplateItem,
|
|
52896
|
+
AigcImageTaskOutputFileInfo: AigcImageTaskOutputFileInfo,
|
|
50787
52897
|
DeleteAIRecognitionTemplateResponse: DeleteAIRecognitionTemplateResponse,
|
|
50788
52898
|
VideoEnhanceConfig: VideoEnhanceConfig,
|
|
50789
52899
|
DeleteContentReviewTemplateRequest: DeleteContentReviewTemplateRequest,
|
|
@@ -50830,6 +52940,7 @@ module.exports = {
|
|
|
50830
52940
|
ModifyEnhanceMediaTemplateRequest: ModifyEnhanceMediaTemplateRequest,
|
|
50831
52941
|
TerrorismImgReviewTemplateInfoForUpdate: TerrorismImgReviewTemplateInfoForUpdate,
|
|
50832
52942
|
AudioBeautifyInfo: AudioBeautifyInfo,
|
|
52943
|
+
AiRecognitionTaskOcrFullTextResultOutput: AiRecognitionTaskOcrFullTextResultOutput,
|
|
50833
52944
|
ModifyTranscodeTemplateRequest: ModifyTranscodeTemplateRequest,
|
|
50834
52945
|
RuleCache: RuleCache,
|
|
50835
52946
|
ProcessMediaByMPS: ProcessMediaByMPS,
|
|
@@ -50842,6 +52953,7 @@ module.exports = {
|
|
|
50842
52953
|
DeleteSuperPlayerConfigRequest: DeleteSuperPlayerConfigRequest,
|
|
50843
52954
|
AiReviewTerrorismOcrTaskInput: AiReviewTerrorismOcrTaskInput,
|
|
50844
52955
|
AiRecognitionTaskOcrWordsResultInput: AiRecognitionTaskOcrWordsResultInput,
|
|
52956
|
+
SceneAigcImageTaskOutputFileInfo: SceneAigcImageTaskOutputFileInfo,
|
|
50845
52957
|
ModifyMediaStorageClassResponse: ModifyMediaStorageClassResponse,
|
|
50846
52958
|
AiReviewPornTaskInput: AiReviewPornTaskInput,
|
|
50847
52959
|
JitterConfigureInfoForUpdate: JitterConfigureInfoForUpdate,
|
|
@@ -50876,9 +52988,10 @@ module.exports = {
|
|
|
50876
52988
|
FileDeleteTask: FileDeleteTask,
|
|
50877
52989
|
ResourceTag: ResourceTag,
|
|
50878
52990
|
ImportMediaKnowledgeRequest: ImportMediaKnowledgeRequest,
|
|
50879
|
-
|
|
52991
|
+
AigcImageSceneInfo: AigcImageSceneInfo,
|
|
50880
52992
|
AiAnalysisTaskHighlightResult: AiAnalysisTaskHighlightResult,
|
|
50881
52993
|
SetVodDomainCertificateRequest: SetVodDomainCertificateRequest,
|
|
52994
|
+
CreateAigcVideoTaskResponse: CreateAigcVideoTaskResponse,
|
|
50882
52995
|
CreateRebuildMediaTemplateResponse: CreateRebuildMediaTemplateResponse,
|
|
50883
52996
|
AiRecognitionTaskOcrWordsResultOutput: AiRecognitionTaskOcrWordsResultOutput,
|
|
50884
52997
|
AiSampleFaceInfo: AiSampleFaceInfo,
|
|
@@ -50929,6 +53042,7 @@ module.exports = {
|
|
|
50929
53042
|
SuperResolutionInfo: SuperResolutionInfo,
|
|
50930
53043
|
MediaImageSpriteInfo: MediaImageSpriteInfo,
|
|
50931
53044
|
EnhanceMediaQualityRequest: EnhanceMediaQualityRequest,
|
|
53045
|
+
ProductImageConfig: ProductImageConfig,
|
|
50932
53046
|
PersistenceCompleteTask: PersistenceCompleteTask,
|
|
50933
53047
|
AiRecognitionTaskFaceSegmentItem: AiRecognitionTaskFaceSegmentItem,
|
|
50934
53048
|
ProcessMediaResponse: ProcessMediaResponse,
|
|
@@ -50944,15 +53058,18 @@ module.exports = {
|
|
|
50944
53058
|
AiSampleFaceOperation: AiSampleFaceOperation,
|
|
50945
53059
|
SvgWatermarkInputForUpdate: SvgWatermarkInputForUpdate,
|
|
50946
53060
|
AiReviewTaskTerrorismOcrResult: AiReviewTaskTerrorismOcrResult,
|
|
53061
|
+
AigcImageOutputConfig: AigcImageOutputConfig,
|
|
50947
53062
|
WatermarkConfigureInfoForUpdate: WatermarkConfigureInfoForUpdate,
|
|
50948
53063
|
AiRecognitionTaskOcrWordsResult: AiRecognitionTaskOcrWordsResult,
|
|
50949
53064
|
PornAsrReviewTemplateInfo: PornAsrReviewTemplateInfo,
|
|
50950
53065
|
AiRecognitionTaskSegmentResult: AiRecognitionTaskSegmentResult,
|
|
53066
|
+
CreateAigcImageTaskResponse: CreateAigcImageTaskResponse,
|
|
50951
53067
|
JitterConfigureInfo: JitterConfigureInfo,
|
|
50952
53068
|
MediaSubtitleItem: MediaSubtitleItem,
|
|
50953
53069
|
ReviewAudioVideoTaskOutput: ReviewAudioVideoTaskOutput,
|
|
50954
53070
|
ProhibitedAsrReviewTemplateInfoForUpdate: ProhibitedAsrReviewTemplateInfoForUpdate,
|
|
50955
53071
|
ModifyAnimatedGraphicsTemplateResponse: ModifyAnimatedGraphicsTemplateResponse,
|
|
53072
|
+
CreateSceneAigcImageTaskResponse: CreateSceneAigcImageTaskResponse,
|
|
50956
53073
|
AiRecognitionTaskAsrTranslateSegmentItem: AiRecognitionTaskAsrTranslateSegmentItem,
|
|
50957
53074
|
ModifyAIAnalysisTemplateResponse: ModifyAIAnalysisTemplateResponse,
|
|
50958
53075
|
LiveRealTimeClipRequest: LiveRealTimeClipRequest,
|
|
@@ -50964,8 +53081,9 @@ module.exports = {
|
|
|
50964
53081
|
SplitMediaTaskSegmentInfo: SplitMediaTaskSegmentInfo,
|
|
50965
53082
|
AiReviewPornAsrTaskOutput: AiReviewPornAsrTaskOutput,
|
|
50966
53083
|
RequestHeader: RequestHeader,
|
|
50967
|
-
|
|
53084
|
+
AigcImageTask: AigcImageTask,
|
|
50968
53085
|
SimpleHlsClipResponse: SimpleHlsClipResponse,
|
|
53086
|
+
AigcVideoTaskOutputFileInfo: AigcVideoTaskOutputFileInfo,
|
|
50969
53087
|
DeleteAIAnalysisTemplateRequest: DeleteAIAnalysisTemplateRequest,
|
|
50970
53088
|
VideoFrameInterpolationInfo: VideoFrameInterpolationInfo,
|
|
50971
53089
|
EditMediaRequest: EditMediaRequest,
|
|
@@ -51000,21 +53118,22 @@ module.exports = {
|
|
|
51000
53118
|
CreateContentReviewTemplateResponse: CreateContentReviewTemplateResponse,
|
|
51001
53119
|
ModifyAnimatedGraphicsTemplateRequest: ModifyAnimatedGraphicsTemplateRequest,
|
|
51002
53120
|
DescribeAIAnalysisTemplatesRequest: DescribeAIAnalysisTemplatesRequest,
|
|
51003
|
-
|
|
53121
|
+
AigcImageTaskInputFileInfo: AigcImageTaskInputFileInfo,
|
|
51004
53122
|
MediaSampleSnapshotItem: MediaSampleSnapshotItem,
|
|
51005
53123
|
TagConfigureInfoForUpdate: TagConfigureInfoForUpdate,
|
|
51006
53124
|
DeleteWordSamplesRequest: DeleteWordSamplesRequest,
|
|
51007
53125
|
FastEditMediaResponse: FastEditMediaResponse,
|
|
51008
53126
|
EmptyTrackItem: EmptyTrackItem,
|
|
51009
53127
|
RefererRule: RefererRule,
|
|
51010
|
-
|
|
53128
|
+
AigcVideoTaskInputFileInfo: AigcVideoTaskInputFileInfo,
|
|
51011
53129
|
StickerTrackItem: StickerTrackItem,
|
|
51012
53130
|
ModifyEventConfigResponse: ModifyEventConfigResponse,
|
|
51013
53131
|
ProcessMediaRequest: ProcessMediaRequest,
|
|
53132
|
+
ReduceMediaBitrateTask: ReduceMediaBitrateTask,
|
|
51014
53133
|
DescribeMediaPlayStatDetailsResponse: DescribeMediaPlayStatDetailsResponse,
|
|
51015
53134
|
FaceEnhanceInfo: FaceEnhanceInfo,
|
|
51016
53135
|
VideoTemplateInfo: VideoTemplateInfo,
|
|
51017
|
-
|
|
53136
|
+
AigcVideoTask: AigcVideoTask,
|
|
51018
53137
|
ModifyCDNDomainConfigResponse: ModifyCDNDomainConfigResponse,
|
|
51019
53138
|
AiReviewTaskPornOcrResult: AiReviewTaskPornOcrResult,
|
|
51020
53139
|
ModifyContentReviewTemplateResponse: ModifyContentReviewTemplateResponse,
|
|
@@ -51074,6 +53193,7 @@ module.exports = {
|
|
|
51074
53193
|
ModifyWordSampleResponse: ModifyWordSampleResponse,
|
|
51075
53194
|
EnhanceMediaByTemplateResponse: EnhanceMediaByTemplateResponse,
|
|
51076
53195
|
CreateJustInTimeTranscodeTemplateRequest: CreateJustInTimeTranscodeTemplateRequest,
|
|
53196
|
+
CreateAigcVideoTaskRequest: CreateAigcVideoTaskRequest,
|
|
51077
53197
|
ComplexAdaptiveDynamicStreamingTaskAudioInput: ComplexAdaptiveDynamicStreamingTaskAudioInput,
|
|
51078
53198
|
ManageTaskRequest: ManageTaskRequest,
|
|
51079
53199
|
AudioVolumeBalanceInfo: AudioVolumeBalanceInfo,
|
|
@@ -51123,6 +53243,7 @@ module.exports = {
|
|
|
51123
53243
|
CopyRightWatermarkInput: CopyRightWatermarkInput,
|
|
51124
53244
|
AiRecognitionTaskHeadTailResultOutput: AiRecognitionTaskHeadTailResultOutput,
|
|
51125
53245
|
ModifyImageSpriteTemplateResponse: ModifyImageSpriteTemplateResponse,
|
|
53246
|
+
SceneAigcImageOutputConfig: SceneAigcImageOutputConfig,
|
|
51126
53247
|
SetVodDomainCertificateResponse: SetVodDomainCertificateResponse,
|
|
51127
53248
|
ExtractTraceWatermarkTaskOutput: ExtractTraceWatermarkTaskOutput,
|
|
51128
53249
|
MediaProcessTaskCoverBySnapshotResult: MediaProcessTaskCoverBySnapshotResult,
|
|
@@ -51160,6 +53281,7 @@ module.exports = {
|
|
|
51160
53281
|
CreateEnhanceMediaTemplateRequest: CreateEnhanceMediaTemplateRequest,
|
|
51161
53282
|
MediaKeyFrameDescItem: MediaKeyFrameDescItem,
|
|
51162
53283
|
AsrTranslateConfigureInfoForUpdate: AsrTranslateConfigureInfoForUpdate,
|
|
53284
|
+
SceneAigcImageTask: SceneAigcImageTask,
|
|
51163
53285
|
RebuildMediaByTemplateRequest: RebuildMediaByTemplateRequest,
|
|
51164
53286
|
ModifyVodDomainConfigRequest: ModifyVodDomainConfigRequest,
|
|
51165
53287
|
AiSampleTagOperation: AiSampleTagOperation,
|
|
@@ -51210,7 +53332,9 @@ module.exports = {
|
|
|
51210
53332
|
DescribeEventConfigResponse: DescribeEventConfigResponse,
|
|
51211
53333
|
DescribeCdnLogsResponse: DescribeCdnLogsResponse,
|
|
51212
53334
|
MediaContentReviewPoliticalSegmentItem: MediaContentReviewPoliticalSegmentItem,
|
|
53335
|
+
AigcVideoTaskOutput: AigcVideoTaskOutput,
|
|
51213
53336
|
DeletePersonSampleResponse: DeletePersonSampleResponse,
|
|
53337
|
+
ReviewInfo: ReviewInfo,
|
|
51214
53338
|
CreateSnapshotByTimeOffsetTemplateResponse: CreateSnapshotByTimeOffsetTemplateResponse,
|
|
51215
53339
|
VoiceConfigureInfoForUpdate: VoiceConfigureInfoForUpdate,
|
|
51216
53340
|
ModifyContentReviewTemplateRequest: ModifyContentReviewTemplateRequest,
|
|
@@ -51287,7 +53411,7 @@ module.exports = {
|
|
|
51287
53411
|
WechatPublishTask: WechatPublishTask,
|
|
51288
53412
|
DescribeCDNStatDetailsRequest: DescribeCDNStatDetailsRequest,
|
|
51289
53413
|
HeadTailTaskInput: HeadTailTaskInput,
|
|
51290
|
-
|
|
53414
|
+
ClipFileInfo2017: ClipFileInfo2017,
|
|
51291
53415
|
DeleteRoundPlayResponse: DeleteRoundPlayResponse,
|
|
51292
53416
|
StatDataItem: StatDataItem,
|
|
51293
53417
|
CreateStorageRegionResponse: CreateStorageRegionResponse,
|
|
@@ -51307,8 +53431,10 @@ module.exports = {
|
|
|
51307
53431
|
OutputAudioStream: OutputAudioStream,
|
|
51308
53432
|
ModifyClassRequest: ModifyClassRequest,
|
|
51309
53433
|
QRCodeConfigureInfoForUpdate: QRCodeConfigureInfoForUpdate,
|
|
53434
|
+
SceneAigcImageTaskInputFileInfo: SceneAigcImageTaskInputFileInfo,
|
|
51310
53435
|
SpecificationDataItem: SpecificationDataItem,
|
|
51311
53436
|
TEHDConfigForUpdate: TEHDConfigForUpdate,
|
|
53437
|
+
SceneAigcImageTaskOutput: SceneAigcImageTaskOutput,
|
|
51312
53438
|
ComposeMediaTaskOutput: ComposeMediaTaskOutput,
|
|
51313
53439
|
DescribeQualityInspectTemplatesRequest: DescribeQualityInspectTemplatesRequest,
|
|
51314
53440
|
DescribeMediaInfosRequest: DescribeMediaInfosRequest,
|
|
@@ -51353,12 +53479,14 @@ module.exports = {
|
|
|
51353
53479
|
DeleteRebuildMediaTemplateRequest: DeleteRebuildMediaTemplateRequest,
|
|
51354
53480
|
CreateDomainVerifyRecordRequest: CreateDomainVerifyRecordRequest,
|
|
51355
53481
|
MediaInfo: MediaInfo,
|
|
53482
|
+
AigcImageTaskInput: AigcImageTaskInput,
|
|
51356
53483
|
VideoTemplateInfoForUpdate: VideoTemplateInfoForUpdate,
|
|
51357
53484
|
CreateContentReviewTemplateRequest: CreateContentReviewTemplateRequest,
|
|
51358
53485
|
DescribeContentReviewTemplatesRequest: DescribeContentReviewTemplatesRequest,
|
|
51359
53486
|
CreateComplexAdaptiveDynamicStreamingTaskResponse: CreateComplexAdaptiveDynamicStreamingTaskResponse,
|
|
51360
53487
|
AdaptiveDynamicStreamingTaskInput: AdaptiveDynamicStreamingTaskInput,
|
|
51361
53488
|
DescribeImageSpriteTemplatesResponse: DescribeImageSpriteTemplatesResponse,
|
|
53489
|
+
CreateSceneAigcImageTaskRequest: CreateSceneAigcImageTaskRequest,
|
|
51362
53490
|
InspectMediaQualityRequest: InspectMediaQualityRequest,
|
|
51363
53491
|
TransitionOperation: TransitionOperation,
|
|
51364
53492
|
WatermarkConfigureInfo: WatermarkConfigureInfo,
|
|
@@ -51369,7 +53497,7 @@ module.exports = {
|
|
|
51369
53497
|
RebuildMediaTaskOutput: RebuildMediaTaskOutput,
|
|
51370
53498
|
EnhanceMediaQualityOutputConfig: EnhanceMediaQualityOutputConfig,
|
|
51371
53499
|
Https: Https,
|
|
51372
|
-
|
|
53500
|
+
AiRecognitionTaskAsrFullTextResultOutputSubtitleItem: AiRecognitionTaskAsrFullTextResultOutputSubtitleItem,
|
|
51373
53501
|
DescribeTaskDetailResponse: DescribeTaskDetailResponse,
|
|
51374
53502
|
MediaKeyFrameDescInfo: MediaKeyFrameDescInfo,
|
|
51375
53503
|
DeleteImageSpriteTemplateRequest: DeleteImageSpriteTemplateRequest,
|
|
@@ -51398,7 +53526,8 @@ module.exports = {
|
|
|
51398
53526
|
RebuildMediaOutputConfig: RebuildMediaOutputConfig,
|
|
51399
53527
|
AiReviewPoliticalTaskOutput: AiReviewPoliticalTaskOutput,
|
|
51400
53528
|
AiReviewTaskPoliticalResult: AiReviewTaskPoliticalResult,
|
|
51401
|
-
|
|
53529
|
+
ImportMediaKnowledgeTask: ImportMediaKnowledgeTask,
|
|
53530
|
+
ChangeClothesConfig: ChangeClothesConfig,
|
|
51402
53531
|
ReviewImageResponse: ReviewImageResponse,
|
|
51403
53532
|
DescribeStorageRegionsResponse: DescribeStorageRegionsResponse,
|
|
51404
53533
|
SampleSnapshotTemplate: SampleSnapshotTemplate,
|
|
@@ -51420,7 +53549,7 @@ module.exports = {
|
|
|
51420
53549
|
CreateTranscodeTemplateResponse: CreateTranscodeTemplateResponse,
|
|
51421
53550
|
CDNDomainConfigForUpdate: CDNDomainConfigForUpdate,
|
|
51422
53551
|
AiRecognitionTaskAsrWordsResultInput: AiRecognitionTaskAsrWordsResultInput,
|
|
51423
|
-
|
|
53552
|
+
ModifySubAppIdStatusResponse: ModifySubAppIdStatusResponse,
|
|
51424
53553
|
CreateAIAnalysisTemplateRequest: CreateAIAnalysisTemplateRequest,
|
|
51425
53554
|
AiReviewTerrorismTaskInput: AiReviewTerrorismTaskInput,
|
|
51426
53555
|
Quic: Quic,
|
|
@@ -51451,7 +53580,7 @@ module.exports = {
|
|
|
51451
53580
|
AuthenticationTypeB: AuthenticationTypeB,
|
|
51452
53581
|
AuthenticationTypeA: AuthenticationTypeA,
|
|
51453
53582
|
AiContentReviewResult: AiContentReviewResult,
|
|
51454
|
-
|
|
53583
|
+
CreateAigcImageTaskRequest: CreateAigcImageTaskRequest,
|
|
51455
53584
|
TerrorismImgReviewTemplateInfo: TerrorismImgReviewTemplateInfo,
|
|
51456
53585
|
ApplyUploadResponse: ApplyUploadResponse,
|
|
51457
53586
|
ReviewAudioVideoResponse: ReviewAudioVideoResponse,
|
|
@@ -51525,7 +53654,7 @@ module.exports = {
|
|
|
51525
53654
|
CommitUploadRequest: CommitUploadRequest,
|
|
51526
53655
|
WatermarkCycleConfigForUpdate: WatermarkCycleConfigForUpdate,
|
|
51527
53656
|
SnapshotByTimeOffsetTask2017: SnapshotByTimeOffsetTask2017,
|
|
51528
|
-
|
|
53657
|
+
ProhibitedConfigureInfoForUpdate: ProhibitedConfigureInfoForUpdate,
|
|
51529
53658
|
MediaClassInfo: MediaClassInfo,
|
|
51530
53659
|
AiAnalysisTaskInput: AiAnalysisTaskInput,
|
|
51531
53660
|
DeleteAnimatedGraphicsTemplateRequest: DeleteAnimatedGraphicsTemplateRequest,
|
|
@@ -51544,8 +53673,10 @@ module.exports = {
|
|
|
51544
53673
|
HandleCurrentPlaylistRequest: HandleCurrentPlaylistRequest,
|
|
51545
53674
|
TerrorismConfigureInfo: TerrorismConfigureInfo,
|
|
51546
53675
|
PoliticalAsrReviewTemplateInfo: PoliticalAsrReviewTemplateInfo,
|
|
53676
|
+
SceneAigcImageTaskInput: SceneAigcImageTaskInput,
|
|
51547
53677
|
CreateAnimatedGraphicsTemplateResponse: CreateAnimatedGraphicsTemplateResponse,
|
|
51548
53678
|
HwPrivateAccess: HwPrivateAccess,
|
|
53679
|
+
AigcVideoTaskInput: AigcVideoTaskInput,
|
|
51549
53680
|
AiRecognitionTaskHeadTailResult: AiRecognitionTaskHeadTailResult,
|
|
51550
53681
|
AudioEnhanceConfig: AudioEnhanceConfig,
|
|
51551
53682
|
AiRecognitionTaskFaceResultItem: AiRecognitionTaskFaceResultItem,
|
|
@@ -51573,7 +53704,7 @@ module.exports = {
|
|
|
51573
53704
|
ModifyWatermarkTemplateResponse: ModifyWatermarkTemplateResponse,
|
|
51574
53705
|
DescribeJustInTimeTranscodeTemplatesRequest: DescribeJustInTimeTranscodeTemplatesRequest,
|
|
51575
53706
|
SearchMediaBySemanticsRequest: SearchMediaBySemanticsRequest,
|
|
51576
|
-
|
|
53707
|
+
CreateHeadTailTemplateRequest: CreateHeadTailTemplateRequest,
|
|
51577
53708
|
FrameTagConfigureInfoForUpdate: FrameTagConfigureInfoForUpdate,
|
|
51578
53709
|
CreateImageSpriteTemplateResponse: CreateImageSpriteTemplateResponse,
|
|
51579
53710
|
DescribeAIRecognitionTemplatesRequest: DescribeAIRecognitionTemplatesRequest,
|