tccli 3.0.1409.1__py2.py3-none-any.whl → 3.0.1410.1__py2.py3-none-any.whl

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.
@@ -1,5 +1,19 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateFinancialLLMTask": {
4
+ "document": "创建金融大模型审校任务",
5
+ "input": "CreateFinancialLLMTaskRequest",
6
+ "name": "创建金融大模型审校任务",
7
+ "output": "CreateFinancialLLMTaskResponse",
8
+ "status": "online"
9
+ },
10
+ "GetFinancialLLMTaskResult": {
11
+ "document": "获取金融大模型审校任务结果",
12
+ "input": "GetFinancialLLMTaskResultRequest",
13
+ "name": "查询金融大模型审校任务结果",
14
+ "output": "GetFinancialLLMTaskResultResponse",
15
+ "status": "online"
16
+ },
3
17
  "TextModeration": {
4
18
  "document": "本接口(Text Moderation)用于提交文本内容进行智能审核任务。使用前请您使用腾讯云主账号登录控制台 [开通文本内容安全服务](https://console.cloud.tencent.com/cms) 并调整好对应的业务配置。\n\n### 接口使用说明\n- 前往“[内容安全控制台-文本内容安全](https://console.cloud.tencent.com/cms)”开启使用文本内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含**3000条**文本识别额度,有效期为15天。\n- 该接口为收费接口,计费方式敬请参见 [腾讯云文本内容安全定价](https://cloud.tencent.com/product/tms/pricing)。\n\n### 接口功能说明:\n- 支持对文本文件进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规文本内容;\n- 支持识别多种违规场景,包括:低俗、谩骂、色情、广告等场景;\n- 支持根据不同的业务场景配置自定义的审核策略,可在控制台文本内容安全-策略管理中配置;\n- 支持用户自定义配置词库黑白名单,打击自定义识别类型的违规文本(目前仅支持黑名单配置);\n- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备。\n\n### 接口调用说明:\n- 文本内容大小支持:文本原文长度不能超过unicode编码长度10000个字符;\n- 文本审核语言支持:目前支持中文、英文、阿拉伯数字的检测;\n- 默认接口请求频率限制:**1000次/秒**,超过该频率限制则接口会报错。",
5
19
  "input": "TextModerationRequest",
@@ -15,6 +29,70 @@
15
29
  "serviceShortName": "tms"
16
30
  },
