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.
Files changed (391) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aai/v20180522/aai_client_async.py +100 -0
  3. tencentcloud/aca/v20210323/aca_client_async.py +170 -0
  4. tencentcloud/acp/v20220105/acp_client_async.py +170 -0
  5. tencentcloud/advisor/v20200721/advisor_client_async.py +62 -0
  6. tencentcloud/af/v20200226/af_client_async.py +86 -0
  7. tencentcloud/afc/v20200226/afc_client_async.py +82 -0
  8. tencentcloud/ags/v20250920/ags_client_async.py +243 -0
  9. tencentcloud/ai3d/v20250513/ai3d_client_async.py +102 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +513 -0
  11. tencentcloud/ame/v20190916/ame_client_async.py +586 -0
  12. tencentcloud/ams/v20200608/ams_client_async.py +179 -0
  13. tencentcloud/ams/v20201229/ams_client_async.py +169 -0
  14. tencentcloud/anicloud/v20220923/anicloud_client_async.py +80 -0
  15. tencentcloud/antiddos/v20200309/antiddos_client_async.py +1718 -0
  16. tencentcloud/ape/v20200513/ape_client_async.py +170 -0
  17. tencentcloud/api/v20201106/api_client_async.py +80 -0
  18. tencentcloud/apigateway/v20180808/apigateway_client_async.py +1830 -0
  19. tencentcloud/apm/v20210622/apm_client_async.py +495 -0
  20. tencentcloud/asr/v20190614/asr_client_async.py +647 -0
  21. tencentcloud/asw/v20200722/asw_client_async.py +188 -0
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -0
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1230 -0
  24. tencentcloud/autoscaling/v20180419/models.py +36 -0
  25. tencentcloud/ba/v20200720/ba_client_async.py +81 -0
  26. tencentcloud/batch/v20170312/batch_client_async.py +582 -0
  27. tencentcloud/bda/v20200324/bda_client_async.py +116 -0
  28. tencentcloud/bh/v20230418/bh_client.py +230 -0
  29. tencentcloud/bh/v20230418/bh_client_async.py +1844 -0
  30. tencentcloud/bh/v20230418/models.py +1677 -216
  31. tencentcloud/bi/v20220105/bi_client_async.py +548 -0
  32. tencentcloud/billing/v20180709/billing_client_async.py +1149 -0
  33. tencentcloud/bizlive/v20190313/bizlive_client_async.py +134 -0
  34. tencentcloud/bm/v20180423/bm_client_async.py +1012 -0
  35. tencentcloud/bma/v20210624/bma_client_async.py +530 -0
  36. tencentcloud/bma/v20221115/bma_client_async.py +224 -0
  37. tencentcloud/bmeip/v20180625/bmeip_client_async.py +386 -0
  38. tencentcloud/bmlb/v20180625/bmlb_client_async.py +908 -0
  39. tencentcloud/bmvpc/v20180625/bmvpc_client_async.py +1171 -0
  40. tencentcloud/bpaas/v20181217/bpaas_client_async.py +62 -0
  41. tencentcloud/bri/v20190328/bri_client_async.py +58 -0
  42. tencentcloud/bsca/v20210811/bsca_client_async.py +152 -0
  43. tencentcloud/btoe/v20210303/btoe_client_async.py +267 -0
  44. tencentcloud/btoe/v20210514/btoe_client_async.py +287 -0
  45. tencentcloud/ca/v20230228/ca_client_async.py +80 -0
  46. tencentcloud/cam/v20190116/cam_client_async.py +1684 -0
  47. tencentcloud/captcha/v20190722/captcha_client_async.py +350 -0
  48. tencentcloud/car/v20220110/car_client_async.py +134 -0
  49. tencentcloud/cat/v20180409/cat_client_async.py +279 -0
  50. tencentcloud/cbs/v20170312/cbs_client_async.py +959 -0
  51. tencentcloud/ccc/v20200210/ccc_client_async.py +1494 -0
  52. tencentcloud/ccc/v20200210/models.py +15 -0
  53. tencentcloud/cdb/v20170320/cdb_client_async.py +3254 -0
  54. tencentcloud/cdb/v20170320/models.py +74 -44
  55. tencentcloud/cdc/v20201214/cdc_client_async.py +440 -0
  56. tencentcloud/cdn/v20180606/cdn_client_async.py +1090 -0
  57. tencentcloud/cds/v20180420/cds_client_async.py +116 -0
  58. tencentcloud/cdwch/v20200915/cdwch_client_async.py +548 -0
  59. tencentcloud/cdwch/v20200915/models.py +34 -4
  60. tencentcloud/cdwdoris/v20211228/cdwdoris_client_async.py +1106 -0
  61. tencentcloud/cdwpg/v20201230/cdwpg_client_async.py +458 -0
  62. tencentcloud/cdz/v20221123/cdz_client_async.py +62 -0
  63. tencentcloud/cfg/v20210820/cfg_client_async.py +332 -0
  64. tencentcloud/cfs/v20190719/cfs_client_async.py +1054 -0
  65. tencentcloud/cfs/v20190719/models.py +40 -0
  66. tencentcloud/cfw/v20190904/cfw_client.py +23 -0
  67. tencentcloud/cfw/v20190904/cfw_client_async.py +2067 -0
  68. tencentcloud/cfw/v20190904/models.py +784 -8
  69. tencentcloud/chc/v20230418/chc_client_async.py +710 -0
  70. tencentcloud/chdfs/v20190718/chdfs_client_async.py +546 -0
  71. tencentcloud/chdfs/v20201112/chdfs_client_async.py +548 -0
  72. tencentcloud/ciam/v20220331/ciam_client_async.py +440 -0
  73. tencentcloud/cii/v20201210/cii_client_async.py +80 -0
  74. tencentcloud/cii/v20210408/cii_client_async.py +262 -0
  75. tencentcloud/cim/v20190318/cim_client_async.py +44 -0
  76. tencentcloud/ckafka/v20190819/ckafka_client.py +92 -0
  77. tencentcloud/ckafka/v20190819/ckafka_client_async.py +1701 -0
  78. tencentcloud/ckafka/v20190819/errorcodes.py +3 -0
  79. tencentcloud/ckafka/v20190819/models.py +741 -62
  80. tencentcloud/clb/v20180317/clb_client_async.py +1683 -0
  81. tencentcloud/cloudapp/v20220530/cloudapp_client_async.py +175 -0
  82. tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
  83. tencentcloud/cloudhsm/v20191112/cloudhsm_client_async.py +278 -0
  84. tencentcloud/cloudhsm/v20191112/models.py +49 -0
  85. tencentcloud/cloudstudio/v20230508/cloudstudio_client_async.py +188 -0
  86. tencentcloud/cls/v20201016/cls_client.py +92 -0
  87. tencentcloud/cls/v20201016/cls_client_async.py +2362 -0
  88. tencentcloud/cls/v20201016/models.py +1427 -74
  89. tencentcloud/cme/v20191029/cme_client_async.py +983 -0
  90. tencentcloud/cmq/v20190304/cmq_client_async.py +62 -0
  91. tencentcloud/cms/v20190321/cms_client_async.py +134 -0
  92. tencentcloud/common/abstract_client_async.py +654 -0
  93. tencentcloud/common/common_client_async.py +45 -0
  94. tencentcloud/common/http/request_async.py +62 -0
  95. tencentcloud/common/retry_async.py +87 -0
  96. tencentcloud/config/v20220802/config_client_async.py +152 -0
  97. tencentcloud/controlcenter/v20230110/controlcenter_client_async.py +116 -0
  98. tencentcloud/cpdp/v20190820/cpdp_client_async.py +3979 -0
  99. tencentcloud/csip/v20221121/csip_client.py +1 -1
  100. tencentcloud/csip/v20221121/csip_client_async.py +1502 -0
  101. tencentcloud/csip/v20221121/models.py +105 -0
  102. tencentcloud/csxg/v20230303/csxg_client_async.py +116 -0
  103. tencentcloud/ctem/v20231128/ctem_client.py +644 -0
  104. tencentcloud/ctem/v20231128/ctem_client_async.py +1124 -0
  105. tencentcloud/ctem/v20231128/models.py +4999 -711
  106. tencentcloud/ctsdb/v20230202/ctsdb_client_async.py +69 -0
  107. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  108. tencentcloud/cvm/v20170312/cvm_client_async.py +2025 -0
  109. tencentcloud/cvm/v20170312/errorcodes.py +3 -0
  110. tencentcloud/cvm/v20170312/models.py +14 -14
  111. tencentcloud/cwp/v20180228/cwp_client_async.py +9288 -0
  112. tencentcloud/cws/v20180312/cws_client_async.py +368 -0
  113. tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +3068 -0
  114. tencentcloud/cynosdb/v20190107/models.py +99 -2
  115. tencentcloud/dasb/v20191018/dasb_client_async.py +1160 -0
  116. tencentcloud/dataagent/v20250513/dataagent_client_async.py +224 -0
  117. tencentcloud/dataagent/v20250513/models.py +15 -0
  118. tencentcloud/dayu/v20180709/dayu_client_async.py +2042 -0
  119. tencentcloud/dbbrain/v20191016/dbbrain_client_async.py +530 -0
  120. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  121. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +1538 -0
  122. tencentcloud/dbbrain/v20210527/models.py +463 -12
  123. tencentcloud/dbdc/v20201029/dbdc_client_async.py +134 -0
  124. tencentcloud/dc/v20180410/dc_client_async.py +425 -0
  125. tencentcloud/dcdb/v20180411/dcdb_client_async.py +1541 -0
  126. tencentcloud/dlc/v20210125/dlc_client.py +23 -0
  127. tencentcloud/dlc/v20210125/dlc_client_async.py +3322 -0
  128. tencentcloud/dlc/v20210125/errorcodes.py +9 -0
  129. tencentcloud/dlc/v20210125/models.py +1424 -17
  130. tencentcloud/dnspod/v20210323/dnspod_client_async.py +1710 -0
  131. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  132. tencentcloud/dnspod/v20210323/models.py +2 -2
  133. tencentcloud/domain/v20180808/domain_client_async.py +1022 -0
  134. tencentcloud/drm/v20181115/drm_client_async.py +231 -0
  135. tencentcloud/ds/v20180523/ds_client_async.py +244 -0
  136. tencentcloud/dsgc/v20190723/dsgc_client_async.py +2452 -0
  137. tencentcloud/dsgc/v20190723/models.py +36 -36
  138. tencentcloud/dts/v20180330/dts_client_async.py +438 -0
  139. tencentcloud/dts/v20211206/dts_client.py +184 -0
  140. tencentcloud/dts/v20211206/dts_client_async.py +1480 -0
  141. tencentcloud/dts/v20211206/models.py +1275 -98
  142. tencentcloud/eb/v20210416/eb_client_async.py +602 -0
  143. tencentcloud/ecc/v20181213/ecc_client_async.py +100 -0
  144. tencentcloud/ecdn/v20191012/ecdn_client_async.py +162 -0
  145. tencentcloud/ecm/v20190719/ecm_client_async.py +2602 -0
  146. tencentcloud/eiam/v20210420/eiam_client_async.py +782 -0
  147. tencentcloud/eis/v20200715/eis_client_async.py +80 -0
  148. tencentcloud/eis/v20210601/eis_client_async.py +116 -0
  149. tencentcloud/emr/v20190103/emr_client.py +23 -0
  150. tencentcloud/emr/v20190103/emr_client_async.py +1659 -0
  151. tencentcloud/emr/v20190103/models.py +395 -0
  152. tencentcloud/es/v20180416/es_client_async.py +1209 -0
  153. tencentcloud/es/v20250101/es_client.py +6 -5
  154. tencentcloud/es/v20250101/es_client_async.py +216 -0
  155. tencentcloud/es/v20250101/models.py +6 -6
  156. tencentcloud/ess/v20201111/ess_client.py +6 -2
  157. tencentcloud/ess/v20201111/ess_client_async.py +3406 -0
  158. tencentcloud/ess/v20201111/models.py +468 -19
  159. tencentcloud/essbasic/v20201222/essbasic_client_async.py +1029 -0
  160. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  161. tencentcloud/essbasic/v20210526/essbasic_client_async.py +2757 -0
  162. tencentcloud/essbasic/v20210526/models.py +320 -6
  163. tencentcloud/evt/__init__.py +0 -0
  164. tencentcloud/evt/v20250217/__init__.py +0 -0
  165. tencentcloud/evt/v20250217/errorcodes.py +15 -0
  166. tencentcloud/evt/v20250217/evt_client.py +49 -0
  167. tencentcloud/evt/v20250217/evt_client_async.py +44 -0
  168. tencentcloud/evt/v20250217/models.py +228 -0
  169. tencentcloud/facefusion/v20181201/facefusion_client_async.py +86 -0
  170. tencentcloud/facefusion/v20220927/facefusion_client_async.py +83 -0
  171. tencentcloud/faceid/v20180301/errorcodes.py +0 -6
  172. tencentcloud/faceid/v20180301/faceid_client.py +0 -23
  173. tencentcloud/faceid/v20180301/faceid_client_async.py +674 -0
  174. tencentcloud/faceid/v20180301/models.py +45 -195
  175. tencentcloud/fmu/v20191213/fmu_client_async.py +161 -0
  176. tencentcloud/ft/v20200304/ft_client_async.py +134 -0
  177. tencentcloud/gaap/v20180529/gaap_client_async.py +1865 -0
  178. tencentcloud/gme/v20180711/gme_client_async.py +865 -0
  179. tencentcloud/goosefs/v20220519/goosefs_client_async.py +514 -0
  180. tencentcloud/gs/v20191118/gs_client.py +46 -0
  181. tencentcloud/gs/v20191118/gs_client_async.py +1527 -0
  182. tencentcloud/gs/v20191118/models.py +227 -0
  183. tencentcloud/gwlb/v20240906/gwlb_client_async.py +373 -0
  184. tencentcloud/habo/v20181203/habo_client_async.py +62 -0
  185. tencentcloud/hai/v20230812/hai_client_async.py +316 -0
  186. tencentcloud/hasim/v20210716/hasim_client_async.py +422 -0
  187. tencentcloud/hcm/v20181106/hcm_client_async.py +44 -0
  188. tencentcloud/hunyuan/v20230901/hunyuan_client_async.py +469 -0
  189. tencentcloud/iai/v20180301/iai_client.py +0 -44
  190. tencentcloud/iai/v20180301/iai_client_async.py +728 -0
  191. tencentcloud/iai/v20180301/models.py +0 -171
  192. tencentcloud/iai/v20200303/iai_client.py +1 -35
  193. tencentcloud/iai/v20200303/iai_client_async.py +802 -0
  194. tencentcloud/iai/v20200303/models.py +0 -175
  195. tencentcloud/iap/v20240713/iap_client_async.py +134 -0
  196. tencentcloud/ic/v20190307/ic_client_async.py +193 -0
  197. tencentcloud/icr/v20211014/icr_client_async.py +44 -0
  198. tencentcloud/ie/v20200304/ie_client_async.py +206 -0
  199. tencentcloud/ig/v20210518/ig_client_async.py +44 -0
  200. tencentcloud/igtm/v20231024/igtm_client_async.py +494 -0
  201. tencentcloud/igtm/v20231024/models.py +110 -0
  202. tencentcloud/ims/v20200713/ims_client_async.py +60 -0
  203. tencentcloud/ims/v20201229/ims_client_async.py +132 -0
  204. tencentcloud/ioa/v20220601/ioa_client_async.py +512 -0
  205. tencentcloud/iot/v20180123/iot_client_async.py +838 -0
  206. tencentcloud/iotcloud/v20180614/iotcloud_client_async.py +1268 -0
  207. tencentcloud/iotcloud/v20210408/iotcloud_client_async.py +1340 -0
  208. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +161 -0
  209. tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +3632 -0
  210. tencentcloud/iotexplorer/v20190423/models.py +1669 -337
  211. tencentcloud/iotvideo/v20191126/iotvideo_client_async.py +1278 -0
  212. tencentcloud/iotvideo/v20201215/iotvideo_client_async.py +1448 -0
  213. tencentcloud/iotvideo/v20211125/iotvideo_client_async.py +1970 -0
  214. tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client_async.py +1921 -0
  215. tencentcloud/irp/v20220324/irp_client_async.py +98 -0
  216. tencentcloud/irp/v20220805/irp_client_async.py +152 -0
  217. tencentcloud/iss/v20230517/iss_client_async.py +1686 -0
  218. tencentcloud/iss/v20230517/models.py +2 -2
  219. tencentcloud/ivld/v20210903/ivld_client_async.py +636 -0
  220. tencentcloud/keewidb/v20220308/keewidb_client_async.py +711 -0
  221. tencentcloud/kms/v20190118/kms_client_async.py +1252 -0
  222. tencentcloud/lcic/v20220817/lcic_client_async.py +1331 -0
  223. tencentcloud/lighthouse/v20200324/lighthouse_client_async.py +2331 -0
  224. tencentcloud/live/v20180801/live_client.py +0 -25
  225. tencentcloud/live/v20180801/live_client_async.py +3758 -0
  226. tencentcloud/live/v20180801/models.py +0 -282
  227. tencentcloud/lke/v20231130/lke_client_async.py +1923 -0
  228. tencentcloud/lke/v20231130/models.py +82 -0
  229. tencentcloud/lkeap/v20240522/lkeap_client.py +3 -13
  230. tencentcloud/lkeap/v20240522/lkeap_client_async.py +618 -0
  231. tencentcloud/lowcode/v20210108/lowcode_client_async.py +332 -0
  232. tencentcloud/mall/v20230518/mall_client_async.py +44 -0
  233. tencentcloud/mariadb/v20170312/mariadb_client_async.py +1505 -0
  234. tencentcloud/market/v20191010/market_client_async.py +62 -0
  235. tencentcloud/memcached/v20190318/memcached_client_async.py +44 -0
  236. tencentcloud/mmps/v20200710/mmps_client_async.py +296 -0
  237. tencentcloud/mna/v20210119/mna_client_async.py +764 -0
  238. tencentcloud/mongodb/v20180408/mongodb_client_async.py +260 -0
  239. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  240. tencentcloud/mongodb/v20190725/models.py +390 -2
  241. tencentcloud/mongodb/v20190725/mongodb_client.py +46 -0
  242. tencentcloud/mongodb/v20190725/mongodb_client_async.py +1220 -0
  243. tencentcloud/monitor/v20180724/monitor_client_async.py +3099 -0
  244. tencentcloud/monitor/v20230616/monitor_client_async.py +44 -0
  245. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  246. tencentcloud/mps/v20190612/models.py +2329 -290
  247. tencentcloud/mps/v20190612/mps_client.py +232 -0
  248. tencentcloud/mps/v20190612/mps_client_async.py +2729 -0
  249. tencentcloud/mqtt/v20240516/mqtt_client_async.py +1153 -0
  250. tencentcloud/mrs/v20200910/mrs_client_async.py +231 -0
  251. tencentcloud/ms/v20180408/ms_client_async.py +450 -0
  252. tencentcloud/msp/v20180319/msp_client_async.py +154 -0
  253. tencentcloud/nlp/v20190408/nlp_client_async.py +140 -0
  254. tencentcloud/npp/v20190823/npp_client_async.py +170 -0
  255. tencentcloud/oceanus/v20190422/oceanus_client_async.py +844 -0
  256. tencentcloud/ocr/v20181119/models.py +232 -0
  257. tencentcloud/ocr/v20181119/ocr_client_async.py +2228 -0
  258. tencentcloud/omics/v20221128/omics_client_async.py +386 -0
  259. tencentcloud/organization/v20181225/organization_client_async.py +386 -0
  260. tencentcloud/organization/v20210331/organization_client_async.py +2348 -0
  261. tencentcloud/partners/v20180321/partners_client_async.py +444 -0
  262. tencentcloud/postgres/v20170312/errorcodes.py +6 -0
  263. tencentcloud/postgres/v20170312/postgres_client_async.py +1908 -0
  264. tencentcloud/privatedns/v20201028/errorcodes.py +9 -0
  265. tencentcloud/privatedns/v20201028/models.py +783 -17
  266. tencentcloud/privatedns/v20201028/privatedns_client.py +93 -1
  267. tencentcloud/privatedns/v20201028/privatedns_client_async.py +746 -0
  268. tencentcloud/pts/v20210728/pts_client_async.py +890 -0
  269. tencentcloud/rce/v20201103/rce_client_async.py +224 -0
  270. tencentcloud/redis/v20180412/redis_client_async.py +2008 -0
  271. tencentcloud/region/v20220627/region_client_async.py +80 -0
  272. tencentcloud/rum/v20210622/rum_client_async.py +999 -0
  273. tencentcloud/scf/v20180416/errorcodes.py +6 -0
  274. tencentcloud/scf/v20180416/models.py +263 -0
  275. tencentcloud/scf/v20180416/scf_client_async.py +984 -0
  276. tencentcloud/securitylake/v20240117/securitylake_client_async.py +44 -0
  277. tencentcloud/ses/v20201002/ses_client_async.py +657 -0
  278. tencentcloud/smh/v20210712/smh_client_async.py +296 -0
  279. tencentcloud/smop/v20201203/smop_client_async.py +46 -0
  280. tencentcloud/sms/v20190711/sms_client_async.py +326 -0
  281. tencentcloud/sms/v20210111/sms_client_async.py +365 -0
  282. tencentcloud/soe/v20180724/soe_client_async.py +98 -0
  283. tencentcloud/sqlserver/v20180328/sqlserver_client_async.py +2693 -0
  284. tencentcloud/ssa/v20180608/ssa_client_async.py +440 -0
  285. tencentcloud/ssl/v20191205/ssl_client_async.py +1257 -0
  286. tencentcloud/sslpod/v20190605/sslpod_client_async.py +206 -0
  287. tencentcloud/ssm/v20190923/ssm_client_async.py +468 -0
  288. tencentcloud/sts/v20180813/sts_client_async.py +205 -0
  289. tencentcloud/svp/v20240125/svp_client_async.py +116 -0
  290. tencentcloud/taf/v20200210/taf_client_async.py +44 -0
  291. tencentcloud/tag/v20180813/tag_client_async.py +584 -0
  292. tencentcloud/tat/v20201028/tat_client_async.py +565 -0
  293. tencentcloud/tbaas/v20180416/tbaas_client_async.py +458 -0
  294. tencentcloud/tbp/v20190311/tbp_client_async.py +98 -0
  295. tencentcloud/tbp/v20190627/tbp_client_async.py +62 -0
  296. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +986 -0
  297. tencentcloud/tcb/v20180608/tcb_client_async.py +1632 -0
  298. tencentcloud/tcbr/v20220217/models.py +15 -0
  299. tencentcloud/tcbr/v20220217/tcbr_client_async.py +206 -0
  300. tencentcloud/tccatalog/v20241024/tccatalog_client_async.py +98 -0
  301. tencentcloud/tchd/v20230306/tchd_client_async.py +65 -0
  302. tencentcloud/tcm/v20210413/tcm_client_async.py +242 -0
  303. tencentcloud/tcr/v20190924/tcr_client_async.py +2008 -0
  304. tencentcloud/tcss/v20201101/tcss_client_async.py +6169 -0
  305. tencentcloud/tdai/v20250717/models.py +55 -10
  306. tencentcloud/tdai/v20250717/tdai_client.py +1 -1
  307. tencentcloud/tdai/v20250717/tdai_client_async.py +350 -0
  308. tencentcloud/tdcpg/v20211118/tdcpg_client_async.py +482 -0
  309. tencentcloud/tdid/v20210519/tdid_client_async.py +353 -0
  310. tencentcloud/tdmq/v20200217/errorcodes.py +3 -0
  311. tencentcloud/tdmq/v20200217/models.py +636 -904
  312. tencentcloud/tdmq/v20200217/tdmq_client.py +44 -73
  313. tencentcloud/tdmq/v20200217/tdmq_client_async.py +2732 -0
  314. tencentcloud/tds/v20220801/tds_client_async.py +116 -0
  315. tencentcloud/tem/v20201221/tem_client_async.py +332 -0
  316. tencentcloud/tem/v20210701/tem_client_async.py +949 -0
  317. tencentcloud/teo/v20220106/teo_client_async.py +120 -0
  318. tencentcloud/teo/v20220901/models.py +267 -4
  319. tencentcloud/teo/v20220901/teo_client_async.py +3609 -0
  320. tencentcloud/thpc/v20211109/thpc_client_async.py +98 -0
  321. tencentcloud/thpc/v20220401/thpc_client_async.py +321 -0
  322. tencentcloud/thpc/v20230321/models.py +30 -0
  323. tencentcloud/thpc/v20230321/thpc_client_async.py +591 -0
  324. tencentcloud/tia/v20180226/tia_client_async.py +206 -0
  325. tencentcloud/tiia/v20190529/tiia_client_async.py +536 -0
  326. tencentcloud/tione/v20191022/tione_client_async.py +422 -0
  327. tencentcloud/tione/v20211111/tione_client_async.py +1003 -0
  328. tencentcloud/tiw/v20190919/tiw_client_async.py +656 -0
  329. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  330. tencentcloud/tke/v20180525/models.py +3129 -288
  331. tencentcloud/tke/v20180525/tke_client.py +414 -0
  332. tencentcloud/tke/v20180525/tke_client_async.py +4562 -0
  333. tencentcloud/tke/v20220501/tke_client_async.py +343 -0
  334. tencentcloud/tkgdq/v20190411/tkgdq_client_async.py +80 -0
  335. tencentcloud/tms/v20200713/tms_client_async.py +98 -0
  336. tencentcloud/tms/v20201229/tms_client_async.py +97 -0
  337. tencentcloud/tmt/v20180321/tmt_client_async.py +183 -0
  338. tencentcloud/tourism/v20230215/tourism_client_async.py +44 -0
  339. tencentcloud/trabbit/v20230418/trabbit_client_async.py +548 -0
  340. tencentcloud/trocket/v20230308/trocket_client_async.py +1390 -0
  341. tencentcloud/trp/v20210515/trp_client_async.py +1002 -0
  342. tencentcloud/trro/v20220325/trro_client_async.py +588 -0
  343. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  344. tencentcloud/trtc/v20190722/models.py +21 -6
  345. tencentcloud/trtc/v20190722/trtc_client.py +1 -0
  346. tencentcloud/trtc/v20190722/trtc_client_async.py +1516 -0
  347. tencentcloud/tse/v20201207/tse_client_async.py +2240 -0
  348. tencentcloud/tsf/v20180326/models.py +4 -4
  349. tencentcloud/tsf/v20180326/tsf_client_async.py +4143 -0
  350. tencentcloud/tsi/v20210325/tsi_client_async.py +104 -0
  351. tencentcloud/tsw/v20200924/tsw_client_async.py +44 -0
  352. tencentcloud/tsw/v20210412/tsw_client_async.py +80 -0
  353. tencentcloud/tts/v20190823/tts_client_async.py +107 -0
  354. tencentcloud/vcg/v20240404/vcg_client_async.py +62 -0
  355. tencentcloud/vclm/v20240523/errorcodes.py +27 -0
  356. tencentcloud/vclm/v20240523/models.py +415 -16
  357. tencentcloud/vclm/v20240523/vclm_client.py +47 -0
  358. tencentcloud/vclm/v20240523/vclm_client_async.py +263 -0
  359. tencentcloud/vcube/v20220410/models.py +98 -0
  360. tencentcloud/vcube/v20220410/vcube_client.py +46 -0
  361. tencentcloud/vcube/v20220410/vcube_client_async.py +674 -0
  362. tencentcloud/vdb/v20230616/vdb_client_async.py +278 -0
  363. tencentcloud/vm/v20200709/vm_client_async.py +120 -0
  364. tencentcloud/vm/v20201229/vm_client_async.py +139 -0
  365. tencentcloud/vm/v20210922/models.py +2 -2
  366. tencentcloud/vm/v20210922/vm_client_async.py +148 -0
  367. tencentcloud/vms/v20200902/vms_client_async.py +62 -0
  368. tencentcloud/vod/v20180717/models.py +6 -2
  369. tencentcloud/vod/v20180717/vod_client_async.py +3712 -0
  370. tencentcloud/vod/v20240718/vod_client_async.py +160 -0
  371. tencentcloud/vpc/v20170312/vpc_client_async.py +8139 -0
  372. tencentcloud/vrs/v20200824/vrs_client_async.py +182 -0
  373. tencentcloud/vtc/v20240223/vtc_client_async.py +132 -0
  374. tencentcloud/waf/v20180125/models.py +3924 -0
  375. tencentcloud/waf/v20180125/waf_client.py +230 -0
  376. tencentcloud/waf/v20180125/waf_client_async.py +3542 -0
  377. tencentcloud/wav/v20210129/wav_client_async.py +494 -0
  378. tencentcloud/wedata/v20210820/wedata_client_async.py +5384 -0
  379. tencentcloud/wedata/v20250806/wedata_client_async.py +2168 -0
  380. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +1180 -0
  381. tencentcloud/wsa/v20250508/wsa_client_async.py +44 -0
  382. tencentcloud/wss/v20180426/wss_client_async.py +80 -0
  383. tencentcloud/yinsuda/v20220527/yinsuda_client_async.py +386 -0
  384. tencentcloud/yunjing/v20180228/yunjing_client_async.py +1826 -0
  385. tencentcloud/yunsou/v20180504/yunsou_client_async.py +62 -0
  386. tencentcloud/yunsou/v20191115/yunsou_client_async.py +62 -0
  387. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/METADATA +3 -1
  388. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/RECORD +391 -103
  389. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/LICENSE +0 -0
  390. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/WHEEL +0 -0
  391. {tencentcloud_sdk_python-3.0.1491.dist-info → tencentcloud_sdk_python-3.1.6.dist-info}/top_level.txt +0 -0
