tccli 3.0.1318.1__py2.py3-none-any.whl → 3.0.1320.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.
Files changed (51) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -3
  3. tccli/services/ams/v20201229/api.json +109 -113
  4. tccli/services/batch/v20170312/api.json +2 -2
  5. tccli/services/billing/v20180709/api.json +6 -6
  6. tccli/services/cdwdoris/v20211228/api.json +30 -0
  7. tccli/services/cls/v20201016/api.json +13 -13
  8. tccli/services/cvm/v20170312/api.json +24 -24
  9. tccli/services/cynosdb/v20190107/api.json +2 -2
  10. tccli/services/dbbrain/v20210527/api.json +7 -3
  11. tccli/services/dlc/v20210125/api.json +112 -0
  12. tccli/services/dlc/v20210125/examples.json +3 -3
  13. tccli/services/dnspod/v20210323/api.json +0 -27
  14. tccli/services/domain/v20180808/api.json +3 -3
  15. tccli/services/domain/v20180808/examples.json +1 -1
  16. tccli/services/dsgc/dsgc_client.py +247 -1042
  17. tccli/services/dsgc/v20190723/api.json +0 -360
  18. tccli/services/dsgc/v20190723/examples.json +1 -127
  19. tccli/services/emr/v20190103/api.json +6 -6
  20. tccli/services/emr/v20190103/examples.json +7 -7
  21. tccli/services/es/v20180416/api.json +10 -0
  22. tccli/services/ess/v20201111/api.json +11 -11
  23. tccli/services/ess/v20201111/examples.json +10 -4
  24. tccli/services/essbasic/v20210526/api.json +8 -8
  25. tccli/services/live/v20180801/api.json +10 -0
  26. tccli/services/lke/v20231130/api.json +1 -1
  27. tccli/services/lkeap/v20240522/api.json +1 -1
  28. tccli/services/monitor/v20180724/api.json +8 -11
  29. tccli/services/mps/v20190612/api.json +20 -9
  30. tccli/services/mps/v20190612/examples.json +6 -0
  31. tccli/services/postgres/v20170312/api.json +9 -9
  32. tccli/services/redis/v20180412/api.json +1 -1
  33. tccli/services/ses/v20201002/api.json +9 -0
  34. tccli/services/tcb/v20180608/api.json +3 -3
  35. tccli/services/tdid/v20210519/examples.json +1 -1
  36. tccli/services/tione/tione_client.py +53 -0
  37. tccli/services/tione/v20211111/api.json +316 -1
  38. tccli/services/tione/v20211111/examples.json +8 -0
  39. tccli/services/tke/v20220501/api.json +11 -0
  40. tccli/services/trtc/v20190722/api.json +9 -0
  41. tccli/services/tts/v20190823/api.json +2 -2
  42. tccli/services/vpc/v20170312/api.json +3 -3
  43. {tccli-3.0.1318.1.dist-info → tccli-3.0.1320.1.dist-info}/METADATA +2 -2
  44. {tccli-3.0.1318.1.dist-info → tccli-3.0.1320.1.dist-info}/RECORD +47 -51
  45. tccli/services/apcas/__init__.py +0 -4
  46. tccli/services/apcas/apcas_client.py +0 -525
  47. tccli/services/apcas/v20201127/api.json +0 -733
  48. tccli/services/apcas/v20201127/examples.json +0 -61
  49. {tccli-3.0.1318.1.dist-info → tccli-3.0.1320.1.dist-info}/WHEEL +0 -0
  50. {tccli-3.0.1318.1.dist-info → tccli-3.0.1320.1.dist-info}/entry_points.txt +0 -0
  51. {tccli-3.0.1318.1.dist-info → tccli-3.0.1320.1.dist-info}/license_files/LICENSE +0 -0
