tencentcloud-sdk-nodejs-vod 4.1.338 → 4.1.340

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.338",
3
+ "version": "4.1.340",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1866,6 +1866,33 @@ export interface QualityEnhanceTask {
1866
1866
  */
1867
1867
  SessionContext?: string;
1868
1868
  }
1869
+ /**
1870
+ * 小程序音视频审核概要元信息
1871
+ */
1872
+ export interface MediaMiniProgramReviewElem {
1873
+ /**
1874
+ * 音视频审核类型。
1875
+ <li>Porn:画面涉及令人反感的信息,</li>
1876
+ <li>Porn.Ocr:文字涉及令人反感的信息,</li>
1877
+ <li>Porn.Asr:声音涉及令人反感的信息,</li>
1878
+ <li>Terrorism:画面涉及令人不安全的信息,</li>
1879
+ <li>Political:画面涉及令人不适宜的信息,</li>
1880
+ <li>Political.Ocr:文字涉及令人不适宜的信息,</li>
1881
+ <li>Political.Asr:声音涉及令人不适宜的信息。</li>
1882
+ */
1883
+ Type?: string;
1884
+ /**
1885
+ * 音视频审核意见。
1886
+ <li>pass:确认正常,</li>
1887
+ <li>block:确认违规,</li>
1888
+ <li>review:疑似违规。</li>
1889
+ */
1890
+ Suggestion?: string;
1891
+ /**
1892
+ * 音视频审核结果置信度。取值 0~100。
1893
+ */
1894
+ Confidence?: number;
1895
+ }
1869
1896
  /**
1870
1897
  * AI 样本管理,关键词输出信息。
1871
1898
  */
@@ -4290,6 +4317,10 @@ export interface VideoDepthEstimationOutputConfig {
4290
4317
  注意:此字段可能返回 null,表示取不到有效值。
4291
4318
  */
4292
4319
  ExpireTime?: string;
4320
+ /**
4321
+ * <p>是否保留原视频音频,默认不保留原视频音频。</p><p>枚举值:</p><ul><li>ON: 保留音频</li><li>OFF: 不保留音频</li></ul>
4322
+ */
4323
+ KeepAudio?: string;
4293
4324
  }
4294
4325
  /**
4295
4326
  * 音视频审核涉及令人反感的信息的任务输入参数类型
@@ -5962,31 +5993,25 @@ export interface AigcAudioTaskInput {
5962
5993
  AdditionalParameters?: string;
5963
5994
  }
5964
5995
  /**
5965
- * 小程序音视频审核概要元信息
5996
+ * AIGC 单模型配额与用量信息。
5966
5997
  */
5967
- export interface MediaMiniProgramReviewElem {
5998
+ export interface AigcModelQuotaWithUsage {
5968
5999
  /**
5969
- * 音视频审核类型。
5970
- <li>Porn:画面涉及令人反感的信息,</li>
5971
- <li>Porn.Ocr:文字涉及令人反感的信息,</li>
5972
- <li>Porn.Asr:声音涉及令人反感的信息,</li>
5973
- <li>Terrorism:画面涉及令人不安全的信息,</li>
5974
- <li>Political:画面涉及令人不适宜的信息,</li>
5975
- <li>Political.Ocr:文字涉及令人不适宜的信息,</li>
5976
- <li>Political.Asr:声音涉及令人不适宜的信息。</li>
6000
+ * <p>模型名称。</p>
5977
6001
  */
5978
- Type?: string;
6002
+ ModelName?: string;
5979
6003
  /**
5980
- * 音视频审核意见。
5981
- <li>pass:确认正常,</li>
5982
- <li>block:确认违规,</li>
5983
- <li>review:疑似违规。</li>
6004
+ * <p>模型版本。</p>
5984
6005
  */
5985
- Suggestion?: string;
6006
+ ModelVersion?: string;
5986
6007
  /**
5987
- * 音视频审核结果置信度。取值 0~100。
6008
+ * <p>任务的配额数。</p><p>单位:张/秒。</p><ul><li>当 QuotaType 为 Image 时,单位为张;</li><li>当 QuotaType 为 Video 时,单位为秒;</li></ul>
5988
6009
  */
5989
- Confidence?: number;
6010
+ QuotaLimit?: number;
6011
+ /**
6012
+ * <p>已经使用的用量数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li></ul>
6013
+ */
6014
+ Usage?: number;
5990
6015
  }
5991
6016
  /**
5992
6017
  * ModifyAdaptiveDynamicStreamingTemplate请求参数结构体
@@ -8112,7 +8137,7 @@ export interface SceneAigcVideoOutputConfig {
8112
8137
  */
8113
8138
  Duration?: number;
8114
8139
  /**
8115
- * <p>分辨率。仅当角色场景时有效。取值如下:</p><ul><li>当 Model 是 character_scene_standard 时,支持 480p、720p、1080p、4K;</li><li>当 Model 是 character_scene_mini 时,支持 480p、720p;</li><li>当 Model 是 character_scene_fast 时,支持 720p。</li></ul>
8140
+ * <p>分辨率。仅当角色场景时有效。取值如下:</p><ul><li>当 Model 是 character_scene_standard 时,支持 480P、720P、1080P、4K;</li><li>当 Model 是 character_scene_mini 时,支持 480P、720P;</li><li>当 Model 是 character_scene_fast 时,支持 720P。</li></ul>
8116
8141
  */
8117
8142
  Resolution?: string;
8118
8143
  }
