tencentcloud-sdk-nodejs 4.1.286 → 4.1.288

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.
Files changed (51) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/cfw/v20190904/cfw_client.js +9 -0
  3. package/es/services/cngw/v20230418/cngw_client.js +3 -0
  4. package/es/services/config/v20220802/config_client.js +8 -2
  5. package/es/services/dbdc/v20201029/dbdc_client.js +3 -0
  6. package/es/services/oceanus/v20190422/oceanus_client.js +11 -2
  7. package/es/services/ocr/v20181119/ocr_client.js +2 -17
  8. package/es/services/tcb/v20180608/tcb_client.js +3 -0
  9. package/es/services/tse/v20201207/tse_client.js +7 -4
  10. package/package.json +1 -1
  11. package/tencentcloud/common/sdk_version.d.ts +1 -1
  12. package/tencentcloud/common/sdk_version.js +1 -1
  13. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +3 -3
  14. package/tencentcloud/services/billing/v20180709/billing_client.js +3 -3
  15. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +54 -65
  16. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +69 -97
  17. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +13 -1
  18. package/tencentcloud/services/cfw/v20190904/cfw_client.js +18 -0
  19. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +236 -56
  20. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +16 -17
  21. package/tencentcloud/services/cngw/v20230418/cngw_client.d.ts +5 -1
  22. package/tencentcloud/services/cngw/v20230418/cngw_client.js +6 -0
  23. package/tencentcloud/services/cngw/v20230418/cngw_models.d.ts +367 -6
  24. package/tencentcloud/services/config/v20220802/config_client.d.ts +11 -3
  25. package/tencentcloud/services/config/v20220802/config_client.js +15 -3
  26. package/tencentcloud/services/config/v20220802/config_models.d.ts +117 -0
  27. package/tencentcloud/services/ctsdb/v20230202/ctsdb_models.d.ts +13 -8
  28. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +16 -8
  29. package/tencentcloud/services/dbdc/v20201029/dbdc_client.d.ts +5 -1
  30. package/tencentcloud/services/dbdc/v20201029/dbdc_client.js +6 -0
  31. package/tencentcloud/services/dbdc/v20201029/dbdc_models.d.ts +62 -40
  32. package/tencentcloud/services/es/v20180416/es_models.d.ts +13 -9
  33. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +6 -38
  34. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +3 -3
  35. package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +15 -3
  36. package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +21 -3
  37. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +319 -199
  38. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +57 -90
  39. package/tencentcloud/services/ocr/v20181119/ocr_client.js +57 -100
  40. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +425 -755
  41. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +31 -30
  42. package/tencentcloud/services/rce/v20260130/rce_models.d.ts +23 -0
  43. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +18 -2
  44. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -1
  45. package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -0
  46. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +84 -20
  47. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +9 -5
  48. package/tencentcloud/services/tse/v20201207/tse_client.js +12 -6
  49. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +143 -43
  50. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +4 -0
  51. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +23 -25
@@ -907,21 +907,29 @@ export interface SREInstance {
907
907
  */
908
908
  export interface DescribeCloudNativeAPIGatewayServicesRequest {
909
909
  /**
910
- * 网关ID
910
+ * <p>网关ID</p>
911
911
  */
912
912
  GatewayId: string;
913
913
  /**
914
- * 列表数量
914
+ * <p>列表数量</p>
915
915
  */
916
916
  Limit?: number;
917
917
  /**
918
- * 列表 offset
918
+ * <p>列表 offset</p>
919
919
  */
920
920
  Offset?: number;
921
921
  /**
922
- * 过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType
922
+ * <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
923
923
  */
924
924
  Filters?: Array<ListFilter>;
925
+ /**
926
+ * <p>排序字段</p>
927
+ */
928
+ OrderField?: string;
929
+ /**
930
+ * <p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
931
+ */
932
+ OrderType?: string;
925
933
  }
926
934
  /**
927
935
  * CreateCloudNativeAPIGatewayLLMModelAPI请求参数结构体
@@ -1029,6 +1037,19 @@ export interface DescribeCloudNativeAPIGatewayConsumerListRequest {
1029
1037
  */
1030
1038
  ResourceId?: string;
1031
1039
  }
