tencentcloud-sdk-nodejs-intl-en 3.0.1449 → 3.0.1451
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1451";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -9542,7 +9542,7 @@ class CreateAigcVideoTaskResponse extends AbstractModel {
|
|
|
9542
9542
|
super();
|
|
9543
9543
|
|
|
9544
9544
|
/**
|
|
9545
|
-
*
|
|
9545
|
+
* <p>Returned task ID after the task is created successfully.<br>The task progress and generation results can be obtained by calling the query API.</p>
|
|
9546
9546
|
* @type {string || null}
|
|
9547
9547
|
*/
|
|
9548
9548
|
this.TaskId = null;
|
|
@@ -19448,67 +19448,67 @@ class CreateAigcVideoTaskRequest extends AbstractModel {
|
|
|
19448
19448
|
super();
|
|
19449
19449
|
|
|
19450
19450
|
/**
|
|
19451
|
-
*
|
|
19451
|
+
* <p>Model name.<br>Supported models:<br>Hunyuan.<br>Hailuo.<br>Kling.<br>Vidu.<br>PixVerse.<br>Mingmou.<br>H2.</p>
|
|
19452
19452
|
* @type {string || null}
|
|
19453
19453
|
*/
|
|
19454
19454
|
this.ModelName = null;
|
|
19455
19455
|
|
|
19456
19456
|
/**
|
|
19457
|
-
*
|
|
19457
|
+
* <p>Specific version number of the model. By default, the system uses the supported stable version of the model.</p><ol><li>Hunyuan: [1.5].</li><li>Hailuo: [02, 2.3, and 2.3-fast].</li><li>Kling: [1.6, 2.0, 2.1, 2.5, O1, 2.6, 3.0, and 3.0-Omni].</li><li>Vidu: [q2, q2-pro, q2-turbo, q3-pro, q3-turbo, q3, and q3-mix].</li><li>PixVerse: [v5.6, v6, and c1].</li><li>H2: [1.0].</li></ol>
|
|
19458
19458
|
* @type {string || null}
|
|
19459
19459
|
*/
|
|
19460
19460
|
this.ModelVersion = null;
|
|
19461
19461
|
|
|
19462
19462
|
/**
|
|
19463
|
-
*
|
|
19463
|
+
* <p>Scenario for the generated video.<br>Note: Not all models support scenarios.</p><ol><li>Kling supports: motion control (motion_control), digital human (avatar_i2v), and lip sync (lip_sync).</li><li>Mingmou supports: landscape-to-portrait conversion (land2port).</li><li>Vidu supports: effect templates (template_effect).</li><li>Hunyuan supports: 3D world model (3d_scene). The returned file is not a video.</li></ol>
|
|
19464
19464
|
* @type {string || null}
|
|
19465
19465
|
*/
|
|
19466
19466
|
this.SceneType = null;
|
|
19467
19467
|
|
|
19468
19468
|
/**
|
|
19469
|
-
*
|
|
19469
|
+
* <p>Description of the generated video. This parameter is required when no image is specified.</p>
|
|
19470
19470
|
* @type {string || null}
|
|
19471
19471
|
*/
|
|
19472
19472
|
this.Prompt = null;
|
|
19473
19473
|
|
|
19474
19474
|
/**
|
|
19475
|
-
*
|
|
19475
|
+
* <p>Specifies the content you want to prevent the model from generating.<br>Note: Not all models support this.<br>For example:<br>Top lighting and bright colors.<br>People and animals.<br>Multiple vehicles and wind.</p>
|
|
19476
19476
|
* @type {string || null}
|
|
19477
19477
|
*/
|
|
19478
19478
|
this.NegativePrompt = null;
|
|
19479
19479
|
|
|
19480
19480
|
/**
|
|
19481
|
-
*
|
|
19481
|
+
* <p>The default value is False, meaning the model follows instructions strictly.<br>For better results with more nuanced prompts, set this parameter to True to automatically optimize the input prompt and improve generation quality.</p>
|
|
19482
19482
|
* @type {boolean || null}
|
|
19483
19483
|
*/
|
|
19484
19484
|
this.EnhancePrompt = null;
|
|
19485
19485
|
|
|
19486
19486
|
/**
|
|
19487
|
-
*
|
|
19487
|
+
* <p>Image URL used for video generation. The URL must be accessible from the public network.<br>Note:</p><ol><li>The recommended image size is no more than 10 MB. Different models have different size limits. See the model website for a more complete description.</li><li>Supported image formats: JPEG and PNG.</li></ol>
|
|
19488
19488
|
* @type {string || null}
|
|
19489
19489
|
*/
|
|
19490
19490
|
this.ImageUrl = null;
|
|
19491
19491
|
|
|
19492
19492
|
/**
|
|
19493
|
-
*
|
|
19493
|
+
* <p>The model will generate a video using the image of this parameter as the ending frame.<br>Models that support this parameter:</p><ol><li>Kling 2.0, O1, 3.0, and 3.0-Omni support starting and ending frames.</li><li>Kling 1.6, 2.1, 2.5, and 2.6 support starting and ending frames with Resolution:1080p.</li><li>Vidu q2-pro, q2-turbo, q3-pro, and q3-turbo support starting and ending frames.</li><li>PixVerse v5.6, v6, and c1 support starting and ending frames.</li><li>Hailuo 02 supports starting and ending frames.</li></ol><p>Note:</p><ol><li>The recommended image size is no more than 10 MB. Different models have different limits.</li><li>Supported image formats: JPEG and PNG.</li></ol>
|
|
19494
19494
|
* @type {string || null}
|
|
19495
19495
|
*/
|
|
19496
19496
|
this.LastImageUrl = null;
|
|
19497
19497
|
|
|
19498
19498
|
/**
|
|
19499
|
-
*
|
|
19499
|
+
* <p>List of multiple asset resource images used to describe the resource images used by the model for video generation.</p><p>Models that support multiple images:</p><ol><li>Vidu q2, q2-pro, q3-turbo, q3, and q3-mix support video generation with multiple reference images. One to 7 images can be uploaded. The ReferenceType in ImageInfos can be used to specify the subject ID for the input.</li><li>Kling O1, 3.0-Omni, and 1.6 support video generation with multiple reference images.<ol><li>Kling 1.6 allows uploading 1 to 4 images.</li><li>Kling O1 and 3.0-Omni allow uploading 1 to 7 images. If a reference video is present, 0 to 4 images can be uploaded.</li></ol></li><li>PixVerse, v5.6, v6, and c1 support video generation with multiple reference images. One to 7 images can be uploaded, and image names need to be specified via the Text field in ImageInfos.</li><li>H2 1.0 supports video generation with multiple image parameters. One to 9 images can be uploaded. If a reference video is present, 0 to 5 images can be uploaded.</li></ol><p>Note:</p><ol><li>The image size cannot exceed 10 MB.</li><li>Supported image formats: JPEG and PNG.</li></ol>
|
|
19500
19500
|
* @type {Array.<AigcVideoReferenceImageInfo> || null}
|
|
19501
19501
|
*/
|
|
19502
19502
|
this.ImageInfos = null;
|
|
19503
19503
|
|
|
19504
19504
|
/**
|
|
19505
|
-
*
|
|
19505
|
+
* <p>Only Kling O1, Kling 3.0-Omni, Vidu q2-pro, and H2 1.0 support reference video information.</p><ol><li>For Kling O1 and 3.0-Omni, the reference video can be used as a feature reference video or a video for editing. The default type is video for editing. You can choose to keep the original sound of the video.</li><li>Vidu q2-pro supports video reference.</li><li>H2 1.0 supports video reference.</li></ol>
|
|
19506
19506
|
* @type {Array.<AigcVideoReferenceVideoInfo> || null}
|
|
19507
19507
|
*/
|
|
19508
19508
|
this.VideoInfos = null;
|
|
19509
19509
|
|
|
19510
19510
|
/**
|
|
19511
|
-
*
|
|
19511
|
+
* <p>Some models support reference audio input via URL.</p>
|
|
19512
19512
|
* @type {Array.<AigcVideoReferenceAudioInfo> || null}
|
|
19513
19513
|
*/
|
|
19514
19514
|
this.AudioInfos = null;
|
|
@@ -19520,31 +19520,31 @@ class CreateAigcVideoTaskRequest extends AbstractModel {
|
|
|
19520
19520
|
this.SubjectInfos = null;
|
|
19521
19521
|
|
|
19522
19522
|
/**
|
|
19523
|
-
*
|
|
19523
|
+
* <p>Duration of the generated video.<br>Note:</p><ol><li>Kling: default value: 5 seconds.<ul><li>O1 supports 3 to 10 seconds.</li><li>3.0-Omni supports 3 to 15 seconds, or 3 to 10 seconds when a video reference is used.</li><li>3.0 supports 3 to 15 seconds.</li><li>Other versions support 5 and 10 seconds.</li></ul></li><li>The std mode of Hailuo supports 6 and 10 seconds, and other modes support 6 seconds. Default value: 6 seconds.</li><li>Vidu: default value: 5 seconds.<ul><li>q3-pro, q3-turbo, q3, and q3-mix support 3 to 16 seconds.</li><li>q2-pro, q2-turbo, and q2 support 1 to 10 seconds.</li></ul></li><li>PixVerse: default value: 5 seconds.<ul><li>v5.6 supports 5, 8, and 10 seconds.</li><li>v6 and c1 support 1 to 15 seconds.</li></ul></li><li>H2 supports 3 to 15 seconds. Default value: 5 seconds.</li></ol>
|
|
19524
19524
|
* @type {number || null}
|
|
19525
19525
|
*/
|
|
19526
19526
|
this.Duration = null;
|
|
19527
19527
|
|
|
19528
19528
|
/**
|
|
19529
|
-
*
|
|
19529
|
+
* <p>Additional parameters required.</p>
|
|
19530
19530
|
* @type {AigcVideoExtraParam || null}
|
|
19531
19531
|
*/
|
|
19532
19532
|
this.ExtraParameters = null;
|
|
19533
19533
|
|
|
19534
19534
|
/**
|
|
19535
|
-
*
|
|
19535
|
+
* <p>COS bucket information for the file result. Note: COS is required and the MPS_QcsRole role needs to be created and authorized.</p>
|
|
19536
19536
|
* @type {AigcStoreCosParam || null}
|
|
19537
19537
|
*/
|
|
19538
19538
|
this.StoreCosParam = null;
|
|
19539
19539
|
|
|
19540
19540
|
/**
|
|
19541
|
-
*
|
|
19541
|
+
* <p>Special scenario parameters or storyboard prompts required by the model, formatted as a JSON serialized string.<br>Example:<br>{"camera_control":{"type":"simple"}}.</p>
|
|
19542
19542
|
* @type {string || null}
|
|
19543
19543
|
*/
|
|
19544
19544
|
this.AdditionalParameters = null;
|
|
19545
19545
|
|
|
19546
19546
|
/**
|
|
19547
|
-
*
|
|
19547
|
+
* <p>API operator name.</p>
|
|
19548
19548
|
* @type {string || null}
|
|
19549
19549
|
*/
|
|
19550
19550
|
this.Operator = null;
|
|
@@ -25806,7 +25806,7 @@ The image will be deleted after the PicUrlExpireTime time point.
|
|
|
25806
25806
|
}
|
|
25807
25807
|
|
|
25808
25808
|
/**
|
|
25809
|
-
*
|
|
25809
|
+
* Information required for uploading AIGC result files to COS. The MPS_QcsRole role needs to be created and authorized.
|
|
25810
25810
|
* @class
|
|
25811
25811
|
*/
|
|
25812
25812
|
class AigcStoreCosParam extends AbstractModel {
|
|
@@ -25814,19 +25814,21 @@ class AigcStoreCosParam extends AbstractModel {
|
|
|
25814
25814
|
super();
|
|
25815
25815
|
|
|
25816
25816
|
/**
|
|
25817
|
-
*
|
|
25817
|
+
* Name of the COS bucket to store to. This value is required if you need to store the results in COS. Example value: bucket.
|
|
25818
25818
|
* @type {string || null}
|
|
25819
25819
|
*/
|
|
25820
25820
|
this.CosBucketName = null;
|
|
25821
25821
|
|
|
25822
25822
|
/**
|
|
25823
|
-
*
|
|
25823
|
+
* Region of the COS bucket to store to. This is required if you need to upload the results to COS. Example value: ap-guangzhou.
|
|
25824
25824
|
* @type {string || null}
|
|
25825
25825
|
*/
|
|
25826
25826
|
this.CosBucketRegion = null;
|
|
25827
25827
|
|
|
25828
25828
|
/**
|
|
25829
|
-
*
|
|
25829
|
+
* bucket path stored to cos.
|
|
25830
|
+
Optional.
|
|
25831
|
+
Example value: my_file.
|
|
25830
25832
|
* @type {string || null}
|
|
25831
25833
|
*/
|
|
25832
25834
|
this.CosBucketPath = null;
|
|
@@ -32943,7 +32945,7 @@ class ModifyPersonSampleRequest extends AbstractModel {
|
|
|
32943
32945
|
}
|
|
32944
32946
|
|
|
32945
32947
|
/**
|
|
32946
|
-
*
|
|
32948
|
+
* Reference video asset for AIGC video generation.
|
|
32947
32949
|
* @class
|
|
32948
32950
|
*/
|
|
32949
32951
|
class AigcVideoReferenceVideoInfo extends AbstractModel {
|
|
@@ -32951,7 +32953,7 @@ class AigcVideoReferenceVideoInfo extends AbstractModel {
|
|
|
32951
32953
|
super();
|
|
32952
32954
|
|
|
32953
32955
|
/**
|
|
32954
|
-
* <p>url of the reference video. It must be accessible from the external network.<br>It can be used as a feature reference video or a video for editing
|
|
32956
|
+
* <p>url of the reference video. It must be accessible from the external network.<br>It can be used as a feature reference video or a video for editing, with the default being a video for editing. You can selectively retain the original sound of the video.<br>The ReferType parameter specifies the reference video type: feature indicates feature reference video, and base indicates video for editing.<br>When the reference video is a video for editing, you cannot define the first and last frame of the video.</p>
|
|
32955
32957
|
* @type {string || null}
|
|
32956
32958
|
*/
|
|
32957
32959
|
this.VideoUrl = null;
|
|
@@ -32985,13 +32987,13 @@ class AigcVideoReferenceVideoInfo extends AbstractModel {
|
|
|
32985
32987
|
}
|
|
32986
32988
|
|
|
32987
32989
|
/**
|
|
32988
|
-
*
|
|
32990
|
+
* For entity information, see.
|
|
32989
32991
|
For the Vidu model:
|
|
32990
|
-
Id -> server_id
|
|
32991
|
-
|
|
32992
|
+
Id -> server_id, the principal ID obtained through the principal creation API.
|
|
32993
|
+
name -> principal ID, subsequently used in the format @principal ID.
|
|
32992
32994
|
|
|
32993
32995
|
For the Kling model:
|
|
32994
|
-
|
|
32996
|
+
id -> element_id, the principal ID obtained through the principal creation API.
|
|
32995
32997
|
* @class
|
|
32996
32998
|
*/
|
|
32997
32999
|
class AigcVideoReferenceSubjectInfo extends AbstractModel {
|
|
@@ -32999,7 +33001,7 @@ class AigcVideoReferenceSubjectInfo extends AbstractModel {
|
|
|
32999
33001
|
super();
|
|
33000
33002
|
|
|
33001
33003
|
/**
|
|
33002
|
-
* <p>ID of the
|
|
33004
|
+
* <p>ID of the referenced entity.</p>
|
|
33003
33005
|
* @type {string || null}
|
|
33004
33006
|
*/
|
|
33005
33007
|
this.Id = null;
|
|
@@ -33011,7 +33013,7 @@ class AigcVideoReferenceSubjectInfo extends AbstractModel {
|
|
|
33011
33013
|
this.Name = null;
|
|
33012
33014
|
|
|
33013
33015
|
/**
|
|
33014
|
-
* <p>Main voice ID.</p>
|
|
33016
|
+
* <p>Main voice type ID.</p>
|
|
33015
33017
|
* @type {string || null}
|
|
33016
33018
|
*/
|
|
33017
33019
|
this.VoiceId = null;
|
|
@@ -37013,7 +37015,7 @@ class CloneViralPersona extends AbstractModel {
|
|
|
37013
37015
|
}
|
|
37014
37016
|
|
|
37015
37017
|
/**
|
|
37016
|
-
*
|
|
37018
|
+
* Reference audio information.
|
|
37017
37019
|
* @class
|
|
37018
37020
|
*/
|
|
37019
37021
|
class AigcVideoReferenceAudioInfo extends AbstractModel {
|
|
@@ -37021,7 +37023,7 @@ class AigcVideoReferenceAudioInfo extends AbstractModel {
|
|
|
37021
37023
|
super();
|
|
37022
37024
|
|
|
37023
37025
|
/**
|
|
37024
|
-
*
|
|
37026
|
+
* <p>Reference audio URL, which must be accessible from the public network.</p>
|
|
37025
37027
|
* @type {string || null}
|
|
37026
37028
|
*/
|
|
37027
37029
|
this.AudioUrl = null;
|
|
@@ -43531,7 +43533,7 @@ class DescribeAIAnalysisTemplatesResponse extends AbstractModel {
|
|
|
43531
43533
|
}
|
|
43532
43534
|
|
|
43533
43535
|
/**
|
|
43534
|
-
*
|
|
43536
|
+
* Extended parameters used for AIGC video generation.
|
|
43535
43537
|
* @class
|
|
43536
43538
|
*/
|
|
43537
43539
|
class AigcVideoExtraParam extends AbstractModel {
|
|
@@ -43539,37 +43541,37 @@ class AigcVideoExtraParam extends AbstractModel {
|
|
|
43539
43541
|
super();
|
|
43540
43542
|
|
|
43541
43543
|
/**
|
|
43542
|
-
*
|
|
43544
|
+
* <p>Resolution of the generated video. The resolution is related to the selected model and set video duration.</p><p>Supported resolution options for different models:</p><ol><li>Kling: 720P (default) and 1080P. Kling 3.0 and Kling 3.0-Omni support 4K.</li><li>Hailuo: 768P (default) and 1080P.</li><li>Vidu: 540P, 720P (default), and 1080P.</li><li>PixVerse: 540P, 720P (default), and 1080P.</li><li>H2: 720P and 1080P (default).</li></ol><p>Note: In addition to the resolution supported by the model, 2K and 4K resolutions are also available.</p>
|
|
43543
43545
|
* @type {string || null}
|
|
43544
43546
|
*/
|
|
43545
43547
|
this.Resolution = null;
|
|
43546
43548
|
|
|
43547
43549
|
/**
|
|
43548
|
-
*
|
|
43550
|
+
* <p>Aspect ratio of the generated video.</p><p>Support for this parameter by different models:</p><ol><li>Kling only supports this parameter for text-to-video, with aspect ratios of 16:9 (default), 9:16, and 1:1.</li><li>Hailuo does not support this parameter.</li><li>Vidu supports [16:9, 9:16, 4:3, 3:4, 1:1] for text-to-video and reference image-to-video only. Only q2 supports 4:3 and 3:4.</li><li>PixVerse supports [16:9, 9:16, 4:3, 3:4, 1:1, 2:3, 3:2, 21:9] for text-to-video and reference image-to-video only. Only v6 and c1 support 2:3, 3:2, and 21:9.</li><li>H2 supports [16:9, 9:16, 4:3, 3:4, 4:5, 5:4, 1:1, 21:9, 9:21] for text-to-video and reference image-to-video only.</li></ol><p>Note: For more information about the supported aspect ratios of specific models, see the model website.</p>
|
|
43549
43551
|
* @type {string || null}
|
|
43550
43552
|
*/
|
|
43551
43553
|
this.AspectRatio = null;
|
|
43552
43554
|
|
|
43553
43555
|
/**
|
|
43554
|
-
*
|
|
43556
|
+
* <p>Indicates whether to add a logo watermark.</p><ol><li>Hailuo supports this parameter.</li><li>Kling supports this parameter.</li><li>Vidu supports this parameter.</li><li>H2 supports this parameter.</li></ol>
|
|
43555
43557
|
* @type {number || null}
|
|
43556
43558
|
*/
|
|
43557
43559
|
this.LogoAdd = null;
|
|
43558
43560
|
|
|
43559
43561
|
/**
|
|
43560
|
-
*
|
|
43562
|
+
* <p>Indicates whether to generate audio for the video. Valid values: true or false.</p><p>Models that support this parameter:</p><ol><li>Vidu. Only q3 series models support this parameter. Default value: false.</li><li>PixVerse. Default value: false.</li><li>Kling. Default value: false.</li></ol>
|
|
43561
43563
|
* @type {boolean || null}
|
|
43562
43564
|
*/
|
|
43563
43565
|
this.EnableAudio = null;
|
|
43564
43566
|
|
|
43565
43567
|
/**
|
|
43566
|
-
*
|
|
43568
|
+
* <p>Indicates whether to use the off-peak scheduling mode. Only Vidu supports this parameter.<br>Tasks submitted in off-peak mode will be processed within 48 hours. Uncompleted tasks will be canceled.</p>
|
|
43567
43569
|
* @type {boolean || null}
|
|
43568
43570
|
*/
|
|
43569
43571
|
this.OffPeak = null;
|
|
43570
43572
|
|
|
43571
43573
|
/**
|
|
43572
|
-
*
|
|
43574
|
+
* <p>Indicates whether to add background music to the generated video. Default value: false. Valid values: true or false.<br>Note: Only some model versions support this.</p>
|
|
43573
43575
|
* @type {boolean || null}
|
|
43574
43576
|
*/
|
|
43575
43577
|
this.EnableBgm = null;
|
|
@@ -48192,7 +48194,7 @@ class DescribeImageTasksRequest extends AbstractModel {
|
|
|
48192
48194
|
}
|
|
48193
48195
|
|
|
48194
48196
|
/**
|
|
48195
|
-
*
|
|
48197
|
+
* Reference image information for AIGC video generation.
|
|
48196
48198
|
* @class
|
|
48197
48199
|
*/
|
|
48198
48200
|
class AigcVideoReferenceImageInfo extends AbstractModel {
|
|
@@ -48200,13 +48202,15 @@ class AigcVideoReferenceImageInfo extends AbstractModel {
|
|
|
48200
48202
|
super();
|
|
48201
48203
|
|
|
48202
48204
|
/**
|
|
48203
|
-
*
|
|
48205
|
+
* Image URL for video generation. The URL must be accessible from the public network and must be accessible to crawlers.
|
|
48204
48206
|
* @type {string || null}
|
|
48205
48207
|
*/
|
|
48206
48208
|
this.ImageUrl = null;
|
|
48207
48209
|
|
|
48208
48210
|
/**
|
|
48209
|
-
*
|
|
48211
|
+
* Reference Type
|
|
48212
|
+
Note:
|
|
48213
|
+
1. If the GV model is used, this serves as the reference method. Valid values are asset and style.
|
|
48210
48214
|
* @type {string || null}
|
|
48211
48215
|
*/
|
|
48212
48216
|
this.ReferenceType = null;
|