@@ -1911,13 +1911,15 @@ Base64编码后的大小建议在8M以内、最大不可超过10M,支持mp4、
1911
1911
  视频分辨率建议为480x640(最大支持720p),帧率在25fps~30fps之间。
1912
1912
  请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
1913
1913
 
1914
- 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
1914
+ 若您未使用Encryption进行加密传输,则本字段为必填参数。
1915
1915
  :type FaceInput: str
1916
1916
  :param _FaceInputType: 传入的类型。
1917
1917
  - 取值范围:
1918
1918
  1:传入的是图片类型。
1919
1919
  2:传入的是视频类型。
1920
1920
  其他:返回错误码InvalidParameter。
1921
+
1922
+ 若您未使用Encryption进行加密传输,则本字段为必填参数。
1921
1923
  :type FaceInputType: int
1922
1924
  :param _Encryption: 是否需要对请求信息进行全包体加密。
1923
1925
  - 支持的加密算法:AES-256-CBC、SM4-GCM。
@@ -1947,7 +1949,7 @@ Base64编码后的大小建议在8M以内、最大不可超过10M,支持mp4、
1947
1949
  视频分辨率建议为480x640(最大支持720p),帧率在25fps~30fps之间。
1948
1950
  请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
1949
1951
 
1950
- 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
1952
+ 若您未使用Encryption进行加密传输,则本字段为必填参数。
1951
1953
  :rtype: str