@@ -12345,6 +12370,22 @@ export interface CreateAigcQuotaRequest {
12345
12370
  * <p>仅当QuotaType=Text时有效,用于选择需要进行配额限制ApiToken</p>
12346
12371
  */
12347
12372
  ApiToken?: string;
12373
+ /**
12374
+ * <p>配额重置周期。</p><p>枚举值:</p><ul><li>Day: 每天重置。</li><li>Month: 每月指定日期重置。</li><li>Total: 永不重置,QuotaLimit参数即为总额度。</li></ul>
12375
+ */
12376
+ QuotaPeriod?: string;
12377
+ /**
12378
+ * <p>每月配额的重置日期,仅QuotaPeriod=Month时有效。</p><p>如果当月无所选日期时,顺延至次月 1 日 00:00 重置。</p>
12379
+ */
12380
+ ResetDay?: number;
12381
+ /**
12382
+ * <p>是否开启按单个模型设置配额</p><p>枚举值:</p><ul><li>ON: 打开</li><li>OFF: 关闭</li></ul>
12383
+ */
12384
+ ModelQuotaSwitch?: string;
12385
+ /**
12386
+ * <p>按单个模型设置的配额,仅ModelQuotaSwitch=ON时有效。</p>
12387
+ */
12388
+ ModelQuotas?: Array<AigcModelQuota>;
12348
12389
  }
12349
12390
  /**
12350
12391
  * DescribeHeadTailTemplates请求参数结构体
@@ -16793,6 +16834,23 @@ export interface AiAnalysisTaskInput {
16793
16834
  */
16794
16835
  Definition: number;
16795
16836
  }
16837
+ /**
16838
+ * AIGC 单配额模型。
16839
+ */
16840
+ export interface AigcModelQuota {
16841
+ /**
16842
+ * <p>模型名称。</p>
16843
+ */
16844
+ ModelName: string;
16845
+ /**
16846
+ * <p>任务的配额数。</p><p>单位:张/秒。</p><ul><li>当 QuotaType 为 Image 时,单位为张;</li><li>当 QuotaType 为 Video 时,单位为秒;</li></ul>
16847
+ */
16848
+ QuotaLimit: number;
16849
+ /**
16850
+ * <p>模型版本。</p>
16851
+ */
16852
+ ModelVersion?: string;
16853
+ }
16796
16854
  /**
16797
16855
  * 智能标签结果信息
16798
16856
  */
@@ -22640,6 +22698,22 @@ export interface AigcQuotaItem {
22640
22698
  * <p>已经使用的用量数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
22641
22699
  */
22642
22700
  Usage?: number;
22701
+ /**
22702
+ * <p>配额重置周期。</p><p>枚举值:</p><ul><li>Day: 每天重置。</li><li>Month: 每月指定日期重置。</li><li>Total: 永不重置,QuotaLimit参数即为总额度。</li></ul>
22703
+ */
22704
+ QuotaPeriod?: string;
22705
+ /**
22706
+ * <p>每月配额的重置日期,仅QuotaPeriod=Month时有效。</p><p>如果当月无所选日期时,顺延至次月 1 日 00:00 重置。</p>
22707
+ */
22708
+ ResetDay?: number;
22709
+ /**
22710
+ * <p>是否开启按单个模型设置配额</p><p>枚举值:</p><ul><li>ON: 打开</li><li>OFF: 关闭</li></ul><p>默认值:OFF</p>
22711
+ */
22712
+ ModelQuotaSwitch?: string;
22713
+ /**
22714
+ * <p>按单个模型设置的配额,仅ModelQuotaSwitch=ON时有效。</p>
22715
+ */
22716
+ ModelQuotas?: Array<AigcModelQuotaWithUsage>;
22643
22717
  }
22644
22718
  /**
22645
22719
  * 智能擦除自定义参数
@@ -25302,6 +25376,22 @@ export interface ModifyAigcQuotaRequest {
25302
25376
  * <p>仅当QuotaType=Text时有效,用于选择需要进行配额限制ApiToken</p>
25303
25377
  */
25304
25378
  ApiToken?: string;
25379
+ /**
25380
+ * <p>配额重置周期。</p><p>枚举值:</p><ul><li>Day: 每天重置。</li><li>Month: 每月指定日期重置。</li><li>Total: 永不重置,QuotaLimit参数即为总额度。</li></ul>
25381
+ */
25382
+ QuotaPeriod?: string;
25383
+ /**
25384
+ * <p>每月配额的重置日期,仅QuotaPeriod=Month时有效。</p><p>如果当月无所选日期时,顺延至次月 1 日 00:00 重置。</p>
25385
+ */
25386
+ ResetDay?: number;
25387
+ /**
25388
+ * <p>是否开启按单个模型设置配额</p><p>枚举值:</p><ul><li>ON: 打开</li><li>OFF: 关闭</li></ul>
25389
+ */
25390
+ ModelQuotaSwitch?: string;
25391
+ /**
25392
+ * <p>按单个模型设置的配额,仅ModelQuotaSwitch=ON时有效。</p>
25393
+ */
25394
+ ModelQuotas?: Array<AigcModelQuota>;
25305
25395
  }
25306
25396
  /**
25307
25397
  * 音画质重生任务