tencentcloud-sdk-python 3.0.1491__py2.py3-none-any.whl → 3.1.6__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/aai/v20180522/aai_client_async.py +100 -0
- tencentcloud/aca/v20210323/aca_client_async.py +170 -0
- tencentcloud/acp/v20220105/acp_client_async.py +170 -0
- tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
- tencentcloud/af/v20200226/af_client_async.py +86 -0
- tencentcloud/afc/v20200226/afc_client_async.py +82 -0
- tencentcloud/ags/v20250920/ags_client_async.py +243 -0
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
- tencentcloud/ame/v20190916/ame_client_async.py +586 -0
- tencentcloud/ams/v20200608/ams_client_async.py +179 -0
- tencentcloud/ams/v20201229/ams_client_async.py +169 -0
- tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
- tencentcloud/ape/v20200513/ape_client_async.py +170 -0
- tencentcloud/api/v20201106/api_client_async.py +80 -0
- tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
- tencentcloud/apm/v20210622/apm_client_async.py +495 -0
- tencentcloud/asr/v20190614/asr_client_async.py +647 -0
- tencentcloud/asw/v20200722/asw_client_async.py +188 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
- tencentcloud/autoscaling/v20180419/models.py +36 -0
- tencentcloud/ba/v20200720/ba_client_async.py +81 -0
- tencentcloud/batch/v20170312/batch_client_async.py +582 -0
- tencentcloud/bda/v20200324/bda_client_async.py +116 -0
- tencentcloud/bh/v20230418/bh_client.py +230 -0
- tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
- tencentcloud/bh/v20230418/models.py +1677 -216
- tencentcloud/bi/v20220105/bi_client_async.py +548 -0
- tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
- tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
- tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
- tencentcloud/bma/v20210624/bma_client_async.py +530 -0
- tencentcloud/bma/v20221115/bma_client_async.py +224 -0
- tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
- tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
- tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
- tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
- tencentcloud/bri/v20190328/bri_client_async.py +58 -0
- tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
- tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
- tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
- tencentcloud/ca/v20230228/ca_client_async.py +80 -0
- tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
- tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
- tencentcloud/car/v20220110/car_client_async.py +134 -0
- tencentcloud/cat/v20180409/cat_client_async.py +279 -0
- tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
- tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
- tencentcloud/cdb/v20170320/models.py +74 -44
- tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
- tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
- tencentcloud/cds/v20180420/cds_client_async.py +116 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
- tencentcloud/cdwch/v20200915/models.py +34 -4
- tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
- tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
- tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
- tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
- tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
- tencentcloud/cfs/v20190719/models.py +40 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
- tencentcloud/cfw/v20190904/models.py +784 -8
- tencentcloud/chc/v20230418/chc_client_async.py +710 -0
- tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
- tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
- tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
- tencentcloud/cii/v20201210/cii_client_async.py +80 -0
- tencentcloud/cii/v20210408/cii_client_async.py +262 -0
- tencentcloud/cim/v20190318/cim_client_async.py +44 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
- tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
- tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
- tencentcloud/ckafka/v20190819/models.py +741 -62
- tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
- tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
- tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
- tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
- tencentcloud/cloudhsm/v20191112/models.py +49 -0
- tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
- tencentcloud/cls/v20201016/models.py +1427 -74
- tencentcloud/cme/v20191029/cme_client_async.py +983 -0
- tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
- tencentcloud/cms/v20190321/cms_client_async.py +134 -0
- tencentcloud/common/abstract_client_async.py +654 -0
- tencentcloud/common/common_client_async.py +45 -0
- tencentcloud/common/http/request_async.py +62 -0
- tencentcloud/common/retry_async.py +87 -0
- tencentcloud/config/v20220802/config_client_async.py +152 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
- tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
- tencentcloud/csip/v20221121/models.py +105 -0
- tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
- tencentcloud/ctem/v20231128/ctem_client.py +644 -0
- tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
- tencentcloud/ctem/v20231128/models.py +4999 -711
- tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +14 -14
- tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
- tencentcloud/cws/v20180312/cws_client_async.py +368 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
- tencentcloud/cynosdb/v20190107/models.py +99 -2
- tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
- tencentcloud/dataagent/v20250513/models.py +15 -0
- tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
- tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
- tencentcloud/dbbrain/v20210527/models.py +463 -12
- tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
- tencentcloud/dc/v20180410/dc_client_async.py +425 -0
- tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
- tencentcloud/dlc/v20210125/errorcodes.py +9 -0
- tencentcloud/dlc/v20210125/models.py +1424 -17
- tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +2 -2
- tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
- tencentcloud/drm/v20181115/drm_client_async.py +231 -0
- tencentcloud/ds/v20180523/ds_client_async.py +244 -0
- tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
- tencentcloud/dsgc/v20190723/models.py +36 -36
- tencentcloud/dts/v20180330/dts_client_async.py +438 -0
- tencentcloud/dts/v20211206/dts_client.py +184 -0
- tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
- tencentcloud/dts/v20211206/models.py +1275 -98
- tencentcloud/eb/v20210416/eb_client_async.py +602 -0
- tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
- tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
- tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
- tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
- tencentcloud/eis/v20200715/eis_client_async.py +80 -0
- tencentcloud/eis/v20210601/eis_client_async.py +116 -0
- tencentcloud/emr/v20190103/emr_client.py +23 -0
- tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
- tencentcloud/emr/v20190103/models.py +395 -0
- tencentcloud/es/v20180416/es_client_async.py +1209 -0
- tencentcloud/es/v20250101/es_client.py +6 -5
- tencentcloud/es/v20250101/es_client_async.py +216 -0
- tencentcloud/es/v20250101/models.py +6 -6
- tencentcloud/ess/v20201111/ess_client.py +6 -2
- tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
- tencentcloud/ess/v20201111/models.py +468 -19
- tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
- tencentcloud/essbasic/v20210526/models.py +320 -6
- tencentcloud/evt/__init__.py +0 -0
- tencentcloud/evt/v20250217/__init__.py +0 -0
- tencentcloud/evt/v20250217/errorcodes.py +15 -0
- tencentcloud/evt/v20250217/evt_client.py +49 -0
- tencentcloud/evt/v20250217/evt_client_async.py +44 -0
- tencentcloud/evt/v20250217/models.py +228 -0
- tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
- tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
- tencentcloud/faceid/v20180301/errorcodes.py +0 -6
- tencentcloud/faceid/v20180301/faceid_client.py +0 -23
- tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
- tencentcloud/faceid/v20180301/models.py +45 -195
- tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
- tencentcloud/ft/v20200304/ft_client_async.py +134 -0
- tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
- tencentcloud/gme/v20180711/gme_client_async.py +865 -0
- tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
- tencentcloud/gs/v20191118/gs_client.py +46 -0
- tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
- tencentcloud/gs/v20191118/models.py +227 -0
- tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
- tencentcloud/habo/v20181203/habo_client_async.py +62 -0
- tencentcloud/hai/v20230812/hai_client_async.py +316 -0
- tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
- tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
- tencentcloud/iai/v20180301/iai_client.py +0 -44
- tencentcloud/iai/v20180301/iai_client_async.py +728 -0
- tencentcloud/iai/v20180301/models.py +0 -171
- tencentcloud/iai/v20200303/iai_client.py +1 -35
- tencentcloud/iai/v20200303/iai_client_async.py +802 -0
- tencentcloud/iai/v20200303/models.py +0 -175
- tencentcloud/iap/v20240713/iap_client_async.py +134 -0
- tencentcloud/ic/v20190307/ic_client_async.py +193 -0
- tencentcloud/icr/v20211014/icr_client_async.py +44 -0
- tencentcloud/ie/v20200304/ie_client_async.py +206 -0
- tencentcloud/ig/v20210518/ig_client_async.py +44 -0
- tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
- tencentcloud/igtm/v20231024/models.py +110 -0
- tencentcloud/ims/v20200713/ims_client_async.py +60 -0
- tencentcloud/ims/v20201229/ims_client_async.py +132 -0
- tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
- tencentcloud/iot/v20180123/iot_client_async.py +838 -0
- tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
- tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
- tencentcloud/iotexplorer/v20190423/models.py +1669 -337
- tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
- tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
- tencentcloud/irp/v20220324/irp_client_async.py +98 -0
- tencentcloud/irp/v20220805/irp_client_async.py +152 -0
- tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
- tencentcloud/iss/v20230517/models.py +2 -2
- tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
- tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
- tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
- tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
- tencentcloud/live/v20180801/live_client.py +0 -25
- tencentcloud/live/v20180801/live_client_async.py +3758 -0
- tencentcloud/live/v20180801/models.py +0 -282
- tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
- tencentcloud/lke/v20231130/models.py +82 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
- tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
- tencentcloud/mall/v20230518/mall_client_async.py +44 -0
- tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
- tencentcloud/market/v20191010/market_client_async.py +62 -0
- tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
- tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
- tencentcloud/mna/v20210119/mna_client_async.py +764 -0
- tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
- tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
- tencentcloud/mongodb/v20190725/models.py +390 -2
- tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
- tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
- tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
- tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +2329 -290
- tencentcloud/mps/v20190612/mps_client.py +232 -0
- tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
- tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
- tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
- tencentcloud/ms/v20180408/ms_client_async.py +450 -0
- tencentcloud/msp/v20180319/msp_client_async.py +154 -0
- tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
- tencentcloud/npp/v20190823/npp_client_async.py +170 -0
- tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
- tencentcloud/ocr/v20181119/models.py +232 -0
- tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
- tencentcloud/omics/v20221128/omics_client_async.py +386 -0
- tencentcloud/organization/v20181225/organization_client_async.py +386 -0
- tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
- tencentcloud/partners/v20180321/partners_client_async.py +444 -0
- tencentcloud/postgres/v20170312/errorcodes.py +6 -0
- tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
- tencentcloud/privatedns/v20201028/models.py +783 -17
- tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
- tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
- tencentcloud/pts/v20210728/pts_client_async.py +890 -0
- tencentcloud/rce/v20201103/rce_client_async.py +224 -0
- tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
- tencentcloud/region/v20220627/region_client_async.py +80 -0
- tencentcloud/rum/v20210622/rum_client_async.py +999 -0
- tencentcloud/scf/v20180416/errorcodes.py +6 -0
- tencentcloud/scf/v20180416/models.py +263 -0
- tencentcloud/scf/v20180416/scf_client_async.py +984 -0
- tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
- tencentcloud/ses/v20201002/ses_client_async.py +657 -0
- tencentcloud/smh/v20210712/smh_client_async.py +296 -0
- tencentcloud/smop/v20201203/smop_client_async.py +46 -0
- tencentcloud/sms/v20190711/sms_client_async.py +326 -0
- tencentcloud/sms/v20210111/sms_client_async.py +365 -0
- tencentcloud/soe/v20180724/soe_client_async.py +98 -0
- tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
- tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
- tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
- tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
- tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
- tencentcloud/sts/v20180813/sts_client_async.py +205 -0
- tencentcloud/svp/v20240125/svp_client_async.py +116 -0
- tencentcloud/taf/v20200210/taf_client_async.py +44 -0
- tencentcloud/tag/v20180813/tag_client_async.py +584 -0
- tencentcloud/tat/v20201028/tat_client_async.py +565 -0
- tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
- tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
- tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
- tencentcloud/tcbr/v20220217/models.py +15 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
- tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
- tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
- tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
- tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
- tencentcloud/tdai/v20250717/models.py +55 -10
- tencentcloud/tdai/v20250717/tdai_client.py +1 -1
- tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
- tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
- tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +636 -904
- tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
- tencentcloud/tds/v20220801/tds_client_async.py +116 -0
- tencentcloud/tem/v20201221/tem_client_async.py +332 -0
- tencentcloud/tem/v20210701/tem_client_async.py +949 -0
- tencentcloud/teo/v20220106/teo_client_async.py +120 -0
- tencentcloud/teo/v20220901/models.py +267 -4
- tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
- tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
- tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
- tencentcloud/thpc/v20230321/models.py +30 -0
- tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
- tencentcloud/tia/v20180226/tia_client_async.py +206 -0
- tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
- tencentcloud/tione/v20191022/tione_client_async.py +422 -0
- tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
- tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +3129 -288
- tencentcloud/tke/v20180525/tke_client.py +414 -0
- tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
- tencentcloud/tke/v20220501/tke_client_async.py +343 -0
- tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
- tencentcloud/tms/v20200713/tms_client_async.py +98 -0
- tencentcloud/tms/v20201229/tms_client_async.py +97 -0
- tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
- tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
- tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
- tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
- tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
- tencentcloud/trro/v20220325/trro_client_async.py +588 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +21 -6
- tencentcloud/trtc/v20190722/trtc_client.py +1 -0
- tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
- tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
- tencentcloud/tsf/v20180326/models.py +4 -4
- tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
- tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
- tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
- tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
- tencentcloud/tts/v20190823/tts_client_async.py +107 -0
- tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
- tencentcloud/vclm/v20240523/errorcodes.py +27 -0
- tencentcloud/vclm/v20240523/models.py +415 -16
- tencentcloud/vclm/v20240523/vclm_client.py +47 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
- tencentcloud/vcube/v20220410/models.py +98 -0
- tencentcloud/vcube/v20220410/vcube_client.py +46 -0
- tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
- tencentcloud/vm/v20200709/vm_client_async.py +120 -0
- tencentcloud/vm/v20201229/vm_client_async.py +139 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client_async.py +148 -0
- tencentcloud/vms/v20200902/vms_client_async.py +62 -0
- tencentcloud/vod/v20180717/models.py +6 -2
- tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
- tencentcloud/vod/v20240718/vod_client_async.py +160 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
- tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
- tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
- tencentcloud/waf/v20180125/models.py +3924 -0
- tencentcloud/waf/v20180125/waf_client.py +230 -0
- tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
- tencentcloud/wav/v20210129/wav_client_async.py +494 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
- tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
- tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
- tencentcloud/wss/v20180426/wss_client_async.py +80 -0
- tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
- tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
- tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
- tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.hunyuan.v20230901 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class HunyuanClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2023-09-01'
|
|
25
|
+
_endpoint = 'hunyuan.tencentcloudapi.com'
|
|
26
|
+
_service = 'hunyuan'
|
|
27
|
+
|
|
28
|
+
async def ActivateService(
|
|
29
|
+
self,
|
|
30
|
+
request: models.ActivateServiceRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.ActivateServiceResponse:
|
|
33
|
+
"""
|
|
34
|
+
开通服务
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "ActivateService"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.ActivateServiceResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def ChatCompletions(
|
|
47
|
+
self,
|
|
48
|
+
request: models.ChatCompletionsRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.ChatCompletionsResponse:
|
|
51
|
+
"""
|
|
52
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
53
|
+
|
|
54
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
55
|
+
|
|
56
|
+
1. 本接口暂不支持返回图片内容。
|
|
57
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
58
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
59
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
kwargs = {}
|
|
63
|
+
kwargs["action"] = "ChatCompletions"
|
|
64
|
+
kwargs["params"] = request._serialize()
|
|
65
|
+
kwargs["resp_cls"] = models.ChatCompletionsResponse
|
|
66
|
+
kwargs["headers"] = request.headers
|
|
67
|
+
kwargs["opts"] = opts or {}
|
|
68
|
+
|
|
69
|
+
return await self.call_and_deserialize(**kwargs)
|
|
70
|
+
|
|
71
|
+
async def ChatTranslations(
|
|
72
|
+
self,
|
|
73
|
+
request: models.ChatTranslationsRequest,
|
|
74
|
+
opts: Dict = None,
|
|
75
|
+
) -> models.ChatTranslationsResponse:
|
|
76
|
+
"""
|
|
77
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
78
|
+
|
|
79
|
+
1. 本接口暂不支持返回图片内容。
|
|
80
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
81
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
82
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
83
|
+
"""
|
|
84
|
+
|
|
85
|
+
kwargs = {}
|
|
86
|
+
kwargs["action"] = "ChatTranslations"
|
|
87
|
+
kwargs["params"] = request._serialize()
|
|
88
|
+
kwargs["resp_cls"] = models.ChatTranslationsResponse
|
|
89
|
+
kwargs["headers"] = request.headers
|
|
90
|
+
kwargs["opts"] = opts or {}
|
|
91
|
+
|
|
92
|
+
return await self.call_and_deserialize(**kwargs)
|
|
93
|
+
|
|
94
|
+
async def CreateThread(
|
|
95
|
+
self,
|
|
96
|
+
request: models.CreateThreadRequest,
|
|
97
|
+
opts: Dict = None,
|
|
98
|
+
) -> models.CreateThreadResponse:
|
|
99
|
+
"""
|
|
100
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
101
|
+
|
|
102
|
+
1. 本接口暂不支持返回图片内容。
|
|
103
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
104
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
105
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
kwargs = {}
|
|
109
|
+
kwargs["action"] = "CreateThread"
|
|
110
|
+
kwargs["params"] = request._serialize()
|
|
111
|
+
kwargs["resp_cls"] = models.CreateThreadResponse
|
|
112
|
+
kwargs["headers"] = request.headers
|
|
113
|
+
kwargs["opts"] = opts or {}
|
|
114
|
+
|
|
115
|
+
return await self.call_and_deserialize(**kwargs)
|
|
116
|
+
|
|
117
|
+
async def FilesDeletions(
|
|
118
|
+
self,
|
|
119
|
+
request: models.FilesDeletionsRequest,
|
|
120
|
+
opts: Dict = None,
|
|
121
|
+
) -> models.FilesDeletionsResponse:
|
|
122
|
+
"""
|
|
123
|
+
删除文件。
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
kwargs = {}
|
|
127
|
+
kwargs["action"] = "FilesDeletions"
|
|
128
|
+
kwargs["params"] = request._serialize()
|
|
129
|
+
kwargs["resp_cls"] = models.FilesDeletionsResponse
|
|
130
|
+
kwargs["headers"] = request.headers
|
|
131
|
+
kwargs["opts"] = opts or {}
|
|
132
|
+
|
|
133
|
+
return await self.call_and_deserialize(**kwargs)
|
|
134
|
+
|
|
135
|
+
async def FilesList(
|
|
136
|
+
self,
|
|
137
|
+
request: models.FilesListRequest,
|
|
138
|
+
opts: Dict = None,
|
|
139
|
+
) -> models.FilesListResponse:
|
|
140
|
+
"""
|
|
141
|
+
文件列表。
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
kwargs = {}
|
|
145
|
+
kwargs["action"] = "FilesList"
|
|
146
|
+
kwargs["params"] = request._serialize()
|
|
147
|
+
kwargs["resp_cls"] = models.FilesListResponse
|
|
148
|
+
kwargs["headers"] = request.headers
|
|
149
|
+
kwargs["opts"] = opts or {}
|
|
150
|
+
|
|
151
|
+
return await self.call_and_deserialize(**kwargs)
|
|
152
|
+
|
|
153
|
+
async def FilesUploads(
|
|
154
|
+
self,
|
|
155
|
+
request: models.FilesUploadsRequest,
|
|
156
|
+
opts: Dict = None,
|
|
157
|
+
) -> models.FilesUploadsResponse:
|
|
158
|
+
"""
|
|
159
|
+
上传用于不同用途的文件。
|
|
160
|
+
当前用途仅支持 hunyuan 等模型的文档理解。
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "FilesUploads"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.FilesUploadsResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def GetEmbedding(
|
|
173
|
+
self,
|
|
174
|
+
request: models.GetEmbeddingRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.GetEmbeddingResponse:
|
|
177
|
+
"""
|
|
178
|
+
腾讯混元 Embedding 接口,可以将文本转化为高质量的向量数据。向量维度为1024维。
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "GetEmbedding"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.GetEmbeddingResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def GetThread(
|
|
191
|
+
self,
|
|
192
|
+
request: models.GetThreadRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.GetThreadResponse:
|
|
195
|
+
"""
|
|
196
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
197
|
+
|
|
198
|
+
1. 本接口暂不支持返回图片内容。
|
|
199
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
200
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
201
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
kwargs = {}
|
|
205
|
+
kwargs["action"] = "GetThread"
|
|
206
|
+
kwargs["params"] = request._serialize()
|
|
207
|
+
kwargs["resp_cls"] = models.GetThreadResponse
|
|
208
|
+
kwargs["headers"] = request.headers
|
|
209
|
+
kwargs["opts"] = opts or {}
|
|
210
|
+
|
|
211
|
+
return await self.call_and_deserialize(**kwargs)
|
|
212
|
+
|
|
213
|
+
async def GetThreadMessage(
|
|
214
|
+
self,
|
|
215
|
+
request: models.GetThreadMessageRequest,
|
|
216
|
+
opts: Dict = None,
|
|
217
|
+
) -> models.GetThreadMessageResponse:
|
|
218
|
+
"""
|
|
219
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
220
|
+
|
|
221
|
+
1. 本接口暂不支持返回图片内容。
|
|
222
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
223
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
224
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
225
|
+
"""
|
|
226
|
+
|
|
227
|
+
kwargs = {}
|
|
228
|
+
kwargs["action"] = "GetThreadMessage"
|
|
229
|
+
kwargs["params"] = request._serialize()
|
|
230
|
+
kwargs["resp_cls"] = models.GetThreadMessageResponse
|
|
231
|
+
kwargs["headers"] = request.headers
|
|
232
|
+
kwargs["opts"] = opts or {}
|
|
233
|
+
|
|
234
|
+
return await self.call_and_deserialize(**kwargs)
|
|
235
|
+
|
|
236
|
+
async def GetThreadMessageList(
|
|
237
|
+
self,
|
|
238
|
+
request: models.GetThreadMessageListRequest,
|
|
239
|
+
opts: Dict = None,
|
|
240
|
+
) -> models.GetThreadMessageListResponse:
|
|
241
|
+
"""
|
|
242
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
243
|
+
|
|
244
|
+
1. 本接口暂不支持返回图片内容。
|
|
245
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
246
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
247
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
248
|
+
"""
|
|
249
|
+
|
|
250
|
+
kwargs = {}
|
|
251
|
+
kwargs["action"] = "GetThreadMessageList"
|
|
252
|
+
kwargs["params"] = request._serialize()
|
|
253
|
+
kwargs["resp_cls"] = models.GetThreadMessageListResponse
|
|
254
|
+
kwargs["headers"] = request.headers
|
|
255
|
+
kwargs["opts"] = opts or {}
|
|
256
|
+
|
|
257
|
+
return await self.call_and_deserialize(**kwargs)
|
|
258
|
+
|
|
259
|
+
async def GetTokenCount(
|
|
260
|
+
self,
|
|
261
|
+
request: models.GetTokenCountRequest,
|
|
262
|
+
opts: Dict = None,
|
|
263
|
+
) -> models.GetTokenCountResponse:
|
|
264
|
+
"""
|
|
265
|
+
该接口用于计算文本对应Token数、字符数。
|
|
266
|
+
"""
|
|
267
|
+
|
|
268
|
+
kwargs = {}
|
|
269
|
+
kwargs["action"] = "GetTokenCount"
|
|
270
|
+
kwargs["params"] = request._serialize()
|
|
271
|
+
kwargs["resp_cls"] = models.GetTokenCountResponse
|
|
272
|
+
kwargs["headers"] = request.headers
|
|
273
|
+
kwargs["opts"] = opts or {}
|
|
274
|
+
|
|
275
|
+
return await self.call_and_deserialize(**kwargs)
|
|
276
|
+
|
|
277
|
+
async def GroupChatCompletions(
|
|
278
|
+
self,
|
|
279
|
+
request: models.GroupChatCompletionsRequest,
|
|
280
|
+
opts: Dict = None,
|
|
281
|
+
) -> models.GroupChatCompletionsResponse:
|
|
282
|
+
"""
|
|
283
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
284
|
+
|
|
285
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
286
|
+
|
|
287
|
+
1. 本接口暂不支持返回图片内容。
|
|
288
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
289
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
290
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
291
|
+
"""
|
|
292
|
+
|
|
293
|
+
kwargs = {}
|
|
294
|
+
kwargs["action"] = "GroupChatCompletions"
|
|
295
|
+
kwargs["params"] = request._serialize()
|
|
296
|
+
kwargs["resp_cls"] = models.GroupChatCompletionsResponse
|
|
297
|
+
kwargs["headers"] = request.headers
|
|
298
|
+
kwargs["opts"] = opts or {}
|
|
299
|
+
|
|
300
|
+
return await self.call_and_deserialize(**kwargs)
|
|
301
|
+
|
|
302
|
+
async def ImageQuestion(
|
|
303
|
+
self,
|
|
304
|
+
request: models.ImageQuestionRequest,
|
|
305
|
+
opts: Dict = None,
|
|
306
|
+
) -> models.ImageQuestionResponse:
|
|
307
|
+
"""
|
|
308
|
+
如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)
|
|
309
|
+
|
|
310
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
311
|
+
|
|
312
|
+
1. 本接口暂不支持返回图片内容。
|
|
313
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
314
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
315
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
316
|
+
"""
|
|
317
|
+
|
|
318
|
+
kwargs = {}
|
|
319
|
+
kwargs["action"] = "ImageQuestion"
|
|
320
|
+
kwargs["params"] = request._serialize()
|
|
321
|
+
kwargs["resp_cls"] = models.ImageQuestionResponse
|
|
322
|
+
kwargs["headers"] = request.headers
|
|
323
|
+
kwargs["opts"] = opts or {}
|
|
324
|
+
|
|
325
|
+
return await self.call_and_deserialize(**kwargs)
|
|
326
|
+
|
|
327
|
+
async def QueryHunyuanImageChatJob(
|
|
328
|
+
self,
|
|
329
|
+
request: models.QueryHunyuanImageChatJobRequest,
|
|
330
|
+
opts: Dict = None,
|
|
331
|
+
) -> models.QueryHunyuanImageChatJobResponse:
|
|
332
|
+
"""
|
|
333
|
+
混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
334
|
+
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
335
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
336
|
+
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
337
|
+
"""
|
|
338
|
+
|
|
339
|
+
kwargs = {}
|
|
340
|
+
kwargs["action"] = "QueryHunyuanImageChatJob"
|
|
341
|
+
kwargs["params"] = request._serialize()
|
|
342
|
+
kwargs["resp_cls"] = models.QueryHunyuanImageChatJobResponse
|
|
343
|
+
kwargs["headers"] = request.headers
|
|
344
|
+
kwargs["opts"] = opts or {}
|
|
345
|
+
|
|
346
|
+
return await self.call_and_deserialize(**kwargs)
|
|
347
|
+
|
|
348
|
+
async def QueryHunyuanImageJob(
|
|
349
|
+
self,
|
|
350
|
+
request: models.QueryHunyuanImageJobRequest,
|
|
351
|
+
opts: Dict = None,
|
|
352
|
+
) -> models.QueryHunyuanImageJobResponse:
|
|
353
|
+
"""
|
|
354
|
+
混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
355
|
+
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
|
356
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
357
|
+
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
kwargs = {}
|
|
361
|
+
kwargs["action"] = "QueryHunyuanImageJob"
|
|
362
|
+
kwargs["params"] = request._serialize()
|
|
363
|
+
kwargs["resp_cls"] = models.QueryHunyuanImageJobResponse
|
|
364
|
+
kwargs["headers"] = request.headers
|
|
365
|
+
kwargs["opts"] = opts or {}
|
|
366
|
+
|
|
367
|
+
return await self.call_and_deserialize(**kwargs)
|
|
368
|
+
|
|
369
|
+
async def RunThread(
|
|
370
|
+
self,
|
|
371
|
+
request: models.RunThreadRequest,
|
|
372
|
+
opts: Dict = None,
|
|
373
|
+
) -> models.RunThreadResponse:
|
|
374
|
+
"""
|
|
375
|
+
腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。
|
|
376
|
+
|
|
377
|
+
1. 本接口暂不支持返回图片内容。
|
|
378
|
+
2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。
|
|
379
|
+
3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。
|
|
380
|
+
4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。
|
|
381
|
+
"""
|
|
382
|
+
|
|
383
|
+
kwargs = {}
|
|
384
|
+
kwargs["action"] = "RunThread"
|
|
385
|
+
kwargs["params"] = request._serialize()
|
|
386
|
+
kwargs["resp_cls"] = models.RunThreadResponse
|
|
387
|
+
kwargs["headers"] = request.headers
|
|
388
|
+
kwargs["opts"] = opts or {}
|
|
389
|
+
|
|
390
|
+
return await self.call_and_deserialize(**kwargs)
|
|
391
|
+
|
|
392
|
+
async def SetPayMode(
|
|
393
|
+
self,
|
|
394
|
+
request: models.SetPayModeRequest,
|
|
395
|
+
opts: Dict = None,
|
|
396
|
+
) -> models.SetPayModeResponse:
|
|
397
|
+
"""
|
|
398
|
+
设置付费模式
|
|
399
|
+
"""
|
|
400
|
+
|
|
401
|
+
kwargs = {}
|
|
402
|
+
kwargs["action"] = "SetPayMode"
|
|
403
|
+
kwargs["params"] = request._serialize()
|
|
404
|
+
kwargs["resp_cls"] = models.SetPayModeResponse
|
|
405
|
+
kwargs["headers"] = request.headers
|
|
406
|
+
kwargs["opts"] = opts or {}
|
|
407
|
+
|
|
408
|
+
return await self.call_and_deserialize(**kwargs)
|
|
409
|
+
|
|
410
|
+
async def SubmitHunyuanImageChatJob(
|
|
411
|
+
self,
|
|
412
|
+
request: models.SubmitHunyuanImageChatJobRequest,
|
|
413
|
+
opts: Dict = None,
|
|
414
|
+
) -> models.SubmitHunyuanImageChatJobResponse:
|
|
415
|
+
"""
|
|
416
|
+
混元生图(多轮对话)接口基于混元大模型,将根据输入的文本描述生成图像,支持通过多轮对话的方式不断调整图像内容。分为提交任务和查询任务2个接口。
|
|
417
|
+
提交任务:输入文本和前置对话 ID 等,提交一个混元生图多轮对话异步任务,获得任务 ID。
|
|
418
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得在上一轮对话基础上继续生成的图像结果。
|
|
419
|
+
混元生图(多轮对话)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
420
|
+
"""
|
|
421
|
+
|
|
422
|
+
kwargs = {}
|
|
423
|
+
kwargs["action"] = "SubmitHunyuanImageChatJob"
|
|
424
|
+
kwargs["params"] = request._serialize()
|
|
425
|
+
kwargs["resp_cls"] = models.SubmitHunyuanImageChatJobResponse
|
|
426
|
+
kwargs["headers"] = request.headers
|
|
427
|
+
kwargs["opts"] = opts or {}
|
|
428
|
+
|
|
429
|
+
return await self.call_and_deserialize(**kwargs)
|
|
430
|
+
|
|
431
|
+
async def SubmitHunyuanImageJob(
|
|
432
|
+
self,
|
|
433
|
+
request: models.SubmitHunyuanImageJobRequest,
|
|
434
|
+
opts: Dict = None,
|
|
435
|
+
) -> models.SubmitHunyuanImageJobResponse:
|
|
436
|
+
"""
|
|
437
|
+
混元生图接口基于混元大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
438
|
+
提交任务:输入文本等,提交一个混元生图异步任务,获得任务 ID。
|
|
439
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
440
|
+
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。混元生图默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
441
|
+
"""
|
|
442
|
+
|
|
443
|
+
kwargs = {}
|
|
444
|
+
kwargs["action"] = "SubmitHunyuanImageJob"
|
|
445
|
+
kwargs["params"] = request._serialize()
|
|
446
|
+
kwargs["resp_cls"] = models.SubmitHunyuanImageJobResponse
|
|
447
|
+
kwargs["headers"] = request.headers
|
|
448
|
+
kwargs["opts"] = opts or {}
|
|
449
|
+
|
|
450
|
+
return await self.call_and_deserialize(**kwargs)
|
|
451
|
+
|
|
452
|
+
async def TextToImageLite(
|
|
453
|
+
self,
|
|
454
|
+
request: models.TextToImageLiteRequest,
|
|
455
|
+
opts: Dict = None,
|
|
456
|
+
) -> models.TextToImageLiteResponse:
|
|
457
|
+
"""
|
|
458
|
+
文生图轻量版接口根据输入的文本描述,智能生成与之相关的结果图。
|
|
459
|
+
文生图轻量版默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
460
|
+
"""
|
|
461
|
+
|
|
462
|
+
kwargs = {}
|
|
463
|
+
kwargs["action"] = "TextToImageLite"
|
|
464
|
+
kwargs["params"] = request._serialize()
|
|
465
|
+
kwargs["resp_cls"] = models.TextToImageLiteResponse
|
|
466
|
+
kwargs["headers"] = request.headers
|
|
467
|
+
kwargs["opts"] = opts or {}
|
|
468
|
+
|
|
469
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -382,50 +382,6 @@ class IaiClient(AbstractClient):
|
|
|
382
382
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
383
383
|
|
|
384
384
|
|
|
385
|
-
def DetectLiveFace(self, request):
|
|
386
|
-
r"""用于对用户上传的静态图片进行人脸活体检测。与动态活体检测的区别是:静态活体检测中,用户不需要通过唇语或摇头眨眼等动作来识别。
|
|
387
|
-
|
|
388
|
-
静态活体检测适用于手机自拍的场景,或对防攻击要求不高的场景。如果对活体检测有更高安全性要求,请使用[人脸核身·云智慧眼](https://cloud.tencent.com/product/faceid)产品。
|
|
389
|
-
|
|
390
|
-
>
|
|
391
|
-
- 图片的宽高比请接近3:4,不符合宽高比的图片返回的分值不具备参考意义。本接口适用于类手机自拍场景,非类手机自拍照返回的分值不具备参考意义。
|
|
392
|
-
|
|
393
|
-
>
|
|
394
|
-
- 使用过程中建议正对摄像头,不要距离太远,使面部可以完整地显示在识别的框内,识别过程中不要移动设备或遮挡面部。不要选择光线过强或过弱的环境进行面部识别,识别时不要添加任何滤镜。
|
|
395
|
-
|
|
396
|
-
>
|
|
397
|
-
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
|
|
398
|
-
|
|
399
|
-
## 调用次数计费(资源包)
|
|
400
|
-
|资源包规格|100万次|1000万次|5000万次|1亿次|
|
|
401
|
-
|-|-|-|-|-|
|
|
402
|
-
|人脸静态活体检测|1800元|17400元|75000元|110000元|
|
|
403
|
-
|
|
404
|
-
## 调用次数计费(后付费)
|
|
405
|
-
|月接口调用总量|0<调用量≤300万|300万<调用量≤1500万|调用量>1500万|
|
|
406
|
-
|-|-|-|-|
|
|
407
|
-
|人脸静态活体检测|0.0019元/次|0.0017元/次|0.0013元/次|
|
|
408
|
-
|
|
409
|
-
:param request: Request instance for DetectLiveFace.
|
|
410
|
-
:type request: :class:`tencentcloud.iai.v20180301.models.DetectLiveFaceRequest`
|
|
411
|
-
:rtype: :class:`tencentcloud.iai.v20180301.models.DetectLiveFaceResponse`
|
|
412
|
-
|
|
413
|
-
"""
|
|
414
|
-
try:
|
|
415
|
-
params = request._serialize()
|
|
416
|
-
headers = request.headers
|
|
417
|
-
body = self.call("DetectLiveFace", params, headers=headers)
|
|
418
|
-
response = json.loads(body)
|
|
419
|
-
model = models.DetectLiveFaceResponse()
|
|
420
|
-
model._deserialize(response["Response"])
|
|
421
|
-
return model
|
|
422
|
-
except Exception as e:
|
|
423
|
-
if isinstance(e, TencentCloudSDKException):
|
|
424
|
-
raise
|
|
425
|
-
else:
|
|
426
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
427
|
-
|
|
428
|
-
|
|
429
385
|
def GetGroupInfo(self, request):
|
|
430
386
|
r"""获取人员库信息。
|
|
431
387
|
|