1952
1954
  """
1953
1955
  return self._FaceInput
@@ -1963,6 +1965,8 @@ Base64编码后的大小建议在8M以内、最大不可超过10M,支持mp4、
1963
1965
  1:传入的是图片类型。
1964
1966
  2:传入的是视频类型。
1965
1967
  其他:返回错误码InvalidParameter。
1968
+
1969
+ 若您未使用Encryption进行加密传输,则本字段为必填参数。
1966
1970
  :rtype: int
1967
1971
  """
1968
1972
  return self._FaceInputType
@@ -3010,7 +3014,7 @@ class DetectInfoText(AbstractModel):
3010
3014
  :type Comparemsg: str
3011
3015
  :param _Sim: 本次流程活体一比一的分数。
3012
3016
  - 取值范围 [0.00, 100.00]。
3013
- - 相似度大于等于70时才判断为同一人,也可根据具体场景自行调整阈值。
3017
+ - 相似度大于等于70时才判断为同一人,阈值不支持自定义。
3014
3018
  - 阈值70的误通过率为千分之一,阈值80的误通过率是万分之一。
3015
3019
  注意:此字段可能返回 null,表示取不到有效值。
3016
3020
  :type Sim: str
@@ -3074,6 +3078,17 @@ class DetectInfoText(AbstractModel):
3074
3078
  :param _VisaNum: 港澳台居住证签发次数。