17
31
  "objects": {
32
+ "CreateFinancialLLMTaskRequest": {
33
+ "document": "CreateFinancialLLMTask请求参数结构体",
34
+ "members": [
35
+ {
36
+ "disabled": false,
37
+ "document": "审核策略BizType",
38
+ "example": "finance",
39
+ "member": "string",
40
+ "name": "BizType",
41
+ "required": true,
42
+ "type": "string"
43
+ },
44
+ {
45
+ "disabled": false,
46
+ "document": "待审文件类型,目前支持:PDF, DOC, DOCX",
47
+ "example": "PDF",
48
+ "member": "string",
49
+ "name": "FileType",
50
+ "required": false,
51
+ "type": "string"
52
+ },
53
+ {
54
+ "disabled": false,
55
+ "document": "送审内容类型:1-文档,2-文本",
56
+ "example": "1",
57
+ "member": "int64",
58
+ "name": "ContentType",
59
+ "required": false,
60
+ "type": "int"
61
+ },
62
+ {
63
+ "disabled": false,
64
+ "document": "送审内容,根据ContentType字段的取值,传入送审文档的Url链接,或送审文本的Base64编码\n\n文档限制:\n\n- 文件下载时间不超过15秒(文件存储于腾讯云的Url可保障更高的下载速度和稳定性,建议文件存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。)\n- 所下载文件经 Base64 编码后不超过支持的文件大小:PDF/DOC/DOCX - 200M\n- 文档解析后的纯文本长度不超过 10000字\n\n文本限制:Base64解码后的文本长度不超过10000字\n",
65
+ "example": "http://xxx/test.pdf",
66
+ "member": "string",
67
+ "name": "Content",
68
+ "required": false,
69
+ "type": "string"
70
+ }
71
+ ],
72
+ "type": "object"
73
+ },
74
+ "CreateFinancialLLMTaskResponse": {
75
+ "document": "CreateFinancialLLMTask返回参数结构体",
76
+ "members": [
77
+ {
78
+ "disabled": false,
79
+ "document": "金融大模型审校任务ID",
80
+ "example": "aafcf232-e46b-43af-9c1e-02a9c5dac072",
81
+ "member": "string",
82
+ "name": "TaskId",
83
+ "output_required": false,
84
+ "type": "string",
85
+ "value_allowed_null": false
86
+ },
87
+ {
88
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
89
+ "member": "string",
90
+ "name": "RequestId",
91
+ "type": "string"
92
+ }
93
+ ],
94
+ "type": "object"
95
+ },
18
96
  "DetailResults": {
19
97
  "document": "文本审核返回的详细结果",
20
98
  "members": [
@@ -190,6 +268,155 @@
190
268
  ],
191
269
  "usage": "in"
192
270
  },
271
+ "FinancialLLMViolationDetail": {
272
+ "document": "金融大模型审校 违规明细",
273
+ "members": [
274
+ {
275
+ "disabled": false,
276
+ "document": "违规点",
277
+ "example": "违规荐股荐基",
278
+ "member": "string",
279
+ "name": "Label",
280
+ "output_required": false,
281
+ "type": "string",
282
+ "value_allowed_null": false
283
+ },
284
+ {
285
+ "disabled": false,
286
+ "document": "处置建议",
287
+ "example": "Block",
288
+ "member": "string",
289
+ "name": "Suggestion",
290
+ "output_required": false,
291
+ "type": "string",
292
+ "value_allowed_null": false
293
+ },
294
+ {
295
+ "disabled": false,
296
+ "document": "违规原因列表",
297
+ "example": "无",
298
+ "member": "FinancialLLMViolationReason",
299
+ "name": "Reasons",
300
+ "output_required": false,
301
+ "type": "list",
302
+ "value_allowed_null": false
303
+ }
304
+ ],
305
+ "usage": "out"
306
+ },
307
+ "FinancialLLMViolationReason": {
308
+ "document": "金融大模型审校-违规原因",
309
+ "members": [
310
+ {
311
+ "disabled": false,
312
+ "document": "违规原文片段",
313
+ "example": "阳光总在风雨后,股市的形势一旦好转,通常会回升得非常迅速。",
314
+ "member": "string",
315
+ "name": "TargetText",
316
+ "output_required": false,
317
+ "type": "string",
318
+ "value_allowed_null": false
319
+ },
320
+ {
321
+ "disabled": false,
322
+ "document": "违规原因",
323
+ "example": "虽后续提及回升可能,但整体仍以消极情景描述为主导,可能对投资者产生误导性负面影响。",
324
+ "member": "string",
325
+ "name": "Reason",
326
+ "output_required": false,
327
+ "type": "string",
328
+ "value_allowed_null": false
329
+ }
330
+ ],
331
+ "usage": "out"
332
+ },
333
+ "GetFinancialLLMTaskResultRequest": {
334
+ "document": "GetFinancialLLMTaskResult请求参数结构体",
335
+ "members": [
336
+ {
337
+ "disabled": false,
338
+ "document": "金融大模型审校任务ID",
339
+ "example": "aafcf232-e46b-43af-9c1e-02a9c5dac072",
340
+ "member": "string",
341
+ "name": "TaskId",
342
+ "required": true,
343
+ "type": "string"
344
+ }
345
+ ],
346
+ "type": "object"
347
+ },
348
+ "GetFinancialLLMTaskResultResponse": {
349
+ "document": "GetFinancialLLMTaskResult返回参数结构体",
350
+ "members": [
351
+ {
352
+ "disabled": false,
353
+ "document": "审校任务状态:\n\n- Success: 成功\n- Processing: 处理中,请等待\n- Failed: 失败",
354
+ "example": "Success",
355
+ "member": "string",
356
+ "name": "Status",
357
+ "output_required": false,
358
+ "type": "string",
359
+ "value_allowed_null": false
360
+ },
361
+ {
362
+ "disabled": false,
363
+ "document": "大模型审校结果",
364
+ "example": "当前检测的原子能力:...",
365
+ "member": "string",
366
+ "name": "ModerationResult",
367
+ "output_required": false,
368
+ "type": "string",
369
+ "value_allowed_null": false
370
+ },
371
+ {
372
+ "disabled": false,
373
+ "document": "审校任务失败原因,仅当任务失败时有值",
374
+ "example": "文档解析失败",
375
+ "member": "string",
376
+ "name": "FailureReason",
377
+ "output_required": false,
378
+ "type": "string",
379
+ "value_allowed_null": false
380
+ },
381
+ {
382
+ "disabled": false,
383
+ "document": "审校任务开始时间",
384
+ "example": "2025-09-25 19:42:35",
385
+ "member": "string",
386
+ "name": "StartTime",
387
+ "output_required": false,
388
+ "type": "string",
389
+ "value_allowed_null": false
390
+ },
391
+ {
392
+ "disabled": false,
393
+ "document": "本次检测的违规点列表",
394
+ "example": "[\"宏观走势造谣\",\"数据来源缺失\",\"违规荐股荐基\"]",
395
+ "member": "string",
396
+ "name": "ReviewedLabels",
397
+ "output_required": false,
398
+ "type": "list",
399
+ "value_allowed_null": false
400
+ },
401
+ {
402
+ "disabled": false,
403
+ "document": "违规明细",
404
+ "example": "无",
405
+ "member": "FinancialLLMViolationDetail",
406
+ "name": "Details",
407
+ "output_required": false,
408
+ "type": "list",
409
+ "value_allowed_null": false
410
+ },
411
+ {
412
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
413
+ "member": "string",
414
+ "name": "RequestId",
415
+ "type": "string"
416
+ }
417
+ ],
418
+ "type": "object"
419
+ },
193
420
  "HitInfo": {
194
421
  "document": "关键词命中位置信息",
195
422
  "members": [
@@ -1,5 +1,21 @@
1
1
  {
2
2
  "actions": {
3
+ "CreateFinancialLLMTask": [
4
+ {
5
+ "document": "",
6
+ "input": "POST / HTTP/1.1\nHost: tms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFinancialLLMTask\n<公共请求参数>\n\n{\n \"BizType\": \"finance\",\n \"ContentType\": 2,\n \"Content\": \"5oqK6ZKx5pS+5YWl6IKh5biC44CC6Ziz5YWJ5oC75Zyo6aOO6Zuo5ZCO77yM6IKh5biC55qE5b2i5Yq/5LiA5pem5aW96L2s77yM6YCa5bi45Lya5Zue5Y2H5b6X6Z2e5bi46L+F6YCf44CCIDIwMDjlubTogqHluILkvY7ov7fvvIzkvaDmnInmnLrkvJrku6XmnoHkvY7nmoTku7fmoLzkubDlhaXjgILkvaDnlKjkuI3nnYDlrabkuaDopoHmipXotYTlk6rlj6rogqHnpajvvJrmib7kuIDlrrbkvY7miYvnu63otLnnmoTlhbHlkIzln7rph5Hlhazlj7jvvIzku47ku5bku6zpgqPph4zkubDkuIDlj6rotLnnlKjkvY7jgIHliIbmlaPmipXotYTnmoTmjIfmlbDln7rph5HjgII=\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"de73c404-936f-4ec4-bbfe-e262d79c01e7\",\n \"TaskId\": \"3570106e-b156-45d9-8af5-99b46f7eb2f9\"\n }\n}",
8
+ "title": "创建金融大模型审校任务:送审文本示例"
9
+ }
10
+ ],
11
+ "GetFinancialLLMTaskResult": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: tms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFinancialLLMTaskResult\n<公共请求参数>\n\n{\n \"TaskId\": \"17719984-030f-4b32-8828-61d3c21b3324\"\n}",
15
+ "output": "{\n \"Response\": {\n \"Details\": [\n {\n \"Label\": \"违规荐股荐基\",\n \"Reasons\": [\n {\n \"Reason\": \"复核发现主审核模型误判。原审核认为 ...\",\n \"TargetText\": \"2008年股市低迷...\"\n }\n ],\n \"Suggestion\": \"Block\"\n }\n ],\n \"RequestId\": \"4b180195-fe4b-4fa1-8e12-536054fbde27\",\n \"ReviewedLabels\": [\n \"宏观走势造谣\",\n \"数据来源缺失\",\n \"违规荐股荐基\"\n ],\n \"StartTime\": \"2025-09-25 19:42:35\",\n \"Status\": \"Success\"\n }\n}",
16
+ "title": "获取金融大模型审校任务结果:示例"
17
+ }
18
+ ],
3
19
  "TextModeration": [
4
20
  {
5
21
  "document": "",
@@ -12083,6 +12083,15 @@
12083
12083
  "name": "Partition",
12084
12084
  "required": false,
12085
12085
  "type": "int"
12086
+ },
12087
+ {
12088
+ "disabled": false,
12089
+ "document": "是否是增量部署,增量部署只运行增量覆盖一级参数,不支持对一级参数中的子参数进行增量更新,例如更新VolumeMountInfoList时必须传入VolumeMountInfoList更新后的全量参数",
12090
+ "example": "false",
12091
+ "member": "bool",
12092
+ "name": "IncrementalDeployment",
12093
+ "required": false,
12094
+ "type": "bool"
12086
12095
  }
12087
12096
  ],
12088
12097
  "type": "object"
@@ -18580,6 +18589,15 @@
18580
18589
  "name": "AppMicroServiceType",
18581
18590
  "required": false,
18582
18591
  "type": "string"
18592
+ },
18593
+ {
18594
+ "disabled": false,
18595
+ "document": "按照【部署组名称】进行过滤,不填写时查询全量。可通过调用[DescribeContainerGroups](https://cloud.tencent.com/document/product/649/36068)查询已创建的部署组列表或登录[控制台](https://console.cloud.tencent.com/tsf/app-detail?rid=1&id=application-zvw6zp9a&tab=publish&subTab=group)进行查看;也可以调用[CreateGroup](https://cloud.tencent.com/document/product/649/36074)创建新的部署组。",
18596
+ "example": "test-group",
18597
+ "member": "string",
18598
+ "name": "GroupName",
18599
+ "required": false,
18600
+ "type": "string"
18583
18601
  }
18584
18602
  ],
18585
18603
  "type": "object"
@@ -18879,6 +18897,15 @@
18879
18897
  "name": "ConfigCenterInstanceId",
18880
18898
  "required": false,
18881
18899
  "type": "string"
18900
+ },
18901
+ {
18902
+ "disabled": false,
18903
+ "document": "服务过滤",
18904
+ "example": "normal",
18905
+ "member": "string",
18906
+ "name": "ServiceFilter",
18907
+ "required": false,
18908
+ "type": "string"
18882
18909
  }
18883
18910
  ],