@@ -736,7 +736,7 @@
736
736
  {
737
737
  "disabled": false,
738
738
  "document": "集群字符串ID",
739
- "example": "emr-xxx",
739
+ "example": "emr-o88f3whr",
740
740
  "member": "string",
741
741
  "name": "InstanceId",
742
742
  "required": true,
@@ -745,7 +745,7 @@
745
745
  {
746
746
  "disabled": false,
747
747
  "document": "用户信息列表",
748
- "example": "[{\"UserName\":\"user1\",\"UserGroup\":\"group1\",\"PassWord\":\"123456\"}]",
748
+ "example": "",
749
749
  "member": "UserInfoForUserManager",
750
750
  "name": "UserManagerUserList",
751
751
  "required": true,
@@ -760,7 +760,7 @@
760
760
  {
761
761
  "disabled": false,
762
762
  "document": "添加成功的用户列表\n注意:此字段可能返回 null,表示取不到有效值。",
763
- "example": "[\"123\"]",
763
+ "example": "[\"user1\"]",
764
764
  "member": "string",
765
765
  "name": "SuccessUserList",
766
766
  "output_required": true,
@@ -770,7 +770,7 @@
770
770
  {
771
771
  "disabled": false,
772
772
  "document": "添加失败的用户列表\n注意:此字段可能返回 null,表示取不到有效值。",
773
- "example": "[\"123\"]",
773
+ "example": "",
774
774
  "member": "string",
775
775
  "name": "FailedUserList",
776
776
  "output_required": true,
@@ -4097,7 +4097,7 @@
4097
4097
  {
4098
4098
  "disabled": false,
4099
4099
  "document": "集群实例ID",
4100
- "example": "emr-xxx",
4100
+ "example": "emr-o88f3whr",
4101
4101
  "member": "string",
4102
4102
  "name": "InstanceId",
4103
4103
  "required": true,
@@ -4106,7 +4106,7 @@
4106
4106
  {
4107
4107
  "disabled": false,
4108
4108
  "document": "集群用户名列表",
4109
- "example": "[\"emr\", \"es\"]",
4109
+ "example": "[\"user1\"]",
4110
4110
  "member": "string",
4111
4111
  "name": "UserNameList",
4112
4112
  "required": false,
@@ -19,9 +19,9 @@
19
19
  "AddUsersForUserManager": [
20
20
  {
21
21
  "document": "",
22
- "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUsersForUserManager\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-dadda\",\n \"UserManagerUserList\": [\n {\n \"UserName\": \"test1\",\n \"UserGroup\": \"test1\",\n \"PassWord\": \"test1\",\n \"ReMark\": \"test1\"\n },\n {\n \"UserName\": \"test2\",\n \"UserGroup\": \"test2\",\n \"PassWord\": \"test2\",\n \"ReMark\": \"test2\"\n },\n {\n \"UserName\": \"test3\",\n \"UserGroup\": \"test3\",\n \"PassWord\": \"test3\",\n \"ReMark\": \"test3\"\n },\n {\n \"UserName\": \"test4\",\n \"UserGroup\": \"test4\",\n \"PassWord\": \"test4\",\n \"ReMark\": \"test4\"\n }\n ]\n}",
23
- "output": "{\n \"Response\": {\n \"FailedUserList\": [],\n \"RequestId\": \"782d3570-9f82-4bff-974a-17cf684fdfe9\",\n \"SuccessUserList\": [\n \"test1\",\n \"test2\",\n \"test3\",\n \"test4\"\n ]\n }\n}",
24
- "title": "test"
22
+ "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUsersForUserManager\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-o88f3whr\",\n \"UserManagerUserList\": [\n {\n \"UserName\": \"user1\",\n \"UserGroup\": \"group1\",\n \"PassWord\": \"ceshi123\",\n \"ReMark\": \"ceshi\",\n \"Groups\": [\n \"group1\"\n ]\n }\n ]\n}",
23
+ "output": "{\n \"Response\": {\n \"FailedUserList\": [],\n \"RequestId\": \"69048737-8f4f-4825-b4f6-a67dbf3f198c\",\n \"SuccessUserList\": [\n \"user1\"\n ]\n }\n}",
24
+ "title": "新增用户"
25
25
  }
26
26
  ],
27
27
  "AttachDisks": [
@@ -82,10 +82,10 @@
82
82
  ],
83
83
  "DeleteUserManagerUserList": [
84
84
  {
85
- "document": "test",
86
- "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserManagerUserList\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-test\",\n \"UserNameList\": [\n \"userTest\"\n ]\n}",
87
- "output": "{\n \"Response\": {\n \"RequestId\": \"782d3570-9f82-4bff-974a-17cf684fdfx9\"\n }\n}",
88
- "title": "test"
85
+ "document": "",
86
+ "input": "POST / HTTP/1.1\nHost: emr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteUserManagerUserList\n<公共请求参数>\n\n{\n \"InstanceId\": \"emr-o88f3whr\",\n \"UserNameList\": [\n \"user1\"\n ],\n \"DeleteHomeDir\": true\n}",
87
+ "output": "{\n \"Response\": {\n \"RequestId\": \"49bcbf5a-f2e6-44fb-9aac-8bef6b107366\"\n }\n}",
88
+ "title": "删除用户"
89
89
  }
90
90
  ],
91
91
  "DeployYarnConf": [
@@ -7606,6 +7606,16 @@
7606
7606
  "output_required": true,
7607
7607
  "type": "int",
7608
7608
  "value_allowed_null": false
7609
+ },
7610
+ {
7611
+ "disabled": false,
7612
+ "document": "节点所在zone",
7613
+ "example": "ap-beijing-1",
7614
+ "member": "string",
7615
+ "name": "Zone",
7616
+ "output_required": false,
7617
+ "type": "string",
7618
+ "value_allowed_null": false
7609
7619
  }
7610
7620
  ],
7611
7621
  "usage": "out"
@@ -64,7 +64,7 @@
64
64
  "status": "online"
65
65
  },
66
66
  "CreateBatchQuickSignUrl": {
67
- "document": "该接口用于发起合同后,生成个人/企业用户的批量待办链接。\n**注意:**\n1. 该接口可生成签署人的批量、合同组签署/查看链接 。\n2. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。\n3. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。\n跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n4. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。",
67
+ "document": "该接口用于发起合同后,生成个人/企业用户的批量待办链接。\n**注意:**\n1. 该接口可生成签署人的批量、合同组签署/查看链接 。\n2. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。\n3. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。\n跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n4. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。\n5. H5签署现在仅支持中国大陆身份证和中国港澳台居民居住证。",
68
68
  "input": "CreateBatchQuickSignUrlRequest",
69
69
  "name": "获取H5批量签署或查看链接",
70
70
  "output": "CreateBatchQuickSignUrlResponse",
@@ -211,7 +211,7 @@
211
211
  "status": "online"
212
212
  },
213
213
  "CreateFlowSignUrl": {
214
- "document": "该接口用于发起合同后,生成用户的签署链接 <br/>\n\n**注意**\n1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。\n2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href=\"https://qian.tencent.com/developers/company/openqianh5/\">跳转电子签H5</a>。\n如需跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。",
214
+ "document": "该接口用于发起合同后,生成用户的签署链接 <br/>\n\n**注意**\n1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。\n2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href=\"https://qian.tencent.com/developers/company/openqianh5/\">跳转电子签H5</a>。\n如需跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。\n4. H5签署现在仅支持中国大陆身份证和中国港澳台居民居住证。",
215
215
  "input": "CreateFlowSignUrlRequest",
216
216
  "name": "获取H5签署链接",
217
217
  "output": "CreateFlowSignUrlResponse",
@@ -876,7 +876,7 @@
876
876
  },
877
877
  {
878
878
  "disabled": false,
879
- "document": "【在用文件发起合同场景下才有效,模板发起场景下需要在模板中配置】合同中的该名签署方的签署控件列表,列表中可支持下列多种签署控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li> 个人签名/印章</li>\n<li> 企业印章</li>\n<li> 骑缝章等签署控件</li></ul>",
879
+ "document": "【在用文件发起合同场景下才有效,模板发起场景下需要在模板中配置】合同中的该名签署方的签署控件列表,列表中可支持下列多种签署控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li> 个人签名/印章</li>\n<li> 企业印章</li>\n<li> 骑缝章等签署控件</li></ul>\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/91757a7f9188ccf3057a4a8979cf3f93.png)",
880
880
  "example": "无",
881
881
  "member": "Component",
882
882
  "name": "SignComponents",
@@ -1038,7 +1038,7 @@
1038
1038
  },
1039
1039
  {
1040
1040
  "disabled": false,
1041
- "document": "【在用文件发起合同场景下才有效,模板发起场景下需要在模板中配置】签署人在合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li>单行文本控件</li>\n<li>多行文本控件</li>\n<li>勾选框控件</li>\n<li>数字控件</li>\n<li>图片控件</li>\n</ul>\n\n具体使用说明可参考[为签署方指定填写控件](https://qian.tencent.cn/developers/company/createFlowByFiles/#指定签署方填写控件)\n\n注:`此参数仅在通过文件发起合同或者合同组时生效`",
1041
+ "document": "【在用文件发起合同场景下才有效,模板发起场景下需要在模板中配置】签署人在合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li>单行文本控件</li>\n<li>多行文本控件</li>\n<li>勾选框控件</li>\n<li>数字控件</li>\n<li>图片控件</li>\n</ul>\n\n具体使用说明可参考[为签署方指定填写控件](https://qian.tencent.cn/developers/company/createFlowByFiles/#指定签署方填写控件)\n\n注:`此参数仅在通过文件发起合同或者合同组时生效`\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/e004195ee4cb98a7f9bc12eb4a0a0b77.png)",
1042
1042
  "example": "无",
1043
1043
  "member": "Component",
1044
1044
  "name": "Components",
@@ -1440,7 +1440,7 @@
1440
1440
  },
1441
1441
  {
1442
1442
  "disabled": false,
1443
- "document": "是否回调证书信息:\n<ul><li>**false**: 不需要(默认)</li>\n<li>**true**:需要</li></ul>",
1443
+ "document": "是否回调证书信息:\n<ul><li>**false**: 不需要(默认)</li>\n<li>**true**:需要</li></ul>\n\n注:`该字段已经失效,请勿设置此参数。`",
1444
1444
  "example": "false",
1445
1445
  "member": "bool",
1446
1446
  "name": "CertInfoCallback",
@@ -1476,7 +1476,7 @@
1476
1476
  },
1477
1477
  {
1478
1478
  "disabled": false,
1479
- "document": "开通时候的身份验证方式, 取值为:\n<ul><li>**WEIXINAPP** : 微信人脸识别</li>\n<li>**INSIGHT** : 慧眼人脸认别</li>\n<li>**TELECOM** : 运营商三要素验证</li></ul>\n注:\n<ul><li>如果是小程序开通链接,支持传 WEIXINAPP / TELECOM。为空默认 WEIXINAPP</li>\n<li>如果是 H5 开通链接,支持传 INSIGHT / TELECOM。为空默认 INSIGHT </li></ul>",
1479
+ "document": "开通时候的身份验证方式, 取值为:\n<ul><li>**WEIXINAPP** : 微信人脸识别</li>\n<li>**INSIGHT** : 慧眼人脸识别</li>\n<li>**TELECOM** : 运营商三要素验证</li></ul>\n注:\n<ul><li>如果是小程序开通链接,支持传 WEIXINAPP / TELECOM。为空默认 WEIXINAPP</li>\n<li>如果是 H5 开通链接,支持传 INSIGHT / TELECOM。为空默认 INSIGHT </li></ul>",
1480
1480
  "example": "[\"WEIXINAPP\"]",
1481
1481
  "member": "string",
1482
1482
  "name": "VerifyChannels",
@@ -1485,7 +1485,7 @@
1485
1485
  },
1486
1486
  {
1487
1487
  "disabled": false,
1488
- "document": "设置用户自动签合同的扣费方式。\n\n<ul><li><b>1</b>: (默认)使用合同份额进行扣减</li></ul>",
1488
+ "document": "设置用户自动签合同的扣费方式。\n\n<ul><li><b>1</b>: (默认)使用合同份额进行扣减</li></ul>\n\n注:`该字段已经失效,请勿设置此参数。`",
1489
1489
  "example": "1",
1490
1490
  "member": "int64",
1491
1491
  "name": "LicenseType",
@@ -3925,7 +3925,7 @@
3925
3925
  },
3926
3926
  {
3927
3927
  "disabled": false,
3928
- "document": "发起的时候合成到PDF上的填写控件(需要提供填写控件的内容)\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 水印控件等 </li>\n</ul>",
3928
+ "document": "发起的时候合成到PDF上的填写控件(需要提供填写控件的内容)\n<ul><li> 单行文本控件 </li>\n<li> 多行文本控件 </li>\n<li> 勾选框控件 </li>\n<li> 数字控件 </li>\n<li> 图片控件 </li>\n<li> 水印控件等 </li>\n</ul>\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/e004195ee4cb98a7f9bc12eb4a0a0b77.png)",
3929
3929
  "example": "无",
3930
3930
  "member": "Component",
3931
3931
  "name": "Components",
@@ -11981,7 +11981,7 @@
11981
11981
  },
11982
11982
  {
11983
11983
  "disabled": false,
11984
- "document": "签署意愿确认渠道,默认为WEIXINAPP:人脸识别\n\n注: <font color=\"red\">将要废弃</font >, `用ApproverSignTypes签署人签署合同时的认证方式代替, 新客户可请用ApproverSignTypes来设置`",
11984
+ "document": "签署意愿确认渠道,默认为WEIXINAPP:人脸识别\n\n注: <font color=\"red\">不再使用</font >, `用ApproverSignTypes签署人签署合同时的认证方式代替, 新客户可请用ApproverSignTypes来设置`",
11985
11985
  "example": "[\"WEIXINAPP\"]",
11986
11986
  "member": "string",
11987
11987
  "name": "VerifyChannel",
@@ -12026,7 +12026,7 @@
12026
12026
  },
12027
12027
  {
12028
12028
  "disabled": false,
12029
- "document": "<font color=\"red\">字段已经废弃</font>,当前只支持true,默认为true",
12029
+ "document": "<font color=\"red\">字段不再使用</font>,当前只支持true,默认为true",
12030
12030
  "example": "true",
12031
12031
  "member": "bool",
12032
12032
  "name": "Required",
@@ -12053,7 +12053,7 @@
12053
12053
  },
12054
12054
  {
12055
12055
  "disabled": false,
12056
- "document": "已经废弃, 快速注册相关信息",
12056
+ "document": "<font color=\"red\">不再使用</font >, 快速注册相关信息",
12057
12057
  "example": "无",
12058
12058
  "member": "RegisterInfo",
12059
12059
  "name": "RegisterInfo",
@@ -728,10 +728,10 @@
728
728
  "title": "创建个人用户H5签署链接"
729
729
  },
730
730
  {
731
- "document": "发起流程后,给其中的B端签署人创建签署链接",
732
- "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"FlowApproverInfos\": [\n {\n \"ApproverType\": 0,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"OrganizationName\": \"***有限公司\"\n }\n ],\n \"FlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\"\n}",
733
- "output": "{\n \"Response\": {\n \"FlowApproverUrlInfos\": [\n {\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverType\": 0,\n \"LongUrl\": \"https://quick.test.qian.tencent.cn/home?ApproverIdCardNumber=Mi**Kio2&ApproverMobile=MTk***NjA%3D&ApproverName=%25**A&ApproverType=0&Code=yDwJCUUck****V2R5K&CodeType=QUICK&FlowId=yDwF**1f3cqjkGm&ShowHeader=1&shortKey=yDwq5**M5GlG1c&token=bR8**HA\",\n \"SignUrl\": \"https://essurl.cn/bR8**HA\"\n }\n ],\n \"RequestId\": \"s1693832180480950012\"\n }\n}",
734
- "title": "创建企业用户H5签署链接"
731
+ "document": "发起流程后,给其中的C端签署人创建签署链接。\n同时指定其签署时候的认证方式为人脸和密码签署且按照设置的顺序进行推荐,签署认证方式仅此链接生效。",
732
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"FlowApproverInfos\": [\n {\n \"ApproverType\": 1,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverSignTypes\": [\n 1,\n 2\n ],\n \"SignTypeSelector\": 1\n }\n ],\n \"FlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\"\n}",
733
+ "output": "{\n \"Response\": {\n \"FlowApproverUrlInfos\": [\n {\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverType\": 1,\n \"LongUrl\": \"https://quick.test.qian.tencent.cn/home?ApproverIdCardNumber=Mi**Kio2&ApproverMobile=MTk***NjA%3D&ApproverName=%25**A&ApproverType=1&Code=yDwJCUUck****V2R5K&CodeType=QUICK&FlowId=yDwF**1f3cqjkGm&ShowHeader=1&shortKey=yDwq5**M5GlG1c&token=bR8**HA\",\n \"SignUrl\": \"https://essurl.cn/bR8**HA\"\n }\n ],\n \"RequestId\": \"s1693832180480950012\"\n }\n}",
734
+ "title": "创建个人用户H5签署链接-重新指定认证方式"
735
735
  },
736
736
  {
737
737
  "document": "发起流程后,给其中的B端签署人创建预览链接",
@@ -745,6 +745,12 @@
745
745
  "output": "{\n \"Response\": {\n \"FlowApproverUrlInfos\": [\n {\n \"ApproverMobile\": \"\",\n \"ApproverName\": \"\",\n \"ApproverType\": 0,\n \"LongUrl\": \"https://quick.test.qian.tencent.cn/home?ApproverIdCardNumber=Mi**Kio2&ApproverMobile=MTk***NjA%3D&ApproverName=%25**A&PreviewType=2&Code=yDwJCUUck****V2R5K&CodeType=QUICK&FlowId=yDwF**1f3cqjkGm&ShowHeader=1&shortKey=yDwq5**M5GlG1c&token=bR8**HA\",\n \"SignUrl\": \"https://essurl.cn/bR8**HA\"\n }\n ],\n \"RequestId\": \"s1693832180480950012\"\n }\n}",
746
746
  "title": "创建合同发起方预览链接"
747
747
  },
748
+ {
749
+ "document": "发起流程后,给其中的B端签署人创建签署链接",
750
+ "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"FlowApproverInfos\": [\n {\n \"ApproverType\": 0,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"OrganizationName\": \"***有限公司\"\n }\n ],\n \"FlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\"\n}",
751
+ "output": "{\n \"Response\": {\n \"FlowApproverUrlInfos\": [\n {\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverType\": 0,\n \"LongUrl\": \"https://quick.test.qian.tencent.cn/home?ApproverIdCardNumber=Mi**Kio2&ApproverMobile=MTk***NjA%3D&ApproverName=%25**A&ApproverType=0&Code=yDwJCUUck****V2R5K&CodeType=QUICK&FlowId=yDwF**1f3cqjkGm&ShowHeader=1&shortKey=yDwq5**M5GlG1c&token=bR8**HA\",\n \"SignUrl\": \"https://essurl.cn/bR8**HA\"\n }\n ],\n \"RequestId\": \"s1693832180480950012\"\n }\n}",
752
+ "title": "创建企业用户H5签署链接"
753
+ },
748
754
  {
749
755
  "document": "发起流程后,给其中的C端签署人创建签署链接,并且使用视频认证方式",
750
756
  "input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFlowSignUrl\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n },\n \"FlowApproverInfos\": [\n {\n \"ApproverType\": 1,\n \"ApproverMobile\": \"13200000000\",\n \"ApproverName\": \"典子谦\",\n \"ApproverSignTypes\": [\n 1\n ],\n \"Intention\": {\n \"IntentionType\": 1,\n \"IntentionQuestions\": [\n {\n \"Question\": \"请问,您是否同意签署本协议?可语音回复“同意”或“不同意”。\",\n \"Answers\": [\n \"同意\",\n \"我同意\"\n ]\n }\n ]\n }\n }\n ],\n \"FlowId\": \"yDwFmUUckpstqfvzUE1h3jo1f3cqjkGm\"\n}",
@@ -43,7 +43,7 @@
43
43
  "status": "online"
44
44
  },
45
45
  "ChannelCreateBatchQuickSignUrl": {
46
- "document": "该接口用于发起合同后,生成个人/企业用户的批量待办链接。\n**注意:**\n1. 该接口可生成签署人的批量、合同组签署/查看链接 。\n2. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。\n4. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。\n跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n6. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。",
46
+ "document": "该接口用于发起合同后,生成个人/企业用户的批量待办链接。\n**注意:**\n1. 该接口可生成签署人的批量、合同组签署/查看链接 。\n2. 该签署链接**有效期为30分钟**,过期后将失效,如需签署可重新创建批量签署链接 。\n4. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。\n跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n6. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。\n7. H5签署现在仅支持中国大陆身份证和中国港澳台居民居住证。",
47
47
  "input": "ChannelCreateBatchQuickSignUrlRequest",
48
48
  "name": "获取H5批量签署或查看链接",
49
49
  "output": "ChannelCreateBatchQuickSignUrlResponse",
@@ -127,7 +127,7 @@
127
127
  "status": "online"
128
128
  },
129
129
  "ChannelCreateFlowSignUrl": {
130
- "document": "该接口用于发起合同后,生成用户的签署链接 <br/>\n\n**注意**\n1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。\n2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href=\"https://qian.tencent.com/developers/company/openqianh5/\">跳转电子签H5</a>。\n如需跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。",
130
+ "document": "该接口用于发起合同后,生成用户的签署链接 <br/>\n\n**注意**\n1. 该签署**链接有效期为30分钟**,过期后将失效,如需签署可重新创建签署链接 。\n2. 该接口返回的签署链接适用于APP集成的场景,支持APP打开或浏览器直接打开,**不支持微信小程序嵌入**。配置方式请参考:<a href=\"https://qian.tencent.com/developers/company/openqianh5/\">跳转电子签H5</a>。\n如需跳转到小程序的实现,参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式),如何配置也可以请参考: <a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n3. 因h5涉及人脸身份认证能力基于慧眼人脸核身,对Android和iOS系统均有一定要求, 因此<font color='red'>App嵌入H5签署合同需要按照慧眼提供的<a href=\"https://cloud.tencent.com/document/product/1007/61076\">慧眼人脸核身兼容性文档</a>做兼容性适配</font>。\n4. H5签署现在仅支持中国大陆身份证和中国港澳台居民居住证。",
131
131
  "input": "ChannelCreateFlowSignUrlRequest",
132
132
  "name": "获取用户H5签署链接",
133
133
  "output": "ChannelCreateFlowSignUrlResponse",
@@ -1046,7 +1046,7 @@
1046
1046
  },
1047
1047
  {
1048
1048
  "disabled": false,
1049
- "document": "是否回调证书信息:\n<ul><li>**false**: 不需要(默认)</li>\n<li>**true**:需要</li></ul>",
1049
+ "document": "是否回调证书信息:\n<ul><li>**false**: 不需要(默认)</li>\n<li>**true**:需要</li></ul>\n\n\n注:`该字段已经失效,请勿设置此参数。`",
1050
1050
  "example": "true",
1051
1051
  "member": "bool",
1052
1052
  "name": "CertInfoCallback",
@@ -1082,7 +1082,7 @@
1082
1082
  },
1083
1083
  {
1084
1084
  "disabled": false,
1085
- "document": "开通时候的身份验证方式, 取值为:\n<ul><li>**WEIXINAPP** : 微信人脸识别</li>\n<li>**INSIGHT** : 慧眼人脸认别</li>\n<li>**TELECOM** : 运营商三要素验证</li></ul>\n注:\n<ul><li>如果是小程序开通链接,支持传 WEIXINAPP / TELECOM。为空默认 WEIXINAPP</li>\n<li>如果是 H5 开通链接,支持传 INSIGHT / TELECOM。为空默认 INSIGHT </li></ul>",
1085
+ "document": "开通时候的身份验证方式, 取值为:\n<ul><li>**WEIXINAPP** : 微信人脸识别</li>\n<li>**INSIGHT** : 慧眼人脸识别</li>\n<li>**TELECOM** : 运营商三要素验证</li></ul>\n注:\n<ul><li>如果是小程序开通链接,支持传 WEIXINAPP / TELECOM。为空默认 WEIXINAPP</li>\n<li>如果是 H5 开通链接,支持传 INSIGHT / TELECOM。为空默认 INSIGHT </li></ul>",
1086
1086
  "example": "[\"TELECOM\"]",
1087
1087
  "member": "string",
1088
1088
  "name": "VerifyChannels",
@@ -1091,7 +1091,7 @@
1091
1091
  },
1092
1092
  {
1093
1093
  "disabled": false,
1094
- "document": "设置用户开通自动签时是否绑定个人自动签账号许可。\n\n<ul><li><b>1</b>: (默认)不绑定自动签账号许可开通,开通后一直有效, 后续使用合同份额进行合同发起</li></ul>",
1094
+ "document": "设置用户开通自动签时是否绑定个人自动签账号许可。\n\n<ul><li><b>1</b>: (默认)不绑定自动签账号许可开通,开通后一直有效, 后续使用合同份额进行合同发起</li></ul>\n\n注:`该字段已经失效,请勿设置此参数。`",
1095
1095
  "example": "1",
1096
1096
  "member": "int64",
1097
1097
  "name": "LicenseType",
@@ -2526,7 +2526,7 @@
2526
2526
  },
2527
2527
  {
2528
2528
  "disabled": false,
2529
- "document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li>单行文本控件</li>\n<li>多行文本控件</li>\n<li>勾选框控件</li>\n<li>数字控件</li>\n<li>图片控件</li>\n<li>数据表格等填写控件</li></ul>",
2529
+ "document": "模板或者合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li>单行文本控件</li>\n<li>多行文本控件</li>\n<li>勾选框控件</li>\n<li>数字控件</li>\n<li>图片控件</li>\n<li>数据表格等填写控件</li></ul>\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/e004195ee4cb98a7f9bc12eb4a0a0b77.png)",
2530
2530
  "example": "无",
2531
2531
  "member": "Component",
2532
2532
  "name": "Components",
@@ -10287,7 +10287,7 @@
10287
10287
  },
10288
10288
  {
10289
10289
  "disabled": false,
10290
- "document": "使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID: <br/>通过ComponentId或ComponenetName指定签署控件,ComponentValue为印章ID",
10290
+ "document": "使用PDF文件直接发起合同时,签署人指定的签署控件;<br/>使用模板发起合同时,指定本企业印章签署控件的印章ID: <br/>通过ComponentId或ComponenetName指定签署控件,ComponentValue为印章ID。\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/91757a7f9188ccf3057a4a8979cf3f93.png)",
10291
10291
  "example": "无",
10292
10292
  "member": "Component",
10293
10293
  "name": "SignComponents",
@@ -10404,7 +10404,7 @@
10404
10404
  },
10405
10405
  {
10406
10406
  "disabled": false,
10407
- "document": "签署人在合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li>单行文本控件</li>\n<li>多行文本控件</li>\n<li>勾选框控件</li>\n<li>数字控件</li>\n<li>图片控件</li>\n<li>数据表格等填写控件</li></ul>\n\n具体使用说明可参考[为签署方指定填写控件](https://qian.tencent.cn/developers/partner/createFlowByFiles#为签署方指定填写控件)\n\n\n注:`此参数仅在通过文件发起合同或者合同组时生效`",
10407
+ "document": "签署人在合同中的填写控件列表,列表中可支持下列多种填写控件,控件的详细定义参考开发者中心的Component结构体\n<ul><li>单行文本控件</li>\n<li>多行文本控件</li>\n<li>勾选框控件</li>\n<li>数字控件</li>\n<li>图片控件</li>\n<li>数据表格等填写控件</li></ul>\n\n具体使用说明可参考[为签署方指定填写控件](https://qian.tencent.cn/developers/partner/createFlowByFiles#为签署方指定填写控件)\n\n注:`此参数仅在通过文件发起合同或者合同组时生效`\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/e004195ee4cb98a7f9bc12eb4a0a0b77.png)",
10408
10408
  "example": "无",
10409
10409
  "member": "Component",
10410
10410
  "name": "Components",
@@ -18573,6 +18573,16 @@
18573
18573
  "output_required": true,
18574
18574
  "type": "string",
18575
18575
  "value_allowed_null": false
18576
+ },
18577
+ {
18578
+ "disabled": false,
18579
+ "document": "关键帧间隔 GOP ,单位:ms。",
18580
+ "example": "2000",
18581
+ "member": "int64",
18582
+ "name": "GopSize",
18583
+ "output_required": false,
18584
+ "type": "int",
18585
+ "value_allowed_null": false
18576
18586
  }
18577
18587
  ],
18578
18588
  "usage": "out"
@@ -14287,7 +14287,7 @@
14287
14287
  },
14288
14288
  {
14289
14289
  "disabled": false,
14290
- "document": "文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为1 <br> 请注意,opt=1的时候请从知识引擎页面下载excel模板",
14290
+ "document": "文档操作类型:1:批量导入(批量导入问答对);2:文档导入(正常导入单个文档) 默认为1 <br> 请注意,opt=1的时候请从腾讯云智能体开发平台页面下载excel模板",
14291
14291
  "example": "无",
14292
14292
  "member": "uint64",
14293
14293
  "name": "Opt",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "ChatCompletions": {
4
- "document": "### 接口功能\n\n调用接口,发起一次对话请求。单账号限制接口并发上限为100。\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)\n - DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。\n - 支持64K上下文长度,最大输出16k。\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-Prover-V2 模型 | 暂不计费\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
4
+ "document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云大模型知识引擎](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-Prover-V2(model 参数值为**deepseek-prover-v2**)\n - DeepSeek-Prover-V2 为671B 参数 MoE 模型,在数学定理证明和复杂计算任务中表现出色。\n - 支持64K上下文长度,最大输出16k。\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://lke.cloud.tencent.com/lke#/app/system/charge/postpaid)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-Prover-V2 模型 | 暂不计费\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
5
5
  "input": "ChatCompletionsRequest",
6
6
  "name": "DeepSeek API 接口",
7
7
  "output": "ChatCompletionsResponse",
@@ -15724,32 +15724,29 @@
15724
15724
  {
15725
15725
  "disabled": false,
15726
15726
  "document": "维度",
15727
- "example": "",
15727
+ "example": "vm_uuid",
15728
15728
  "member": "string",
15729
15729
  "name": "Key",
15730
15730
  "required": true,
15731
- "type": "string",
15732
- "value_allowed_null": false
15731
+ "type": "string"
15733
15732
  },
15734
15733
  {
15735
15734
  "disabled": false,
15736
- "document": "操作符,支持等于(eq)、不等于(ne),以及in",
15737
- "example": "",
15735
+ "document": "操作符,支持=、in",
15736
+ "example": "=",
15738
15737
  "member": "string",
15739
15738
  "name": "Operator",
15740
15739
  "required": true,
15741
- "type": "string",
15742
- "value_allowed_null": false
15740
+ "type": "string"
15743
15741
  },
15744
15742
  {
15745
15743
  "disabled": false,
15746
- "document": "维度值,当Op是eq、ne时,只使用第一个元素",
15747
- "example": "",
15744
+ "document": "维度值,当Op是=时,只使用第一个元素",
15745
+ "example": "dsdsedcsd",
15748
15746
  "member": "string",
15749
15747
  "name": "Value",
15750
15748
  "required": true,
15751
- "type": "list",
15752
- "value_allowed_null": false
15749
+ "type": "list"
15753
15750
  }
15754
15751
  ],
15755
15752
  "usage": "in"
@@ -862,7 +862,7 @@
862
862
  "status": "online"
863
863
  },
864
864
  "ProcessImage": {
865
- "document": "发起图片处理,功能包括:\n1. 格式转换;\n2. 图像增强;",
865
+ "document": "发起图片处理,功能包括:\n1. 格式转换;\n2. 图像增强;\n3. 图像擦除;",
866
866
  "input": "ProcessImageRequest",
867
867
  "name": "发起图片处理",
868
868
  "output": "ProcessImageResponse",
@@ -6497,7 +6497,7 @@
6497
6497
  },
6498
6498
  {
6499
6499
  "disabled": false,
6500
- "document": "当前热词库状态,数值表示绑定该热词库的智能字幕模板数量。\nStatus 为 0 ,表示该热词库没有被智能字幕模版引用可以删除;\nStatus 不为 0,表示该热词库不能被删除。\n注意:此字段可能返回 null,表示取不到有效值。",
6500
+ "document": "当前热词库状态,数值表示绑定该热词库的智能字幕模板数量。\nStatus 为 0 ,表示该热词库没有被智能字幕模板引用可以删除;\nStatus 不为 0,表示该热词库不能被删除。\n注意:此字段可能返回 null,表示取不到有效值。",
6501
6501
  "example": "1",
6502
6502
  "member": "uint64",
6503
6503
  "name": "Status",
@@ -17128,7 +17128,7 @@
17128
17128
  {
17129
17129
  "disabled": false,
17130
17130
  "document": "用户自定义人物过滤标签,指定需要返回的用户自定义人物的标签。如果未填或者为空,则全部自定义人物结果都返回。\n标签个数最多 100 个,每个标签长度最多 16 个字符。",
17131
- "example": "[\"张三\"]",
17131
+ "example": "[\"artist\"]",
17132
17132
  "member": "string",
17133
17133
  "name": "UserDefineLibraryLabelSet",
17134
17134
  "output_required": true,
@@ -17183,7 +17183,7 @@
17183
17183
  {
17184
17184
  "disabled": false,
17185
17185
  "document": "用户自定义人物过滤标签,指定需要返回的用户自定义人物的标签。如果未填或者为空,则全部自定义人物结果都返回。\n标签个数最多 100 个,每个标签长度最多 16 个字符。",
17186
- "example": "[\"张三\"]",
17186
+ "example": "[\"artist\"]",
17187
17187
  "member": "string",
17188
17188
  "name": "UserDefineLibraryLabelSet",
17189
17189
  "required": false,
@@ -18371,7 +18371,7 @@
18371
18371
  "members": [
18372
18372
  {
18373
18373
  "disabled": false,
18374
- "document": "图片框选区域类型,可选值:\n<li>logo:图标;</li>\n<li>text:文字。</li>\n默认值:logo。\n注意:此字段可能返回 null,表示取不到有效值。",
18374
+ "document": "图片框选区域类型,可选值:\n<li>logo:图标;</li>\n<li>text:文字;</li>\n默认值:logo。\n注意:此字段可能返回 null,表示取不到有效值。",
18375
18375
  "example": "logo",
18376
18376
  "member": "string",
18377
18377
  "name": "Type",
@@ -18390,6 +18390,17 @@
18390
18390
  "required": false,
18391
18391
  "type": "list",
18392
18392
  "value_allowed_null": true
18393
+ },
18394
+ {
18395
+ "disabled": false,
18396
+ "document": "图片框选区域坐标,[x1, y1, x2, y2],即左上角坐标、右下角坐标, 当AreaCoordSet未指定时生效。\n- [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1)\n- [50, 50, 350, 280] : 表示像素 (数值大于等于1)\n注意:此字段可能返回 null,表示取不到有效值。",
18397
+ "example": "[0.1, 0.1, 0.2, 0.2]",
18398
+ "member": "float",
18399
+ "name": "BoundingBox",
18400
+ "output_required": false,
18401
+ "required": false,
18402
+ "type": "list",
18403
+ "value_allowed_null": true
18393
18404
  }
18394
18405
  ],
18395
18406
  "usage": "both"
@@ -23284,7 +23295,7 @@
23284
23295
  "members": [
23285
23296
  {
23286
23297
  "disabled": false,
23287
- "document": "热词库 id \n如果热词库是文本热词:Name 和 Content 至少填一个 \n如果热词库是:Name、FileContent 和 FileName 至少填一个 \n",
23298
+ "document": "热词库 id \n如果热词库是临时热词:Name 和 Content 至少填一个 \n如果热词库是文件热词:Name、FileContent 和 FileName 至少填一个 \n",
23288
23299
  "example": "hwd-aexxxxxxxxxxxxxx1481",
23289
23300
  "member": "string",
23290
23301
  "name": "HotwordsId",
@@ -26240,7 +26251,7 @@
26240
26251
  {
26241
26252
  "disabled": false,
26242
26253
  "document": "图片处理生成的文件输出的路径。如果不填表示与 InputInfo 中文件所在的目录一致。如果是目录,如`/image/201907/`,表示继承原文件名输出到该目录。",
26243
- "example": "",
26254
+ "example": "/image/",
26244
26255
  "member": "string",
26245
26256
  "name": "OutputDir",
26246
26257
  "required": false,
@@ -29504,7 +29515,7 @@
29504
29515
  {
29505
29516
  "disabled": false,
29506
29517
  "document": "智能字幕模板名称\n注意:此字段可能返回 null,表示取不到有效值。",
29507
- "example": "模版1",
29518
+ "example": "模板1",
29508
29519
  "member": "string",
29509
29520
  "name": "Name",
29510
29521
  "output_required": false,
@@ -29514,7 +29525,7 @@
29514
29525
  {
29515
29526
  "disabled": false,
29516
29527
  "document": "智能字幕模板描述信息\n注意:此字段可能返回 null,表示取不到有效值。",
29517
- "example": "用于A的模版",
29528
+ "example": "用于A的模板",
29518
29529
  "member": "string",
29519
29530
  "name": "Comment",
29520
29531
  "output_required": false,
@@ -1170,6 +1170,12 @@
1170
1170
  "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ProcessImage\n<公共请求参数>\n\n{\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\",\n \"Object\": \"/image/test.png\"\n }\n },\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\"\n }\n },\n \"ImageTask\": {\n \"EncodeConfig\": {\n \"Format\": \"jpeg\",\n \"Quality\": 75\n },\n \"EnhanceConfig\": {\n \"SuperResolution\": {\n \"Switch\": \"ON\"\n }\n }\n }\n}",
1171
1171
  "output": "{\n \"Response\": {\n \"RequestId\": \"03b25aab-8883-497e-838f-d760c3e220f6\",\n \"TaskId\": \"3pg2p4jEfbFHYo2rgB0Kzl0esg4NeBItcZyllxO4HNJXdNeRUhk9GjDMjCj1auPv\"\n }\n}",
1172
1172
  "title": "发起图片增强"
1173
+ },
1174
+ {
1175
+ "document": "发起图片擦除",
1176
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ProcessImage\n<公共请求参数>\n\n{\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\",\n \"Object\": \"/image/test.png\"\n }\n },\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"bucket-test\",\n \"Region\": \"ap-shanghai\"\n }\n },\n \"ImageTask\": {\n \"EncodeConfig\": {\n \"Format\": \"jpeg\",\n \"Quality\": 75\n },\n \"EraseConfig\": {\n \"ImageEraseLogo\": {\n \"Switch\": \"ON\",\n \"ImageAreaBoxes\": [\n {\n \"Type\": \"logo\",\n \"AreaCoordSet\": [\n 101,\n 85,\n 111,\n 95\n ]\n }\n ]\n }\n }\n }\n}",
1177
+ "output": "{\n \"Response\": {\n \"RequestId\": \"03b25aab-8883-497e-838f-d760c3e220f6\",\n \"TaskId\": \"3pg2p4jEfbFHYo2rgB0Kzl0esg4NeBItcZyllxO4HNJXdNeRUhk9GjDMjCj1auPv\"\n }\n}",
1178
+ "title": "发起图片擦除"
1173
1179
  }
1174
1180
  ],
1175
1181
  "ProcessLiveStream": [