3075
3079
  注意:此字段可能返回 null,表示取不到有效值。
3076
3080
  :type VisaNum: str
3081
+ :param _LivenessActionSequence: 活体检测的动作顺序,多动作以“,”分隔。
3082
+ 输出格式如:“1,2”表示“张嘴+眨眼”。
3083
+ - 详细序列值含义如下:
3084
+ 1:张嘴
3085
+ 2:眨眼
3086
+ 3:点头
3087
+ 4:摇头
3088
+ 5:静默
3089
+ 注:仅浮层H5产品返回
3090
+ 注意:此字段可能返回 null,表示取不到有效值。
3091
+ :type LivenessActionSequence: str
3077
3092
  """
3078
3093
  self._ErrCode = None
3079
3094
  self._ErrMsg = None
@@ -3105,6 +3120,7 @@ class DetectInfoText(AbstractModel):
3105
3120
  self._NFCBillingCounts = None
3106
3121
  self._PassNo = None
3107
3122
  self._VisaNum = None
3123
+ self._LivenessActionSequence = None
3108
3124
 
3109
3125
  @property
3110
3126
  def ErrCode(self):
@@ -3340,7 +3356,7 @@ class DetectInfoText(AbstractModel):
3340
3356
  def Sim(self):
3341
3357
  r"""本次流程活体一比一的分数。
