tencentcloud-sdk-nodejs-vod 4.1.298 → 4.1.300

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-vod",
3
- "version": "4.1.298",
3
+ "version": "4.1.300",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -558,7 +558,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
558
558
  */
559
559
  EnhanceMediaByTemplate(req: EnhanceMediaByTemplateRequest, cb?: (error: string, rep: EnhanceMediaByTemplateResponse) => void): Promise<EnhanceMediaByTemplateResponse>;
560
560
  /**
561
- * 创建AIGC调用API的Token。创建后数据同步有延时,约30秒后可查询或删除。
561
+ * 创建 AIGC 调用 API Token。创建后数据同步有延时,约30秒后可查询或删除。
562
562
  */
563
563
  CreateAigcApiToken(req: CreateAigcApiTokenRequest, cb?: (error: string, rep: CreateAigcApiTokenResponse) => void): Promise<CreateAigcApiTokenResponse>;
564
564
  /**
@@ -958,11 +958,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
958
958
  */
959
959
  DescribeJustInTimeTranscodeTemplates(req: DescribeJustInTimeTranscodeTemplatesRequest, cb?: (error: string, rep: DescribeJustInTimeTranscodeTemplatesResponse) => void): Promise<DescribeJustInTimeTranscodeTemplatesResponse>;
960
960
  /**
961
- * 调用该接口,用于创建AI生音频任务。
961
+ * 调用该接口,用于创建 AI 生音频任务。
962
962
  */
963
963
  CreateAigcAudioTask(req: CreateAigcAudioTaskRequest, cb?: (error: string, rep: CreateAigcAudioTaskResponse) => void): Promise<CreateAigcAudioTaskResponse>;
964
964
  /**
965
- * 删除 AIGC API Token
965
+ * 删除 AIGC API Token。与该 Token 关联的 AIGC 配额也会被删除。
966
966
  */
967
967
  DeleteAigcApiToken(req: DeleteAigcApiTokenRequest, cb?: (error: string, rep: DeleteAigcApiTokenResponse) => void): Promise<DeleteAigcApiTokenResponse>;
968
968
  /**
@@ -780,7 +780,7 @@ class Client extends TencentCloudCommon.AbstractClient {
780
780
  return this.request("EnhanceMediaByTemplate", req, cb);
781
781
  }
782
782
  /**
783
- * 创建AIGC调用API的Token。创建后数据同步有延时,约30秒后可查询或删除。
783
+ * 创建 AIGC 调用 API Token。创建后数据同步有延时,约30秒后可查询或删除。
784
784
  */
