tccli 3.0.1347.1__py2.py3-none-any.whl → 3.0.1349.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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -76
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/{smpn/smpn_client.py → ai3d/ai3d_client.py} +17 -17
- tccli/services/ai3d/v20250513/api.json +239 -0
- tccli/services/ai3d/v20250513/examples.json +21 -0
- tccli/services/aiart/v20221229/api.json +3 -3
- tccli/services/autoscaling/v20180419/api.json +11 -0
- tccli/services/batch/v20170312/api.json +44 -0
- tccli/services/cdb/v20170320/api.json +8 -8
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cdn/v20180606/api.json +5 -5
- tccli/services/cdwdoris/v20211228/api.json +145 -7
- tccli/services/cfg/v20210820/api.json +20 -0
- tccli/services/cfs/v20190719/api.json +10 -10
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +272 -0
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/csip/csip_client.py +833 -144
- tccli/services/csip/v20221121/api.json +3304 -1436
- tccli/services/csip/v20221121/examples.json +104 -0
- tccli/services/cvm/v20170312/api.json +64 -1
- tccli/services/cwp/v20180228/api.json +9 -0
- tccli/services/cwp/v20180228/examples.json +6 -0
- tccli/services/emr/v20190103/api.json +217 -2
- tccli/services/es/v20250101/api.json +22 -0
- tccli/services/ess/v20201111/api.json +10 -1
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/gs/v20191118/api.json +38 -0
- tccli/services/igtm/igtm_client.py +159 -0
- tccli/services/igtm/v20231024/api.json +577 -0
- tccli/services/igtm/v20231024/examples.json +24 -0
- tccli/services/iotexplorer/v20190423/api.json +3 -3
- tccli/services/lcic/lcic_client.py +53 -0
- tccli/services/lcic/v20220817/api.json +53 -0
- tccli/services/lcic/v20220817/examples.json +8 -0
- tccli/services/live/v20180801/api.json +203 -1
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lke/v20231130/api.json +248 -2
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mrs/v20200910/api.json +10 -0
- tccli/services/nlp/nlp_client.py +4 -322
- tccli/services/nlp/v20190408/api.json +0 -459
- tccli/services/nlp/v20190408/examples.json +0 -48
- tccli/services/ocr/v20181119/api.json +97 -11
- tccli/services/omics/v20221128/api.json +38 -0
- tccli/services/redis/v20180412/api.json +6 -6
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/ses/v20201002/api.json +100 -5
- tccli/services/tcb/v20180608/api.json +1 -1
- tccli/services/tcb/v20180608/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +19 -0
- tccli/services/teo/teo_client.py +281 -16
- tccli/services/teo/v20220901/api.json +611 -6
- tccli/services/teo/v20220901/examples.json +48 -2
- tccli/services/tione/v20211111/api.json +16 -0
- tccli/services/tke/tke_client.py +57 -4
- tccli/services/tke/v20180525/api.json +24 -24
- tccli/services/tke/v20220501/api.json +52 -0
- tccli/services/tke/v20220501/examples.json +8 -0
- tccli/services/tmt/v20180321/api.json +4 -4
- tccli/services/tsf/v20180326/api.json +4 -4
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vod/v20180717/api.json +5 -5
- tccli/services/vod/v20180717/examples.json +9 -9
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/vrs/v20200824/api.json +1 -1
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/RECORD +73 -171
- tccli/services/cis/__init__.py +0 -4
- tccli/services/cis/cis_client.py +0 -525
- tccli/services/cis/v20180408/api.json +0 -737
- tccli/services/cis/v20180408/examples.json +0 -93
- tccli/services/dataintegration/__init__.py +0 -4
- tccli/services/dataintegration/dataintegration_client.py +0 -207
- tccli/services/dataintegration/v20220613/api.json +0 -87
- tccli/services/dataintegration/v20220613/examples.json +0 -13
- tccli/services/dtf/__init__.py +0 -4
- tccli/services/dtf/dtf_client.py +0 -207
- tccli/services/dtf/v20200506/api.json +0 -274
- tccli/services/dtf/v20200506/examples.json +0 -13
- tccli/services/gpm/__init__.py +0 -4
- tccli/services/gpm/gpm_client.py +0 -1108
- tccli/services/gpm/v20200820/api.json +0 -1959
- tccli/services/gpm/v20200820/examples.json +0 -149
- tccli/services/gse/__init__.py +0 -4
- tccli/services/gse/gse_client.py +0 -4076
- tccli/services/gse/v20191112/api.json +0 -7095
- tccli/services/gse/v20191112/examples.json +0 -615
- tccli/services/iecp/__init__.py +0 -4
- tccli/services/iecp/iecp_client.py +0 -4500
- tccli/services/iecp/v20210914/api.json +0 -9770
- tccli/services/iecp/v20210914/examples.json +0 -691
- tccli/services/iir/__init__.py +0 -4
- tccli/services/iir/iir_client.py +0 -207
- tccli/services/iir/v20200417/api.json +0 -204
- tccli/services/iir/v20200417/examples.json +0 -13
- tccli/services/iottid/__init__.py +0 -4
- tccli/services/iottid/iottid_client.py +0 -631
- tccli/services/iottid/v20190411/api.json +0 -553
- tccli/services/iottid/v20190411/examples.json +0 -95
- tccli/services/mgobe/__init__.py +0 -4
- tccli/services/mgobe/mgobe_client.py +0 -530
- tccli/services/mgobe/v20190929/api.json +0 -52
- tccli/services/mgobe/v20190929/examples.json +0 -13
- tccli/services/mgobe/v20201014/api.json +0 -671
- tccli/services/mgobe/v20201014/examples.json +0 -61
- tccli/services/mvj/__init__.py +0 -4
- tccli/services/mvj/mvj_client.py +0 -207
- tccli/services/mvj/v20190926/api.json +0 -123
- tccli/services/mvj/v20190926/examples.json +0 -19
- tccli/services/pds/__init__.py +0 -4
- tccli/services/pds/pds_client.py +0 -260
- tccli/services/pds/v20210701/api.json +0 -193
- tccli/services/pds/v20210701/examples.json +0 -21
- tccli/services/smpn/__init__.py +0 -4
- tccli/services/smpn/v20190822/api.json +0 -191
- tccli/services/smpn/v20190822/examples.json +0 -21
- tccli/services/solar/__init__.py +0 -4
- tccli/services/solar/solar_client.py +0 -1055
- tccli/services/solar/v20181011/api.json +0 -1760
- tccli/services/solar/v20181011/examples.json +0 -125
- tccli/services/tan/__init__.py +0 -4
- tccli/services/tan/tan_client.py +0 -207
- tccli/services/tan/v20220420/api.json +0 -65
- tccli/services/tan/v20220420/examples.json +0 -19
- tccli/services/tav/__init__.py +0 -4
- tccli/services/tav/tav_client.py +0 -366
- tccli/services/tav/v20190118/api.json +0 -262
- tccli/services/tav/v20190118/examples.json +0 -37
- tccli/services/tbm/__init__.py +0 -4
- tccli/services/tbm/tbm_client.py +0 -631
- tccli/services/tbm/v20180129/api.json +0 -1037
- tccli/services/tbm/v20180129/examples.json +0 -77
- tccli/services/tcex/__init__.py +0 -4
- tccli/services/tcex/tcex_client.py +0 -260
- tccli/services/tcex/v20200727/api.json +0 -158
- tccli/services/tcex/v20200727/examples.json +0 -21
- tccli/services/tci/__init__.py +0 -4
- tccli/services/tci/tci_client.py +0 -2327
- tccli/services/tci/v20190318/api.json +0 -4958
- tccli/services/tci/v20190318/examples.json +0 -333
- tccli/services/tic/__init__.py +0 -4
- tccli/services/tic/tic_client.py +0 -843
- tccli/services/tic/v20201117/api.json +0 -1067
- tccli/services/tic/v20201117/examples.json +0 -121
- tccli/services/ticm/__init__.py +0 -4
- tccli/services/ticm/ticm_client.py +0 -313
- tccli/services/ticm/v20181127/api.json +0 -1391
- tccli/services/ticm/v20181127/examples.json +0 -53
- tccli/services/tics/__init__.py +0 -4
- tccli/services/tics/tics_client.py +0 -366
- tccli/services/tics/v20181115/api.json +0 -694
- tccli/services/tics/v20181115/examples.json +0 -37
- tccli/services/tiems/__init__.py +0 -4
- tccli/services/tiems/tiems_client.py +0 -1479
- tccli/services/tiems/v20190416/api.json +0 -3144
- tccli/services/tiems/v20190416/examples.json +0 -217
- tccli/services/trdp/__init__.py +0 -4
- tccli/services/trdp/trdp_client.py +0 -207
- tccli/services/trdp/v20220726/api.json +0 -843
- tccli/services/trdp/v20220726/examples.json +0 -13
- tccli/services/ump/__init__.py +0 -4
- tccli/services/ump/ump_client.py +0 -1055
- tccli/services/ump/v20200918/api.json +0 -2168
- tccli/services/ump/v20200918/examples.json +0 -141
- tccli/services/youmall/__init__.py +0 -4
- tccli/services/youmall/v20180228/api.json +0 -3572
- tccli/services/youmall/v20180228/examples.json +0 -313
- tccli/services/youmall/youmall_client.py +0 -1797
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1347.1.dist-info → tccli-3.0.1349.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1349.1'
|
tccli/services/__init__.py
CHANGED
@@ -39,6 +39,9 @@ SERVICE_VERSIONS = {
|
|
39
39
|
"afc": [
|
40
40
|
"2020-02-26"
|
41
41
|
],
|
42
|
+
"ai3d": [
|
43
|
+
"2025-05-13"
|
44
|
+
],
|
42
45
|
"aiart": [
|
43
46
|
"2022-12-29"
|
44
47
|
],
|
@@ -197,9 +200,6 @@ SERVICE_VERSIONS = {
|
|
197
200
|
"cim": [
|
198
201
|
"2019-03-18"
|
199
202
|
],
|
200
|
-
"cis": [
|
201
|
-
"2018-04-08"
|
202
|
-
],
|
203
203
|
"ckafka": [
|
204
204
|
"2019-08-19"
|
205
205
|
],
|
@@ -263,9 +263,6 @@ SERVICE_VERSIONS = {
|
|
263
263
|
"dasb": [
|
264
264
|
"2019-10-18"
|
265
265
|
],
|
266
|
-
"dataintegration": [
|
267
|
-
"2022-06-13"
|
268
|
-
],
|
269
266
|
"dayu": [
|
270
267
|
"2018-07-09"
|
271
268
|
],
|
@@ -300,9 +297,6 @@ SERVICE_VERSIONS = {
|
|
300
297
|
"dsgc": [
|
301
298
|
"2019-07-23"
|
302
299
|
],
|
303
|
-
"dtf": [
|
304
|
-
"2020-05-06"
|
305
|
-
],
|
306
300
|
"dts": [
|
307
301
|
"2021-12-06",
|
308
302
|
"2018-03-30"
|
@@ -362,15 +356,9 @@ SERVICE_VERSIONS = {
|
|
362
356
|
"goosefs": [
|
363
357
|
"2022-05-19"
|
364
358
|
],
|
365
|
-
"gpm": [
|
366
|
-
"2020-08-20"
|
367
|
-
],
|
368
359
|
"gs": [
|
369
360
|
"2019-11-18"
|
370
361
|
],
|
371
|
-
"gse": [
|
372
|
-
"2019-11-12"
|
373
|
-
],
|
374
362
|
"gwlb": [
|
375
363
|
"2024-09-06"
|
376
364
|
],
|
@@ -405,18 +393,12 @@ SERVICE_VERSIONS = {
|
|
405
393
|
"ie": [
|
406
394
|
"2020-03-04"
|
407
395
|
],
|
408
|
-
"iecp": [
|
409
|
-
"2021-09-14"
|
410
|
-
],
|
411
396
|
"ig": [
|
412
397
|
"2021-05-18"
|
413
398
|
],
|
414
399
|
"igtm": [
|
415
400
|
"2023-10-24"
|
416
401
|
],
|
417
|
-
"iir": [
|
418
|
-
"2020-04-17"
|
419
|
-
],
|
420
402
|
"ims": [
|
421
403
|
"2020-12-29",
|
422
404
|
"2020-07-13"
|
@@ -434,9 +416,6 @@ SERVICE_VERSIONS = {
|
|
434
416
|
"iotexplorer": [
|
435
417
|
"2019-04-23"
|
436
418
|
],
|
437
|
-
"iottid": [
|
438
|
-
"2019-04-11"
|
439
|
-
],
|
440
419
|
"iotvideo": [
|
441
420
|
"2021-11-25",
|
442
421
|
"2020-12-15",
|
@@ -491,10 +470,6 @@ SERVICE_VERSIONS = {
|
|
491
470
|
"memcached": [
|
492
471
|
"2019-03-18"
|
493
472
|
],
|
494
|
-
"mgobe": [
|
495
|
-
"2020-10-14",
|
496
|
-
"2019-09-29"
|
497
|
-
],
|
498
473
|
"mmps": [
|
499
474
|
"2020-07-10"
|
500
475
|
],
|
@@ -524,9 +499,6 @@ SERVICE_VERSIONS = {
|
|
524
499
|
"msp": [
|
525
500
|
"2018-03-19"
|
526
501
|
],
|
527
|
-
"mvj": [
|
528
|
-
"2019-09-26"
|
529
|
-
],
|
530
502
|
"nlp": [
|
531
503
|
"2019-04-08"
|
532
504
|
],
|
@@ -549,9 +521,6 @@ SERVICE_VERSIONS = {
|
|
549
521
|
"partners": [
|
550
522
|
"2018-03-21"
|
551
523
|
],
|
552
|
-
"pds": [
|
553
|
-
"2021-07-01"
|
554
|
-
],
|
555
524
|
"postgres": [
|
556
525
|
"2017-03-12"
|
557
526
|
],
|
@@ -588,9 +557,6 @@ SERVICE_VERSIONS = {
|
|
588
557
|
"smop": [
|
589
558
|
"2020-12-03"
|
590
559
|
],
|
591
|
-
"smpn": [
|
592
|
-
"2019-08-22"
|
593
|
-
],
|
594
560
|
"sms": [
|
595
561
|
"2021-01-11",
|
596
562
|
"2019-07-11"
|
@@ -598,9 +564,6 @@ SERVICE_VERSIONS = {
|
|
598
564
|
"soe": [
|
599
565
|
"2018-07-24"
|
600
566
|
],
|
601
|
-
"solar": [
|
602
|
-
"2018-10-11"
|
603
|
-
],
|
604
567
|
"sqlserver": [
|
605
568
|
"2018-03-28"
|
606
569
|
],
|
@@ -628,21 +591,12 @@ SERVICE_VERSIONS = {
|
|
628
591
|
"tag": [
|
629
592
|
"2018-08-13"
|
630
593
|
],
|
631
|
-
"tan": [
|
632
|
-
"2022-04-20"
|
633
|
-
],
|
634
594
|
"tat": [
|
635
595
|
"2020-10-28"
|
636
596
|
],
|
637
|
-
"tav": [
|
638
|
-
"2019-01-18"
|
639
|
-
],
|
640
597
|
"tbaas": [
|
641
598
|
"2018-04-16"
|
642
599
|
],
|
643
|
-
"tbm": [
|
644
|
-
"2018-01-29"
|
645
|
-
],
|
646
600
|
"tbp": [
|
647
601
|
"2019-06-27",
|
648
602
|
"2019-03-11"
|
@@ -659,15 +613,9 @@ SERVICE_VERSIONS = {
|
|
659
613
|
"tccatalog": [
|
660
614
|
"2024-10-24"
|
661
615
|
],
|
662
|
-
"tcex": [
|
663
|
-
"2020-07-27"
|
664
|
-
],
|
665
616
|
"tchd": [
|
666
617
|
"2023-03-06"
|
667
618
|
],
|
668
|
-
"tci": [
|
669
|
-
"2019-03-18"
|
670
|
-
],
|
671
619
|
"tcm": [
|
672
620
|
"2021-04-13"
|
673
621
|
],
|
@@ -705,18 +653,6 @@ SERVICE_VERSIONS = {
|
|
705
653
|
"tia": [
|
706
654
|
"2018-02-26"
|
707
655
|
],
|
708
|
-
"tic": [
|
709
|
-
"2020-11-17"
|
710
|
-
],
|
711
|
-
"ticm": [
|
712
|
-
"2018-11-27"
|
713
|
-
],
|
714
|
-
"tics": [
|
715
|
-
"2018-11-15"
|
716
|
-
],
|
717
|
-
"tiems": [
|
718
|
-
"2019-04-16"
|
719
|
-
],
|
720
656
|
"tiia": [
|
721
657
|
"2019-05-29"
|
722
658
|
],
|
@@ -747,9 +683,6 @@ SERVICE_VERSIONS = {
|
|
747
683
|
"trabbit": [
|
748
684
|
"2023-04-18"
|
749
685
|
],
|
750
|
-
"trdp": [
|
751
|
-
"2022-07-26"
|
752
|
-
],
|
753
686
|
"trocket": [
|
754
687
|
"2023-03-08"
|
755
688
|
],
|
@@ -778,9 +711,6 @@ SERVICE_VERSIONS = {
|
|
778
711
|
"tts": [
|
779
712
|
"2019-08-23"
|
780
713
|
],
|
781
|
-
"ump": [
|
782
|
-
"2020-09-18"
|
783
|
-
],
|
784
714
|
"vcg": [
|
785
715
|
"2024-04-04"
|
786
716
|
],
|
@@ -832,9 +762,6 @@ SERVICE_VERSIONS = {
|
|
832
762
|
"yinsuda": [
|
833
763
|
"2022-05-27"
|
834
764
|
],
|
835
|
-
"youmall": [
|
836
|
-
"2018-02-28"
|
837
|
-
],
|
838
765
|
"yunjing": [
|
839
766
|
"2018-02-28"
|
840
767
|
],
|
@@ -11,13 +11,13 @@ from tccli.exceptions import ConfigurationError, ClientError, ParamError
|
|
11
11
|
from tencentcloud.common import credential
|
12
12
|
from tencentcloud.common.profile.http_profile import HttpProfile
|
13
13
|
from tencentcloud.common.profile.client_profile import ClientProfile
|
14
|
-
from tencentcloud.
|
15
|
-
from tencentcloud.
|
14
|
+
from tencentcloud.ai3d.v20250513 import ai3d_client as ai3d_client_v20250513
|
15
|
+
from tencentcloud.ai3d.v20250513 import models as models_v20250513
|
16
16
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
-
def
|
20
|
+
def doSubmitHunyuanTo3DJob(args, parsed_globals):
|
21
21
|
g_param = parse_global_arg(parsed_globals)
|
22
22
|
|
23
23
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -43,14 +43,14 @@ def doDescribeSmpnFnr(args, parsed_globals):
|
|
43
43
|
if g_param[OptionsDefine.Language]:
|
44
44
|
profile.language = g_param[OptionsDefine.Language]
|
45
45
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
46
|
-
client = mod.
|
46
|
+
client = mod.Ai3dClient(cred, g_param[OptionsDefine.Region], profile)
|
47
47
|
client._sdkVersion += ("_CLI_" + __version__)
|
48
48
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
-
model = models.
|
49
|
+
model = models.SubmitHunyuanTo3DJobRequest()
|
50
50
|
model.from_json_string(json.dumps(args))
|
51
51
|
start_time = time.time()
|
52
52
|
while True:
|
53
|
-
rsp = client.
|
53
|
+
rsp = client.SubmitHunyuanTo3DJob(model)
|
54
54
|
result = rsp.to_json_string()
|
55
55
|
try:
|
56
56
|
json_obj = json.loads(result)
|
@@ -69,7 +69,7 @@ def doDescribeSmpnFnr(args, parsed_globals):
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
70
|
|
71
71
|
|
72
|
-
def
|
72
|
+
def doQueryHunyuanTo3DJob(args, parsed_globals):
|
73
73
|
g_param = parse_global_arg(parsed_globals)
|
74
74
|
|
75
75
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -95,14 +95,14 @@ def doDescribeSmpnChp(args, parsed_globals):
|
|
95
95
|
if g_param[OptionsDefine.Language]:
|
96
96
|
profile.language = g_param[OptionsDefine.Language]
|
97
97
|
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
98
|
-
client = mod.
|
98
|
+
client = mod.Ai3dClient(cred, g_param[OptionsDefine.Region], profile)
|
99
99
|
client._sdkVersion += ("_CLI_" + __version__)
|
100
100
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
101
|
-
model = models.
|
101
|
+
model = models.QueryHunyuanTo3DJobRequest()
|
102
102
|
model.from_json_string(json.dumps(args))
|
103
103
|
start_time = time.time()
|
104
104
|
while True:
|
105
|
-
rsp = client.
|
105
|
+
rsp = client.QueryHunyuanTo3DJob(model)
|
106
106
|
result = rsp.to_json_string()
|
107
107
|
try:
|
108
108
|
json_obj = json.loads(result)
|
@@ -122,23 +122,23 @@ def doDescribeSmpnChp(args, parsed_globals):
|
|
122
122
|
|
123
123
|
|
124
124
|
CLIENT_MAP = {
|
125
|
-
"
|
125
|
+
"v20250513": ai3d_client_v20250513,
|
126
126
|
|
127
127
|
}
|
128
128
|
|
129
129
|
MODELS_MAP = {
|
130
|
-
"
|
130
|
+
"v20250513": models_v20250513,
|
131
131
|
|
132
132
|
}
|
133
133
|
|
134
134
|
ACTION_MAP = {
|
135
|
-
"
|
136
|
-
"
|
135
|
+
"SubmitHunyuanTo3DJob": doSubmitHunyuanTo3DJob,
|
136
|
+
"QueryHunyuanTo3DJob": doQueryHunyuanTo3DJob,
|
137
137
|
|
138
138
|
}
|
139
139
|
|
140
140
|
AVAILABLE_VERSION_LIST = [
|
141
|
-
"
|
141
|
+
"v20250513",
|
142
142
|
|
143
143
|
]
|
144
144
|
|
@@ -221,11 +221,11 @@ def parse_global_arg(parsed_globals):
|
|
221
221
|
if g_param[OptionsDefine.ServiceVersion]:
|
222
222
|
g_param[OptionsDefine.Version] = "v" + g_param[OptionsDefine.ServiceVersion].replace('-', '')
|
223
223
|
else:
|
224
|
-
version = conf["
|
224
|
+
version = conf["ai3d"][OptionsDefine.Version]
|
225
225
|
g_param[OptionsDefine.Version] = "v" + version.replace('-', '')
|
226
226
|
|
227
227
|
if g_param[OptionsDefine.Endpoint] is None:
|
228
|
-
g_param[OptionsDefine.Endpoint] = conf["
|
228
|
+
g_param[OptionsDefine.Endpoint] = conf["ai3d"][OptionsDefine.Endpoint]
|
229
229
|
g_param["sts_cred_endpoint"] = conf.get("sts", {}).get("endpoint")
|
230
230
|
except Exception as err:
|
231
231
|
raise ConfigurationError("config file:%s error, %s" % (conf_path, str(err)))
|
@@ -0,0 +1,239 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"QueryHunyuanTo3DJob": {
|
4
|
+
"document": "混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
5
|
+
"input": "QueryHunyuanTo3DJobRequest",
|
6
|
+
"name": "查询混元生3D任务",
|
7
|
+
"output": "QueryHunyuanTo3DJobResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
10
|
+
"SubmitHunyuanTo3DJob": {
|
11
|
+
"document": "混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
12
|
+
"input": "SubmitHunyuanTo3DJobRequest",
|
13
|
+
"name": "提交混元生3D任务",
|
14
|
+
"output": "SubmitHunyuanTo3DJobResponse",
|
15
|
+
"status": "online"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"metadata": {
|
19
|
+
"apiVersion": "2025-05-13",
|
20
|
+
"api_brief": "基于混元大模型,支持根据文本描述或上传2D图像以及多视角图像,自动生成带PBR材质的高质量 3D 模型。",
|
21
|
+
"serviceNameCN": "腾讯混元生3D",
|
22
|
+
"serviceShortName": "ai3d"
|
23
|
+
},
|
24
|
+
"objects": {
|
25
|
+
"File3D": {
|
26
|
+
"document": "3D文件",
|
27
|
+
"members": [
|
28
|
+
{
|
29
|
+
"disabled": false,
|
30
|
+
"document": "文件格式",
|
31
|
+
"example": "OBJ",
|
32
|
+
"member": "string",
|
33
|
+
"name": "Type",
|
34
|
+
"output_required": false,
|
35
|
+
"required": false,
|
36
|
+
"type": "string",
|
37
|
+
"value_allowed_null": false
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"disabled": false,
|
41
|
+
"document": "文件的Url(有效期24小时)",
|
42
|
+
"example": "https://xxx.obj",
|
43
|
+
"member": "string",
|
44
|
+
"name": "Url",
|
45
|
+
"output_required": false,
|
46
|
+
"required": false,
|
47
|
+
"type": "string",
|
48
|
+
"value_allowed_null": false
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"disabled": false,
|
52
|
+
"document": "预览图片Url",
|
53
|
+
"example": "https://xxx.png",
|
54
|
+
"member": "string",
|
55
|
+
"name": "PreviewImageUrl",
|
56
|
+
"output_required": false,
|
57
|
+
"required": false,
|
58
|
+
"type": "string",
|
59
|
+
"value_allowed_null": false
|
60
|
+
}
|
61
|
+
],
|
62
|
+
"usage": "both"
|
63
|
+
},
|
64
|
+
"QueryHunyuanTo3DJobRequest": {
|
65
|
+
"document": "QueryHunyuanTo3DJob请求参数结构体",
|
66
|
+
"members": [
|
67
|
+
{
|
68
|
+
"disabled": false,
|
69
|
+
"document": "任务ID。",
|
70
|
+
"example": "1315932989749215232",
|
71
|
+
"member": "string",
|
72
|
+
"name": "JobId",
|
73
|
+
"required": false,
|
74
|
+
"type": "string"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"type": "object"
|
78
|
+
},
|
79
|
+
"QueryHunyuanTo3DJobResponse": {
|
80
|
+
"document": "QueryHunyuanTo3DJob返回参数结构体",
|
81
|
+
"members": [
|
82
|
+
{
|
83
|
+
"disabled": false,
|
84
|
+
"document": "任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功",
|
85
|
+
"example": "RUN",
|
86
|
+
"member": "string",
|
87
|
+
"name": "Status",
|
88
|
+
"output_required": false,
|
89
|
+
"type": "string",
|
90
|
+
"value_allowed_null": false
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"disabled": false,
|
94
|
+
"document": "错误码",
|
95
|
+
"example": "InvalidParameter",
|
96
|
+
"member": "string",
|
97
|
+
"name": "ErrorCode",
|
98
|
+
"output_required": false,
|
99
|
+
"type": "string",
|
100
|
+
"value_allowed_null": false
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"disabled": false,
|
104
|
+
"document": "错误信息",
|
105
|
+
"example": "参数错误",
|
106
|
+
"member": "string",
|
107
|
+
"name": "ErrorMessage",
|
108
|
+
"output_required": false,
|
109
|
+
"type": "string",
|
110
|
+
"value_allowed_null": false
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"disabled": false,
|
114
|
+
"document": "生成的3D文件数组。",
|
115
|
+
"example": "无",
|
116
|
+
"member": "File3D",
|
117
|
+
"name": "ResultFile3Ds",
|
118
|
+
"output_required": false,
|
119
|
+
"type": "list",
|
120
|
+
"value_allowed_null": false
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
124
|
+
"member": "string",
|
125
|
+
"name": "RequestId",
|
126
|
+
"type": "string"
|
127
|
+
}
|
128
|
+
],
|
129
|
+
"type": "object"
|
130
|
+
},
|
131
|
+
"SubmitHunyuanTo3DJobRequest": {
|
132
|
+
"document": "SubmitHunyuanTo3DJob请求参数结构体",
|
133
|
+
"members": [
|
134
|
+
{
|
135
|
+
"disabled": false,
|
136
|
+
"document": "文生3D,3D内容的描述,中文正向提示词。\n最多支持200个 utf-8 字符。\n文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。",
|
137
|
+
"example": "一只小猫",
|
138
|
+
"member": "string",
|
139
|
+
"name": "Prompt",
|
140
|
+
"required": false,
|
141
|
+
"type": "string"
|
142
|
+
},
|
143
|
+
{
|
144
|
+
"disabled": false,
|
145
|
+
"document": "输入图 Base64 数据。\n大小:单边分辨率要求不小于128,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)\n格式:jpg,png,jpeg,webp。\nImageBase64、ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。",
|
146
|
+
"example": "/9j/4QlQaHR0c...N6a2M5ZCI",
|
147
|
+
"member": "string",
|
148
|
+
"name": "ImageBase64",
|
149
|
+
"required": false,
|
150
|
+
"type": "string"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"disabled": false,
|
154
|
+
"document": "输入图Url。\n大小:单边分辨率要求不小于128,不大于5000。大小不超过8m(base64编码后会大30%左右,建议实际输入图片不超过6m)\n格式:jpg,png,jpeg,webp。\nImageBase64/ImageUrl和 Prompt必填其一,且Prompt和ImageBase64/ImageUrl不能同时存在。",
|
155
|
+
"example": "https://xxx.com/imageurl.jpg",
|
156
|
+
"member": "string",
|
157
|
+
"name": "ImageUrl",
|
158
|
+
"required": false,
|
159
|
+
"type": "string"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"disabled": false,
|
163
|
+
"document": "多视角的模型图片,视角参考值:\nleft:左视图;\nright:右视图;\nback:后视图;\n\n每个视角仅限制一张图片。\n●图片大小限制:编码后大小不可超过8M。\n●图片分辨率限制:单边分辨率小于5000且大于128。\n●支持图片格式:支持jpg或png",
|
164
|
+
"example": "[{\"ViewType\":\"back\", \"ViewImageUrl\":\"https://xxx.com/imageurl.jpg\"}]",
|
165
|
+
"member": "ViewImage",
|
166
|
+
"name": "MultiViewImages",
|
167
|
+
"required": false,
|
168
|
+
"type": "list"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"disabled": false,
|
172
|
+
"document": "生成模型的格式,仅限制生成一种格式。\n生成模型文件组默认返回obj格式。\n可选值:OBJ,GLB,STL,USDZ,FBX,MP4。",
|
173
|
+
"example": "OBJ",
|
174
|
+
"member": "string",
|
175
|
+
"name": "ResultFormat",
|
176
|
+
"required": false,
|
177
|
+
"type": "string"
|
178
|
+
},
|
179
|
+
{
|
180
|
+
"disabled": false,
|
181
|
+
"document": "是否开启 PBR材质生成,默认 false。",
|
182
|
+
"example": "false",
|
183
|
+
"member": "bool",
|
184
|
+
"name": "EnablePBR",
|
185
|
+
"required": false,
|
186
|
+
"type": "bool"
|
187
|
+
}
|
188
|
+
],
|
189
|
+
"type": "object"
|
190
|
+
},
|
191
|
+
"SubmitHunyuanTo3DJobResponse": {
|
192
|
+
"document": "SubmitHunyuanTo3DJob返回参数结构体",
|
193
|
+
"members": [
|
194
|
+
{
|
195
|
+
"disabled": false,
|
196
|
+
"document": "任务ID(有效期24小时)",
|
197
|
+
"example": "1315932989749215232",
|
198
|
+
"member": "string",
|
199
|
+
"name": "JobId",
|
200
|
+
"output_required": false,
|
201
|
+
"type": "string",
|
202
|
+
"value_allowed_null": false
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
206
|
+
"member": "string",
|
207
|
+
"name": "RequestId",
|
208
|
+
"type": "string"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"type": "object"
|
212
|
+
},
|
213
|
+
"ViewImage": {
|
214
|
+
"document": "多视角图片",
|
215
|
+
"members": [
|
216
|
+
{
|
217
|
+
"disabled": false,
|
218
|
+
"document": "视角类型。\n取值:back、left、right",
|
219
|
+
"example": "back",
|
220
|
+
"member": "string",
|
221
|
+
"name": "ViewType",
|
222
|
+
"required": false,
|
223
|
+
"type": "string"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"disabled": false,
|
227
|
+
"document": "图片Url地址",
|
228
|
+
"example": "http://xxx.com/image.jpg",
|
229
|
+
"member": "string",
|
230
|
+
"name": "ViewImageUrl",
|
231
|
+
"required": false,
|
232
|
+
"type": "string"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"usage": "in"
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"version": "1.0"
|
239
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"QueryHunyuanTo3DJob": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: ai3d.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryHunyuanTo3DJob\n<公共请求参数>\n\n{\n \"JobId\": \"1315932989749215232\"\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"ErrorCode\": \"\",\n \"ErrorMessage\": \"\",\n \"RequestId\": \"cfbcde8e-dc35-47ec-adda-0fa6d5db1dd2\",\n \"ResultFile3Ds\": [\n {\n \"Type\": \"STL\",\n \"Url\": \"https://xxx.cos.ap-guangzhou.tencentcos.cn/xxx.stl\"\n }\n ],\n \"Status\": \"DONE\"\n }\n}",
|
8
|
+
"title": "调用请求示例"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"SubmitHunyuanTo3DJob": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: ai3d.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitHunyuanTo3DJob\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xxx.png\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"1315932989749215232\",\n \"RequestId\": \"1efb4823-902e-4809-9656-aea168410e54\"\n }\n}",
|
16
|
+
"title": "调用请求示例"
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
"version": "1.0"
|
21
|
+
}
|
@@ -136,14 +136,14 @@
|
|
136
136
|
"TextToImageLite": {
|
137
137
|
"document": "混元文生图接口,基于混元大模型,根据输入的文本描述智能生成图片\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
138
138
|
"input": "TextToImageLiteRequest",
|
139
|
-
"name": "
|
139
|
+
"name": "混元生图(极速版)",
|
140
140
|
"output": "TextToImageLiteResponse",
|
141
141
|
"status": "online"
|
142
142
|
},
|
143
143
|
"TextToImageRapid": {
|
144
144
|
"document": "混元文生图接口,基于混元大模型,根据输入的文本描述智能生成图片\n默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。",
|
145
145
|
"input": "TextToImageRapidRequest",
|
146
|
-
"name": "
|
146
|
+
"name": "混元生图 2.0",
|
147
147
|
"output": "TextToImageRapidResponse",
|
148
148
|
"status": "online"
|
149
149
|
},
|
@@ -158,7 +158,7 @@
|
|
158
158
|
"metadata": {
|
159
159
|
"apiVersion": "2022-12-29",
|
160
160
|
"api_brief": "结合输入的文本或图片智能创作出与输入相关的图像内容。",
|
161
|
-
"serviceNameCN": "
|
161
|
+
"serviceNameCN": "腾讯混元生图",
|
162
162
|
"serviceShortName": "aiart"
|
163
163
|
},
|
164
164
|
"objects": {
|
@@ -6576,6 +6576,17 @@
|
|
6576
6576
|
"required": false,
|
6577
6577
|
"type": "bool",
|
6578
6578
|
"value_allowed_null": false
|
6579
|
+
},
|
6580
|
+
{
|
6581
|
+
"disabled": false,
|
6582
|
+
"document": "实例后端服务健康状态检查的超时时间,单位为秒,取值范围[60,7200],默认时间1800秒。仅在CheckInstanceTargetHealth参数开启后生效,若实例健康检查超时,则标记为刷新失败。",
|
6583
|
+
"example": "600",
|
6584
|
+
"member": "uint64",
|
6585
|
+
"name": "CheckInstanceTargetHealthTimeout",
|
6586
|
+
"output_required": false,
|
6587
|
+
"required": false,
|
6588
|
+
"type": "int",
|
6589
|
+
"value_allowed_null": false
|
6579
6590
|
}
|
6580
6591
|
],
|
6581
6592
|
"usage": "both"
|