3342
3358
  - 取值范围 [0.00, 100.00]。
3343
- - 相似度大于等于70时才判断为同一人,也可根据具体场景自行调整阈值。
3359
+ - 相似度大于等于70时才判断为同一人,阈值不支持自定义。
3344
3360
  - 阈值70的误通过率为千分之一,阈值80的误通过率是万分之一。
3345
3361
  注意:此字段可能返回 null,表示取不到有效值。
3346
3362
  :rtype: str
@@ -3510,6 +3526,26 @@ class DetectInfoText(AbstractModel):
3510
3526
  def VisaNum(self, VisaNum):
3511
3527
  self._VisaNum = VisaNum
3512
3528
 
3529
+ @property
3530
+ def LivenessActionSequence(self):
3531
+ r"""活体检测的动作顺序,多动作以“,”分隔。
3532
+ 输出格式如:“1,2”表示“张嘴+眨眼”。
3533
+ - 详细序列值含义如下:
3534
+ 1:张嘴
3535
+ 2:眨眼
3536
+ 3:点头
3537
+ 4:摇头
3538
+ 5:静默
3539
+ 注:仅浮层H5产品返回
3540
+ 注意:此字段可能返回 null,表示取不到有效值。
3541
+ :rtype: str
3542
+ """
3543
+ return self._LivenessActionSequence
3544
+
3545
+ @LivenessActionSequence.setter
3546
+ def LivenessActionSequence(self, LivenessActionSequence):
3547
+ self._LivenessActionSequence = LivenessActionSequence
3548
+
3513
3549
 
