tccli 3.0.1150.1__py2.py3-none-any.whl → 3.0.1152.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/asr/v20190614/api.json +2 -2
  4. tccli/services/cbs/cbs_client.py +61 -8
  5. tccli/services/cbs/v20170312/api.json +64 -0
  6. tccli/services/cbs/v20170312/examples.json +8 -0
  7. tccli/services/ccc/v20200210/api.json +2 -2
  8. tccli/services/cdc/v20201214/api.json +101 -20
  9. tccli/services/cdc/v20201214/examples.json +1 -1
  10. tccli/services/cdz/__init__.py +4 -0
  11. tccli/services/cdz/cdz_client.py +248 -0
  12. tccli/services/cdz/v20221123/api.json +305 -0
  13. tccli/services/cdz/v20221123/examples.json +21 -0
  14. tccli/services/clb/v20180317/api.json +9 -0
  15. tccli/services/cvm/v20170312/api.json +10 -10
  16. tccli/services/cynosdb/v20190107/api.json +1 -1
  17. tccli/services/dasb/v20191018/api.json +5 -4
  18. tccli/services/dlc/v20210125/api.json +19 -1
  19. tccli/services/dlc/v20210125/examples.json +1 -1
  20. tccli/services/es/v20180416/api.json +19 -1
  21. tccli/services/es/v20180416/examples.json +1 -1
  22. tccli/services/ess/v20201111/api.json +4 -4
  23. tccli/services/essbasic/v20210526/api.json +2 -2
  24. tccli/services/essbasic/v20210526/examples.json +1 -1
  25. tccli/services/facefusion/v20220927/api.json +8 -8
  26. tccli/services/gaap/v20180529/api.json +22 -2
  27. tccli/services/gaap/v20180529/examples.json +1 -1
  28. tccli/services/hunyuan/hunyuan_client.py +65 -12
  29. tccli/services/hunyuan/v20230901/api.json +99 -0
  30. tccli/services/hunyuan/v20230901/examples.json +8 -0
  31. tccli/services/lcic/v20220817/api.json +19 -1
  32. tccli/services/lke/v20231130/api.json +1 -1
  33. tccli/services/monitor/v20180724/api.json +109 -94
  34. tccli/services/monitor/v20180724/examples.json +7 -7
  35. tccli/services/mps/v20190612/api.json +37 -35
  36. tccli/services/mps/v20190612/examples.json +19 -7
  37. tccli/services/tdmq/tdmq_client.py +163 -4
  38. tccli/services/tdmq/v20200217/api.json +279 -0
  39. tccli/services/tdmq/v20200217/examples.json +24 -0
  40. tccli/services/tsi/v20210325/api.json +1 -1
  41. tccli/services/vpc/v20170312/api.json +1573 -157
  42. tccli/services/vpc/v20170312/examples.json +104 -0
  43. tccli/services/vpc/vpc_client.py +1974 -1285
  44. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/METADATA +2 -2
  45. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/RECORD +48 -44
  46. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/WHEEL +0 -0
  47. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/entry_points.txt +0 -0
  48. {tccli-3.0.1150.1.dist-info → tccli-3.0.1152.1.dist-info}/license_files/LICENSE +0 -0
@@ -34,6 +34,13 @@
34
34
  "name": "提交混元生图任务",
35
35
  "output": "SubmitHunyuanImageJobResponse",
36
36
  "status": "online"
37
+ },
38
+ "TextToImageLite": {
39
+ "document": "文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。\n文生图轻量版默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
40
+ "input": "TextToImageLiteRequest",
41
+ "name": "文生图轻量版",
42
+ "output": "TextToImageLiteResponse",
43
+ "status": "online"
37
44
  }
38
45
  },
39
46
  "metadata": {
@@ -202,6 +209,16 @@
202
209
  "type": "object",
203
210
  "value_allowed_null": true
204
211
  },
212
+ {
213
+ "disabled": false,
214
+ "document": "多轮会话风险审核,值为1时,表明存在信息安全风险,建议终止客户多轮会话。",
215
+ "example": "1",
216
+ "member": "string",
217
+ "name": "ModerationLevel",
218
+ "output_required": false,
219
+ "type": "string",
220
+ "value_allowed_null": false
221
+ },
205
222
  {
206
223
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
207
224
  "member": "string",
@@ -762,6 +779,88 @@
762
779
  ],
763
780
  "type": "object"
764
781
  },
