tencentcloud-sdk-nodejs-vclm 4.1.158 → 4.1.162
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
|
@@ -677,6 +677,19 @@ export interface ExtraParam {
|
|
|
677
677
|
* 预签名的上传url,支持把视频直接传到客户指定的地址。
|
|
678
678
|
*/
|
|
679
679
|
UserDesignatedUrl?: string;
|
|
680
|
+
/**
|
|
681
|
+
* 回调地址
|
|
682
|
+
需要您在创建任务时主动设置 CallbackUrl,请求方法为 POST,当视频生成结束时,我们将向此地址发送生成结果。
|
|
683
|
+
数据格式如下:
|
|
684
|
+
{
|
|
685
|
+
"JobId": "1397428070633955328",
|
|
686
|
+
"Status": "DONE",
|
|
687
|
+
"ErrorCode": "",
|
|
688
|
+
"ErrorMessage": "",
|
|
689
|
+
"ResultVideoUrl": "https://vcg.cos.tencentcos.cn/template_to_video/fa80b846-b933-4981-afad-8a39b46ef2ca.mp4"
|
|
690
|
+
}
|
|
691
|
+
*/
|
|
692
|
+
CallbackUrl?: string;
|
|
680
693
|
}
|
|
681
694
|
/**
|
|
682
695
|
* DescribeVideoEditJob返回参数结构体
|
|
@@ -869,6 +882,10 @@ export interface SubmitImageToVideoGeneralJobRequest {
|
|
|
869
882
|
* 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
|
|
870
883
|
*/
|
|
871
884
|
Prompt?: string;
|
|
885
|
+
/**
|
|
886
|
+
* 输出视频分辨率。可选择:480p、720p、1080p。
|
|
887
|
+
*/
|
|
888
|
+
Resolution?: string;
|
|
872
889
|
/**
|
|
873
890
|
* 为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
|
|
874
891
|
*/
|
|
@@ -972,7 +989,11 @@ export interface SubmitVideoEditJobRequest {
|
|
|
972
989
|
* 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
|
|
973
990
|
支持风格迁移、替换、元素增加、删除控制
|
|
974
991
|
*/
|
|
975
|
-
Prompt
|
|
992
|
+
Prompt?: string;
|
|
993
|
+
/**
|
|
994
|
+
* 图片数组
|
|
995
|
+
*/
|
|
996
|
+
Images?: Array<Image>;
|
|
976
997
|
/**
|
|
977
998
|
* 图片base64或者图片url
|
|
978
999
|
|