tencentcloud-sdk-nodejs-vclm 4.1.153 → 4.1.155
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.
|
@@ -3,6 +3,12 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
3
3
|
constructor(clientConfig) {
|
|
4
4
|
super("vclm.tencentcloudapi.com", "2024-05-23", clientConfig);
|
|
5
5
|
}
|
|
6
|
+
async SubmitHunyuanToVideoJob(req, cb) {
|
|
7
|
+
return this.request("SubmitHunyuanToVideoJob", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async SubmitVideoVoiceJob(req, cb) {
|
|
10
|
+
return this.request("SubmitVideoVoiceJob", req, cb);
|
|
11
|
+
}
|
|
6
12
|
async DescribeTemplateToVideoJob(req, cb) {
|
|
7
13
|
return this.request("DescribeTemplateToVideoJob", req, cb);
|
|
8
14
|
}
|
|
@@ -18,8 +24,11 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
18
24
|
async SubmitHumanActorJob(req, cb) {
|
|
19
25
|
return this.request("SubmitHumanActorJob", req, cb);
|
|
20
26
|
}
|
|
21
|
-
async
|
|
22
|
-
return this.request("
|
|
27
|
+
async SubmitTemplateToVideoJob(req, cb) {
|
|
28
|
+
return this.request("SubmitTemplateToVideoJob", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async DescribeVideoVoiceJob(req, cb) {
|
|
31
|
+
return this.request("DescribeVideoVoiceJob", req, cb);
|
|
23
32
|
}
|
|
24
33
|
async DescribeVideoFaceFusionJob(req, cb) {
|
|
25
34
|
return this.request("DescribeVideoFaceFusionJob", req, cb);
|
|
@@ -30,8 +39,8 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
39
|
async SubmitImageAnimateJob(req, cb) {
|
|
31
40
|
return this.request("SubmitImageAnimateJob", req, cb);
|
|
32
41
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
42
|
+
async DescribeHunyuanToVideoJob(req, cb) {
|
|
43
|
+
return this.request("DescribeHunyuanToVideoJob", req, cb);
|
|
35
44
|
}
|
|
36
45
|
async SubmitImageToVideoGeneralJob(req, cb) {
|
|
37
46
|
return this.request("SubmitImageToVideoGeneralJob", req, cb);
|
|
@@ -45,6 +54,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
45
54
|
async DescribeImageToVideoGeneralJob(req, cb) {
|
|
46
55
|
return this.request("DescribeImageToVideoGeneralJob", req, cb);
|
|
47
56
|
}
|
|
57
|
+
async SubmitVideoFaceFusionJob(req, cb) {
|
|
58
|
+
return this.request("SubmitVideoFaceFusionJob", req, cb);
|
|
59
|
+
}
|
|
48
60
|
async DescribeHumanActorJob(req, cb) {
|
|
49
61
|
return this.request("DescribeHumanActorJob", req, cb);
|
|
50
62
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeImageToVideoGeneralJobResponse, SubmitVideoStylizationJobRequest, SubmitHumanActorJobRequest,
|
|
2
|
+
import { DescribeImageToVideoGeneralJobResponse, SubmitVideoStylizationJobRequest, DescribeVideoVoiceJobResponse, SubmitHumanActorJobRequest, SubmitImageAnimateJobResponse, SubmitImageAnimateJobRequest, DescribeVideoVoiceJobRequest, SubmitImageToVideoGeneralJobResponse, DescribeVideoFaceFusionJobResponse, DescribeVideoFaceFusionJobRequest, DescribePortraitSingJobRequest, DescribeHunyuanToVideoJobRequest, SubmitVideoFaceFusionJobResponse, DescribeTemplateToVideoJobResponse, SubmitVideoVoiceJobResponse, CheckAnimateImageJobResponse, SubmitTemplateToVideoJobResponse, CheckAnimateImageJobRequest, DescribeVideoStylizationJobRequest, SubmitHumanActorJobResponse, DescribeImageAnimateJobResponse, SubmitPortraitSingJobRequest, SubmitVideoVoiceJobRequest, SubmitHunyuanToVideoJobResponse, DescribeHumanActorJobResponse, DescribeVideoStylizationJobResponse, SubmitVideoStylizationJobResponse, SubmitVideoFaceFusionJobRequest, SubmitPortraitSingJobResponse, SubmitTemplateToVideoJobRequest, SubmitImageToVideoGeneralJobRequest, SubmitHunyuanToVideoJobRequest, DescribeHumanActorJobRequest, DescribeImageToVideoGeneralJobRequest, DescribeTemplateToVideoJobRequest, DescribeImageAnimateJobRequest, DescribePortraitSingJobResponse, DescribeHunyuanToVideoJobResponse } from "./vclm_models";
|
|
3
3
|
/**
|
|
4
4
|
* vclm client
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
8
8
|
constructor(clientConfig: TencentCloudCommon.ClientConfig);
|
|
9
|
+
/**
|
|
10
|
+
* ●混元生视频接口,基于混元大模型,根据输入的文本或图片智能生成视频。
|
|
11
|
+
|
|
12
|
+
●默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
13
|
+
*/
|
|
14
|
+
SubmitHunyuanToVideoJob(req: SubmitHunyuanToVideoJobRequest, cb?: (error: string, rep: SubmitHunyuanToVideoJobResponse) => void): Promise<SubmitHunyuanToVideoJobResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* 提交视频配音效任务,输入视频后提交请求,会返回一个JobId,用于查询视频配音效的处理进度。
|
|
17
|
+
*/
|
|
18
|
+
SubmitVideoVoiceJob(req: SubmitVideoVoiceJobRequest, cb?: (error: string, rep: SubmitVideoVoiceJobResponse) => void): Promise<SubmitVideoVoiceJobResponse>;
|
|
9
19
|
/**
|
|
10
20
|
* 用于查询视频特效任务。
|
|
11
21
|
*/
|
|
@@ -30,9 +40,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
30
40
|
*/
|
|
31
41
|
SubmitHumanActorJob(req: SubmitHumanActorJobRequest, cb?: (error: string, rep: SubmitHumanActorJobResponse) => void): Promise<SubmitHumanActorJobResponse>;
|
|
32
42
|
/**
|
|
33
|
-
*
|
|
43
|
+
* 提交视频特效任务接口
|
|
34
44
|
*/
|
|
35
|
-
|
|
45
|
+
SubmitTemplateToVideoJob(req: SubmitTemplateToVideoJobRequest, cb?: (error: string, rep: SubmitTemplateToVideoJobResponse) => void): Promise<SubmitTemplateToVideoJobResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* 通过JobId提交请求,获取视频配音频任务的结果信息。
|
|
48
|
+
*/
|
|
49
|
+
DescribeVideoVoiceJob(req: DescribeVideoVoiceJobRequest, cb?: (error: string, rep: DescribeVideoVoiceJobResponse) => void): Promise<DescribeVideoVoiceJobResponse>;
|
|
36
50
|
/**
|
|
37
51
|
* 查询视频人脸融合任务
|
|
38
52
|
*/
|
|
@@ -46,9 +60,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
46
60
|
*/
|
|
47
61
|
SubmitImageAnimateJob(req: SubmitImageAnimateJobRequest, cb?: (error: string, rep: SubmitImageAnimateJobResponse) => void): Promise<SubmitImageAnimateJobResponse>;
|
|
48
62
|
/**
|
|
49
|
-
*
|
|
63
|
+
* 查询混元生视频任务
|
|
50
64
|
*/
|
|
51
|
-
|
|
65
|
+
DescribeHunyuanToVideoJob(req: DescribeHunyuanToVideoJobRequest, cb?: (error: string, rep: DescribeHunyuanToVideoJobResponse) => void): Promise<DescribeHunyuanToVideoJobResponse>;
|
|
52
66
|
/**
|
|
53
67
|
* 图生视频通用能力接口
|
|
54
68
|
*/
|
|
@@ -65,6 +79,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
65
79
|
* 查询图生视频通用能力任务接口
|
|
66
80
|
*/
|
|
67
81
|
DescribeImageToVideoGeneralJob(req: DescribeImageToVideoGeneralJobRequest, cb?: (error: string, rep: DescribeImageToVideoGeneralJobResponse) => void): Promise<DescribeImageToVideoGeneralJobResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* 提交视频人脸融合任务
|
|
84
|
+
*/
|
|
85
|
+
SubmitVideoFaceFusionJob(req: SubmitVideoFaceFusionJobRequest, cb?: (error: string, rep: SubmitVideoFaceFusionJobResponse) => void): Promise<SubmitVideoFaceFusionJobResponse>;
|
|
68
86
|
/**
|
|
69
87
|
* 通过JobId提交请求,获取人像驱动任务的结果信息。
|
|
70
88
|
*/
|
|
@@ -28,6 +28,20 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
28
28
|
constructor(clientConfig) {
|
|
29
29
|
super("vclm.tencentcloudapi.com", "2024-05-23", clientConfig);
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* ●混元生视频接口,基于混元大模型,根据输入的文本或图片智能生成视频。
|
|
33
|
+
|
|
34
|
+
●默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
35
|
+
*/
|
|
36
|
+
async SubmitHunyuanToVideoJob(req, cb) {
|
|
37
|
+
return this.request("SubmitHunyuanToVideoJob", req, cb);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 提交视频配音效任务,输入视频后提交请求,会返回一个JobId,用于查询视频配音效的处理进度。
|
|
41
|
+
*/
|
|
42
|
+
async SubmitVideoVoiceJob(req, cb) {
|
|
43
|
+
return this.request("SubmitVideoVoiceJob", req, cb);
|
|
44
|
+
}
|
|
31
45
|
/**
|
|
32
46
|
* 用于查询视频特效任务。
|
|
33
47
|
*/
|
|
@@ -62,10 +76,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
62
76
|
return this.request("SubmitHumanActorJob", req, cb);
|
|
63
77
|
}
|
|
64
78
|
/**
|
|
65
|
-
*
|
|
79
|
+
* 提交视频特效任务接口
|
|
66
80
|
*/
|
|
67
|
-
async
|
|
68
|
-
return this.request("
|
|
81
|
+
async SubmitTemplateToVideoJob(req, cb) {
|
|
82
|
+
return this.request("SubmitTemplateToVideoJob", req, cb);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* 通过JobId提交请求,获取视频配音频任务的结果信息。
|
|
86
|
+
*/
|
|
87
|
+
async DescribeVideoVoiceJob(req, cb) {
|
|
88
|
+
return this.request("DescribeVideoVoiceJob", req, cb);
|
|
69
89
|
}
|
|
70
90
|
/**
|
|
71
91
|
* 查询视频人脸融合任务
|
|
@@ -86,10 +106,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
86
106
|
return this.request("SubmitImageAnimateJob", req, cb);
|
|
87
107
|
}
|
|
88
108
|
/**
|
|
89
|
-
*
|
|
109
|
+
* 查询混元生视频任务
|
|
90
110
|
*/
|
|
91
|
-
async
|
|
92
|
-
return this.request("
|
|
111
|
+
async DescribeHunyuanToVideoJob(req, cb) {
|
|
112
|
+
return this.request("DescribeHunyuanToVideoJob", req, cb);
|
|
93
113
|
}
|
|
94
114
|
/**
|
|
95
115
|
* 图生视频通用能力接口
|
|
@@ -115,6 +135,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
115
135
|
async DescribeImageToVideoGeneralJob(req, cb) {
|
|
116
136
|
return this.request("DescribeImageToVideoGeneralJob", req, cb);
|
|
117
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* 提交视频人脸融合任务
|
|
140
|
+
*/
|
|
141
|
+
async SubmitVideoFaceFusionJob(req, cb) {
|
|
142
|
+
return this.request("SubmitVideoFaceFusionJob", req, cb);
|
|
143
|
+
}
|
|
118
144
|
/**
|
|
119
145
|
* 通过JobId提交请求,获取人像驱动任务的结果信息。
|
|
120
146
|
*/
|
|
@@ -70,6 +70,31 @@ export interface LogoParam {
|
|
|
70
70
|
*/
|
|
71
71
|
LogoRect?: LogoRect;
|
|
72
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* DescribeVideoVoiceJob返回参数结构体
|
|
75
|
+
*/
|
|
76
|
+
export interface DescribeVideoVoiceJobResponse {
|
|
77
|
+
/**
|
|
78
|
+
* 任务状态。 WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
79
|
+
*/
|
|
80
|
+
Status?: string;
|
|
81
|
+
/**
|
|
82
|
+
* 结果视频URL。有效期 24 小时。
|
|
83
|
+
*/
|
|
84
|
+
ResultVideoUrl?: string;
|
|
85
|
+
/**
|
|
86
|
+
* 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
87
|
+
*/
|
|
88
|
+
ErrorCode?: string;
|
|
89
|
+
/**
|
|
90
|
+
* 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
91
|
+
*/
|
|
92
|
+
ErrorMessage?: string;
|
|
93
|
+
/**
|
|
94
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
95
|
+
*/
|
|
96
|
+
RequestId?: string;
|
|
97
|
+
}
|
|
73
98
|
/**
|
|
74
99
|
* SubmitHumanActorJob请求参数结构体
|
|
75
100
|
*/
|
|
@@ -126,13 +151,17 @@ export interface SubmitHumanActorJobRequest {
|
|
|
126
151
|
LogoParam?: LogoParam;
|
|
127
152
|
}
|
|
128
153
|
/**
|
|
129
|
-
*
|
|
154
|
+
* SubmitImageAnimateJob返回参数结构体
|
|
130
155
|
*/
|
|
131
|
-
export interface
|
|
156
|
+
export interface SubmitImageAnimateJobResponse {
|
|
132
157
|
/**
|
|
133
|
-
*
|
|
158
|
+
* 图片跳舞任务ID。
|
|
134
159
|
*/
|
|
135
160
|
JobId?: string;
|
|
161
|
+
/**
|
|
162
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
163
|
+
*/
|
|
164
|
+
RequestId?: string;
|
|
136
165
|
}
|
|
137
166
|
/**
|
|
138
167
|
* 模板信息
|
|
@@ -213,6 +242,15 @@ export interface SubmitImageAnimateJobRequest {
|
|
|
213
242
|
*/
|
|
214
243
|
EnableFace?: boolean;
|
|
215
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* DescribeVideoVoiceJob请求参数结构体
|
|
247
|
+
*/
|
|
248
|
+
export interface DescribeVideoVoiceJobRequest {
|
|
249
|
+
/**
|
|
250
|
+
* 任务ID。
|
|
251
|
+
*/
|
|
252
|
+
JobId?: string;
|
|
253
|
+
}
|
|
216
254
|
/**
|
|
217
255
|
* SubmitImageToVideoGeneralJob返回参数结构体
|
|
218
256
|
*/
|
|
@@ -260,6 +298,27 @@ export interface DescribeVideoFaceFusionJobRequest {
|
|
|
260
298
|
*/
|
|
261
299
|
JobId?: string;
|
|
262
300
|
}
|
|
301
|
+
/**
|
|
302
|
+
* 人脸框信息。
|
|
303
|
+
*/
|
|
304
|
+
export interface FaceRect {
|
|
305
|
+
/**
|
|
306
|
+
* 人脸框左上角横坐标。
|
|
307
|
+
*/
|
|
308
|
+
X?: number;
|
|
309
|
+
/**
|
|
310
|
+
* 人脸框左上角纵坐标。
|
|
311
|
+
*/
|
|
312
|
+
Y?: number;
|
|
313
|
+
/**
|
|
314
|
+
* 人脸框宽度。
|
|
315
|
+
*/
|
|
316
|
+
Width?: number;
|
|
317
|
+
/**
|
|
318
|
+
* 人脸框高度。
|
|
319
|
+
*/
|
|
320
|
+
Height?: number;
|
|
321
|
+
}
|
|
263
322
|
/**
|
|
264
323
|
* DescribePortraitSingJob请求参数结构体
|
|
265
324
|
*/
|
|
@@ -270,17 +329,13 @@ export interface DescribePortraitSingJobRequest {
|
|
|
270
329
|
JobId: string;
|
|
271
330
|
}
|
|
272
331
|
/**
|
|
273
|
-
*
|
|
332
|
+
* DescribeHunyuanToVideoJob请求参数结构体
|
|
274
333
|
*/
|
|
275
|
-
export interface
|
|
276
|
-
/**
|
|
277
|
-
* 图片跳舞任务ID。
|
|
278
|
-
*/
|
|
279
|
-
JobId?: string;
|
|
334
|
+
export interface DescribeHunyuanToVideoJobRequest {
|
|
280
335
|
/**
|
|
281
|
-
*
|
|
336
|
+
* 任务ID
|
|
282
337
|
*/
|
|
283
|
-
|
|
338
|
+
JobId: string;
|
|
284
339
|
}
|
|
285
340
|
/**
|
|
286
341
|
* SubmitVideoFaceFusionJob返回参数结构体
|
|
@@ -320,6 +375,19 @@ export interface DescribeTemplateToVideoJobResponse {
|
|
|
320
375
|
*/
|
|
321
376
|
RequestId?: string;
|
|
322
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* SubmitVideoVoiceJob返回参数结构体
|
|
380
|
+
*/
|
|
381
|
+
export interface SubmitVideoVoiceJobResponse {
|
|
382
|
+
/**
|
|
383
|
+
* 任务ID。
|
|
384
|
+
*/
|
|
385
|
+
JobId?: string;
|
|
386
|
+
/**
|
|
387
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
388
|
+
*/
|
|
389
|
+
RequestId?: string;
|
|
390
|
+
}
|
|
323
391
|
/**
|
|
324
392
|
* 人脸图片和待被融合的素材模板图的人脸位置信息。
|
|
325
393
|
*/
|
|
@@ -525,6 +593,44 @@ export interface LogoRect {
|
|
|
525
593
|
*/
|
|
526
594
|
Height?: number;
|
|
527
595
|
}
|
|
596
|
+
/**
|
|
597
|
+
* SubmitVideoVoiceJob请求参数结构体
|
|
598
|
+
*/
|
|
599
|
+
export interface SubmitVideoVoiceJobRequest {
|
|
600
|
+
/**
|
|
601
|
+
* 输入视频的Url 上传视频时长限制:1-15s 视频格式:MP4,MOV 视频大小:不超过1 GB URL地址中不能包含中文字符。
|
|
602
|
+
*/
|
|
603
|
+
VideoUrl?: string;
|
|
604
|
+
/**
|
|
605
|
+
* 描述音效内容的正向提示词。输入上限50个字符。
|
|
606
|
+
*/
|
|
607
|
+
Prompt?: string;
|
|
608
|
+
/**
|
|
609
|
+
* 音效内容的原始负向提示词。输入上限50个字符。
|
|
610
|
+
*/
|
|
611
|
+
NegativePrompt?: string;
|
|
612
|
+
/**
|
|
613
|
+
* 为生成视频添加标识的开关,默认为1。 1:添加标识。 0:不添加标识。 其他数值:默认按1处理。 建议您使用显著标识来提示,该视频是 AI 生成的视频。
|
|
614
|
+
*/
|
|
615
|
+
LogoAdd?: number;
|
|
616
|
+
/**
|
|
617
|
+
* 标识内容设置。 默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
618
|
+
*/
|
|
619
|
+
LogoParam?: LogoParam;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* SubmitHunyuanToVideoJob返回参数结构体
|
|
623
|
+
*/
|
|
624
|
+
export interface SubmitHunyuanToVideoJobResponse {
|
|
625
|
+
/**
|
|
626
|
+
* 任务ID
|
|
627
|
+
*/
|
|
628
|
+
JobId?: string;
|
|
629
|
+
/**
|
|
630
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
631
|
+
*/
|
|
632
|
+
RequestId?: string;
|
|
633
|
+
}
|
|
528
634
|
/**
|
|
529
635
|
* DescribeHumanActorJob返回参数结构体
|
|
530
636
|
*/
|
|
@@ -734,6 +840,35 @@ export interface SubmitImageToVideoGeneralJobRequest {
|
|
|
734
840
|
*/
|
|
735
841
|
LogoParam?: LogoParam;
|
|
736
842
|
}
|
|
843
|
+
/**
|
|
844
|
+
* SubmitHunyuanToVideoJob请求参数结构体
|
|
845
|
+
*/
|
|
846
|
+
export interface SubmitHunyuanToVideoJobRequest {
|
|
847
|
+
/**
|
|
848
|
+
* 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。 示例值:一只猫在草原上奔跑,写实风格
|
|
849
|
+
*/
|
|
850
|
+
Prompt: string;
|
|
851
|
+
/**
|
|
852
|
+
* 输入图片
|
|
853
|
+
上传图url大小不超过 10M,base64不超过8M。
|
|
854
|
+
支持jpg,png,jpeg,webp,bmp,tiff 格式
|
|
855
|
+
单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1
|
|
856
|
+
*/
|
|
857
|
+
Image?: Image;
|
|
858
|
+
/**
|
|
859
|
+
* 目前仅支持720p视频分辨率,默认720p。
|
|
860
|
+
*/
|
|
861
|
+
Resolution?: string;
|
|
862
|
+
/**
|
|
863
|
+
* 为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。
|
|
864
|
+
1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
|
|
865
|
+
*/
|
|
866
|
+
LogoAdd?: number;
|
|
867
|
+
/**
|
|
868
|
+
* 默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。
|
|
869
|
+
*/
|
|
870
|
+
LogoParam?: LogoParam;
|
|
871
|
+
}
|
|
737
872
|
/**
|
|
738
873
|
* 图片
|
|
739
874
|
*/
|
|
@@ -775,25 +910,13 @@ export interface DescribeTemplateToVideoJobRequest {
|
|
|
775
910
|
JobId: string;
|
|
776
911
|
}
|
|
777
912
|
/**
|
|
778
|
-
*
|
|
913
|
+
* DescribeImageAnimateJob请求参数结构体
|
|
779
914
|
*/
|
|
780
|
-
export interface
|
|
781
|
-
/**
|
|
782
|
-
* 人脸框左上角横坐标。
|
|
783
|
-
*/
|
|
784
|
-
X?: number;
|
|
785
|
-
/**
|
|
786
|
-
* 人脸框左上角纵坐标。
|
|
787
|
-
*/
|
|
788
|
-
Y?: number;
|
|
789
|
-
/**
|
|
790
|
-
* 人脸框宽度。
|
|
791
|
-
*/
|
|
792
|
-
Width?: number;
|
|
915
|
+
export interface DescribeImageAnimateJobRequest {
|
|
793
916
|
/**
|
|
794
|
-
*
|
|
917
|
+
* 任务ID。
|
|
795
918
|
*/
|
|
796
|
-
|
|
919
|
+
JobId?: string;
|
|
797
920
|
}
|
|
798
921
|
/**
|
|
799
922
|
* DescribePortraitSingJob返回参数结构体
|
|
@@ -832,3 +955,28 @@ export interface DescribePortraitSingJobResponse {
|
|
|
832
955
|
*/
|
|
833
956
|
RequestId?: string;
|
|
834
957
|
}
|
|
958
|
+
/**
|
|
959
|
+
* DescribeHunyuanToVideoJob返回参数结构体
|
|
960
|
+
*/
|
|
961
|
+
export interface DescribeHunyuanToVideoJobResponse {
|
|
962
|
+
/**
|
|
963
|
+
* 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
|
|
964
|
+
*/
|
|
965
|
+
Status?: string;
|
|
966
|
+
/**
|
|
967
|
+
* 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
|
|
968
|
+
*/
|
|
969
|
+
ErrorCode?: string;
|
|
970
|
+
/**
|
|
971
|
+
* 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
|
|
972
|
+
*/
|
|
973
|
+
ErrorMessage?: string;
|
|
974
|
+
/**
|
|
975
|
+
* 结果视频 URL。有效期 24 小时。
|
|
976
|
+
*/
|
|
977
|
+
ResultVideoUrl?: string;
|
|
978
|
+
/**
|
|
979
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
980
|
+
*/
|
|
981
|
+
RequestId?: string;
|
|
982
|
+
}
|