782
+ "TextToImageLiteRequest": {
783
+ "document": "TextToImageLite请求参数结构体",
784
+ "members": [
785
+ {
786
+ "disabled": false,
787
+ "document": "文本描述。\n算法将根据输入的文本智能生成与之相关的图像。建议详细描述画面主体、细节、场景等,文本描述越丰富,生成效果越精美。\n不能为空,推荐使用中文。最多可传256个 utf-8 字符。",
788
+ "example": "雨中, 竹林, 小路",
789
+ "member": "string",
790
+ "name": "Prompt",
791
+ "required": true,
792
+ "type": "string"
793
+ },
794
+ {
795
+ "disabled": false,
796
+ "document": "反向文本描述。\n用于一定程度上从反面引导模型生成的走向,减少生成结果中出现描述内容的可能,但不能完全杜绝。\n推荐使用中文。最多可传256个 utf-8 字符。",
797
+ "example": "无",
798
+ "member": "string",
799
+ "name": "NegativePrompt",
800
+ "required": false,
801
+ "type": "string"
802
+ },
803
+ {
804
+ "disabled": false,
805
+ "document": "绘画风格。\n请在 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249) 中选择期望的风格,传入风格编号。\n推荐使用且只使用一种风格。不传默认使用201(日系动漫风格)。",
806
+ "example": "无",
807
+ "member": "string",
808
+ "name": "Style",
809
+ "required": false,
810
+ "type": "string"
811
+ },
812
+ {
813
+ "disabled": false,
814
+ "document": "生成图分辨率。\n支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。",
815
+ "example": "无",
816
+ "member": "string",
817
+ "name": "Resolution",
818
+ "required": false,
819
+ "type": "string"
820
+ },
821
+ {
822
+ "disabled": false,
823
+ "document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按0处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
824
+ "example": "无",
825
+ "member": "int64",
826
+ "name": "LogoAdd",
827
+ "required": false,
828
+ "type": "int"
829
+ },
830
+ {
831
+ "disabled": false,
832
+ "document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。",
833
+ "example": "base64",
834
+ "member": "string",
835
+ "name": "RspImgType",
836
+ "required": false,
837
+ "type": "string"
838
+ }
839
+ ],
840
+ "type": "object"
841
+ },
842
+ "TextToImageLiteResponse": {
843
+ "document": "TextToImageLite返回参数结构体",
844
+ "members": [
845
+ {
846
+ "disabled": false,
847
+ "document": "根据入参 RspImgType 填入不同,返回不同的内容。如果传入 base64 则返回生成图 Base64 编码。如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
848
+ "example": "url",
849
+ "member": "string",
850
+ "name": "ResultImage",
851
+ "output_required": true,
852
+ "type": "string",
853
+ "value_allowed_null": false
854
+ },
855
+ {
856
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
857
+ "member": "string",
858
+ "name": "RequestId",
859
+ "type": "string"
860
+ }
861
+ ],
862
+ "type": "object"
863
+ },
765
864
  "Tool": {
766
865
  "document": "用户指定模型使用的工具",
767
866
  "members": [
@@ -87,6 +87,14 @@
87
87
  "output": "{\n \"Response\": {\n \"JobId\": \"test\",\n \"RequestId\": \"d4e1f224-fa21-40bc-9ee7-4bb13abece6e\"\n }\n}",
88
88
  "title": "调用成功"
89
89
  }
90
+ ],
91
+ "TextToImageLite": [
92
+ {
93
+ "document": "成功调用,并返回生图url",
94
+ "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextToImageLite\n<公共请求参数>\n\n{\n \"Prompt\": \"冰川,企鹅\",\n \"RspImgType\": \"url\"\n}",
95
+ "output": "{\n \"Response\": {\n \"RequestId\": \"53549a10-0633-4ebe-bf39-466dc51aa2bb\",\n \"ResultImage\": \"https://rspimg.jpg\"\n }\n}",
96
+ "title": "成功调用"
97
+ }
90
98
  ]
91
99
  },
92
100
  "version": "1.0"
@@ -1766,6 +1766,15 @@
1766
1766
  "name": "RecordLang",
1767
1767
  "required": false,
1768
1768
  "type": "string"
1769
+ },
1770
+ {
1771
+ "disabled": false,
1772
+ "document": "录制类型 0 仅录制混流(默认) ;1 录制混流+单流,该模式下除混流录制基础上,分别录制老师、台上学生的音视频流,每路录制都会产生相应的录制费用 。示例:0",
1773
+ "example": "1",
1774
+ "member": "uint64",
1775
+ "name": "RecordStream",
1776
+ "required": false,
1777
+ "type": "int"
1769
1778
  }
1770
1779
  ],
1771
1780
  "type": "object"
@@ -3378,7 +3387,7 @@
3378
3387
  },
3379
3388
  {
3380
3389
  "disabled": false,
3381
- "document": "直播类型:0 常规(默认)1 伪直播",
3390
+ "document": "直播类型:0 常规(默认)1 伪直播 2 RTMP推流直播",
3382
3391
  "example": "0",
3383
3392
  "member": "uint64",
3384
3393
  "name": "LiveType",
@@ -6116,6 +6125,15 @@
6116
6125
  "name": "RecordLang",
6117
6126
  "required": false,
6118
6127
  "type": "string"
6128
+ },
6129
+ {
6130
+ "disabled": false,
6131
+ "document": "录制类型 0 仅录制混流(默认) ;1 录制混流+单流,该模式下除混流录制基础上,分别录制老师、台上学生的音视频流,每路录制都会产生相应的录制费用 。示例:0",
6132
+ "example": "1",
6133
+ "member": "uint64",
6134
+ "name": "RecordStream",
6135
+ "required": false,
6136
+ "type": "int"
6119
6137
  }
6120
6138
  ],
6121
6139
  "usage": "in"
@@ -274,7 +274,7 @@
274
274
  "status": "online"
275
275
  },
276
276
  "GetMsgRecord": {
277
- "document": "获取推荐问题",
277
+ "document": "获取聊天历史请求",
278
278
  "input": "GetMsgRecordRequest",
279
279
  "name": "获取聊天历史请求",
280
280
  "output": "GetMsgRecordResponse",