785
785
  async CreateAigcApiToken(req, cb) {
786
786
  return this.request("CreateAigcApiToken", req, cb);
@@ -1332,13 +1332,13 @@ class Client extends TencentCloudCommon.AbstractClient {
1332
1332
  return this.request("DescribeJustInTimeTranscodeTemplates", req, cb);
1333
1333
  }
1334
1334
  /**
1335
- * 调用该接口,用于创建AI生音频任务。
1335
+ * 调用该接口,用于创建 AI 生音频任务。
1336
1336
  */
1337
1337
  async CreateAigcAudioTask(req, cb) {
1338
1338
  return this.request("CreateAigcAudioTask", req, cb);
1339
1339
  }
1340
1340
  /**
1341
- * 删除 AIGC API Token
1341
+ * 删除 AIGC API Token。与该 Token 关联的 AIGC 配额也会被删除。
1342
1342
  */
1343
1343
  async DeleteAigcApiToken(req, cb) {
1344
1344
  return this.request("DeleteAigcApiToken", req, cb);
@@ -7878,7 +7878,7 @@ export interface AigcImageTask {
7878
7878
  */
7879
7879
  ErrCode?: number;
7880
7880
  /**
7881
- * <p>扩展错误码。空字符串表示成功,其它值表示失败。</p><p>枚举值:</p><ul><li>RequestLimitExceeded: 模型调用超出并发限制。</li><li>InvalidParameter.VoilationContent: 输入 prompt 违反内容安全策略。</li><li>InvalidParameterValue: 参数错误。</li><li>FailedOperation: 模型任务堆积。</li><li>InternalError: 内部错误。</li></ul>
7881
+ * <p>扩展错误码。空字符串表示成功,其它值表示失败。</p><p>枚举值:</p><ul><li>RequestLimitExceeded: 模型调用超出并发限制。</li><li>InvalidParameter.VoilationContent: 输入 prompt 违反内容安全策略。</li><li>InvalidParameterValue: 参数错误。</li><li>FailedOperation: 模型任务堆积。</li><li>InternalError: 内部错误。</li><li>InvalidParameter: 非法参数。</li><li>InvalidParameter.MediaFormat: 无效的媒体格式。</li><li>ContentModerationFailed: 内容审核未通过。</li><li>ResourceInsufficient: 资源不足。</li><li>ModelGenerateFailed: 模型生成失败。</li><li>ResourceNotFound: 资源不存在。</li><li>OperationCanceled: 操作已取消。</li><li>TaskTimeout: 任务超时。</li></ul>
7882
7882
  */
7883
7883
  ErrCodeExt?: string;
7884
7884
  /**
@@ -9090,7 +9090,7 @@ export interface AigcAudioTask {
9090
9090
  */
9091
9091
  ErrCode?: number;
9092
9092
  /**
9093
- * <p>扩展错误码。空字符串表示成功,其它值表示失败。</p>
9093
+ * <p>扩展错误码。空字符串表示成功,其它值表示失败。</p><p>枚举值:</p><ul><li>RequestLimitExceeded: 调用超出并发限制。</li><li>InvalidParameter.VoilationContent: 输入 prompt 违反内容安全策略。</li><li>InvalidParameterValue: 参数值错误。</li><li>FailedOperation: 模型任务堆积。</li><li>InternalError: 内部错误。</li><li>InvalidParameter: 非法参数。</li><li>InvalidParameter.MediaFormat: 无效的媒体格式。</li><li>ContentModerationFailed: 内容审核未通过。</li><li>ResourceInsufficient: 资源不足。</li><li>ModelGenerateFailed: 模型生成失败。</li><li>ResourceNotFound: 资源不存在。</li><li>OperationCanceled: 操作已取消。</li><li>TaskTimeout: 任务超时。</li></ul>
9094
9094
  */
9095
9095
  ErrCodeExt?: string;
9096
9096
  /**
@@ -11299,7 +11299,7 @@ export interface CreateAigcVideoTaskRequest {
11299
11299
  */
11300
11300
  ModelName: string;
11301
11301
  /**
11302
- * <p>模型版本。取值:<br>当 ModelName 是 Hailuo,可选值为 02、2.3、2.3-fast、H3;<br>当 ModelName 是 Kling,可选值为 1.6、2.0、2.1、2.5、2.6、O1、3.0、3.0-Omni;<br>当 ModelName 是 Vidu,可选值为 q2、q2-pro、q2-turbo、q3、q3-pro、q3-turbo;<br>当 ModelName 是 GV,可选值为 3.1、3.1-fast;<br>当 ModelName 是 OS,可选值为 2.0;<br>当 ModelName 是 Hunyuan,可选值为 1.5;<br>当 ModelName 是 Mingmou,可选值为 1.0;<br>当 ModelName 是 PixVerse,可选值为 v5.6、v6、c1;</p>
11302
+ * <p>模型版本。取值:<br>当 ModelName 是 Hailuo,可选值为 02、2.3、2.3-fast、H3、H3_regen;<br>当 ModelName 是 Kling,可选值为 1.6、2.0、2.1、2.5、2.6、O1、3.0、3.0-Omni;<br>当 ModelName 是 Vidu,可选值为 q2、q2-pro、q2-turbo、q3、q3-pro、q3-turbo;<br>当 ModelName 是 GV,可选值为 3.1、3.1-fast;<br>当 ModelName 是 OS,可选值为 2.0;<br>当 ModelName 是 Hunyuan,可选值为 1.5;<br>当 ModelName 是 Mingmou,可选值为 1.0;<br>当 ModelName 是 PixVerse,可选值为 v5.6、v6、c1;</p>
11303
11303
  */
11304
11304
  ModelVersion: string;
11305
11305
  /**
@@ -11534,7 +11534,7 @@ export interface CreateAigcQuotaRequest {
11534
11534
  */
11535
11535
  QuotaType: string;
11536
11536
  /**
11537
- * <p>任务的配额数</p><p>单位:- QuotaType=Image时,单位为张- QuotaType=Video时,单位为秒- QuotaType=Text时,单位为token</p>
11537
+ * <p>任务的配额数。</p><p>单位:张/秒/token数。</p><ul><li>当 QuotaTypeImage 时,单位为张;</li><li>当 QuotaTypeVideo 时,单位为秒;</li><li>当 QuotaTypeText 时,单位为 token 数。</li></ul>
11538
11538
  */
11539
11539
  QuotaLimit: number;
11540
11540
  /**
@@ -23262,7 +23262,7 @@ export interface CreateAigcImageTaskRequest {
23262
23262
  */
23263
23263
  ModelName: string;
23264
23264
  /**
23265
- * <p>模型版本。取值:</p><li>当 ModelName 是 OG,可选值为 image2_low、image2_medium、image2_high;</li><li>当 ModelName 是 GG,可选值为 2.5、3.0、3.1;</li><li>当 ModelName 是 Hunyuan,可选值为 3.0;</li><li>当 ModelName 是 Vidu,可选值为 q2;</li><li>当 ModelName 是 Kling,可选值为 2.1、3.0、3.0-Omni、O1、scene;</li>
23265
+ * <p>模型版本。取值:</p><li>当 ModelName 是 OG,可选值为 image2_low、image2_medium、image2_high;</li><li>当 ModelName 是 GG,可选值为 2.5、3.0、3.1、3.1-lite;</li><li>当 ModelName 是 Hunyuan,可选值为 3.0;</li><li>当 ModelName 是 Vidu,可选值为 q2;</li><li>当 ModelName 是 Kling,可选值为 2.1、3.0、3.0-Omni、O1、scene;</li><li>当 ModelName 是Mingmou,可选值为 1.0;</li>
23266
23266
  */
23267
23267
  ModelVersion: string;
23268
23268
  /**
@@ -24084,7 +24084,7 @@ export interface ModifyAigcQuotaRequest {
24084
24084
  */
24085
24085
  QuotaType: string;
24086
24086
  /**
24087
- * <p>任务的配额数</p><p>单位:- QuotaType=Image时,单位为张- QuotaType=Video时,单位为秒- QuotaType=Text时,单位为token</p>
24087
+ * <p>任务的配额数。</p><p>单位:张/秒/token数。</p><ul><li>当 QuotaTypeImage 时,单位为张;</li><li>当 QuotaTypeVideo 时,单位为秒;</li><li>当 QuotaTypeText 时,单位为 token 数。</li></ul>
24088
24088
  */
24089
24089
  QuotaLimit: number;
24090
24090
  /**
@@ -27067,6 +27067,10 @@ export interface SubtitleInfoInput {
27067
27067
  * <p>字幕 ID。</p>
27068
27068
  */
27069
27069
  Id: string;
27070
+ /**
27071
+ * <p>指定要压制到视频中的字幕轨道下标。取值从0开始,0表示使用源视频中的第一条字幕轨。仅当 Id 取值为SUBTITLE_ID_PLACE_HOLDER 时,该参数有效。StreamIndex 必须与源文件中的字幕轨索引一致。例如,源文件中的字幕轨为 stream#0:3,则 StreamIndex 应为3,否则可能导致任务处理失败。</p>
27072
+ */
27073
+ StreamIndex?: number;
27070
27074
  /**
27071
27075
  * <p>字体类型。</p><p>枚举值:</p><ul><li>hei.ttf: 黑体</li><li>song.ttf: 宋体</li><li>kai.ttf(推荐)或 simkai.ttf: 楷体</li><li>msyh.ttf: 微软雅黑</li><li>msyhbd.ttf: 微软雅黑加粗</li><li>hkjgt.ttf: 华康金刚体</li><li>dhttx.ttf: 典黑体特细</li><li>xqgdzt.ttf: 喜鹊古字典体</li><li>qpcyt.ttf: 巧拼超圆体</li><li>arial.ttf: 仅支持英文</li><li>dinalternate.ttf: DIN Alternate Bold</li><li>helveticalt.ttf: Helvetica</li><li>helveticains.ttf: Helvetica Inserat</li><li>trajanpro.ttf: TrajanPro-Bold</li><li>korean.ttf: 韩语</li><li>japanese.ttf: 日语</li><li>thai.ttf: 泰语</li><li>roboto.ttf: Roboto</li><li>notosans.ttf: NotoSans</li><li>notosansthai.ttf: 泰语NotoSansThai</li><li>sarabun.ttf: 泰语Sarabun</li><li>kanit.ttf: 泰语Kanit</li><li>charmonman.ttf: 泰语Charmonman</li><li>notonaskharabic.ttf: 阿拉伯语NotoNaskhArabic</li><li>notosansdevanagari.ttf: 印度语NotoSansDevanagari</li><li>notosanstc.ttf: 粤语思源黑体NotoSansTC</li><li>notosanskr.ttf: 韩语NotoSansKR</li><li>gothica1.ttf: 韩语GothicA1</li><li>nanummyeongjo.ttf: 韩语NanumMyeongjo</li><li>notosansjp.ttf: 日语NotoSansJP</li><li>notoserifjp.ttf: 日语NotoSerifJP</li><li>shipporimincho.ttf: 日语ShipporiMincho</li></ul><p>默认值:hei.ttf 黑体</p>
27072
27076
  */