3514
3550
  def _deserialize(self, params):
3515
3551
  self._ErrCode = params.get("ErrCode")
@@ -3547,6 +3583,7 @@ class DetectInfoText(AbstractModel):
3547
3583
  self._NFCBillingCounts = params.get("NFCBillingCounts")
3548
3584
  self._PassNo = params.get("PassNo")
3549
3585
  self._VisaNum = params.get("VisaNum")
3586
+ self._LivenessActionSequence = params.get("LivenessActionSequence")
3550
3587
  memeber_set = set(params.keys())
3551
3588
  for name, value in vars(self).items():
3552
3589
  property_name = name[1:]
@@ -7616,14 +7653,14 @@ class IntentionActionConfig(AbstractModel):
7616
7653
 
7617
7654
  def __init__(self):
7618
7655
  r"""
7619
- :param _Text: 点头确认模式下,系统语音播报使用的问题文本,问题最大长度为150个字符。
7656
+ :param _Text: 点头确认模式下,系统语音播报使用的问题文本,问题最大长度为250个字符。
7620
7657
  :type Text: str
7621
7658
  """
7622
7659
  self._Text = None
7623
7660
 
7624
7661
  @property
7625
7662
  def Text(self):
7626
- r"""点头确认模式下,系统语音播报使用的问题文本,问题最大长度为150个字符。
7663
+ r"""点头确认模式下,系统语音播报使用的问题文本,问题最大长度为250个字符。
7627
7664
  :rtype: str
7628
7665
  """
7629
7666
  return self._Text
@@ -7827,7 +7864,7 @@ class IntentionQuestion(AbstractModel):
7827
7864
  def __init__(self):
7828
7865
  r"""
7829
7866
  :param _Question: 当选择语音问答模式时,系统自动播报的问题文本。
7830
- - 最大长度为150个字符。
7867
+ - 最大长度为250个字符。
7831
7868
  :type Question: str
7832
7869
  :param _Answers: 当选择语音问答模式时,用于判断用户回答是否通过的标准答案列表。
7833
7870
  - 传入后可自动判断用户回答文本是否在标准文本列表中。
@@ -7840,7 +7877,7 @@ class IntentionQuestion(AbstractModel):
7840
7877
  @property
7841
7878
  def Question(self):
7842
7879
  r"""当选择语音问答模式时,系统自动播报的问题文本。
7843
- - 最大长度为150个字符。
7880
+ - 最大长度为250个字符。
7844
7881
  :rtype: str
7845
7882
  """
7846
7883
  return self._Question
@@ -8832,193 +8869,6 @@ class LivenessRecognitionResponse(AbstractModel):
8832
8869
  self._RequestId = params.get("RequestId")
8833
8870
 
8834
8871
 
