tencentcloud-sdk-nodejs-intl-en 3.0.1430 → 3.0.1432
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/csip/v20221121/csip_client.js +8907 -1028
- package/tencentcloud/csip/v20221121/models.js +103436 -16347
- package/tencentcloud/edgezone/v20260401/edgezone_client.js +14 -1
- package/tencentcloud/edgezone/v20260401/models.js +84 -26
- package/tencentcloud/mps/v20190612/models.js +323 -0
- package/tencentcloud/mps/v20190612/mps_client.js +28 -0
- package/tencentcloud/ocr/v20181119/models.js +13 -15
- package/tencentcloud/teo/v20220901/models.js +197 -14
- package/tencentcloud/teo/v20220901/teo_client.js +15 -1
|
@@ -21,7 +21,7 @@ const DescribeInstanceTypesResponse = models.DescribeInstanceTypesResponse;
|
|
|
21
21
|
const DescribePrivateNetworkInstancesRequest = models.DescribePrivateNetworkInstancesRequest;
|
|
22
22
|
const DescribePublicNetworkInstancesResponse = models.DescribePublicNetworkInstancesResponse;
|
|
23
23
|
const DeletePublicNetworkInstanceRequest = models.DeletePublicNetworkInstanceRequest;
|
|
24
|
-
const
|
|
24
|
+
const CreateEdgeNodeServiceResponse = models.CreateEdgeNodeServiceResponse;
|
|
25
25
|
const CreateInstancesRequest = models.CreateInstancesRequest;
|
|
26
26
|
const DescribeInstanceTypesRequest = models.DescribeInstanceTypesRequest;
|
|
27
27
|
const PrivateNetworkInstanceInfo = models.PrivateNetworkInstanceInfo;
|
|
@@ -36,6 +36,7 @@ const InstanceTypeQuota = models.InstanceTypeQuota;
|
|
|
36
36
|
const ModifyPublicNetworkInstanceRequest = models.ModifyPublicNetworkInstanceRequest;
|
|
37
37
|
const ReleasePublicIpRequest = models.ReleasePublicIpRequest;
|
|
38
38
|
const DescribeInstancesResponse = models.DescribeInstancesResponse;
|
|
39
|
+
const CreateEdgeNodeServiceRequest = models.CreateEdgeNodeServiceRequest;
|
|
39
40
|
const DescribeInstancesRequest = models.DescribeInstancesRequest;
|
|
40
41
|
const PublicNetworkSegment = models.PublicNetworkSegment;
|
|
41
42
|
const ReleasePublicIpResponse = models.ReleasePublicIpResponse;
|
|
@@ -43,6 +44,7 @@ const DescribeZoneDataResponse = models.DescribeZoneDataResponse;
|
|
|
43
44
|
const DeletePrivateNetworkInstanceRequest = models.DeletePrivateNetworkInstanceRequest;
|
|
44
45
|
const DescribePrivateNetworkInstancesResponse = models.DescribePrivateNetworkInstancesResponse;
|
|
45
46
|
const CreatePrivateNetworkInstanceResponse = models.CreatePrivateNetworkInstanceResponse;
|
|
47
|
+
const TerminateInstancesResponse = models.TerminateInstancesResponse;
|
|
46
48
|
const ModifyInstanceAttributeRequest = models.ModifyInstanceAttributeRequest;
|
|
47
49
|
const ApplyPublicIpsRequest = models.ApplyPublicIpsRequest;
|
|
48
50
|
const DescribePublicIpsResponse = models.DescribePublicIpsResponse;
|
|
@@ -95,6 +97,17 @@ class EdgezoneClient extends AbstractClient {
|
|
|
95
97
|
this.request("DescribeInstances", req, resp, cb);
|
|
96
98
|
}
|
|
97
99
|
|
|
100
|
+
/**
|
|
101
|
+
* Enable the billing service for edge nodes.
|
|
102
|
+
* @param {CreateEdgeNodeServiceRequest} req
|
|
103
|
+
* @param {function(string, CreateEdgeNodeServiceResponse):void} cb
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
CreateEdgeNodeService(req, cb) {
|
|
107
|
+
let resp = new CreateEdgeNodeServiceResponse();
|
|
108
|
+
this.request("CreateEdgeNodeService", req, resp, cb);
|
|
109
|
+
}
|
|
110
|
+
|
|
98
111
|
/**
|
|
99
112
|
* Query the public network Ip information of the user. For public network instances with routing mode set to Static, return all applied public network Ip information. For public network instances with routing mode set to Ospf and Bgp, return Ip range information directly.
|
|
100
113
|
* @param {DescribePublicIpsRequest} req
|
|
@@ -229,26 +229,13 @@ class DeletePublicNetworkInstanceRequest extends AbstractModel {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
*
|
|
232
|
+
* CreateEdgeNodeService response structure.
|
|
233
233
|
* @class
|
|
234
234
|
*/
|
|
235
|
-
class
|
|
235
|
+
class CreateEdgeNodeServiceResponse extends AbstractModel {
|
|
236
236
|
constructor(){
|
|
237
237
|
super();
|
|
238
238
|
|
|
239
|
-
/**
|
|
240
|
-
* List of instance IDs successfully terminated.
|
|
241
|
-
* @type {Array.<string> || null}
|
|
242
|
-
*/
|
|
243
|
-
this.InstanceIdSet = null;
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* List of instances with termination failed (returned when partially successful).
|
|
247
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
248
|
-
* @type {Array.<FailedInstance> || null}
|
|
249
|
-
*/
|
|
250
|
-
this.FailedInstanceSet = null;
|
|
251
|
-
|
|
252
239
|
/**
|
|
253
240
|
* 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.
|
|
254
241
|
* @type {string || null}
|
|
@@ -264,16 +251,6 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
264
251
|
if (!params) {
|
|
265
252
|
return;
|
|
266
253
|
}
|
|
267
|
-
this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
|
|
268
|
-
|
|
269
|
-
if (params.FailedInstanceSet) {
|
|
270
|
-
this.FailedInstanceSet = new Array();
|
|
271
|
-
for (let z in params.FailedInstanceSet) {
|
|
272
|
-
let obj = new FailedInstance();
|
|
273
|
-
obj.deserialize(params.FailedInstanceSet[z]);
|
|
274
|
-
this.FailedInstanceSet.push(obj);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
254
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
278
255
|
|
|
279
256
|
}
|
|
@@ -1022,6 +999,34 @@ class DescribeInstancesResponse extends AbstractModel {
|
|
|
1022
999
|
}
|
|
1023
1000
|
}
|
|
1024
1001
|
|
|
1002
|
+
/**
|
|
1003
|
+
* CreateEdgeNodeService request structure.
|
|
1004
|
+
* @class
|
|
1005
|
+
*/
|
|
1006
|
+
class CreateEdgeNodeServiceRequest extends AbstractModel {
|
|
1007
|
+
constructor(){
|
|
1008
|
+
super();
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Availability zone code, such as ap-guangzhou-1.
|
|
1012
|
+
* @type {string || null}
|
|
1013
|
+
*/
|
|
1014
|
+
this.Zone = null;
|
|
1015
|
+
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* @private
|
|
1020
|
+
*/
|
|
1021
|
+
deserialize(params) {
|
|
1022
|
+
if (!params) {
|
|
1023
|
+
return;
|
|
1024
|
+
}
|
|
1025
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
1026
|
+
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1025
1030
|
/**
|
|
1026
1031
|
* DescribeInstances request structure.
|
|
1027
1032
|
* @class
|
|
@@ -1311,6 +1316,57 @@ class CreatePrivateNetworkInstanceResponse extends AbstractModel {
|
|
|
1311
1316
|
}
|
|
1312
1317
|
}
|
|
1313
1318
|
|
|
1319
|
+
/**
|
|
1320
|
+
* TerminateInstances response structure.
|
|
1321
|
+
* @class
|
|
1322
|
+
*/
|
|
1323
|
+
class TerminateInstancesResponse extends AbstractModel {
|
|
1324
|
+
constructor(){
|
|
1325
|
+
super();
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* List of instance IDs successfully terminated.
|
|
1329
|
+
* @type {Array.<string> || null}
|
|
1330
|
+
*/
|
|
1331
|
+
this.InstanceIdSet = null;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* List of instances with termination failed (returned when partially successful).
|
|
1335
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1336
|
+
* @type {Array.<FailedInstance> || null}
|
|
1337
|
+
*/
|
|
1338
|
+
this.FailedInstanceSet = null;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* 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.
|
|
1342
|
+
* @type {string || null}
|
|
1343
|
+
*/
|
|
1344
|
+
this.RequestId = null;
|
|
1345
|
+
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* @private
|
|
1350
|
+
*/
|
|
1351
|
+
deserialize(params) {
|
|
1352
|
+
if (!params) {
|
|
1353
|
+
return;
|
|
1354
|
+
}
|
|
1355
|
+
this.InstanceIdSet = 'InstanceIdSet' in params ? params.InstanceIdSet : null;
|
|
1356
|
+
|
|
1357
|
+
if (params.FailedInstanceSet) {
|
|
1358
|
+
this.FailedInstanceSet = new Array();
|
|
1359
|
+
for (let z in params.FailedInstanceSet) {
|
|
1360
|
+
let obj = new FailedInstance();
|
|
1361
|
+
obj.deserialize(params.FailedInstanceSet[z]);
|
|
1362
|
+
this.FailedInstanceSet.push(obj);
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1366
|
+
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1314
1370
|
/**
|
|
1315
1371
|
* ModifyInstanceAttribute request structure.
|
|
1316
1372
|
* @class
|
|
@@ -2305,7 +2361,7 @@ module.exports = {
|
|
|
2305
2361
|
DescribePrivateNetworkInstancesRequest: DescribePrivateNetworkInstancesRequest,
|
|
2306
2362
|
DescribePublicNetworkInstancesResponse: DescribePublicNetworkInstancesResponse,
|
|
2307
2363
|
DeletePublicNetworkInstanceRequest: DeletePublicNetworkInstanceRequest,
|
|
2308
|
-
|
|
2364
|
+
CreateEdgeNodeServiceResponse: CreateEdgeNodeServiceResponse,
|
|
2309
2365
|
CreateInstancesRequest: CreateInstancesRequest,
|
|
2310
2366
|
DescribeInstanceTypesRequest: DescribeInstanceTypesRequest,
|
|
2311
2367
|
PrivateNetworkInstanceInfo: PrivateNetworkInstanceInfo,
|
|
@@ -2320,6 +2376,7 @@ module.exports = {
|
|
|
2320
2376
|
ModifyPublicNetworkInstanceRequest: ModifyPublicNetworkInstanceRequest,
|
|
2321
2377
|
ReleasePublicIpRequest: ReleasePublicIpRequest,
|
|
2322
2378
|
DescribeInstancesResponse: DescribeInstancesResponse,
|
|
2379
|
+
CreateEdgeNodeServiceRequest: CreateEdgeNodeServiceRequest,
|
|
2323
2380
|
DescribeInstancesRequest: DescribeInstancesRequest,
|
|
2324
2381
|
PublicNetworkSegment: PublicNetworkSegment,
|
|
2325
2382
|
ReleasePublicIpResponse: ReleasePublicIpResponse,
|
|
@@ -2327,6 +2384,7 @@ module.exports = {
|
|
|
2327
2384
|
DeletePrivateNetworkInstanceRequest: DeletePrivateNetworkInstanceRequest,
|
|
2328
2385
|
DescribePrivateNetworkInstancesResponse: DescribePrivateNetworkInstancesResponse,
|
|
2329
2386
|
CreatePrivateNetworkInstanceResponse: CreatePrivateNetworkInstanceResponse,
|
|
2387
|
+
TerminateInstancesResponse: TerminateInstancesResponse,
|
|
2330
2388
|
ModifyInstanceAttributeRequest: ModifyInstanceAttributeRequest,
|
|
2331
2389
|
ApplyPublicIpsRequest: ApplyPublicIpsRequest,
|
|
2332
2390
|
DescribePublicIpsResponse: DescribePublicIpsResponse,
|
|
@@ -4700,6 +4700,112 @@ Note: If this parameter is left empty, the current `OutputDir` value will be inv
|
|
|
4700
4700
|
}
|
|
4701
4701
|
}
|
|
4702
4702
|
|
|
4703
|
+
/**
|
|
4704
|
+
* SubmitHunyuan3DTask request structure.
|
|
4705
|
+
* @class
|
|
4706
|
+
*/
|
|
4707
|
+
class SubmitHunyuan3DTaskRequest extends AbstractModel {
|
|
4708
|
+
constructor(){
|
|
4709
|
+
super();
|
|
4710
|
+
|
|
4711
|
+
/**
|
|
4712
|
+
* <p>Prompt for text-to-3D</p><p>Input limit: up to 1024 utf-8 characters</p>
|
|
4713
|
+
* @type {string || null}
|
|
4714
|
+
*/
|
|
4715
|
+
this.Prompt = null;
|
|
4716
|
+
|
|
4717
|
+
/**
|
|
4718
|
+
* <p>Image URL (http/https) for image-to-3D</p>
|
|
4719
|
+
* @type {string || null}
|
|
4720
|
+
*/
|
|
4721
|
+
this.ImageUrl = null;
|
|
4722
|
+
|
|
4723
|
+
/**
|
|
4724
|
+
* <p>Generate 3D from multi-perspective images. At least 2 images are required, and a front view must be included.</p>
|
|
4725
|
+
* @type {Array.<ViewImage> || null}
|
|
4726
|
+
*/
|
|
4727
|
+
this.MultiViewImages = null;
|
|
4728
|
+
|
|
4729
|
+
/**
|
|
4730
|
+
* <p>Generation Type</p><p>Enumeration values:</p><ul><li>Normal: Generate a complete 3D asset (geometry + texture)</li><li>Geometry: Generate only the geometry (no texture, faster output speed)</li><li>Texture: Generate only the texture (MeshUrl is required)</li></ul><p>Default value: Normal</p>
|
|
4731
|
+
* @type {string || null}
|
|
4732
|
+
*/
|
|
4733
|
+
this.GenerateType = null;
|
|
4734
|
+
|
|
4735
|
+
/**
|
|
4736
|
+
* <p>URL of the existing 3D model (only .glb / .obj supported). If MeshUrl is passed, GenerateType=Texture is mandatory (texture scenario)</p>
|
|
4737
|
+
* @type {string || null}
|
|
4738
|
+
*/
|
|
4739
|
+
this.MeshUrl = null;
|
|
4740
|
+
|
|
4741
|
+
/**
|
|
4742
|
+
* <p>Whether to output the PBR material</p><p>Default value: false</p>
|
|
4743
|
+
* @type {boolean || null}
|
|
4744
|
+
*/
|
|
4745
|
+
this.EnablePBR = null;
|
|
4746
|
+
|
|
4747
|
+
/**
|
|
4748
|
+
* <p>Patch count in the range of [3000, 1500000]. This parameter takes effect only for the Normal/Geometry branch.</p><p>Parameter value range: [3000, 1500000]</p><p>Default value: 500000</p>
|
|
4749
|
+
* @type {number || null}
|
|
4750
|
+
*/
|
|
4751
|
+
this.FaceCount = null;
|
|
4752
|
+
|
|
4753
|
+
/**
|
|
4754
|
+
* <p>Reserve UV unfolding or not</p><p>Default value: false</p>
|
|
4755
|
+
* @type {boolean || null}
|
|
4756
|
+
*/
|
|
4757
|
+
this.KeepUV = null;
|
|
4758
|
+
|
|
4759
|
+
/**
|
|
4760
|
+
* <p>A format attached to the output in addition to the default obj + glb. Currently only support FBX</p>
|
|
4761
|
+
* @type {string || null}
|
|
4762
|
+
*/
|
|
4763
|
+
this.ResultFormat = null;
|
|
4764
|
+
|
|
4765
|
+
/**
|
|
4766
|
+
* <p>Random Seed. The result can be reproduced with identical Seed input.</p>
|
|
4767
|
+
* @type {number || null}
|
|
4768
|
+
*/
|
|
4769
|
+
this.Seed = null;
|
|
4770
|
+
|
|
4771
|
+
/**
|
|
4772
|
+
* <p>Style control words</p>
|
|
4773
|
+
* @type {string || null}
|
|
4774
|
+
*/
|
|
4775
|
+
this.Style = null;
|
|
4776
|
+
|
|
4777
|
+
}
|
|
4778
|
+
|
|
4779
|
+
/**
|
|
4780
|
+
* @private
|
|
4781
|
+
*/
|
|
4782
|
+
deserialize(params) {
|
|
4783
|
+
if (!params) {
|
|
4784
|
+
return;
|
|
4785
|
+
}
|
|
4786
|
+
this.Prompt = 'Prompt' in params ? params.Prompt : null;
|
|
4787
|
+
this.ImageUrl = 'ImageUrl' in params ? params.ImageUrl : null;
|
|
4788
|
+
|
|
4789
|
+
if (params.MultiViewImages) {
|
|
4790
|
+
this.MultiViewImages = new Array();
|
|
4791
|
+
for (let z in params.MultiViewImages) {
|
|
4792
|
+
let obj = new ViewImage();
|
|
4793
|
+
obj.deserialize(params.MultiViewImages[z]);
|
|
4794
|
+
this.MultiViewImages.push(obj);
|
|
4795
|
+
}
|
|
4796
|
+
}
|
|
4797
|
+
this.GenerateType = 'GenerateType' in params ? params.GenerateType : null;
|
|
4798
|
+
this.MeshUrl = 'MeshUrl' in params ? params.MeshUrl : null;
|
|
4799
|
+
this.EnablePBR = 'EnablePBR' in params ? params.EnablePBR : null;
|
|
4800
|
+
this.FaceCount = 'FaceCount' in params ? params.FaceCount : null;
|
|
4801
|
+
this.KeepUV = 'KeepUV' in params ? params.KeepUV : null;
|
|
4802
|
+
this.ResultFormat = 'ResultFormat' in params ? params.ResultFormat : null;
|
|
4803
|
+
this.Seed = 'Seed' in params ? params.Seed : null;
|
|
4804
|
+
this.Style = 'Style' in params ? params.Style : null;
|
|
4805
|
+
|
|
4806
|
+
}
|
|
4807
|
+
}
|
|
4808
|
+
|
|
4703
4809
|
/**
|
|
4704
4810
|
* Metadata of a VOD media file
|
|
4705
4811
|
* @class
|
|
@@ -7029,6 +7135,41 @@ class CloneViralAIGC extends AbstractModel {
|
|
|
7029
7135
|
}
|
|
7030
7136
|
}
|
|
7031
7137
|
|
|
7138
|
+
/**
|
|
7139
|
+
* One viewing angle in the MultiViewImages array in the multi-perspective image-to-3D scenario.
|
|
7140
|
+
* @class
|
|
7141
|
+
*/
|
|
7142
|
+
class ViewImage extends AbstractModel {
|
|
7143
|
+
constructor(){
|
|
7144
|
+
super();
|
|
7145
|
+
|
|
7146
|
+
/**
|
|
7147
|
+
* <p>View type</p><p>Enumeration values:</p><ul><li>front: Front view (required)</li><li>back: Back view</li><li>left: Left view</li><li>right: Right view</li><li>top: Top view</li><li>bottom: Bottom view</li><li>left_front: Left front 45°</li><li>right_front: Right front 45°</li></ul><p>MultiViewImages array length ≥ 2; must contain the front view; the same ViewType cannot be duplicated; each item must provide ViewImageUrl</p>
|
|
7148
|
+
* @type {string || null}
|
|
7149
|
+
*/
|
|
7150
|
+
this.ViewType = null;
|
|
7151
|
+
|
|
7152
|
+
/**
|
|
7153
|
+
* <p>Image URL (http/https)</p>
|
|
7154
|
+
* @type {string || null}
|
|
7155
|
+
*/
|
|
7156
|
+
this.ViewImageUrl = null;
|
|
7157
|
+
|
|
7158
|
+
}
|
|
7159
|
+
|
|
7160
|
+
/**
|
|
7161
|
+
* @private
|
|
7162
|
+
*/
|
|
7163
|
+
deserialize(params) {
|
|
7164
|
+
if (!params) {
|
|
7165
|
+
return;
|
|
7166
|
+
}
|
|
7167
|
+
this.ViewType = 'ViewType' in params ? params.ViewType : null;
|
|
7168
|
+
this.ViewImageUrl = 'ViewImageUrl' in params ? params.ViewImageUrl : null;
|
|
7169
|
+
|
|
7170
|
+
}
|
|
7171
|
+
}
|
|
7172
|
+
|
|
7032
7173
|
/**
|
|
7033
7174
|
* DescribeImageSpriteTemplates request structure.
|
|
7034
7175
|
* @class
|
|
@@ -18389,6 +18530,34 @@ class ProcessImageResponse extends AbstractModel {
|
|
|
18389
18530
|
}
|
|
18390
18531
|
}
|
|
18391
18532
|
|
|
18533
|
+
/**
|
|
18534
|
+
* QueryHunyuan3DTask request structure.
|
|
18535
|
+
* @class
|
|
18536
|
+
*/
|
|
18537
|
+
class QueryHunyuan3DTaskRequest extends AbstractModel {
|
|
18538
|
+
constructor(){
|
|
18539
|
+
super();
|
|
18540
|
+
|
|
18541
|
+
/**
|
|
18542
|
+
* <p>Task ID.</p>
|
|
18543
|
+
* @type {string || null}
|
|
18544
|
+
*/
|
|
18545
|
+
this.TaskId = null;
|
|
18546
|
+
|
|
18547
|
+
}
|
|
18548
|
+
|
|
18549
|
+
/**
|
|
18550
|
+
* @private
|
|
18551
|
+
*/
|
|
18552
|
+
deserialize(params) {
|
|
18553
|
+
if (!params) {
|
|
18554
|
+
return;
|
|
18555
|
+
}
|
|
18556
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
18557
|
+
|
|
18558
|
+
}
|
|
18559
|
+
}
|
|
18560
|
+
|
|
18392
18561
|
/**
|
|
18393
18562
|
* aigc cos information. Stores user‑provided cos information for saving results
|
|
18394
18563
|
* @class
|
|
@@ -31647,6 +31816,77 @@ class ResetWorkflowResponse extends AbstractModel {
|
|
|
31647
31816
|
}
|
|
31648
31817
|
}
|
|
31649
31818
|
|
|
31819
|
+
/**
|
|
31820
|
+
* QueryHunyuan3DTask response structure.
|
|
31821
|
+
* @class
|
|
31822
|
+
*/
|
|
31823
|
+
class QueryHunyuan3DTaskResponse extends AbstractModel {
|
|
31824
|
+
constructor(){
|
|
31825
|
+
super();
|
|
31826
|
+
|
|
31827
|
+
/**
|
|
31828
|
+
* <p>Task status</p><p>Enumeration values: </p><ul><li>WAIT: Queued, waiting to execute</li><li>RUN: In progress</li><li>DONE: Successfully completed, ResultFile3Ds has a value</li><li>FAIL: Failed, ErrorCode / ErrorMessage has a value</li></ul>
|
|
31829
|
+
* @type {string || null}
|
|
31830
|
+
*/
|
|
31831
|
+
this.Status = null;
|
|
31832
|
+
|
|
31833
|
+
/**
|
|
31834
|
+
* <p>Progress percentage, 0-100. 0 if unknown; should be 100 when DONE; retains the last known value on FAIL</p>
|
|
31835
|
+
* @type {number || null}
|
|
31836
|
+
*/
|
|
31837
|
+
this.Progress = null;
|
|
31838
|
+
|
|
31839
|
+
/**
|
|
31840
|
+
* <p>Only available when Status=FAIL. String error code (for example, InternalError.ModelInference)</p>
|
|
31841
|
+
* @type {string || null}
|
|
31842
|
+
*/
|
|
31843
|
+
this.ErrorCode = null;
|
|
31844
|
+
|
|
31845
|
+
/**
|
|
31846
|
+
* <p>Only has a value when Status=FAIL, detailed copywriting</p>
|
|
31847
|
+
* @type {string || null}
|
|
31848
|
+
*/
|
|
31849
|
+
this.ErrorMessage = null;
|
|
31850
|
+
|
|
31851
|
+
/**
|
|
31852
|
+
* <p>Only has a value when Status=DONE. List of output files</p>
|
|
31853
|
+
* @type {Array.<File3D> || null}
|
|
31854
|
+
*/
|
|
31855
|
+
this.ResultFile3Ds = null;
|
|
31856
|
+
|
|
31857
|
+
/**
|
|
31858
|
+
* 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.
|
|
31859
|
+
* @type {string || null}
|
|
31860
|
+
*/
|
|
31861
|
+
this.RequestId = null;
|
|
31862
|
+
|
|
31863
|
+
}
|
|
31864
|
+
|
|
31865
|
+
/**
|
|
31866
|
+
* @private
|
|
31867
|
+
*/
|
|
31868
|
+
deserialize(params) {
|
|
31869
|
+
if (!params) {
|
|
31870
|
+
return;
|
|
31871
|
+
}
|
|
31872
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
31873
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
31874
|
+
this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
|
|
31875
|
+
this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
|
|
31876
|
+
|
|
31877
|
+
if (params.ResultFile3Ds) {
|
|
31878
|
+
this.ResultFile3Ds = new Array();
|
|
31879
|
+
for (let z in params.ResultFile3Ds) {
|
|
31880
|
+
let obj = new File3D();
|
|
31881
|
+
obj.deserialize(params.ResultFile3Ds[z]);
|
|
31882
|
+
this.ResultFile3Ds.push(obj);
|
|
31883
|
+
}
|
|
31884
|
+
}
|
|
31885
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
31886
|
+
|
|
31887
|
+
}
|
|
31888
|
+
}
|
|
31889
|
+
|
|
31650
31890
|
/**
|
|
31651
31891
|
* HLS configuration parameters
|
|
31652
31892
|
* @class
|
|
@@ -36261,6 +36501,48 @@ There can be up to 10 tags, each with a length limit of 16 characters.
|
|
|
36261
36501
|
}
|
|
36262
36502
|
}
|
|
36263
36503
|
|
|
36504
|
+
/**
|
|
36505
|
+
* Query returns each output file
|
|
36506
|
+
* @class
|
|
36507
|
+
*/
|
|
36508
|
+
class File3D extends AbstractModel {
|
|
36509
|
+
constructor(){
|
|
36510
|
+
super();
|
|
36511
|
+
|
|
36512
|
+
/**
|
|
36513
|
+
* <p>File type: OBJ / GLB / FBX / STL / USDZ</p><p>Enumeration values:</p><ul><li>OBJ: common 3D exchange format</li><li>GLB: glTF 2.0 binary ("the JPEG of the 3D world")</li><li>FBX: Autodesk film/gaming industry standard</li><li>STL: 3D print/CAD triangle mesh</li><li>USDZ: Pixar/Apple packaged scenario description</li></ul>
|
|
36514
|
+
* @type {string || null}
|
|
36515
|
+
*/
|
|
36516
|
+
this.Type = null;
|
|
36517
|
+
|
|
36518
|
+
/**
|
|
36519
|
+
* <p>File download URL (temporary signature, general TTL 24h)</p>
|
|
36520
|
+
* @type {string || null}
|
|
36521
|
+
*/
|
|
36522
|
+
this.Url = null;
|
|
36523
|
+
|
|
36524
|
+
/**
|
|
36525
|
+
* <p>Preview image URL (if it exists)</p>
|
|
36526
|
+
* @type {string || null}
|
|
36527
|
+
*/
|
|
36528
|
+
this.PreviewImageUrl = null;
|
|
36529
|
+
|
|
36530
|
+
}
|
|
36531
|
+
|
|
36532
|
+
/**
|
|
36533
|
+
* @private
|
|
36534
|
+
*/
|
|
36535
|
+
deserialize(params) {
|
|
36536
|
+
if (!params) {
|
|
36537
|
+
return;
|
|
36538
|
+
}
|
|
36539
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
36540
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
36541
|
+
this.PreviewImageUrl = 'PreviewImageUrl' in params ? params.PreviewImageUrl : null;
|
|
36542
|
+
|
|
36543
|
+
}
|
|
36544
|
+
}
|
|
36545
|
+
|
|
36264
36546
|
/**
|
|
36265
36547
|
* Model appearance of hit product clone
|
|
36266
36548
|
* @class
|
|
@@ -45540,6 +45822,41 @@ class PoliticalAsrReviewTemplateInfo extends AbstractModel {
|
|
|
45540
45822
|
}
|
|
45541
45823
|
}
|
|
45542
45824
|
|
|
45825
|
+
/**
|
|
45826
|
+
* SubmitHunyuan3DTask response structure.
|
|
45827
|
+
* @class
|
|
45828
|
+
*/
|
|
45829
|
+
class SubmitHunyuan3DTaskResponse extends AbstractModel {
|
|
45830
|
+
constructor(){
|
|
45831
|
+
super();
|
|
45832
|
+
|
|
45833
|
+
/**
|
|
45834
|
+
* <p>Task ID.</p>
|
|
45835
|
+
* @type {string || null}
|
|
45836
|
+
*/
|
|
45837
|
+
this.TaskId = null;
|
|
45838
|
+
|
|
45839
|
+
/**
|
|
45840
|
+
* 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.
|
|
45841
|
+
* @type {string || null}
|
|
45842
|
+
*/
|
|
45843
|
+
this.RequestId = null;
|
|
45844
|
+
|
|
45845
|
+
}
|
|
45846
|
+
|
|
45847
|
+
/**
|
|
45848
|
+
* @private
|
|
45849
|
+
*/
|
|
45850
|
+
deserialize(params) {
|
|
45851
|
+
if (!params) {
|
|
45852
|
+
return;
|
|
45853
|
+
}
|
|
45854
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
45855
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
45856
|
+
|
|
45857
|
+
}
|
|
45858
|
+
}
|
|
45859
|
+
|
|
45543
45860
|
/**
|
|
45544
45861
|
* DeleteProcessImageTemplate request structure.
|
|
45545
45862
|
* @class
|
|
@@ -47841,6 +48158,7 @@ module.exports = {
|
|
|
47841
48158
|
AiReviewPoliticalTaskInput: AiReviewPoliticalTaskInput,
|
|
47842
48159
|
ModifyContentReviewTemplateResponse: ModifyContentReviewTemplateResponse,
|
|
47843
48160
|
ModifyScheduleRequest: ModifyScheduleRequest,
|
|
48161
|
+
SubmitHunyuan3DTaskRequest: SubmitHunyuan3DTaskRequest,
|
|
47844
48162
|
MediaMetaData: MediaMetaData,
|
|
47845
48163
|
ClassificationConfigureInfo: ClassificationConfigureInfo,
|
|
47846
48164
|
MediaAiAnalysisClassificationItem: MediaAiAnalysisClassificationItem,
|
|
@@ -47876,6 +48194,7 @@ module.exports = {
|
|
|
47876
48194
|
TerrorismImgReviewTemplateInfoForUpdate: TerrorismImgReviewTemplateInfoForUpdate,
|
|
47877
48195
|
ModifyTranscodeTemplateRequest: ModifyTranscodeTemplateRequest,
|
|
47878
48196
|
CloneViralAIGC: CloneViralAIGC,
|
|
48197
|
+
ViewImage: ViewImage,
|
|
47879
48198
|
DescribeImageSpriteTemplatesRequest: DescribeImageSpriteTemplatesRequest,
|
|
47880
48199
|
FissionTaskInfo: FissionTaskInfo,
|
|
47881
48200
|
TimeSpotCheck: TimeSpotCheck,
|
|
@@ -48073,6 +48392,7 @@ module.exports = {
|
|
|
48073
48392
|
ProcessMediaRequest: ProcessMediaRequest,
|
|
48074
48393
|
PatternConfig: PatternConfig,
|
|
48075
48394
|
ProcessImageResponse: ProcessImageResponse,
|
|
48395
|
+
QueryHunyuan3DTaskRequest: QueryHunyuan3DTaskRequest,
|
|
48076
48396
|
VideoDramaCosInfo: VideoDramaCosInfo,
|
|
48077
48397
|
CreateBlindWatermarkTemplateResponse: CreateBlindWatermarkTemplateResponse,
|
|
48078
48398
|
AiRecognitionTaskOcrFullTextResult: AiRecognitionTaskOcrFullTextResult,
|
|
@@ -48287,6 +48607,7 @@ module.exports = {
|
|
|
48287
48607
|
CreateSubtitleEmbedTemplateResponse: CreateSubtitleEmbedTemplateResponse,
|
|
48288
48608
|
ImageTaskInfo: ImageTaskInfo,
|
|
48289
48609
|
ResetWorkflowResponse: ResetWorkflowResponse,
|
|
48610
|
+
QueryHunyuan3DTaskResponse: QueryHunyuan3DTaskResponse,
|
|
48290
48611
|
HLSConfigureInfo: HLSConfigureInfo,
|
|
48291
48612
|
CreateAIAnalysisTemplateResponse: CreateAIAnalysisTemplateResponse,
|
|
48292
48613
|
CreateSmartEraseTemplateResponse: CreateSmartEraseTemplateResponse,
|
|
@@ -48365,6 +48686,7 @@ module.exports = {
|
|
|
48365
48686
|
LiveScheduleLiveRecordTaskResult: LiveScheduleLiveRecordTaskResult,
|
|
48366
48687
|
AiSampleFailFaceInfo: AiSampleFailFaceInfo,
|
|
48367
48688
|
UserDefineFaceReviewTemplateInfoForUpdate: UserDefineFaceReviewTemplateInfoForUpdate,
|
|
48689
|
+
File3D: File3D,
|
|
48368
48690
|
CloneViralPersona: CloneViralPersona,
|
|
48369
48691
|
AigcVideoReferenceAudioInfo: AigcVideoReferenceAudioInfo,
|
|
48370
48692
|
DeleteProcessImageTemplateResponse: DeleteProcessImageTemplateResponse,
|
|
@@ -48515,6 +48837,7 @@ module.exports = {
|
|
|
48515
48837
|
QualityControlTemplate: QualityControlTemplate,
|
|
48516
48838
|
TerrorismConfigureInfo: TerrorismConfigureInfo,
|
|
48517
48839
|
PoliticalAsrReviewTemplateInfo: PoliticalAsrReviewTemplateInfo,
|
|
48840
|
+
SubmitHunyuan3DTaskResponse: SubmitHunyuan3DTaskResponse,
|
|
48518
48841
|
DeleteProcessImageTemplateRequest: DeleteProcessImageTemplateRequest,
|
|
48519
48842
|
SmartSubtitlesTaskInput: SmartSubtitlesTaskInput,
|
|
48520
48843
|
CreateAnimatedGraphicsTemplateResponse: CreateAnimatedGraphicsTemplateResponse,
|
|
@@ -95,6 +95,7 @@ const SubtitleResult = models.SubtitleResult;
|
|
|
95
95
|
const AiReviewPoliticalTaskInput = models.AiReviewPoliticalTaskInput;
|
|
96
96
|
const ModifyContentReviewTemplateResponse = models.ModifyContentReviewTemplateResponse;
|
|
97
97
|
const ModifyScheduleRequest = models.ModifyScheduleRequest;
|
|
98
|
+
const SubmitHunyuan3DTaskRequest = models.SubmitHunyuan3DTaskRequest;
|
|
98
99
|
const MediaMetaData = models.MediaMetaData;
|
|
99
100
|
const ClassificationConfigureInfo = models.ClassificationConfigureInfo;
|
|
100
101
|
const MediaAiAnalysisClassificationItem = models.MediaAiAnalysisClassificationItem;
|
|
@@ -130,6 +131,7 @@ const CreateProcessImageTemplateResponse = models.CreateProcessImageTemplateResp
|
|
|
130
131
|
const TerrorismImgReviewTemplateInfoForUpdate = models.TerrorismImgReviewTemplateInfoForUpdate;
|
|
131
132
|
const ModifyTranscodeTemplateRequest = models.ModifyTranscodeTemplateRequest;
|
|
132
133
|
const CloneViralAIGC = models.CloneViralAIGC;
|
|
134
|
+
const ViewImage = models.ViewImage;
|
|
133
135
|
const DescribeImageSpriteTemplatesRequest = models.DescribeImageSpriteTemplatesRequest;
|
|
134
136
|
const FissionTaskInfo = models.FissionTaskInfo;
|
|
135
137
|
const TimeSpotCheck = models.TimeSpotCheck;
|
|
@@ -327,6 +329,7 @@ const DescribeProcessImageTemplatesResponse = models.DescribeProcessImageTemplat
|
|
|
327
329
|
const ProcessMediaRequest = models.ProcessMediaRequest;
|
|
328
330
|
const PatternConfig = models.PatternConfig;
|
|
329
331
|
const ProcessImageResponse = models.ProcessImageResponse;
|
|
332
|
+
const QueryHunyuan3DTaskRequest = models.QueryHunyuan3DTaskRequest;
|
|
330
333
|
const VideoDramaCosInfo = models.VideoDramaCosInfo;
|
|
331
334
|
const CreateBlindWatermarkTemplateResponse = models.CreateBlindWatermarkTemplateResponse;
|
|
332
335
|
const AiRecognitionTaskOcrFullTextResult = models.AiRecognitionTaskOcrFullTextResult;
|
|
@@ -541,6 +544,7 @@ const TextToSpeechAsyncRequest = models.TextToSpeechAsyncRequest;
|
|
|
541
544
|
const CreateSubtitleEmbedTemplateResponse = models.CreateSubtitleEmbedTemplateResponse;
|
|
542
545
|
const ImageTaskInfo = models.ImageTaskInfo;
|
|
543
546
|
const ResetWorkflowResponse = models.ResetWorkflowResponse;
|
|
547
|
+
const QueryHunyuan3DTaskResponse = models.QueryHunyuan3DTaskResponse;
|
|
544
548
|
const HLSConfigureInfo = models.HLSConfigureInfo;
|
|
545
549
|
const CreateAIAnalysisTemplateResponse = models.CreateAIAnalysisTemplateResponse;
|
|
546
550
|
const CreateSmartEraseTemplateResponse = models.CreateSmartEraseTemplateResponse;
|
|
@@ -619,6 +623,7 @@ const DeleteScheduleRequest = models.DeleteScheduleRequest;
|
|
|
619
623
|
const LiveScheduleLiveRecordTaskResult = models.LiveScheduleLiveRecordTaskResult;
|
|
620
624
|
const AiSampleFailFaceInfo = models.AiSampleFailFaceInfo;
|
|
621
625
|
const UserDefineFaceReviewTemplateInfoForUpdate = models.UserDefineFaceReviewTemplateInfoForUpdate;
|
|
626
|
+
const File3D = models.File3D;
|
|
622
627
|
const CloneViralPersona = models.CloneViralPersona;
|
|
623
628
|
const AigcVideoReferenceAudioInfo = models.AigcVideoReferenceAudioInfo;
|
|
624
629
|
const DeleteProcessImageTemplateResponse = models.DeleteProcessImageTemplateResponse;
|
|
@@ -769,6 +774,7 @@ const SampleSnapshotTaskInput = models.SampleSnapshotTaskInput;
|
|
|
769
774
|
const QualityControlTemplate = models.QualityControlTemplate;
|
|
770
775
|
const TerrorismConfigureInfo = models.TerrorismConfigureInfo;
|
|
771
776
|
const PoliticalAsrReviewTemplateInfo = models.PoliticalAsrReviewTemplateInfo;
|
|
777
|
+
const SubmitHunyuan3DTaskResponse = models.SubmitHunyuan3DTaskResponse;
|
|
772
778
|
const DeleteProcessImageTemplateRequest = models.DeleteProcessImageTemplateRequest;
|
|
773
779
|
const SmartSubtitlesTaskInput = models.SmartSubtitlesTaskInput;
|
|
774
780
|
const CreateAnimatedGraphicsTemplateResponse = models.CreateAnimatedGraphicsTemplateResponse;
|
|
@@ -1590,6 +1596,17 @@ Note: templates with an ID below 10000 are preset and cannot be deleted.
|
|
|
1590
1596
|
this.request("DescribeSchedules", req, resp, cb);
|
|
1591
1597
|
}
|
|
1592
1598
|
|
|
1599
|
+
/**
|
|
1600
|
+
* Submit creation of a Hunyuan 3D task.
|
|
1601
|
+
* @param {SubmitHunyuan3DTaskRequest} req
|
|
1602
|
+
* @param {function(string, SubmitHunyuan3DTaskResponse):void} cb
|
|
1603
|
+
* @public
|
|
1604
|
+
*/
|
|
1605
|
+
SubmitHunyuan3DTask(req, cb) {
|
|
1606
|
+
let resp = new SubmitHunyuan3DTaskResponse();
|
|
1607
|
+
this.request("SubmitHunyuan3DTask", req, resp, cb);
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1593
1610
|
/**
|
|
1594
1611
|
* This API is used to modify image samples by image ID. You can use it to modify the name and description of an image sample and add/delete/reset facial features or tags. There must be at least one image left after the deletion of facial features; otherwise, please reset instead of delete the facial features.
|
|
1595
1612
|
* @param {ModifyPersonSampleRequest} req
|
|
@@ -2342,6 +2359,17 @@ Live stream processing event notification supports HTTP callbacks and also suppo
|
|
|
2342
2359
|
this.request("TextTranslation", req, resp, cb);
|
|
2343
2360
|
}
|
|
2344
2361
|
|
|
2362
|
+
/**
|
|
2363
|
+
* Query the result corresponding to a Hunyuan3D task.
|
|
2364
|
+
* @param {QueryHunyuan3DTaskRequest} req
|
|
2365
|
+
* @param {function(string, QueryHunyuan3DTaskResponse):void} cb
|
|
2366
|
+
* @public
|
|
2367
|
+
*/
|
|
2368
|
+
QueryHunyuan3DTask(req, cb) {
|
|
2369
|
+
let resp = new QueryHunyuan3DTaskResponse();
|
|
2370
|
+
this.request("QueryHunyuan3DTask", req, resp, cb);
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2345
2373
|
/**
|
|
2346
2374
|
* This API is used to create a smart subtitle hotword lexicon.
|
|
2347
2375
|
* @param {CreateAsrHotwordsRequest} req
|