1040
+ /**
1041
+ * 返回kong的服务和路由列表
1042
+ */
1043
+ export interface KongServiceWithRoutes {
1044
+ /**
1045
+ *
1046
+ */
1047
+ ServiceList?: Array<KongServiceRoute>;
1048
+ /**
1049
+ * 总数
1050
+ */
1051
+ TotalCount?: number;
1052
+ }
1032
1053
  /**
1033
1054
  * CreateCloudNativeAPIGatewayConsumer请求参数结构体
1034
1055
  */
@@ -1175,7 +1196,7 @@ export interface Label {
1175
1196
  */
1176
1197
  export interface DescribeCloudNativeAPIGatewayRoutesResponse {
1177
1198
  /**
1178
- *
1199
+ * <p>无</p>
1179
1200
  */
1180
1201
  Result?: KongServiceRouteList;
1181
1202
  /**
@@ -2360,6 +2381,48 @@ export interface ModifyCloudNativeAPIGatewayServiceRequest {
2360
2381
  */
2361
2382
  Path?: string;
2362
2383
  }
2384
+ /**
2385
+ * DescribeCNGWServicesWithRoutes请求参数结构体
2386
+ */
2387
+ export interface DescribeCNGWServicesWithRoutesRequest {
2388
+ /**
2389
+ * <p>网关ID</p>
2390
+ */
2391
+ GatewayId: string;
2392
+ /**
2393
+ * <p>列表数量</p>
2394
+ */
2395
+ Limit?: number;
2396
+ /**
2397
+ * <p>列表 offset</p>
2398
+ */
2399
+ Offset?: number;
2400
+ /**
2401
+ * <p>过滤条件,多个过滤条件之间是与的关系,支持 name,upstreamType</p>
2402
+ */
2403
+ Filters?: Array<ListFilter>;
2404
+ }
2405
+ /**
2406
+ * kong实例的服务和路由列表
2407
+ */
2408
+ export interface KongServiceRoute {
2409
+ /**
2410
+ * <p>服务信息</p>
2411
+ */
2412
+ Service?: KongServicePreview;
2413
+ /**
2414
+ * <p>路由总条数</p>
2415
+ */
2416
+ RouteTotalCount?: number;
2417
+ /**
2418
+ * <p>是否有未返回的路由</p>
2419
+ */
2420
+ RouteHasMore?: boolean;
2421
+ /**
2422
+ * <p>路由信息</p>
2423
+ */
2424
+ Routes?: Array<KongRoutePreview>;
2425
+ }
2363
2426
  /**
2364
2427
  * DescribeAutoScalerResourceStrategyBindingGroups请求参数结构体
2365
2428
  */
@@ -3477,7 +3540,7 @@ export interface DescribeConfigFilesResponse {
3477
3540
  */
3478
3541
  export interface DescribeCloudNativeAPIGatewayServicesResponse {
3479
3542
  /**
3480
- *
3543
+ * <p>无</p>
3481
3544
  */
3482
3545
  Result?: KongServices;
3483
3546
  /**
@@ -3892,35 +3955,35 @@ export interface ModifyCloudNativeAPIGatewayCanaryRuleResponse {
3892
3955
  */
3893
3956
  export interface KongServicePreview {
3894
3957
  /**
3895
- * 服务ID
3958
+ * <p>服务ID</p>
3896
3959
  */
3897
3960
  ID: string;
3898
3961
  /**
3899
- * 服务名字
3962
+ * <p>服务名字</p>
3900
3963
  */
3901
3964
  Name?: string;
3902
3965
  /**
3903
- * 标签
3966
+ * <p>标签</p>
3904
3967
  */
3905
3968
  Tags?: Array<string>;
3906
3969
  /**
3907
- * 后端配置
3970
+ * <p>后端配置</p>
3908
3971
  */
3909
3972
  UpstreamInfo?: KongUpstreamInfo;
3910
3973
  /**
3911
- * 后端类型
3974
+ * <p>后端类型</p>
3912
3975
  */
3913
3976
  UpstreamType?: string;
3914
3977
  /**
3915
- * 创建时间
3978
+ * <p>创建时间</p>
3916
3979
  */
3917
3980
  CreatedTime?: string;
3918
3981
  /**
3919
- * 是否可编辑
3982
+ * <p>是否可编辑</p>
3920
3983
  */
3921
3984
  Editable?: boolean;
3922
3985
  /**
3923
- * 请求路径
3986
+ * <p>请求路径</p>
3924
3987
  注意:此字段可能返回 null,表示取不到有效值。
3925
3988
  */
3926
3989
  Path?: string;
@@ -4495,86 +4558,90 @@ export interface ConfigFileRelease {
4495
4558
  */
4496
4559
  export interface KongRoutePreview {
4497
4560
  /**
4498
- * 服务ID
4561
+ * <p>服务ID</p>
4499
4562
  */
4500
4563
  ID: string;
4501
4564
  /**
4502
- * 服务名字
4565
+ * <p>服务名字</p>
4503
4566
  */
4504
4567
  Name?: string;
4505
4568
  /**
4506
- *
4569
+ * <p>无</p>
4507
4570
  注意:此字段可能返回 null,表示取不到有效值。
4508
4571
  */
4509
4572
  Methods?: Array<string>;
4510
4573
  /**
4511
- *
4574
+ * <p>无</p>
4512
4575
  注意:此字段可能返回 null,表示取不到有效值。
4513
4576
  */
4514
4577
  Paths?: Array<string>;
4515
4578
  /**
4516
- *
4579
+ * <p>无</p>
4517
4580
  注意:此字段可能返回 null,表示取不到有效值。
4518
4581
  */
4519
4582
  Hosts?: Array<string>;
4520
4583
  /**
4521
- *
4584
+ * <p>无</p>
4522
4585
  */
4523
4586
  Protocols?: Array<string>;
4524
4587
  /**
4525
- *
4588
+ * <p>无</p>
4526
4589
  */
4527
4590
  PreserveHost?: boolean;
4528
4591
  /**
4529
- *
4592
+ * <p>无</p>
4530
4593
  */
4531
4594
  HttpsRedirectStatusCode?: number;
4532
4595
  /**
4533
- *
4596
+ * <p>无</p>
4534
4597
  */
4535
4598
  StripPath?: boolean;
4536
4599
  /**
4537
- *
4600
+ * <p>无</p>
4538
4601
  */
4539
4602
  CreatedTime?: string;
4540
4603
  /**
4541
- * 是否开启了强制HTTPS
4604
+ * <p>是否开启了强制HTTPS</p>
4542
4605
  注意:此字段可能返回 null,表示取不到有效值。
4543
4606
  * @deprecated
4544
4607
  */
4545
4608
  ForceHttps?: boolean;
4546
4609
  /**
4547
- * 服务名
4610
+ * <p>服务名</p>
4548
4611
  */
4549
4612
  ServiceName?: string;
4550
4613
  /**
4551
- * 服务ID
4614
+ * <p>服务ID</p>
4552
4615
  */
4553
4616
  ServiceID?: string;
4554
4617
  /**
4555
- * 目的端口
4618
+ * <p>目的端口</p>
4556
4619
  */
4557
4620
  DestinationPorts?: Array<number | bigint>;
4558
4621
  /**
4559
- * 路由的Headers
4622
+ * <p>路由的Headers</p>
4560
4623
  */
4561
4624
  Headers?: Array<KVMapping>;
4562
4625
  /**
4563
- * 是否缓存请求body,默认true
4626
+ * <p>是否缓存请求body,默认true</p>
4564
4627
  */
4565
4628
  RequestBuffering?: boolean;
4566
4629
  /**
4567
- * 是否缓存响应body,默认true
4630
+ * <p>是否缓存响应body,默认true</p>
4568
4631
  */
4569
4632
  ResponseBuffering?: boolean;
4570
4633
  /**
4571
- * 正则优先级
4634
+ * <p>正则优先级</p>
4572
4635
  */
4573
4636
  RegexPriority?: number;
4574
4637
  /**
4575
- * querystring参数
4638
+ * <p>querystring参数</p>
4576
4639
  */
4577
4640
  QueryStringParameters?: Array<KVMapping>;
4641
+ /**
4642
+ * <p>路由来源</p>
4643
+ */
4644
+ RouteSource?: string;
4578
4645
  }
4579
4646
  /**
4580
4647
  * 实例地域信息描述
@@ -6528,21 +6595,25 @@ export interface ModifyCloudNativeAPIGatewayRouteRateLimitRequest {
6528
6595
  */
6529
6596
  export interface KongActiveHealthCheck {
6530
6597
  /**
6531
- * 主动健康检查健康探测间隔,单位:秒,0表示不开启
6598
+ * <p>主动健康检查健康探测间隔,单位:秒,0表示不开启</p>
6532
6599
  */
6533
6600
  HealthyInterval?: number;
6534
6601
  /**
6535
- * 主动健康检查异常探测间隔,单位:秒,0表示不开启
6602
+ * <p>主动健康检查异常探测间隔,单位:秒,0表示不开启</p>
6536
6603
  */
6537
6604
  UnHealthyInterval?: number;
6538
6605
  /**
6539
- * GET HTTP 请求中使用的路径,以作为主动运行状况检查的探测器运行。默认: ”/”。
6606
+ * <p>在 GET HTTP 请求中使用的路径,以作为主动运行状况检查的探测器运行。默认: ”/”。</p>
6540
6607
  */
6541
6608
  HttpPath?: string;
6542
6609
  /**
6543
- * GET HTTP 请求的超时时间,单位:秒。默认 60
6610
+ * <p>GET HTTP 请求的超时时间,单位:秒。默认 60。</p>
6544
6611
  */
6545
6612
  Timeout?: number;
6613
+ /**
6614
+ * <p>Host头</p>
6615
+ */
6616
+ HostHeader?: string;
6546
6617
  }
6547
6618
  /**
6548
6619
  * 云原生网关限流插件外部redis配置
@@ -6765,6 +6836,19 @@ export interface DeleteCloudNativeAPIGatewayLLMModelAPIRequest {
6765
6836
  */
6766
6837
  ModelAPIId: string;
6767
6838
  }
6839
+ /**
6840
+ * DescribeCNGWServicesWithRoutes返回参数结构体
6841
+ */
6842
+ export interface DescribeCNGWServicesWithRoutesResponse {
6843
+ /**
6844
+ * <p>无</p>
6845
+ */
6846
+ Result?: KongServiceWithRoutes;
6847
+ /**
6848
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6849
+ */
6850
+ RequestId?: string;
6851
+ }
6768
6852
  /**
6769
6853
  * DescribeCloudNativeAPIGatewayLLMModelAPIs请求参数结构体
6770
6854
  */
@@ -7814,29 +7898,45 @@ export interface DeleteCloudNativeAPIGatewaySecretKeyResponse {
7814
7898
  */
7815
7899
  export interface DescribeCloudNativeAPIGatewayRoutesRequest {
7816
7900
  /**
7817
- * 网关ID
7901
+ * <p>网关ID</p>
7818
7902
  */
7819
7903
  GatewayId: string;
7820
7904
  /**
7821
- * 翻页单页查询限制数量[0,1000], 默认值0
7905
+ * <p>翻页单页查询限制数量[0,1000], 默认值0</p>
7822
7906
  */
7823
7907
  Limit?: number;
7824
7908
  /**
7825
- * 翻页单页偏移量,默认值0
7909
+ * <p>翻页单页偏移量,默认值0</p>
7826
7910
  */
7827
7911
  Offset?: number;
7828
7912
  /**
7829
- * 服务的名字,精确匹配
7913
+ * <p>服务的名字,精确匹配</p>
7830
7914
  */
7831
7915
  ServiceName?: string;
7832
7916
  /**
7833
- * 路由的名字,精确匹配
7917
+ * <p>路由的名字,精确匹配</p>
7834
7918
  */
7835
7919
  RouteName?: string;
7836
7920
  /**
7837
- * 过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol
7921
+ * <p>过滤条件,多个过滤条件之间是与的关系,支持 name, path, host, method, service, protocol</p>
7838
7922
  */
7839
7923
  Filters?: Array<ListFilter>;
7924
+ /**
7925
+ * <p>路由类型</p>
7926
+ */
7927
+ RouteTypes?: Array<string>;
7928
+ /**
7929
+ * <p>是否将灰度规则可能带来的路由排在原始路由前</p>
7930
+ */
7931
+ GrayRoutesFirst?: boolean;
7932
+ /**
7933
+ * <p>排序字段</p>
7934
+ */
7935
+ OrderField?: string;
7936
+ /**
7937
+ * <p>排序方式</p><p>枚举值:</p><ul><li>DESC: 降序</li><li>ASC: 升序</li></ul>
7938
+ */
7939
+ OrderType?: string;
7840
7940
  }
7841
7941
  /**
7842
7942
  * CreateEngine返回参数结构体
@@ -13630,6 +13630,10 @@ export interface DeployContainerApplicationRequest {
13630
13630
  * <p>镜像Secret列表</p>
13631
13631
  */
13632
13632
  ImagePullSecretList?: Array<string>;
13633
+ /**
13634
+ * <p>用于区分使用sidecar的版本是稳定版还是发行版</p><p>枚举值:</p><ul><li>stable: sidecar稳定版</li><li>release: sidecar发行版</li></ul>
13635
+ */
13636
+ MeshSidecarVersion?: string;
13633
13637
  }
13634
13638
  /**
13635
13639
  * 用于请求参数中的条件过滤字段
@@ -23250,15 +23250,15 @@ export interface CreateAigcImageTaskRequest {
23250
23250
  */
23251
23251
  SubAppId: number;
23252
23252
  /**
23253
- * <p>模型名称。取值:</p><li>OG</li><li>GG</li><li>SI</li><li>Qwen</li><li>Hunyuan</li><li>Vidu</li><li>Kling</li>
23253
+ * <p>模型名称。取值:</p><li>OG</li><li>GG</li><li>Hunyuan</li><li>Vidu</li><li>Kling</li>
23254
23254
  */
23255
23255
  ModelName: string;
23256
23256
  /**
23257
- * <p>模型版本。取值:</p><li>当 ModelName 是 OG,可选值为 image2_low、image2_medium、image2_high;</li><li>当 ModelName 是 GG,可选值为 2.5、3.0、3.1;</li><li>当 ModelName 是 Jimeng,可选值为 4.0;</li><li>当 ModelName 是 SI,可选值为 4.0、4.5、5.0-lite;</li><li>当 ModelName 是 Qwen,可选值为 0925;</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>
23257
+ * <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>
23258
23258
  */
23259
23259
  ModelVersion: string;
23260
23260
  /**
23261
- * <p>AIGC 生图任务的输入图片的文件信息。各模型支持最大参考图数量:</p><ul><li>GG 2.5: 3张;</li><li>GG 3.0:14张;</li><li>GG 3.1:14张;</li><li>Kling 2.1:4张;</li><li>Kling 3.0:1张;</li><li>Kling 3.0-Omni:10张;</li><li>Kling O1:10张;</li><li>SI 4.0:14张;</li><li>SI 4.5:14张;</li><li>SI 5.0-lite:14张;</li><li>Vidu q2:7张;</li><li>Hunyuan 3.0:3张;</li><li>Qwen 0925:1张;</li><li>MJ v7:3张。</li></ul>
23261
+ * <p>AIGC 生图任务的输入图片的文件信息。各模型支持最大参考图数量:</p><ul><li>GG 2.5: 3张;</li><li>GG 3.0:14张;</li><li>GG 3.1:14张;</li><li>Kling 2.1:4张;</li><li>Kling 3.0:1张;</li><li>Kling 3.0-Omni:10张;</li><li>Kling O1:10张;</li><li>Vidu q2:7张;</li><li>Hunyuan 3.0:3张;</li></ul>
23262
23262
  */
23263
23263
  FileInfos?: Array<AigcImageTaskInputFileInfo>;
23264
23264
  /**
@@ -23302,7 +23302,7 @@ export interface CreateAigcImageTaskRequest {
23302
23302
  */
23303
23303
  TasksPriority?: number;
23304
23304
  /**
23305
- * <p>保留字段,特殊用途时使用。</p><ul><li><p>Hunyuan 3.0</p><ul><li>支持自由设置分辨率宽高,宽、高均在 [512, 2048] 像素范围内,宽高乘积 ≤ 1024x1024 像素。示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;728x1024\&quot;}&quot;}</code></li></ul></li><li><p>SI 系列</p><ul><li>支持自由设置分辨率宽高:<ul><li>SI 4.0:合法总像素范围 [1280x720=921600, 4096x4096=16777216],示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;728x1356\&quot;}&quot;}</code></li><li>SI 4.5:合法总像素范围 [2560x1440=3686400, 4096x4096=16777216],示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;2560x1440\&quot;}&quot;}</code></li><li>SI 5.0-lite:合法总像素范围 [2560x1440=3686400, 3072x3072x1.1025=10404496],示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;2560x1440\&quot;}&quot;}</code></li></ul></li><li>可用于开启输出多张图像,示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;sequential_image_generation\&quot;:\&quot;auto\&quot;}&quot;}</code>。除此之外,还需要在<code>Prompt</code>中说明需要输出图片张数,如:输出3张图片。</li></ul></li><li><p>Qwen 0925</p><ul><li>支持自由设置分辨率宽高,合法总像素范围 [512x512=261632, 2048x2048=4194304]。示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;728*1024\&quot;}&quot;}</code></li></ul></li><li><p>OG</p><ul><li>支持自由设置分辨率宽高:<ul><li>计算像素大小,需要被16整除</li><li>总像素数必须至少为655,360,且不得超过 8,294,400</li><li>示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;728*1024\&quot;}&quot;}</code></li></ul></li><li>支持设置透明图层:<ul><li>示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;background\&quot;:\&quot;transparent\&quot;}&quot;}</code></li></ul></li></ul></li><li><p>Kling</p><ul><li>支持设置扩图参数,示例:<code>{AdditionalParameters&quot;:&quot;{\&quot;down_expansion_ratio\&quot;:0.2,\&quot;left_expansion_ratio\&quot;:0.3,\&quot;right_expansion_ratio\&quot;:0.4,\&quot;up_expansion_ratio\&quot;:0.1}}</code><ul><li>通用约束:<ul><li>取值范围:[0, 2];</li><li>新图片整体面积不得超过原图片的 3 倍;</li><li>可以通过 <code>Prompt</code> 字段传入正向提示词。</li><li>示例说明:<ul><li>up_expansion_ratio:向上扩充范围,基于原图高度的倍数计算。若原图高 20,参数值为 0.1,则原图顶边距离新图顶边为 20 × 0.1 = 2,该区域为扩图范围。</li><li>down_expansion_ratio:向下扩充范围,基于原图高度的倍数计算。若原图高 20,参数值为 0.2,则原图底边距离新图底边为 20 × 0.2 = 4,该区域为扩图范围。</li><li>left_expansion_ratio:向左扩充范围,基于原图宽度的倍数计算。若原图宽 30,参数值为 0.3,则原图左边距离新图左边为 30 × 0.3 = 9,该区域为扩图范围。</li><li>right_expansion_ratio:向右扩充范围,基于原图宽度的倍数计算。若原图宽 30,参数值为 0.4,则原图右边距离新图右边为 30 × 0.4 = 12,该区域为扩图范围。</li></ul></li></ul></li></ul></li></ul></li></ul>
23305
+ * <p>保留字段,特殊用途时使用。</p><ul><li><p>Hunyuan 3.0</p><ul><li>支持自由设置分辨率宽高,宽、高均在 [512, 2048] 像素范围内,宽高乘积 ≤ 1024x1024 像素。示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;728x1024\&quot;}&quot;}</code></li></ul></li><li><p>OG</p><ul><li>支持自由设置分辨率宽高:<ul><li>计算像素大小,需要被16整除</li><li>总像素数必须至少为655,360,且不得超过 8,294,400</li><li>示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;size\&quot;:\&quot;728*1024\&quot;}&quot;}</code></li></ul></li><li>支持设置透明图层:<ul><li>示例:<code>{&quot;AdditionalParameters&quot;: &quot;{\&quot;background\&quot;:\&quot;transparent\&quot;}&quot;}</code></li></ul></li></ul></li><li><p>Kling</p><ul><li>支持设置扩图参数,示例:<code>{AdditionalParameters&quot;:&quot;{\&quot;down_expansion_ratio\&quot;:0.2,\&quot;left_expansion_ratio\&quot;:0.3,\&quot;right_expansion_ratio\&quot;:0.4,\&quot;up_expansion_ratio\&quot;:0.1}}</code><ul><li>通用约束:<ul><li>取值范围:[0, 2];</li><li>新图片整体面积不得超过原图片的 3 倍;</li><li>可以通过 <code>Prompt</code> 字段传入正向提示词。</li><li>示例说明:<ul><li>up_expansion_ratio:向上扩充范围,基于原图高度的倍数计算。若原图高 20,参数值为 0.1,则原图顶边距离新图顶边为 20 × 0.1 = 2,该区域为扩图范围。</li><li>down_expansion_ratio:向下扩充范围,基于原图高度的倍数计算。若原图高 20,参数值为 0.2,则原图底边距离新图底边为 20 × 0.2 = 4,该区域为扩图范围。</li><li>left_expansion_ratio:向左扩充范围,基于原图宽度的倍数计算。若原图宽 30,参数值为 0.3,则原图左边距离新图左边为 30 × 0.3 = 9,该区域为扩图范围。</li><li>right_expansion_ratio:向右扩充范围,基于原图宽度的倍数计算。若原图宽 30,参数值为 0.4,则原图右边距离新图右边为 30 × 0.4 = 12,该区域为扩图范围。</li></ul></li></ul></li></ul></li></ul></li></ul>
23306
23306
  */
23307
23307
  ExtInfo?: string;
23308
23308
  }
@@ -25201,33 +25201,15 @@ export interface AiReviewTaskPornAsrResult {
25201
25201
  */
25202
25202
  export interface ProductInstanceResource {
25203
25203
  /**
25204
- * 资源类型。
25205
- <li>Storage:存储资源包。</li>
25206
- <li>Traffic:流量资源包。</li>
25207
- <li>Transcode:普通转码资源包。</li>
25208
- <li>TESHD:极速高清转码资源包。</li>
25209
- <li>Review:音视频审核转码资源包。</li>
25210
- <li>MediaProcess:媒体处理时长资源包。</li>
25204
+ * <p>资源类型。</p><p>枚举值:</p><ul><li>Storage: 存储资源</li><li>Traffic: 流量资源</li><li>Transcode: 转码资源</li><li>TESHD: 极速高清转码资源</li><li>Review: 音视频审核资源</li><li>MediaProcess: 媒体处理资源</li><li>MLLMMediaProcess: 大模型媒体处理资源</li></ul>
25211
25205
  */
25212
25206
  ResourceType?: string;
25213
25207
  /**
25214
- * 资源包额度。
25215
- <li>音视频存储资源包,单位为字节。</li>
25216
- <li>音视频转码资源包,单位为秒。</li>
25217
- <li>音视频审核资源包,单位为秒。</li>
25218
- <li>音视频极速高清资源包,单位为秒。</li>
25219
- <li>音视频加速资源包,单位为字节。</li>
25220
- <li>媒体处理时长资源包,单位为秒。</li>
25208
+ * <p>资源包额度。</p><li>音视频存储资源包,单位为字节。</li><li>音视频转码资源包,单位为秒。</li><li>音视频审核资源包,单位为秒。</li><li>音视频极速高清资源包,单位为秒。</li><li>音视频加速资源包,单位为字节。</li><li>媒体处理时长资源包,单位为秒。</li>
25221
25209
  */
25222
25210
  Amount?: number;
25223
25211
  /**
25224
- * 资源包余量。
25225
- <li>音视频存储资源包,单位为字节。</li>
25226
- <li>音视频转码资源包,单位为秒。</li>
25227
- <li>音视频审核资源包,单位为秒。</li>
25228
- <li>音视频极速高清资源包,单位为秒。</li>
25229
- <li>音视频加速资源包,单位为字节。</li>
25230
- <li>媒体处理时长资源包,单位为秒。</li>
25212
+ * <p>资源包余量。</p><li>音视频存储资源包,单位为字节。</li><li>音视频转码资源包,单位为秒。</li><li>音视频审核资源包,单位为秒。</li><li>音视频极速高清资源包,单位为秒。</li><li>音视频加速资源包,单位为字节。</li><li>媒体处理时长资源包,单位为秒。</li>
25231
25213
  */
25232
25214
  Left?: number;
25233
25215
  }
@@ -26431,6 +26413,22 @@ export interface AigcVideoTaskUsage {
26431
26413
  * <p>思考产生的 Token 数目。</p>
26432
26414
  */
26433
26415
  ThoughtTokens?: number;
26416
+ /**
26417
+ * <p>输入图片数目。</p>
26418
+ */
26419
+ InputImageCount?: number;
26420
+ /**
26421
+ * <p>输入视频的时长。</p><p>单位:秒。</p>
26422
+ */
26423
+ InputSeconds?: number;
26424
+ /**
26425
+ * <p>输出视频时长。</p><p>单位:秒。</p>
26426
+ */
26427
+ OutputSeconds?: number;
26428
+ /**
26429
+ * <p>输入输出总时长。</p><p>默认值:秒。</p>
26430
+ */
26431
+ TotalSeconds?: number;
26434
26432
  }
26435
26433
  /**
26436
26434
  * AIGC 生视频任务的输入。