8835
- class LivenessRequest(AbstractModel):
8836
- r"""Liveness请求参数结构体
8837
-
8838
- """
8839
-
8840
- def __init__(self):
8841
- r"""
8842
- :param _VideoBase64: 用于活体检测的视频,视频的BASE64值;
8843
- BASE64编码后的大小不超过8M,支持mp4、avi、flv格式。
8844
- :type VideoBase64: str
8845
- :param _LivenessType: 活体检测类型,取值:LIP/ACTION/SILENT。
8846
- LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
8847
- :type LivenessType: str
8848
- :param _ValidateData: 数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
8849
- 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
8850
- 静默模式传参:不需要传递此参数。
8851
- :type ValidateData: str
8852
- :param _Optional: 额外配置,传入JSON字符串。
8853
- {
8854
- "BestFrameNum": 2 //需要返回多张最佳截图,取值范围1-10
8855
- }
8856
- :type Optional: str
8857
- """
8858
- self._VideoBase64 = None
8859
- self._LivenessType = None
8860
- self._ValidateData = None
8861
- self._Optional = None
8862
-
8863
- @property
8864
- def VideoBase64(self):
8865
- r"""用于活体检测的视频,视频的BASE64值;
8866
- BASE64编码后的大小不超过8M,支持mp4、avi、flv格式。
8867
- :rtype: str
8868
- """
8869
- return self._VideoBase64
8870
-
8871
- @VideoBase64.setter
8872
- def VideoBase64(self, VideoBase64):
8873
- self._VideoBase64 = VideoBase64
8874
-
8875
- @property
8876
- def LivenessType(self):
8877
- r"""活体检测类型,取值:LIP/ACTION/SILENT。
8878
- LIP为数字模式,ACTION为动作模式,SILENT为静默模式,三种模式选择一种传入。
8879
- :rtype: str
8880
- """
8881
- return self._LivenessType
8882
-
8883
- @LivenessType.setter
8884
- def LivenessType(self, LivenessType):
8885
- self._LivenessType = LivenessType
8886
-
8887
- @property
8888
- def ValidateData(self):
8889
- r"""数字模式传参:数字验证码(1234),需先调用接口获取数字验证码;
8890
- 动作模式传参:传动作顺序(2,1 or 1,2),需先调用接口获取动作顺序;
8891
- 静默模式传参:不需要传递此参数。
8892
- :rtype: str
8893
- """
8894
- return self._ValidateData
8895
-
8896
- @ValidateData.setter
8897
- def ValidateData(self, ValidateData):
8898
- self._ValidateData = ValidateData
8899
-
8900
- @property
8901
- def Optional(self):
8902
- r"""额外配置,传入JSON字符串。
8903
- {
8904
- "BestFrameNum": 2 //需要返回多张最佳截图,取值范围1-10
8905
- }
8906
- :rtype: str
8907
- """
8908
- return self._Optional
8909
-
8910
- @Optional.setter
8911
- def Optional(self, Optional):
8912
- self._Optional = Optional
8913
-
8914
-
8915
- def _deserialize(self, params):
8916
- self._VideoBase64 = params.get("VideoBase64")
8917
- self._LivenessType = params.get("LivenessType")
8918
- self._ValidateData = params.get("ValidateData")
8919
- self._Optional = params.get("Optional")
8920
- memeber_set = set(params.keys())
8921
- for name, value in vars(self).items():
8922
- property_name = name[1:]
8923
- if property_name in memeber_set:
8924
- memeber_set.remove(property_name)
8925
- if len(memeber_set) > 0:
8926
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8927
-
8928
-
8929
-
8930
- class LivenessResponse(AbstractModel):
8931
- r"""Liveness返回参数结构体
8932
-
8933
- """
8934
-
8935
- def __init__(self):
8936
- r"""
8937
- :param _BestFrameBase64: 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
8938
- 注意:此字段可能返回 null,表示取不到有效值。
8939
- :type BestFrameBase64: str
8940
- :param _Result: 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
8941
- :type Result: str
8942
- :param _Description: 业务结果描述。
8943
- :type Description: str
8944
- :param _BestFrameList: 最佳最佳截图列表,仅在配置了返回多张最佳截图时有效。
8945
- 注意:此字段可能返回 null,表示取不到有效值。
8946
- :type BestFrameList: list of str
8947
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8948
- :type RequestId: str
8949
- """
8950
- self._BestFrameBase64 = None
8951
- self._Result = None
8952
- self._Description = None
8953
- self._BestFrameList = None
8954
- self._RequestId = None
8955
-
8956
- @property
8957
- def BestFrameBase64(self):
8958
- r"""验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
8959
- 注意:此字段可能返回 null,表示取不到有效值。
8960
- :rtype: str
8961
- """
8962
- return self._BestFrameBase64
8963
-
8964
- @BestFrameBase64.setter
8965
- def BestFrameBase64(self, BestFrameBase64):
8966
- self._BestFrameBase64 = BestFrameBase64
8967
-
8968
- @property
8969
- def Result(self):
8970
- r"""业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
8971
- :rtype: str
8972
- """
8973
- return self._Result
8974
-
8975
- @Result.setter
8976
- def Result(self, Result):
8977
- self._Result = Result
8978
-
8979
- @property
8980
- def Description(self):
8981
- r"""业务结果描述。
8982
- :rtype: str
8983
- """
8984
- return self._Description
8985
-
8986
- @Description.setter
8987
- def Description(self, Description):
8988
- self._Description = Description
8989
-
8990
- @property
8991
- def BestFrameList(self):
8992
- r"""最佳最佳截图列表,仅在配置了返回多张最佳截图时有效。
8993
- 注意:此字段可能返回 null,表示取不到有效值。
8994
- :rtype: list of str
8995
- """
8996
- return self._BestFrameList
8997
-
8998
- @BestFrameList.setter
8999
- def BestFrameList(self, BestFrameList):
9000
- self._BestFrameList = BestFrameList
9001
-
9002
- @property
9003
- def RequestId(self):
9004
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9005
- :rtype: str
9006
- """
9007
- return self._RequestId
9008
-
9009
- @RequestId.setter
9010
- def RequestId(self, RequestId):
9011
- self._RequestId = RequestId
9012
-
9013
-
9014
- def _deserialize(self, params):
9015
- self._BestFrameBase64 = params.get("BestFrameBase64")
9016
- self._Result = params.get("Result")
9017
- self._Description = params.get("Description")
9018
- self._BestFrameList = params.get("BestFrameList")
9019
- self._RequestId = params.get("RequestId")
9020
-
9021
-
9022
8872
  class MinorsVerificationRequest(AbstractModel):
9023
8873
  r"""MinorsVerification请求参数结构体
9024
8874
 
