tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -73,7 +73,7 @@ class Ai3dClient(AbstractClient):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
def DescribeReduceFaceJob(self, request):
|
|
76
|
-
r"""混元生3D
|
|
76
|
+
r"""混元生3D接口,采用 Polygon 1.5模型,输入3D 高模后,可生成布线规整,较低面数的3D 模型。
|
|
77
77
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
78
78
|
|
|
79
79
|
:param request: Request instance for DescribeReduceFaceJob.
|
|
@@ -97,7 +97,7 @@ class Ai3dClient(AbstractClient):
|
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
def DescribeTextureTo3DJob(self, request):
|
|
100
|
-
r"""混元生3D
|
|
100
|
+
r"""混元生3D接口,输入单几何模型和参考图或文字描述后,可生成对应的纹理贴图。
|
|
101
101
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
102
102
|
|
|
103
103
|
:param request: Request instance for DescribeTextureTo3DJob.
|
|
@@ -286,7 +286,7 @@ class Ai3dClient(AbstractClient):
|
|
|
286
286
|
|
|
287
287
|
|
|
288
288
|
def SubmitReduceFaceJob(self, request):
|
|
289
|
-
r"""混元生3D
|
|
289
|
+
r"""混元生3D接口,采用 Polygon 1.5模型,输入3D 高模后,可生成布线规整,较低面数的3D 模型。
|
|
290
290
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
291
291
|
|
|
292
292
|
:param request: Request instance for SubmitReduceFaceJob.
|
|
@@ -310,7 +310,7 @@ class Ai3dClient(AbstractClient):
|
|
|
310
310
|
|
|
311
311
|
|
|
312
312
|
def SubmitTextureTo3DJob(self, request):
|
|
313
|
-
r"""混元生3D
|
|
313
|
+
r"""混元生3D接口,输入单几何模型和参考图或文字描述后,可生成对应的纹理贴图。
|
|
314
314
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
315
315
|
|
|
316
316
|
:param request: Request instance for SubmitTextureTo3DJob.
|
|
@@ -67,7 +67,7 @@ class Ai3dClient(AbstractClient):
|
|
|
67
67
|
opts: Dict = None,
|
|
68
68
|
) -> models.DescribeReduceFaceJobResponse:
|
|
69
69
|
"""
|
|
70
|
-
混元生3D
|
|
70
|
+
混元生3D接口,采用 Polygon 1.5模型,输入3D 高模后,可生成布线规整,较低面数的3D 模型。
|
|
71
71
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
72
72
|
"""
|
|
73
73
|
|
|
@@ -86,7 +86,7 @@ class Ai3dClient(AbstractClient):
|
|
|
86
86
|
opts: Dict = None,
|
|
87
87
|
) -> models.DescribeTextureTo3DJobResponse:
|
|
88
88
|
"""
|
|
89
|
-
混元生3D
|
|
89
|
+
混元生3D接口,输入单几何模型和参考图或文字描述后,可生成对应的纹理贴图。
|
|
90
90
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
91
91
|
"""
|
|
92
92
|
|
|
@@ -235,7 +235,7 @@ class Ai3dClient(AbstractClient):
|
|
|
235
235
|
opts: Dict = None,
|
|
236
236
|
) -> models.SubmitReduceFaceJobResponse:
|
|
237
237
|
"""
|
|
238
|
-
混元生3D
|
|
238
|
+
混元生3D接口,采用 Polygon 1.5模型,输入3D 高模后,可生成布线规整,较低面数的3D 模型。
|
|
239
239
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
240
240
|
"""
|
|
241
241
|
|
|
@@ -254,7 +254,7 @@ class Ai3dClient(AbstractClient):
|
|
|
254
254
|
opts: Dict = None,
|
|
255
255
|
) -> models.SubmitTextureTo3DJobResponse:
|
|
256
256
|
"""
|
|
257
|
-
混元生3D
|
|
257
|
+
混元生3D接口,输入单几何模型和参考图或文字描述后,可生成对应的纹理贴图。
|
|
258
258
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
259
259
|
"""
|
|
260
260
|
|
|
@@ -25,7 +25,7 @@ class Convert3DFormatRequest(AbstractModel):
|
|
|
25
25
|
|
|
26
26
|
def __init__(self):
|
|
27
27
|
r"""
|
|
28
|
-
:param _File3D: 3D文件url
|
|
28
|
+
:param _File3D: 3D文件url地址,模型文件大小≤60m,支持fbx,obj,glb格式3D文件输入。
|
|
29
29
|
:type File3D: str
|
|
30
30
|
:param _Format: 返回的3D文件格式,参考值:STL, USDZ, FBX, MP4, GIF。
|
|
31
31
|
:type Format: str
|
|
@@ -35,7 +35,7 @@ class Convert3DFormatRequest(AbstractModel):
|
|
|
35
35
|
|
|
36
36
|
@property
|
|
37
37
|
def File3D(self):
|
|
38
|
-
r"""3D文件url
|
|
38
|
+
r"""3D文件url地址,模型文件大小≤60m,支持fbx,obj,glb格式3D文件输入。
|
|
39
39
|
:rtype: str
|
|
40
40
|
"""
|
|
41
41
|
return self._File3D
|
|
@@ -1142,38 +1142,46 @@ class SubmitHunyuanTo3DProJobRequest(AbstractModel):
|
|
|
1142
1142
|
|
|
1143
1143
|
def __init__(self):
|
|
1144
1144
|
r"""
|
|
1145
|
+
:param _Model: 混元生3D生成模型版本,默认为3.0,可选项:3.0,3.1
|
|
1146
|
+
选择3.1版本时,LowPoly参数不可用。
|
|
1147
|
+
:type Model: str
|
|
1145
1148
|
:param _Prompt: 文生3D,3D内容的描述,中文正向提示词。
|
|
1146
1149
|
最多支持1024个 utf-8 字符。
|
|
1147
1150
|
ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
|
1148
1151
|
:type Prompt: str
|
|
1149
1152
|
:param _ImageBase64: 输入图 Base64 数据。
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤6m (因base64编码后会大30%左右)
|
|
1154
|
+
格式: jpg,png,jpeg,webp.
|
|
1155
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1153
1156
|
:type ImageBase64: str
|
|
1154
|
-
:param _ImageUrl: 输入图Url
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1157
|
+
:param _ImageUrl: 输入图Url
|
|
1158
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤8m
|
|
1159
|
+
格式: jpg,png,jpeg,webp.
|
|
1160
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1158
1161
|
:type ImageUrl: str
|
|
1159
1162
|
:param _MultiViewImages: 多视角的模型图片,视角参考值:
|
|
1160
1163
|
left:左视图;
|
|
1161
1164
|
right:右视图;
|
|
1162
1165
|
back:后视图;
|
|
1166
|
+
top:顶视图(仅3.1版本支持);
|
|
1167
|
+
bottom:底视图(仅3.1版本支持);
|
|
1168
|
+
left_front:左前45°视图(仅3.1版本支持);
|
|
1169
|
+
right_front:右前45°视图(仅3.1版本支持);
|
|
1163
1170
|
|
|
1164
1171
|
每个视角仅限制一张图片。
|
|
1165
|
-
|
|
1172
|
+
●图片大小限制:编码后所有图片大小总和不可超过8M。(base64编码下图片大小总和不超过6M,因base64编码后图片大小会大30%左右)
|
|
1166
1173
|
●图片分辨率限制:单边分辨率小于5000且大于128。
|
|
1167
1174
|
●支持图片格式:支持jpg或png
|
|
1168
1175
|
:type MultiViewImages: list of ViewImage
|
|
1169
1176
|
:param _EnablePBR: 是否开启 PBR材质生成,默认 false。
|
|
1170
1177
|
:type EnablePBR: bool
|
|
1171
1178
|
:param _FaceCount: 生成3D模型的面数,默认值为500000。
|
|
1172
|
-
可支持生成面数范围,参考值:
|
|
1179
|
+
可支持生成面数范围,参考值:10000-1500000。
|
|
1180
|
+
GenerateType中选择LowPoly时,参考值:3000-1500000。
|
|
1173
1181
|
:type FaceCount: int
|
|
1174
1182
|
:param _GenerateType: 生成任务类型,默认Normal,参考值:
|
|
1175
1183
|
Normal:可生成带纹理的几何模型。
|
|
1176
|
-
LowPoly
|
|
1184
|
+
LowPoly:可生成智能拓扑后的模型,选择此参数时,面数最低可到达3000面。
|
|
1177
1185
|
Geometry:可生成不带纹理的几何模型(白模),选择此任务时,EnablePBR参数不生效。
|
|
1178
1186
|
Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl/ImageBase64可一起输入。
|
|
1179
1187
|
:type GenerateType: str
|
|
@@ -1183,7 +1191,10 @@ Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl
|
|
|
1183
1191
|
triangle: 三角形面。
|
|
1184
1192
|
quadrilateral: 四边形面与三角形面混合生成。
|
|
1185
1193
|
:type PolygonType: str
|
|
1194
|
+
:param _ResultFormat: 生成模型的格式,仅限制生成一种格式; 生成模型文件组默认返回obj、glb格式(开启时Geometry参数时,默认为glb格式); 可选值:STL,USDZ,FBX;
|
|
1195
|
+
:type ResultFormat: str
|
|
1186
1196
|
"""
|
|
1197
|
+
self._Model = None
|
|
1187
1198
|
self._Prompt = None
|
|
1188
1199
|
self._ImageBase64 = None
|
|
1189
1200
|
self._ImageUrl = None
|
|
@@ -1192,6 +1203,19 @@ quadrilateral: 四边形面与三角形面混合生成。
|
|
|
1192
1203
|
self._FaceCount = None
|
|
1193
1204
|
self._GenerateType = None
|
|
1194
1205
|
self._PolygonType = None
|
|
1206
|
+
self._ResultFormat = None
|
|
1207
|
+
|
|
1208
|
+
@property
|
|
1209
|
+
def Model(self):
|
|
1210
|
+
r"""混元生3D生成模型版本,默认为3.0,可选项:3.0,3.1
|
|
1211
|
+
选择3.1版本时,LowPoly参数不可用。
|
|
1212
|
+
:rtype: str
|
|
1213
|
+
"""
|
|
1214
|
+
return self._Model
|
|
1215
|
+
|
|
1216
|
+
@Model.setter
|
|
1217
|
+
def Model(self, Model):
|
|
1218
|
+
self._Model = Model
|
|
1195
1219
|
|
|
1196
1220
|
@property
|
|
1197
1221
|
def Prompt(self):
|
|
@@ -1209,9 +1233,9 @@ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl
|
|
|
1209
1233
|
@property
|
|
1210
1234
|
def ImageBase64(self):
|
|
1211
1235
|
r"""输入图 Base64 数据。
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1236
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤6m (因base64编码后会大30%左右)
|
|
1237
|
+
格式: jpg,png,jpeg,webp.
|
|
1238
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1215
1239
|
:rtype: str
|
|
1216
1240
|
"""
|
|
1217
1241
|
return self._ImageBase64
|
|
@@ -1222,10 +1246,10 @@ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl
|
|
|
1222
1246
|
|
|
1223
1247
|
@property
|
|
1224
1248
|
def ImageUrl(self):
|
|
1225
|
-
r"""输入图Url
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1249
|
+
r"""输入图Url
|
|
1250
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤8m
|
|
1251
|
+
格式: jpg,png,jpeg,webp.
|
|
1252
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1229
1253
|
:rtype: str
|
|
1230
1254
|
"""
|
|
1231
1255
|
return self._ImageUrl
|
|
@@ -1240,9 +1264,13 @@ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl
|
|
|
1240
1264
|
left:左视图;
|
|
1241
1265
|
right:右视图;
|
|
1242
1266
|
back:后视图;
|
|
1267
|
+
top:顶视图(仅3.1版本支持);
|
|
1268
|
+
bottom:底视图(仅3.1版本支持);
|
|
1269
|
+
left_front:左前45°视图(仅3.1版本支持);
|
|
1270
|
+
right_front:右前45°视图(仅3.1版本支持);
|
|
1243
1271
|
|
|
1244
1272
|
每个视角仅限制一张图片。
|
|
1245
|
-
|
|
1273
|
+
●图片大小限制:编码后所有图片大小总和不可超过8M。(base64编码下图片大小总和不超过6M,因base64编码后图片大小会大30%左右)
|
|
1246
1274
|
●图片分辨率限制:单边分辨率小于5000且大于128。
|
|
1247
1275
|
●支持图片格式:支持jpg或png
|
|
1248
1276
|
:rtype: list of ViewImage
|
|
@@ -1267,7 +1295,8 @@ back:后视图;
|
|
|
1267
1295
|
@property
|
|
1268
1296
|
def FaceCount(self):
|
|
1269
1297
|
r"""生成3D模型的面数,默认值为500000。
|
|
1270
|
-
可支持生成面数范围,参考值:
|
|
1298
|
+
可支持生成面数范围,参考值:10000-1500000。
|
|
1299
|
+
GenerateType中选择LowPoly时,参考值:3000-1500000。
|
|
1271
1300
|
:rtype: int
|
|
1272
1301
|
"""
|
|
1273
1302
|
return self._FaceCount
|
|
@@ -1280,7 +1309,7 @@ back:后视图;
|
|
|
1280
1309
|
def GenerateType(self):
|
|
1281
1310
|
r"""生成任务类型,默认Normal,参考值:
|
|
1282
1311
|
Normal:可生成带纹理的几何模型。
|
|
1283
|
-
LowPoly
|
|
1312
|
+
LowPoly:可生成智能拓扑后的模型,选择此参数时,面数最低可到达3000面。
|
|
1284
1313
|
Geometry:可生成不带纹理的几何模型(白模),选择此任务时,EnablePBR参数不生效。
|
|
1285
1314
|
Sketch:可输入草图或线稿图生成模型,此模式下prompt和ImageUrl/ImageBase64可一起输入。
|
|
1286
1315
|
:rtype: str
|
|
@@ -1306,8 +1335,20 @@ quadrilateral: 四边形面与三角形面混合生成。
|
|
|
1306
1335
|
def PolygonType(self, PolygonType):
|
|
1307
1336
|
self._PolygonType = PolygonType
|
|
1308
1337
|
|
|
1338
|
+
@property
|
|
1339
|
+
def ResultFormat(self):
|
|
1340
|
+
r"""生成模型的格式,仅限制生成一种格式; 生成模型文件组默认返回obj、glb格式(开启时Geometry参数时,默认为glb格式); 可选值:STL,USDZ,FBX;
|
|
1341
|
+
:rtype: str
|
|
1342
|
+
"""
|
|
1343
|
+
return self._ResultFormat
|
|
1344
|
+
|
|
1345
|
+
@ResultFormat.setter
|
|
1346
|
+
def ResultFormat(self, ResultFormat):
|
|
1347
|
+
self._ResultFormat = ResultFormat
|
|
1348
|
+
|
|
1309
1349
|
|
|
1310
1350
|
def _deserialize(self, params):
|
|
1351
|
+
self._Model = params.get("Model")
|
|
1311
1352
|
self._Prompt = params.get("Prompt")
|
|
1312
1353
|
self._ImageBase64 = params.get("ImageBase64")
|
|
1313
1354
|
self._ImageUrl = params.get("ImageUrl")
|
|
@@ -1321,6 +1362,7 @@ quadrilateral: 四边形面与三角形面混合生成。
|
|
|
1321
1362
|
self._FaceCount = params.get("FaceCount")
|
|
1322
1363
|
self._GenerateType = params.get("GenerateType")
|
|
1323
1364
|
self._PolygonType = params.get("PolygonType")
|
|
1365
|
+
self._ResultFormat = params.get("ResultFormat")
|
|
1324
1366
|
memeber_set = set(params.keys())
|
|
1325
1367
|
for name, value in vars(self).items():
|
|
1326
1368
|
property_name = name[1:]
|
|
@@ -1386,14 +1428,14 @@ class SubmitHunyuanTo3DRapidJobRequest(AbstractModel):
|
|
|
1386
1428
|
文生3D, ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。
|
|
1387
1429
|
:type Prompt: str
|
|
1388
1430
|
:param _ImageBase64: 输入图 Base64 数据。
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1431
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤6m (因base64编码后会大30%左右)
|
|
1432
|
+
格式: jpg,png,jpeg,webp.
|
|
1433
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1392
1434
|
:type ImageBase64: str
|
|
1393
|
-
:param _ImageUrl: 输入图Url
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1435
|
+
:param _ImageUrl: 输入图Url
|
|
1436
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤8m
|
|
1437
|
+
格式: jpg,png,jpeg,webp.
|
|
1438
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1397
1439
|
:type ImageUrl: str
|
|
1398
1440
|
:param _ResultFormat: 生成模型的格式,仅限制生成一种格式。
|
|
1399
1441
|
生成模型文件组默认返回obj格式。
|
|
@@ -1427,9 +1469,9 @@ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl
|
|
|
1427
1469
|
@property
|
|
1428
1470
|
def ImageBase64(self):
|
|
1429
1471
|
r"""输入图 Base64 数据。
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1472
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤6m (因base64编码后会大30%左右)
|
|
1473
|
+
格式: jpg,png,jpeg,webp.
|
|
1474
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1433
1475
|
:rtype: str
|
|
1434
1476
|
"""
|
|
1435
1477
|
return self._ImageBase64
|
|
@@ -1440,10 +1482,10 @@ ImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl
|
|
|
1440
1482
|
|
|
1441
1483
|
@property
|
|
1442
1484
|
def ImageUrl(self):
|
|
1443
|
-
r"""输入图Url
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1485
|
+
r"""输入图Url
|
|
1486
|
+
大小: 单边分辨率要求不小于128,不大于5000,大小≤8m
|
|
1487
|
+
格式: jpg,png,jpeg,webp.
|
|
1488
|
+
lmageBase64、lmageUr和 Prompt必填其一,且Prompt和lmageBase64/mageUr不能同时存在。
|
|
1447
1489
|
:rtype: str
|
|
1448
1490
|
"""
|
|
1449
1491
|
return self._ImageUrl
|
|
@@ -51,6 +51,29 @@ class AiartClient(AbstractClient):
|
|
|
51
51
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
def DescribeTemplateToImageJob(self, request):
|
|
55
|
+
r"""查询图片特效任务
|
|
56
|
+
|
|
57
|
+
:param request: Request instance for DescribeTemplateToImageJob.
|
|
58
|
+
:type request: :class:`tencentcloud.aiart.v20221229.models.DescribeTemplateToImageJobRequest`
|
|
59
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.DescribeTemplateToImageJobResponse`
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
try:
|
|
63
|
+
params = request._serialize()
|
|
64
|
+
headers = request.headers
|
|
65
|
+
body = self.call("DescribeTemplateToImageJob", params, headers=headers)
|
|
66
|
+
response = json.loads(body)
|
|
67
|
+
model = models.DescribeTemplateToImageJobResponse()
|
|
68
|
+
model._deserialize(response["Response"])
|
|
69
|
+
return model
|
|
70
|
+
except Exception as e:
|
|
71
|
+
if isinstance(e, TencentCloudSDKException):
|
|
72
|
+
raise
|
|
73
|
+
else:
|
|
74
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
75
|
+
|
|
76
|
+
|
|
54
77
|
def GenerateAvatar(self, request):
|
|
55
78
|
r"""百变头像接口将根据输入的人像照片,生成风格百变的头像。
|
|
56
79
|
百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
@@ -469,6 +492,29 @@ class AiartClient(AbstractClient):
|
|
|
469
492
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
470
493
|
|
|
471
494
|
|
|
495
|
+
def SubmitTemplateToImageJob(self, request):
|
|
496
|
+
r"""提交图片特效任务
|
|
497
|
+
|
|
498
|
+
:param request: Request instance for SubmitTemplateToImageJob.
|
|
499
|
+
:type request: :class:`tencentcloud.aiart.v20221229.models.SubmitTemplateToImageJobRequest`
|
|
500
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.SubmitTemplateToImageJobResponse`
|
|
501
|
+
|
|
502
|
+
"""
|
|
503
|
+
try:
|
|
504
|
+
params = request._serialize()
|
|
505
|
+
headers = request.headers
|
|
506
|
+
body = self.call("SubmitTemplateToImageJob", params, headers=headers)
|
|
507
|
+
response = json.loads(body)
|
|
508
|
+
model = models.SubmitTemplateToImageJobResponse()
|
|
509
|
+
model._deserialize(response["Response"])
|
|
510
|
+
return model
|
|
511
|
+
except Exception as e:
|
|
512
|
+
if isinstance(e, TencentCloudSDKException):
|
|
513
|
+
raise
|
|
514
|
+
else:
|
|
515
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
516
|
+
|
|
517
|
+
|
|
472
518
|
def SubmitTextToImageJob(self, request):
|
|
473
519
|
r"""混元生图接口,基于混元大模型,根据输入的文本描述快速生成图片。
|
|
474
520
|
默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
|
|
@@ -45,6 +45,24 @@ class AiartClient(AbstractClient):
|
|
|
45
45
|
|
|
46
46
|
return await self.call_and_deserialize(**kwargs)
|
|
47
47
|
|
|
48
|
+
async def DescribeTemplateToImageJob(
|
|
49
|
+
self,
|
|
50
|
+
request: models.DescribeTemplateToImageJobRequest,
|
|
51
|
+
opts: Dict = None,
|
|
52
|
+
) -> models.DescribeTemplateToImageJobResponse:
|
|
53
|
+
"""
|
|
54
|
+
查询图片特效任务
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
kwargs = {}
|
|
58
|
+
kwargs["action"] = "DescribeTemplateToImageJob"
|
|
59
|
+
kwargs["params"] = request._serialize()
|
|
60
|
+
kwargs["resp_cls"] = models.DescribeTemplateToImageJobResponse
|
|
61
|
+
kwargs["headers"] = request.headers
|
|
62
|
+
kwargs["opts"] = opts or {}
|
|
63
|
+
|
|
64
|
+
return await self.call_and_deserialize(**kwargs)
|
|
65
|
+
|
|
48
66
|
async def GenerateAvatar(
|
|
49
67
|
self,
|
|
50
68
|
request: models.GenerateAvatarRequest,
|
|
@@ -383,6 +401,24 @@ class AiartClient(AbstractClient):
|
|
|
383
401
|
|
|
384
402
|
return await self.call_and_deserialize(**kwargs)
|
|
385
403
|
|
|
404
|
+
async def SubmitTemplateToImageJob(
|
|
405
|
+
self,
|
|
406
|
+
request: models.SubmitTemplateToImageJobRequest,
|
|
407
|
+
opts: Dict = None,
|
|
408
|
+
) -> models.SubmitTemplateToImageJobResponse:
|
|
409
|
+
"""
|
|
410
|
+
提交图片特效任务
|
|
411
|
+
"""
|
|
412
|
+
|
|
413
|
+
kwargs = {}
|
|
414
|
+
kwargs["action"] = "SubmitTemplateToImageJob"
|
|
415
|
+
kwargs["params"] = request._serialize()
|
|
416
|
+
kwargs["resp_cls"] = models.SubmitTemplateToImageJobResponse
|
|
417
|
+
kwargs["headers"] = request.headers
|
|
418
|
+
kwargs["opts"] = opts or {}
|
|
419
|
+
|
|
420
|
+
return await self.call_and_deserialize(**kwargs)
|
|
421
|
+
|
|
386
422
|
async def SubmitTextToImageJob(
|
|
387
423
|
self,
|
|
388
424
|
request: models.SubmitTextToImageJobRequest,
|