18884
18911
  "type": "object"
@@ -20246,6 +20273,39 @@
20246
20273
  "required": false,
20247
20274
  "type": "string",
20248
20275
  "value_allowed_null": false
20276
+ },
20277
+ {
20278
+ "disabled": false,
20279
+ "document": "部署组Id\n注意:此字段可能返回 null,表示取不到有效值。",
20280
+ "example": "group-6a73eg5v",
20281
+ "member": "string",
20282
+ "name": "GroupId",
20283
+ "output_required": false,
20284
+ "required": false,
20285
+ "type": "string",
20286
+ "value_allowed_null": true
20287
+ },
20288
+ {
20289
+ "disabled": false,
20290
+ "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
20291
+ "example": "1757324401000",
20292
+ "member": "uint64",
20293
+ "name": "CreateTime",
20294
+ "output_required": false,
20295
+ "required": false,
20296
+ "type": "int",
20297
+ "value_allowed_null": true
20298
+ },
20299
+ {
20300
+ "disabled": false,
20301
+ "document": "更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
20302
+ "example": "1757324863000",
20303
+ "member": "uint64",
20304
+ "name": "UpdateTime",
20305
+ "output_required": false,
20306
+ "required": false,
20307
+ "type": "int",
20308
+ "value_allowed_null": true
20249
20309
  }