@@ -0,0 +1,161 @@
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.fmu.v20191213 import models
20
+ from typing import Dict
21
+
22
+
23
+ class FmuClient(AbstractClient):
24
+ _apiVersion = '2019-12-13'
25
+ _endpoint = 'fmu.tencentcloudapi.com'
26
+ _service = 'fmu'
27
+
28
+ async def BeautifyPic(
29
+ self,
30
+ request: models.BeautifyPicRequest,
31
+ opts: Dict = None,
32
+ ) -> models.BeautifyPicResponse:
33
+ """
34
+ 用户上传一张人脸图片(最多能处理一张图片中最大的五张人脸信息),精准定位五官,实现美肤、亮肤、祛痘等美颜功能。
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "BeautifyPic"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.BeautifyPicResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def CreateModel(
47
+ self,
48
+ request: models.CreateModelRequest,
49
+ opts: Dict = None,
50
+ ) -> models.CreateModelResponse:
51
+ """
52
+ 在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。
53
+
54
+ 注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。
55
+ """
56
+
57
+ kwargs = {}
58
+ kwargs["action"] = "CreateModel"
59
+ kwargs["params"] = request._serialize()
60
+ kwargs["resp_cls"] = models.CreateModelResponse
61
+ kwargs["headers"] = request.headers
62
+ kwargs["opts"] = opts or {}
63
+
64
+ return await self.call_and_deserialize(**kwargs)
65
+
66
+ async def DeleteModel(
67
+ self,
68
+ request: models.DeleteModelRequest,
69
+ opts: Dict = None,
70
+ ) -> models.DeleteModelResponse:
71
+ """
72
+ 删除已注册的唇色素材。
73
+ """
74
+
75
+ kwargs = {}
76
+ kwargs["action"] = "DeleteModel"
77
+ kwargs["params"] = request._serialize()
78
+ kwargs["resp_cls"] = models.DeleteModelResponse
79
+ kwargs["headers"] = request.headers
80
+ kwargs["opts"] = opts or {}
81
+
82
+ return await self.call_and_deserialize(**kwargs)
83
+
84
+ async def GetModelList(
85
+ self,
86
+ request: models.GetModelListRequest,
87
+ opts: Dict = None,
88
+ ) -> models.GetModelListResponse:
89
+ """
90
+ 查询已注册的唇色素材。
91
+ """
92
+
93
+ kwargs = {}
94
+ kwargs["action"] = "GetModelList"
95
+ kwargs["params"] = request._serialize()
96
+ kwargs["resp_cls"] = models.GetModelListResponse
97
+ kwargs["headers"] = request.headers
98
+ kwargs["opts"] = opts or {}
99
+
100
+ return await self.call_and_deserialize(**kwargs)
101
+
102
+ async def StyleImage(
103
+ self,
104
+ request: models.StyleImageRequest,
105
+ opts: Dict = None,
106
+ ) -> models.StyleImageResponse:
107
+ """
108
+ 上传一张照片,输出滤镜处理后的图片。
109
+ """
110
+
111
+ kwargs = {}
112
+ kwargs["action"] = "StyleImage"
113
+ kwargs["params"] = request._serialize()
114
+ kwargs["resp_cls"] = models.StyleImageResponse
115
+ kwargs["headers"] = request.headers
116
+ kwargs["opts"] = opts or {}
117
+
118
+ return await self.call_and_deserialize(**kwargs)
119
+
120
+ async def StyleImagePro(
121
+ self,
122
+ request: models.StyleImageProRequest,
123
+ opts: Dict = None,
124
+ ) -> models.StyleImageProResponse:
125
+ """
126
+ 上传一张照片,输出滤镜处理后的图片。
127
+ """
128
+
129
+ kwargs = {}
130
+ kwargs["action"] = "StyleImagePro"
131
+ kwargs["params"] = request._serialize()
132
+ kwargs["resp_cls"] = models.StyleImageProResponse
133
+ kwargs["headers"] = request.headers
134
+ kwargs["opts"] = opts or {}
135
+
136
+ return await self.call_and_deserialize(**kwargs)
137
+
138
+ async def TryLipstickPic(
139
+ self,
140
+ request: models.TryLipstickPicRequest,
141
+ opts: Dict = None,
142
+ ) -> models.TryLipstickPicResponse:
143
+ """
144
+ 对图片中的人脸嘴唇进行着色,最多支持同时对一张图中的3张人脸进行试唇色。
145
+
146
+ 您可以通过事先注册在腾讯云的唇色素材(LUT文件)改变图片中的人脸唇色,也可以输入RGBA模型数值。
147
+
148
+ 为了更好的效果,建议您使用事先注册在腾讯云的唇色素材(LUT文件)。
149
+
150
+ >
151
+ - 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。
152
+ """
153
+
154
+ kwargs = {}
155
+ kwargs["action"] = "TryLipstickPic"
156
+ kwargs["params"] = request._serialize()
157
+ kwargs["resp_cls"] = models.TryLipstickPicResponse
158
+ kwargs["headers"] = request.headers
159
+ kwargs["opts"] = opts or {}
160
+
161
+ return await self.call_and_deserialize(**kwargs)
@@ -0,0 +1,134 @@
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.ft.v20200304 import models
20
+ from typing import Dict
21
+
22
+
23
+ class FtClient(AbstractClient):
24
+ _apiVersion = '2020-03-04'
25
+ _endpoint = 'ft.tencentcloudapi.com'
26
+ _service = 'ft'
27
+
28
+ async def CancelFaceMorphJob(
29
+ self,
30
+ request: models.CancelFaceMorphJobRequest,
31
+ opts: Dict = None,
32
+ ) -> models.CancelFaceMorphJobResponse:
33
+ """
34
+ 撤销人像渐变任务请求
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "CancelFaceMorphJob"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.CancelFaceMorphJobResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def ChangeAgePic(
47
+ self,
48
+ request: models.ChangeAgePicRequest,
49
+ opts: Dict = None,
50
+ ) -> models.ChangeAgePicResponse:
51
+ """
52
+ 用户上传一张人脸图片,基于人脸编辑与生成算法,输出一张人脸变老或变年轻的图片,支持实现人脸不同年龄的变化。
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "ChangeAgePic"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.ChangeAgePicResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def FaceCartoonPic(
65
+ self,
66
+ request: models.FaceCartoonPicRequest,
67
+ opts: Dict = None,
68
+ ) -> models.FaceCartoonPicResponse:
69
+ """
70
+ 输入一张人脸照片,生成个性化的二次元动漫形象,可用于打造个性头像、趣味活动、特效类应用等场景,提升社交娱乐的体验。
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "FaceCartoonPic"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.FaceCartoonPicResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def MorphFace(
83
+ self,
84
+ request: models.MorphFaceRequest,
85
+ opts: Dict = None,
86
+ ) -> models.MorphFaceResponse:
87
+ """
88
+ 输入2-5张人脸照片,生成一段以人脸为焦点的渐变视频或GIF图,支持自定义图片播放速度、视频每秒传输帧数,可用于短视频、表情包、创意H5等应用场景,丰富静态图片的玩法。
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "MorphFace"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.MorphFaceResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def QueryFaceMorphJob(
101
+ self,
102
+ request: models.QueryFaceMorphJobRequest,
103
+ opts: Dict = None,
104
+ ) -> models.QueryFaceMorphJobResponse:
105
+ """
106
+ 查询人像渐变处理进度
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "QueryFaceMorphJob"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.QueryFaceMorphJobResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def SwapGenderPic(
119
+ self,
120
+ request: models.SwapGenderPicRequest,
121
+ opts: Dict = None,
122
+ ) -> models.SwapGenderPicResponse:
123
+ """
124
+ 用户上传一张人脸图片,基于人脸编辑与生成算法,输出一张人脸性别转换的图片。男变女可实现美颜、淡妆、加刘海和长发的效果;女变男可实现加胡须、变短发的效果。
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "SwapGenderPic"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.SwapGenderPicResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)