tencentcloud-sdk-python 3.0.1207__py2.py3-none-any.whl → 3.0.1233__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +201 -2
- tencentcloud/ams/v20201229/models.py +24 -0
- tencentcloud/antiddos/v20200309/models.py +13 -1
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +25 -0
- tencentcloud/asr/v20190614/asr_client.py +103 -1
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +620 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bi/v20220105/models.py +25 -0
- tencentcloud/billing/v20180709/models.py +155 -0
- tencentcloud/cam/v20190116/cam_client.py +46 -0
- tencentcloud/cam/v20190116/errorcodes.py +6 -0
- tencentcloud/cam/v20190116/models.py +301 -0
- tencentcloud/ccc/v20200210/models.py +42 -12
- tencentcloud/cdb/v20170320/cdb_client.py +46 -0
- tencentcloud/cdb/v20170320/models.py +296 -4
- tencentcloud/cdwch/v20200915/models.py +1 -1
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +211 -165
- tencentcloud/cdwdoris/v20211228/errorcodes.py +0 -3
- tencentcloud/cdwdoris/v20211228/models.py +2316 -2164
- tencentcloud/cfg/v20210820/models.py +195 -1
- tencentcloud/cfw/v20190904/cfw_client.py +46 -25
- tencentcloud/cfw/v20190904/models.py +1056 -249
- tencentcloud/ckafka/v20190819/ckafka_client.py +24 -1
- tencentcloud/ckafka/v20190819/models.py +175 -2
- tencentcloud/clb/v20180317/models.py +147 -3
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +764 -16
- tencentcloud/controlcenter/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
- tencentcloud/controlcenter/v20230110/models.py +140 -0
- tencentcloud/csip/v20221121/models.py +385 -0
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +24 -0
- tencentcloud/cvm/v20170312/models.py +178 -6
- tencentcloud/cwp/v20180228/cwp_client.py +29 -2
- tencentcloud/cwp/v20180228/models.py +314 -13
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +862 -52
- tencentcloud/dasb/v20191018/dasb_client.py +23 -0
- tencentcloud/dasb/v20191018/errorcodes.py +3 -0
- tencentcloud/dasb/v20191018/models.py +277 -0
- tencentcloud/dbbrain/v20210527/models.py +212 -2
- tencentcloud/dc/v20180410/dc_client.py +7 -8
- tencentcloud/dc/v20180410/models.py +84 -25
- tencentcloud/dcdb/v20180411/dcdb_client.py +71 -0
- tencentcloud/dcdb/v20180411/models.py +636 -0
- tencentcloud/dlc/v20210125/dlc_client.py +47 -1
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +637 -6
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +185 -0
- tencentcloud/dsgc/v20190723/models.py +179 -1
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/ecc/v20181213/ecc_client.py +1 -2
- tencentcloud/emr/v20190103/emr_client.py +331 -4
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +8787 -5344
- tencentcloud/es/v20180416/es_client.py +47 -0
- tencentcloud/es/v20180416/models.py +510 -1
- tencentcloud/ess/v20201111/errorcodes.py +6 -0
- tencentcloud/ess/v20201111/ess_client.py +106 -15
- tencentcloud/ess/v20201111/models.py +742 -96
- tencentcloud/essbasic/v20210526/essbasic_client.py +64 -2
- tencentcloud/essbasic/v20210526/models.py +395 -18
- tencentcloud/facefusion/v20181201/models.py +9 -3
- tencentcloud/facefusion/v20220927/errorcodes.py +13 -67
- tencentcloud/facefusion/v20220927/models.py +41 -13
- tencentcloud/faceid/v20180301/faceid_client.py +1 -1
- tencentcloud/faceid/v20180301/models.py +66 -0
- tencentcloud/gme/v20180711/models.py +2 -2
- tencentcloud/goosefs/v20220519/models.py +61 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +21 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +53 -1
- tencentcloud/hunyuan/v20230901/models.py +528 -10
- tencentcloud/ims/v20201229/ims_client.py +3 -3
- tencentcloud/ims/v20201229/models.py +1 -1
- tencentcloud/ioa/v20220601/models.py +6 -5
- tencentcloud/iotexplorer/v20190423/models.py +14 -6
- tencentcloud/irp/v20220805/models.py +13 -1
- tencentcloud/iss/v20230517/errorcodes.py +15 -0
- tencentcloud/iss/v20230517/iss_client.py +23 -0
- tencentcloud/iss/v20230517/models.py +233 -0
- tencentcloud/lcic/v20220817/lcic_client.py +23 -0
- tencentcloud/lcic/v20220817/models.py +261 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +28 -0
- tencentcloud/live/v20180801/models.py +2 -10
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/lke/v20231130/lke_client.py +1 -1
- tencentcloud/lke/v20231130/models.py +366 -6
- tencentcloud/mariadb/v20170312/errorcodes.py +6 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +71 -0
- tencentcloud/mariadb/v20170312/models.py +601 -1
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +146 -0
- tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +72 -45
- tencentcloud/monitor/v20180724/models.py +13 -0
- tencentcloud/mps/v20190612/models.py +631 -21
- tencentcloud/oceanus/v20190422/models.py +25 -0
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/ocr/v20181119/models.py +333 -10
- tencentcloud/ocr/v20181119/ocr_client.py +54 -2
- tencentcloud/omics/v20221128/models.py +15 -3
- tencentcloud/organization/v20210331/errorcodes.py +246 -0
- tencentcloud/organization/v20210331/models.py +12482 -4167
- tencentcloud/organization/v20210331/organization_client.py +1326 -130
- tencentcloud/postgres/v20170312/errorcodes.py +15 -0
- tencentcloud/rce/v20201103/rce_client.py +2 -2
- tencentcloud/redis/v20180412/models.py +335 -20
- tencentcloud/redis/v20180412/redis_client.py +46 -0
- tencentcloud/region/v20220627/models.py +0 -1
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/scf/v20180416/models.py +51 -15
- tencentcloud/ses/v20201002/models.py +177 -0
- tencentcloud/smh/v20210712/errorcodes.py +69 -0
- tencentcloud/smh/v20210712/models.py +1173 -36
- tencentcloud/smh/v20210712/smh_client.py +115 -0
- tencentcloud/sms/v20190711/errorcodes.py +6 -0
- tencentcloud/sms/v20190711/models.py +21 -22
- tencentcloud/sms/v20190711/sms_client.py +28 -60
- tencentcloud/sms/v20210111/errorcodes.py +6 -0
- tencentcloud/sms/v20210111/models.py +5 -4
- tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
- tencentcloud/sqlserver/v20180328/models.py +185 -1
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +23 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/ssl/v20191205/models.py +209 -0
- tencentcloud/ssl/v20191205/ssl_client.py +24 -1
- tencentcloud/tag/v20180813/models.py +33 -33
- tencentcloud/tat/v20201028/errorcodes.py +9 -0
- tencentcloud/tat/v20201028/models.py +234 -1
- tencentcloud/tat/v20201028/tat_client.py +23 -0
- tencentcloud/tcr/v20190924/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/models.py +140 -5
- tencentcloud/tdmq/v20200217/models.py +155 -0
- tencentcloud/teo/v20220901/models.py +35 -16
- tencentcloud/thpc/v20230321/models.py +1432 -82
- tencentcloud/thpc/v20230321/thpc_client.py +92 -0
- tencentcloud/tiia/v20190529/models.py +0 -469
- tencentcloud/tiia/v20190529/tiia_client.py +0 -29
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +24 -0
- tencentcloud/tke/v20220501/models.py +852 -8
- tencentcloud/tke/v20220501/tke_client.py +138 -0
- tencentcloud/tms/v20201229/errorcodes.py +0 -6
- tencentcloud/tms/v20201229/models.py +0 -70
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +31 -31
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +241 -7
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +259 -30
- tencentcloud/trtc/v20190722/trtc_client.py +48 -38
- tencentcloud/tse/v20201207/models.py +114 -25
- tencentcloud/tsf/v20180326/models.py +51 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +30 -3
- tencentcloud/vclm/v20240523/models.py +41 -4
- tencentcloud/vclm/v20240523/vclm_client.py +53 -1
- tencentcloud/vdb/v20230616/errorcodes.py +21 -0
- tencentcloud/vdb/v20230616/models.py +805 -0
- tencentcloud/vdb/v20230616/vdb_client.py +115 -0
- tencentcloud/vod/v20180717/errorcodes.py +18 -0
- tencentcloud/vod/v20180717/models.py +671 -12
- tencentcloud/vod/v20180717/vod_client.py +71 -2
- tencentcloud/vod/v20240718/__init__.py +0 -0
- tencentcloud/vod/v20240718/errorcodes.py +15 -0
- tencentcloud/vod/v20240718/models.py +189 -0
- tencentcloud/vod/v20240718/vod_client.py +49 -0
- tencentcloud/vpc/v20170312/models.py +399 -10
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/vrs/v20200824/models.py +1 -0
- tencentcloud/vrs/v20200824/vrs_client.py +1 -0
- tencentcloud/vtc/v20240223/models.py +30 -4
- tencentcloud/vtc/v20240223/vtc_client.py +53 -1
- tencentcloud/waf/v20180125/models.py +1 -1
- tencentcloud/wedata/v20210820/errorcodes.py +6 -0
- tencentcloud/wedata/v20210820/models.py +2905 -366
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/RECORD +196 -187
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/top_level.txt +0 -0
@@ -53,7 +53,7 @@ class HunyuanClient(AbstractClient):
|
|
53
53
|
"""腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
54
54
|
|
55
55
|
1. 本接口暂不支持返回图片内容。
|
56
|
-
2.
|
56
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
57
57
|
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
58
58
|
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
59
59
|
|
@@ -118,6 +118,32 @@ class HunyuanClient(AbstractClient):
|
|
118
118
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
119
|
|
120
120
|
|
121
|
+
def QueryHunyuanImageChatJob(self, request):
|
122
|
+
"""混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
123
|
+
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
124
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
125
|
+
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
126
|
+
|
127
|
+
:param request: Request instance for QueryHunyuanImageChatJob.
|
128
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanImageChatJobRequest`
|
129
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.QueryHunyuanImageChatJobResponse`
|
130
|
+
|
131
|
+
"""
|
132
|
+
try:
|
133
|
+
params = request._serialize()
|
134
|
+
headers = request.headers
|
135
|
+
body = self.call("QueryHunyuanImageChatJob", params, headers=headers)
|
136
|
+
response = json.loads(body)
|
137
|
+
model = models.QueryHunyuanImageChatJobResponse()
|
138
|
+
model._deserialize(response["Response"])
|
139
|
+
return model
|
140
|
+
except Exception as e:
|
141
|
+
if isinstance(e, TencentCloudSDKException):
|
142
|
+
raise
|
143
|
+
else:
|
144
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
145
|
+
|
146
|
+
|
121
147
|
def QueryHunyuanImageJob(self, request):
|
122
148
|
"""混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
123
149
|
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
@@ -167,6 +193,32 @@ class HunyuanClient(AbstractClient):
|
|
167
193
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
168
194
|
|
169
195
|
|
196
|
+
def SubmitHunyuanImageChatJob(self, request):
|
197
|
+
"""混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
198
|
+
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
199
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
200
|
+
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
201
|
+
|
202
|
+
:param request: Request instance for SubmitHunyuanImageChatJob.
|
203
|
+
:type request: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanImageChatJobRequest`
|
204
|
+
:rtype: :class:`tencentcloud.hunyuan.v20230901.models.SubmitHunyuanImageChatJobResponse`
|
205
|
+
|
206
|
+
"""
|
207
|
+
try:
|
208
|
+
params = request._serialize()
|
209
|
+
headers = request.headers
|
210
|
+
body = self.call("SubmitHunyuanImageChatJob", params, headers=headers)
|
211
|
+
response = json.loads(body)
|
212
|
+
model = models.SubmitHunyuanImageChatJobResponse()
|
213
|
+
model._deserialize(response["Response"])
|
214
|
+
return model
|
215
|
+
except Exception as e:
|
216
|
+
if isinstance(e, TencentCloudSDKException):
|
217
|
+
raise
|
218
|
+
else:
|
219
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
220
|
+
|
221
|
+
|
170
222
|
def SubmitHunyuanImageJob(self, request):
|
171
223
|
"""混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
172
224
|
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|