20250
20310
  ],
20251
20311
  "usage": "both"
@@ -499,7 +499,7 @@
499
499
  "DeployContainerApplication": [
500
500
  {
501
501
  "document": "",
502
- "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployContainerGroup\n<公共请求参数>\n\n{\n \"ApplicationId\": \"application-6ym5kebd\",\n \"GroupName\": \"test-group-1\",\n \"ClusterId\": \"cls-23iwxs1l\",\n \"Alias\": \"app remark\",\n \"NamespaceId\": \"namespace-by8mg4xs\",\n \"Tags\": [\n {\n \"TagKey\": \"tke-clusterId\",\n \"TagValue\": \"cls-23iwxs1l\"\n }\n ],\n \"ContainerKind\": \"Deployment\",\n \"InstanceNum\": 1,\n \"SchedulingStrategy\": {\n \"Type\": \"NONE\",\n \"NodeScheduleStrategyType\": \"Default\",\n \"AvailableZoneScatterScheduleType\": \"None\",\n \"PodScheduleStrategyType\": \"None\",\n \"TolerateScheduleType\": \"None\"\n },\n \"ServiceSettingList\": [\n {\n \"LoadBalancingType\": \"Intranet\",\n \"ExternalTrafficStrategy\": \"Local\",\n \"ExternalTrafficPolicy\": \"Local\",\n \"ServiceName\": \"test-svc-1\",\n \"HeadlessService\": true,\n \"AccessType\": 1,\n \"SubnetId\": \"subnet-d15zonly\",\n \"OpenSessionAffinity\": false,\n \"SessionAffinityTimeoutSeconds\": 10800,\n \"ProtocolPorts\": [\n {\n \"Protocol\": \"TCP\",\n \"TargetPort\": 80,\n \"Port\": 80,\n \"Name\": \"svc-1\"\n }\n ]\n }\n ],\n \"ServiceClean\": false,\n \"EnvClean\": true,\n \"RestartPolicy\": \"Always\",\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-sts-1\",\n \"TagName\": \"nginx-v1\",\n \"Envs\": [\n {\n \"ValueFrom\": {\n \"FieldRef\": {\n \"FieldPath\": \"metadata.name\"\n }\n },\n \"Name\": \"env1\"\n },\n {\n \"ValueFrom\": {\n \"ResourceFieldRef\": {\n \"Resource\": \"limits.memory\"\n }\n },\n \"Name\": \"env2\"\n },\n {\n \"ValueFrom\": {\n \"ConfigMapKeyRef\": {\n \"Name\": \"kube-root-ca.crt\",\n \"Key\": \"ca.crt\"\n }\n },\n \"Name\": \"env3\"\n },\n {\n \"ValueFrom\": {\n \"SecretKeyRef\": {\n \"Name\": \"qcloudregistrykey\",\n \"Key\": \".dockercfg\"\n }\n },\n \"Name\": \"env4\"\n }\n ],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": true,\n \"RunCommand\": \"/bin/sh\",\n \"RunArg\": \"-c\\nwhile true; do echo hello; sleep 10; done\",\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"httpGet\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\",\n \"Host\": \"host.com\",\n \"Path\": \"/tmp\",\n \"Port\": \"7998\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {\n \"LivenessProbe\": {\n \"Type\": \"K8S_NATIVE\",\n \"ActionType\": \"HTTP\",\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 3,\n \"PeriodSeconds\": 30,\n \"SuccessThreshold\": 1,\n \"FailureThreshold\": 3,\n \"Port\": \"30000\",\n \"Scheme\": \"HTTP\",\n \"Path\": \"/\"\n },\n \"ReadinessProbe\": {\n \"Type\": \"TSF_DEFAULT\"\n }\n },\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": [\n {\n \"VolumeMountPath\": \"/tmp\",\n \"VolumeMountSubPath\": \"/\",\n \"ReadOrWrite\": \"1\",\n \"VolumeMountName\": \"test-data-emptydir\"\n }\n ],\n \"AgentCpuRequest\": \"0.1\",\n \"AgentCpuLimit\": \"0.2\",\n \"AgentMemRequest\": \"125\",\n \"AgentMemLimit\": \"400\",\n \"DeployAgent\": true,\n \"AdditionalContainerList\": [\n {\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-ns\",\n \"TagName\": \"polaris-1\",\n \"Envs\": [],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": false,\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {},\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": []\n }\n ],\n \"VolumeInfoList\": [\n {\n \"VolumeName\": \"test-data-emptydir\",\n \"VolumeType\": \"emptyDir\",\n \"ConfigMapOptions\": [],\n \"EmptyDirOption\": {\n \"StorageCapacity\": 1,\n \"StorageUnit\": \"Gi\",\n \"EnableMemory\": true\n }\n }\n ],\n \"VolumeClean\": true,\n \"ServiceGovernanceConfig\": {\n \"GovernanceType\": \"SHARE\",\n \"EnableGovernance\": true\n },\n \"ObservabilityConfig\": {\n \"BusinessLogConfigIdList\": [\n \"apm-busi-log-cfg-lba2povk\",\n \"apm-busi-log-cfg-2vz5nm9v\"\n ],\n \"BusinessLogDeliveryConfigIdList\": []\n },\n \"WarmupSetting\": {\n \"Enabled\": true,\n \"WarmupTime\": 60,\n \"Curvature\": 2,\n \"EnabledProtection\": true\n },\n \"AgentProfileList\": [\n {\n \"AgentType\": \"OT_AGENT\",\n \"AgentVersion\": \"\"\n }\n ],\n \"UpdateType\": 1,\n \"UpdateIvl\": 10,\n \"MaxSurge\": \"25%\",\n \"MaxUnavailable\": \"0\"\n}",
502
+ "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployContainerGroup\n<公共请求参数>\n\n{\n \"ApplicationId\": \"application-6ym5kebd\",\n \"GroupName\": \"test-group-1\",\n \"ClusterId\": \"cls-23iwxs1l\",\n \"Alias\": \"app remark\",\n \"NamespaceId\": \"namespace-by8mg4xs\",\n \"Tags\": [\n {\n \"TagKey\": \"tke-clusterId\",\n \"TagValue\": \"cls-23iwxs1l\"\n }\n ],\n \"ContainerKind\": \"Deployment\",\n \"InstanceNum\": 1,\n \"SchedulingStrategy\": {\n \"Type\": \"NONE\",\n \"NodeScheduleStrategyType\": \"Default\",\n \"AvailableZoneScatterScheduleType\": \"None\",\n \"PodScheduleStrategyType\": \"None\",\n \"TolerateScheduleType\": \"None\"\n },\n \"ServiceSettingList\": [\n {\n \"LoadBalancingType\": \"Intranet\",\n \"ExternalTrafficStrategy\": \"Local\",\n \"ExternalTrafficPolicy\": \"Local\",\n \"ServiceName\": \"test-svc-1\",\n \"HeadlessService\": true,\n \"AccessType\": 1,\n \"SubnetId\": \"subnet-d15zonly\",\n \"OpenSessionAffinity\": false,\n \"SessionAffinityTimeoutSeconds\": 10800,\n \"ProtocolPorts\": [\n {\n \"Protocol\": \"TCP\",\n \"TargetPort\": 80,\n \"Port\": 80,\n \"Name\": \"svc-1\"\n }\n ]\n }\n ],\n \"ServiceClean\": false,\n \"EnvClean\": true,\n \"RestartPolicy\": \"Always\",\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-sts-1\",\n \"TagName\": \"nginx-v1\",\n \"Envs\": [\n {\n \"ValueFrom\": {\n \"FieldRef\": {\n \"FieldPath\": \"metadata.name\"\n }\n },\n \"Name\": \"env1\"\n },\n {\n \"ValueFrom\": {\n \"ResourceFieldRef\": {\n \"Resource\": \"limits.memory\"\n }\n },\n \"Name\": \"env2\"\n },\n {\n \"ValueFrom\": {\n \"ConfigMapKeyRef\": {\n \"Name\": \"kube-root-ca.crt\",\n \"Key\": \"ca.crt\"\n }\n },\n \"Name\": \"env3\"\n },\n {\n \"ValueFrom\": {\n \"SecretKeyRef\": {\n \"Name\": \"qcloudregistrykey\",\n \"Key\": \".dockercfg\"\n }\n },\n \"Name\": \"env4\"\n }\n ],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": true,\n \"RunCommand\": \"/bin/sh\",\n \"RunArg\": \"-c\\nwhile true; do echo hello; sleep 10; done\",\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"httpGet\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\",\n \"Host\": \"host.com\",\n \"Path\": \"/tmp\",\n \"Port\": \"7998\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {\n \"LivenessProbe\": {\n \"Type\": \"K8S_NATIVE\",\n \"ActionType\": \"HTTP\",\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 3,\n \"PeriodSeconds\": 30,\n \"SuccessThreshold\": 1,\n \"FailureThreshold\": 3,\n \"Port\": \"30000\",\n \"Scheme\": \"HTTP\",\n \"Path\": \"/test\"\n },\n \"ReadinessProbe\": {\n \"Type\": \"TSF_DEFAULT\"\n }\n },\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": [\n {\n \"VolumeMountPath\": \"/tmp\",\n \"VolumeMountSubPath\": \"/test\",\n \"ReadOrWrite\": \"1\",\n \"VolumeMountName\": \"test-data-emptydir\"\n }\n ],\n \"AgentCpuRequest\": \"0.1\",\n \"AgentCpuLimit\": \"0.2\",\n \"AgentMemRequest\": \"125\",\n \"AgentMemLimit\": \"400\",\n \"DeployAgent\": true,\n \"AdditionalContainerList\": [\n {\n \"CpuRequest\": \"0.25\",\n \"MemRequest\": \"120\",\n \"MemLimit\": \"1280\",\n \"CpuLimit\": \"0.5\",\n \"Server\": \"ccr.ccs.tencentyun.com\",\n \"RepoName\": \"tsf_700001025656/test-ns\",\n \"TagName\": \"polaris-1\",\n \"Envs\": [],\n \"RepoType\": \"personal\",\n \"PrivilegeContainerEnable\": false,\n \"InitContainerEnable\": false,\n \"LifeCycleHookList\": [\n {\n \"HookType\": \"postStart\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n },\n {\n \"HookType\": \"preStop\",\n \"ExecMode\": \"none\",\n \"HttpGetOption\": {\n \"Scheme\": \"HTTP\"\n }\n }\n ],\n \"HealthCheckSettings\": {},\n \"JvmOpts\": \"-Xms128m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m\",\n \"VolumeMountInfoList\": []\n }\n ],\n \"VolumeInfoList\": [\n {\n \"VolumeName\": \"test-data-emptydir\",\n \"VolumeType\": \"emptyDir\",\n \"ConfigMapOptions\": [],\n \"EmptyDirOption\": {\n \"StorageCapacity\": 1,\n \"StorageUnit\": \"Gi\",\n \"EnableMemory\": true\n }\n }\n ],\n \"VolumeClean\": true,\n \"ServiceGovernanceConfig\": {\n \"GovernanceType\": \"SHARE\",\n \"EnableGovernance\": true\n },\n \"ObservabilityConfig\": {\n \"BusinessLogConfigIdList\": [\n \"apm-busi-log-cfg-lba2povk\",\n \"apm-busi-log-cfg-2vz5nm9v\"\n ],\n \"BusinessLogDeliveryConfigIdList\": []\n },\n \"WarmupSetting\": {\n \"Enabled\": true,\n \"WarmupTime\": 60,\n \"Curvature\": 2,\n \"EnabledProtection\": true\n },\n \"AgentProfileList\": [\n {\n \"AgentType\": \"OT_AGENT\",\n \"AgentVersion\": \"\"\n }\n ],\n \"UpdateType\": 1,\n \"UpdateIvl\": 10,\n \"MaxSurge\": \"25%\",\n \"MaxUnavailable\": \"0\"\n}",
503
503
  "output": "{\n \"Response\": {\n \"Result\": {\n \"GroupId\": \"group-oydjq4my\",\n \"TaskId\": \"task-2.0-gvko6ona\"\n },\n \"RequestId\": \"a187dea0-773a-4076-a06b-ac6482f6f679\"\n }\n}",
504
504
  "title": "部署容器应用"
505
505
  }
@@ -1203,7 +1203,7 @@
1203
1203
  "DescribeStatistics": [
1204
1204
  {
1205
1205
  "document": "",
1206
- "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStatistics\n<公共请求参数>\n\n{\n \"OrderBy\": \"AvgTimeConsuming\",\n \"StartTime\": \"2020-05-12 14:43:12\",\n \"TimeStep\": 60,\n \"Offset\": 0,\n \"DbName\": \"mysql\",\n \"ServiceName\": \"demo-service\",\n \"Limit\": 10,\n \"SearchWord\": \"keyword\",\n \"OrderType\": 1,\n \"EndTime\": \"2020-05-12 14:43:12\",\n \"Type\": \"Service\",\n \"NamespaceId\": \"namespace-xxxxxxxx\"\n}",
1206
+ "input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStatistics\n<公共请求参数>\n\n{\n \"OrderBy\": \"AvgTimeConsuming\",\n \"StartTime\": \"2020-05-12 14:43:12\",\n \"TimeStep\": 60,\n \"Offset\": 0,\n \"DbName\": \"mysql\",\n \"ServiceName\": \"demo-service\",\n \"Limit\": 10,\n \"SearchWord\": \"keyword\",\n \"OrderType\": 1,\n \"EndTime\": \"2020-05-12 14:43:12\",\n \"Type\": \"Service\",\n \"NamespaceId\": \"namespace-xxxxxxxx\",\n \"ServiceFilter\": \"normal\"\n}",
1207
1207
  "output": "{\n \"Response\": {\n \"RequestId\": \"b057eeaa-ccdf-40be-995f-f059b4b974e8\",\n \"Result\": {\n \"TotalCount\": 2,\n \"Content\": []\n }\n }\n}",
1208
1208
  "title": "test"
1209
1209
  }
@@ -14,6 +14,13 @@
14
14
  "output": "DescribeImageAnimateJobResponse",
15
15
  "status": "online"
16
16
  },
17
+ "DescribeImageToVideoGeneralJob": {
18
+ "document": "查询图生视频通用能力任务接口",
19
+ "input": "DescribeImageToVideoGeneralJobRequest",
20
+ "name": "查询图生视频通用能力任务",
21
+ "output": "DescribeImageToVideoGeneralJobResponse",
22
+ "status": "online"
23
+ },
17
24
  "DescribePortraitSingJob": {
18
25
  "document": "用于查询图片唱演任务。\n支持提交音频和图片生成唱演视频,满足社交娱乐、互动营销等场景的需求。",
19
26
  "input": "DescribePortraitSingJobRequest",
@@ -42,6 +49,13 @@
42
49
  "output": "SubmitImageAnimateJobResponse",
43
50
  "status": "online"
44
51
  },
52
+ "SubmitImageToVideoGeneralJob": {
53
+ "document": "图生视频通用能力接口",
54
+ "input": "SubmitImageToVideoGeneralJobRequest",
55
+ "name": "提交图生视频通用能力任务",
56
+ "output": "SubmitImageToVideoGeneralJobResponse",
57
+ "status": "online"
58
+ },
45
59
  "SubmitPortraitSingJob": {
46
60
  "document": "用于提交图片唱演任务。\n支持提交音频和图片生成唱演视频,满足社交娱乐、互动营销等场景的需求。",
47
61
  "input": "SubmitPortraitSingJobRequest",
@@ -221,6 +235,73 @@
221
235
  ],
222
236
  "type": "object"
223
237
  },
238
+ "DescribeImageToVideoGeneralJobRequest": {
239
+ "document": "DescribeImageToVideoGeneralJob请求参数结构体",
240
+ "members": [
241
+ {
242
+ "disabled": false,
243
+ "document": "任务ID",
244
+ "example": "1350360280588853248",
245
+ "member": "string",
246
+ "name": "JobId",
247
+ "required": true,
248
+ "type": "string"
249
+ }
250
+ ],
251
+ "type": "object"
252
+ },
253
+ "DescribeImageToVideoGeneralJobResponse": {
254
+ "document": "DescribeImageToVideoGeneralJob返回参数结构体",
255
+ "members": [
256
+ {
257
+ "disabled": false,
258
+ "document": "任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功",
259
+ "example": "RUN",
260
+ "member": "string",
261
+ "name": "Status",
262
+ "output_required": false,
263
+ "type": "string",
264
+ "value_allowed_null": false
265
+ },
266
+ {
267
+ "disabled": false,
268
+ "document": "任务执行错误码。当任务状态不为 FAIL 时,该值为\"\"。",
269
+ "example": "FailedOperation.DriverFailed",
270
+ "member": "string",
271
+ "name": "ErrorCode",
272
+ "output_required": false,
273
+ "type": "string",
274
+ "value_allowed_null": false
275
+ },
276
+ {
277
+ "disabled": false,
278
+ "document": "任务执行错误信息。当任务状态不为 FAIL 时,该值为\"\"。",
279
+ "example": "驱动失败",
280
+ "member": "string",
281
+ "name": "ErrorMessage",
282
+ "output_required": false,
283
+ "type": "string",
284
+ "value_allowed_null": false
285
+ },
286
+ {
287
+ "disabled": false,
288
+ "document": "结果视频 URL。有效期 24 小时。",
289
+ "example": "https://console.cloud.tencent.com/result.mp4",
290
+ "member": "string",
291
+ "name": "ResultVideoUrl",
292
+ "output_required": false,
293
+ "type": "string",
294
+ "value_allowed_null": false
295
+ },
296
+ {
297
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
298
+ "member": "string",
299
+ "name": "RequestId",
300
+ "type": "string"
301
+ }
302
+ ],
303
+ "type": "object"
304
+ },
224
305
  "DescribePortraitSingJobRequest": {
225
306
  "document": "DescribePortraitSingJob请求参数结构体",
226
307
  "members": [
@@ -668,6 +749,70 @@
668
749
  ],
669
750
  "type": "object"
670
751
  },
752
+ "SubmitImageToVideoGeneralJobRequest": {
753
+ "document": "SubmitImageToVideoGeneralJob请求参数结构体",
754
+ "members": [
755
+ {
756
+ "disabled": false,
757
+ "document": "输入图片\nBase64 和 Url 必须提供一个,如果都提供以ImageUrl为准。\n上传图url大小不超过 8M\n支持jpg,png,jpeg,webp,bmp,tiff 格式\n单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1",
758
+ "example": "无",
759
+ "member": "Image",
760
+ "name": "Image",
761
+ "required": true,
762
+ "type": "object"
763
+ },
764
+ {
765
+ "disabled": false,
766
+ "document": "视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。",
767
+ "example": "一只猫在草原上奔跑,写实风格",
768
+ "member": "string",
769
+ "name": "Prompt",
770
+ "required": false,
771
+ "type": "string"
772
+ },
773
+ {
774
+ "disabled": false,
775
+ "document": "为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。",
776
+ "example": "1",
777
+ "member": "int64",
778
+ "name": "LogoAdd",
779
+ "required": false,
780
+ "type": "int"
781
+ },
782
+ {
783
+ "disabled": false,
784
+ "document": "默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。",
785
+ "example": "无",
786
+ "member": "LogoParam",
787
+ "name": "LogoParam",
788
+ "required": false,
789
+ "type": "object"
790
+ }
791
+ ],
792
+ "type": "object"
793
+ },
794
+ "SubmitImageToVideoGeneralJobResponse": {
795
+ "document": "SubmitImageToVideoGeneralJob返回参数结构体",
796
+ "members": [
797
+ {
798
+ "disabled": false,
799
+ "document": "任务ID",
800
+ "example": "1350360280588853248",
801
+ "member": "string",
802
+ "name": "JobId",
803
+ "output_required": false,
804
+ "type": "string",
805
+ "value_allowed_null": false
806
+ },
807
+ {
808
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
809
+ "member": "string",
810
+ "name": "RequestId",
811
+ "type": "string"
812
+ }
813
+ ],
814
+ "type": "object"
815
+ },
671
816
  "SubmitPortraitSingJobRequest": {
672
817
  "document": "SubmitPortraitSingJob请求参数结构体",
673
818
  "members": [
@@ -16,6 +16,14 @@
16
16
  "title": "调用成功示例"
17
17
  }
18
18
  ],
19
+ "DescribeImageToVideoGeneralJob": [
20
+ {
21
+ "document": "",
22
+ "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImageToVideoGeneralJob\n<公共请求参数>\n\n{\n \"JobId\": \"1355169569101660160\"\n}",
23
+ "output": "{\n \"Response\": {\n \"ErrorCode\": \"\",\n \"ErrorMessage\": \"\",\n \"RequestId\": \"6757832e-7ae1-4174-ab0f-278aca3edd75\",\n \"ResultVideoUrl\": \"\",\n \"Status\": \"RUN\"\n }\n}",
24
+ "title": "查询图生视频通用任务"
25
+ }
26
+ ],
19
27
  "DescribePortraitSingJob": [
20
28
  {
21
29
  "document": "任务完成",
@@ -48,6 +56,14 @@
48
56
  "title": "调用成功示例"
49
57
  }
50
58
  ],
59
+ "SubmitImageToVideoGeneralJob": [
60
+ {
61
+ "document": "",
62
+ "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitImageToVideoGeneralJob\n<公共请求参数>\n\n{\n \"Image\": {\n \"Url\": \"https://test.cos.ap-guangzhou.myqcloud.com/1-fps15.png\"\n }\n}",
63
+ "output": "{\n \"Response\": {\n \"JobId\": \"1355169569101660160\",\n \"RequestId\": \"90eaa0a4-fde3-4df0-a764-8dccaff6bd1c\"\n }\n}",
64
+ "title": "提交图生视频通用任务"
65
+ }
66
+ ],
51
67
  "SubmitPortraitSingJob": [
52
68
  {
53
69
  "document": "调用成功",