tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (260) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/ags/v20250920/ags_client.py +46 -0
  3. tencentcloud/ags/v20250920/ags_client_async.py +36 -0
  4. tencentcloud/ags/v20250920/errorcodes.py +45 -0
  5. tencentcloud/ags/v20250920/models.py +1704 -110
  6. tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
  7. tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
  8. tencentcloud/ai3d/v20250513/models.py +78 -36
  9. tencentcloud/aiart/v20221229/aiart_client.py +46 -0
  10. tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
  11. tencentcloud/aiart/v20221229/models.py +289 -0
  12. tencentcloud/ams/v20201229/models.py +101 -0
  13. tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
  14. tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
  15. tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
  16. tencentcloud/antiddos/v20200309/models.py +1671 -97
  17. tencentcloud/apm/v20210622/apm_client.py +23 -0
  18. tencentcloud/apm/v20210622/apm_client_async.py +18 -0
  19. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  20. tencentcloud/apm/v20210622/models.py +1678 -78
  21. tencentcloud/asr/v20190614/models.py +100 -2
  22. tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
  23. tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
  24. tencentcloud/autoscaling/v20180419/models.py +475 -338
  25. tencentcloud/bh/v20230418/models.py +179 -6
  26. tencentcloud/billing/v20180709/billing_client.py +23 -0
  27. tencentcloud/billing/v20180709/billing_client_async.py +18 -0
  28. tencentcloud/billing/v20180709/models.py +328 -6
  29. tencentcloud/cam/v20190116/models.py +111 -2
  30. tencentcloud/car/v20220110/car_client.py +23 -0
  31. tencentcloud/car/v20220110/car_client_async.py +18 -0
  32. tencentcloud/car/v20220110/models.py +109 -0
  33. tencentcloud/cbs/v20170312/models.py +14 -14
  34. tencentcloud/ccc/v20200210/ccc_client.py +42 -13
  35. tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
  36. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  37. tencentcloud/ccc/v20200210/models.py +256 -4
  38. tencentcloud/cdb/v20170320/models.py +37 -16
  39. tencentcloud/cdc/v20201214/models.py +92 -124
  40. tencentcloud/cdn/v20180606/cdn_client.py +0 -78
  41. tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
  42. tencentcloud/cdn/v20180606/errorcodes.py +3 -0
  43. tencentcloud/cdn/v20180606/models.py +464 -1028
  44. tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
  45. tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
  46. tencentcloud/cdwch/v20200915/models.py +555 -0
  47. tencentcloud/cdwdoris/v20211228/models.py +505 -0
  48. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  49. tencentcloud/cfs/v20190719/models.py +2 -2
  50. tencentcloud/cfw/v20190904/cfw_client.py +278 -23
  51. tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
  52. tencentcloud/cfw/v20190904/models.py +3319 -1154
  53. tencentcloud/chdfs/v20201112/models.py +150 -0
  54. tencentcloud/ckafka/v20190819/models.py +458 -282
  55. tencentcloud/clb/v20180317/clb_client.py +23 -0
  56. tencentcloud/clb/v20180317/clb_client_async.py +18 -0
  57. tencentcloud/clb/v20180317/models.py +230 -130
  58. tencentcloud/cloudapp/v20220530/models.py +190 -36
  59. tencentcloud/cloudaudit/v20190319/models.py +32 -4
  60. tencentcloud/cloudmate/__init__.py +0 -0
  61. tencentcloud/cloudmate/v20251030/__init__.py +0 -0
  62. tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
  63. tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
  64. tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
  65. tencentcloud/cloudmate/v20251030/models.py +387 -0
  66. tencentcloud/cls/v20201016/cls_client.py +1064 -0
  67. tencentcloud/cls/v20201016/cls_client_async.py +860 -26
  68. tencentcloud/cls/v20201016/models.py +10246 -384
  69. tencentcloud/cme/v20191029/models.py +23 -0
  70. tencentcloud/csip/v20221121/models.py +317 -0
  71. tencentcloud/cvm/v20170312/cvm_client.py +1 -1
  72. tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
  73. tencentcloud/cvm/v20170312/errorcodes.py +9 -0
  74. tencentcloud/cvm/v20170312/models.py +28 -8
  75. tencentcloud/cwp/v20180228/cwp_client.py +0 -188
  76. tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
  77. tencentcloud/cwp/v20180228/models.py +1097 -1814
  78. tencentcloud/cynosdb/v20190107/models.py +181 -48
  79. tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
  80. tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
  81. tencentcloud/dataagent/v20250513/models.py +1477 -52
  82. tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
  83. tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
  84. tencentcloud/dbbrain/v20210527/models.py +261 -15
  85. tencentcloud/dbs/v20211108/dbs_client.py +69 -0
  86. tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
  87. tencentcloud/dbs/v20211108/errorcodes.py +15 -0
  88. tencentcloud/dbs/v20211108/models.py +1173 -27
  89. tencentcloud/dlc/v20210125/dlc_client.py +69 -0
  90. tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
  91. tencentcloud/dlc/v20210125/errorcodes.py +15 -0
  92. tencentcloud/dlc/v20210125/models.py +1016 -0
  93. tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
  94. tencentcloud/dnspod/v20210323/models.py +4 -4
  95. tencentcloud/emr/v20190103/emr_client.py +46 -0
  96. tencentcloud/emr/v20190103/emr_client_async.py +36 -0
  97. tencentcloud/emr/v20190103/models.py +625 -2
  98. tencentcloud/es/v20180416/errorcodes.py +15 -0
  99. tencentcloud/es/v20180416/es_client.py +115 -0
  100. tencentcloud/es/v20180416/es_client_async.py +90 -0
  101. tencentcloud/es/v20180416/models.py +498 -4
  102. tencentcloud/ess/v20201111/ess_client.py +153 -6
  103. tencentcloud/ess/v20201111/ess_client_async.py +128 -6
  104. tencentcloud/ess/v20201111/models.py +1496 -58
  105. tencentcloud/essbasic/v20210526/models.py +129 -23
  106. tencentcloud/evt/v20250217/evt_client.py +46 -0
  107. tencentcloud/evt/v20250217/evt_client_async.py +36 -0
  108. tencentcloud/evt/v20250217/models.py +188 -0
  109. tencentcloud/faceid/v20180301/models.py +10 -4
  110. tencentcloud/gaap/v20180529/models.py +260 -352
  111. tencentcloud/gs/v20191118/models.py +150 -4
  112. tencentcloud/gwlb/v20240906/models.py +48 -70
  113. tencentcloud/iai/v20180301/models.py +4 -4
  114. tencentcloud/iai/v20200303/models.py +4 -4
  115. tencentcloud/igtm/v20231024/errorcodes.py +1 -1
  116. tencentcloud/ims/v20201229/ims_client.py +1 -1
  117. tencentcloud/ims/v20201229/ims_client_async.py +1 -1
  118. tencentcloud/ioa/v20220601/models.py +60 -0
  119. tencentcloud/keewidb/v20220308/models.py +52 -68
  120. tencentcloud/lcic/v20220817/models.py +15 -0
  121. tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
  122. tencentcloud/lighthouse/v20200324/models.py +8 -0
  123. tencentcloud/live/v20180801/errorcodes.py +6 -0
  124. tencentcloud/live/v20180801/live_client.py +143 -0
  125. tencentcloud/live/v20180801/live_client_async.py +113 -0
  126. tencentcloud/live/v20180801/models.py +914 -311
  127. tencentcloud/lke/v20231130/lke_client.py +48 -1
  128. tencentcloud/lke/v20231130/lke_client_async.py +43 -1
  129. tencentcloud/lke/v20231130/models.py +2940 -459
  130. tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
  131. tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
  132. tencentcloud/lkeap/v20240522/models.py +2 -6
  133. tencentcloud/lowcode/v20210108/models.py +30 -0
  134. tencentcloud/mna/v20210119/models.py +18 -2
  135. tencentcloud/mongodb/v20190725/models.py +2 -2
  136. tencentcloud/monitor/v20180724/models.py +258 -0
  137. tencentcloud/mps/v20190612/errorcodes.py +9 -0
  138. tencentcloud/mps/v20190612/models.py +3007 -140
  139. tencentcloud/mps/v20190612/mps_client.py +115 -0
  140. tencentcloud/mps/v20190612/mps_client_async.py +90 -0
  141. tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
  142. tencentcloud/oceanus/v20190422/models.py +210 -4
  143. tencentcloud/ocr/v20181119/models.py +72 -4
  144. tencentcloud/ocr/v20181119/ocr_client.py +12 -8
  145. tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
  146. tencentcloud/partners/v20180321/models.py +88 -92
  147. tencentcloud/pts/v20210728/models.py +206 -0
  148. tencentcloud/rce/v20250425/__init__.py +0 -0
  149. tencentcloud/rce/v20250425/errorcodes.py +15 -0
  150. tencentcloud/rce/v20250425/models.py +301 -0
  151. tencentcloud/rce/v20250425/rce_client.py +49 -0
  152. tencentcloud/rce/v20250425/rce_client_async.py +44 -0
  153. tencentcloud/redis/v20180412/models.py +65 -70
  154. tencentcloud/rum/v20210622/models.py +548 -0
  155. tencentcloud/rum/v20210622/rum_client.py +23 -0
  156. tencentcloud/rum/v20210622/rum_client_async.py +18 -0
  157. tencentcloud/scf/v20180416/models.py +28 -2
  158. tencentcloud/ses/v20201002/errorcodes.py +3 -0
  159. tencentcloud/ssl/v20191205/models.py +991 -70
  160. tencentcloud/ssl/v20191205/ssl_client.py +2 -2
  161. tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
  162. tencentcloud/ssm/v20190923/models.py +134 -0
  163. tencentcloud/svp/v20240125/models.py +35 -20
  164. tencentcloud/tag/v20180813/models.py +34 -54
  165. tencentcloud/tat/v20201028/models.py +2 -0
  166. tencentcloud/tcaplusdb/v20190823/models.py +0 -337
  167. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
  168. tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
  169. tencentcloud/tcb/v20180608/errorcodes.py +15 -12
  170. tencentcloud/tcb/v20180608/models.py +5761 -8383
  171. tencentcloud/tcb/v20180608/tcb_client.py +0 -276
  172. tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
  173. tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
  174. tencentcloud/tcbr/v20220217/models.py +4193 -1389
  175. tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
  176. tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
  177. tencentcloud/tcr/v20190924/models.py +727 -61
  178. tencentcloud/tcr/v20190924/tcr_client.py +92 -0
  179. tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
  180. tencentcloud/tcss/v20201101/models.py +30 -0
  181. tencentcloud/tdai/v20250717/models.py +440 -2
  182. tencentcloud/tdai/v20250717/tdai_client.py +23 -0
  183. tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
  184. tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
  185. tencentcloud/tdmq/v20200217/models.py +432 -4
  186. tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
  187. tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
  188. tencentcloud/teo/v20220901/errorcodes.py +39 -0
  189. tencentcloud/teo/v20220901/models.py +596 -79
  190. tencentcloud/teo/v20220901/teo_client.py +107 -1
  191. tencentcloud/teo/v20220901/teo_client_async.py +97 -1
  192. tencentcloud/thpc/v20211109/models.py +14 -14
  193. tencentcloud/thpc/v20220401/models.py +14 -14
  194. tencentcloud/thpc/v20230321/models.py +20 -54
  195. tencentcloud/tione/v20211111/errorcodes.py +9 -0
  196. tencentcloud/tione/v20211111/models.py +910 -73
  197. tencentcloud/tione/v20211111/tione_client.py +69 -0
  198. tencentcloud/tione/v20211111/tione_client_async.py +54 -0
  199. tencentcloud/tke/v20180525/models.py +468 -18
  200. tencentcloud/tke/v20180525/tke_client.py +69 -0
  201. tencentcloud/tke/v20180525/tke_client_async.py +54 -0
  202. tencentcloud/tke/v20220501/models.py +539 -0
  203. tencentcloud/tke/v20220501/tke_client.py +23 -0
  204. tencentcloud/tke/v20220501/tke_client_async.py +18 -0
  205. tencentcloud/trocket/v20230308/models.py +42 -21
  206. tencentcloud/trocket/v20230308/trocket_client.py +2 -1
  207. tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
  208. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  209. tencentcloud/trtc/v20190722/models.py +173 -30
  210. tencentcloud/tse/v20201207/models.py +42 -0
  211. tencentcloud/tsf/v20180326/errorcodes.py +4 -4
  212. tencentcloud/tsf/v20180326/models.py +15 -510
  213. tencentcloud/tsf/v20180326/tsf_client.py +66 -47
  214. tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
  215. tencentcloud/tts/v20190823/tts_client.py +1 -1
  216. tencentcloud/tts/v20190823/tts_client_async.py +1 -1
  217. tencentcloud/vclm/v20240523/models.py +383 -0
  218. tencentcloud/vclm/v20240523/vclm_client.py +46 -0
  219. tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
  220. tencentcloud/vcube/v20220410/models.py +30 -0
  221. tencentcloud/vdb/v20230616/models.py +567 -0
  222. tencentcloud/vdb/v20230616/vdb_client.py +69 -0
  223. tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
  224. tencentcloud/vm/v20210922/models.py +116 -0
  225. tencentcloud/vod/v20180717/errorcodes.py +3 -0
  226. tencentcloud/vod/v20180717/models.py +4107 -622
  227. tencentcloud/vod/v20180717/vod_client.py +72 -3
  228. tencentcloud/vod/v20180717/vod_client_async.py +57 -3
  229. tencentcloud/vpc/v20170312/errorcodes.py +15 -0
  230. tencentcloud/vpc/v20170312/models.py +387 -2
  231. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  232. tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
  233. tencentcloud/waf/v20180125/errorcodes.py +3 -0
  234. tencentcloud/waf/v20180125/models.py +970 -0
  235. tencentcloud/waf/v20180125/waf_client.py +46 -0
  236. tencentcloud/waf/v20180125/waf_client_async.py +36 -0
  237. tencentcloud/wedata/v20210820/models.py +2851 -29
  238. tencentcloud/wedata/v20210820/wedata_client.py +23 -0
  239. tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
  240. tencentcloud/wedata/v20250806/errorcodes.py +21 -0
  241. tencentcloud/wedata/v20250806/models.py +40999 -15704
  242. tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
  243. tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
  244. tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
  245. tencentcloud/weilingwith/v20230427/models.py +17 -336
  246. tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
  247. tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
  248. tencentcloud/wimgs/__init__.py +0 -0
  249. tencentcloud/wimgs/v20251106/__init__.py +0 -0
  250. tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
  251. tencentcloud/wimgs/v20251106/models.py +132 -0
  252. tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
  253. tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
  254. tencentcloud/wsa/v20250508/errorcodes.py +6 -0
  255. tencentcloud/wsa/v20250508/models.py +17 -2
  256. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
  257. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
  258. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
  259. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
  260. {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
@@ -980,6 +980,130 @@ class DescribeTemplateToVideoJobResponse(AbstractModel):
980
980
  self._RequestId = params.get("RequestId")
981
981
 
982
982
 
983
+ class DescribeVideoEditJobRequest(AbstractModel):
984
+ r"""DescribeVideoEditJob请求参数结构体
985
+
986
+ """
987
+
988
+ def __init__(self):
989
+ r"""
990
+ :param _JobId: 任务ID。
991
+ :type JobId: str
992
+ """
993
+ self._JobId = None
994
+
995
+ @property
996
+ def JobId(self):
997
+ r"""任务ID。
998
+ :rtype: str
999
+ """
1000
+ return self._JobId
1001
+
1002
+ @JobId.setter
1003
+ def JobId(self, JobId):
1004
+ self._JobId = JobId
1005
+
1006
+
1007
+ def _deserialize(self, params):
1008
+ self._JobId = params.get("JobId")
1009
+ memeber_set = set(params.keys())
1010
+ for name, value in vars(self).items():
1011
+ property_name = name[1:]
1012
+ if property_name in memeber_set:
1013
+ memeber_set.remove(property_name)
1014
+ if len(memeber_set) > 0:
1015
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1016
+
1017
+
1018
+
1019
+ class DescribeVideoEditJobResponse(AbstractModel):
1020
+ r"""DescribeVideoEditJob返回参数结构体
1021
+
1022
+ """
1023
+
1024
+ def __init__(self):
1025
+ r"""
1026
+ :param _Status: 任务状态。 WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
1027
+ :type Status: str
1028
+ :param _ResultVideoUrl: 结果视频URL。有效期 24 小时。
1029
+ :type ResultVideoUrl: str
1030
+ :param _ErrorCode: 任务执行错误码。当任务状态不为 FAIL 时,该值为""。
1031
+ :type ErrorCode: str
1032
+ :param _ErrorMessage: 任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
1033
+ :type ErrorMessage: str
1034
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1035
+ :type RequestId: str
1036
+ """
1037
+ self._Status = None
1038
+ self._ResultVideoUrl = None
1039
+ self._ErrorCode = None
1040
+ self._ErrorMessage = None
1041
+ self._RequestId = None
1042
+
1043
+ @property
1044
+ def Status(self):
1045
+ r"""任务状态。 WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
1046
+ :rtype: str
1047
+ """
1048
+ return self._Status
1049
+
1050
+ @Status.setter
1051
+ def Status(self, Status):
1052
+ self._Status = Status
1053
+
1054
+ @property
1055
+ def ResultVideoUrl(self):
1056
+ r"""结果视频URL。有效期 24 小时。
1057
+ :rtype: str
1058
+ """
1059
+ return self._ResultVideoUrl
1060
+
1061
+ @ResultVideoUrl.setter
1062
+ def ResultVideoUrl(self, ResultVideoUrl):
1063
+ self._ResultVideoUrl = ResultVideoUrl
1064
+
1065
+ @property
1066
+ def ErrorCode(self):
1067
+ r"""任务执行错误码。当任务状态不为 FAIL 时,该值为""。
1068
+ :rtype: str
1069
+ """
1070
+ return self._ErrorCode
1071
+
1072
+ @ErrorCode.setter
1073
+ def ErrorCode(self, ErrorCode):
1074
+ self._ErrorCode = ErrorCode
1075
+
1076
+ @property
1077
+ def ErrorMessage(self):
1078
+ r"""任务执行错误信息。当任务状态不为 FAIL 时,该值为""。
1079
+ :rtype: str
1080
+ """
1081
+ return self._ErrorMessage
1082
+
1083
+ @ErrorMessage.setter
1084
+ def ErrorMessage(self, ErrorMessage):
1085
+ self._ErrorMessage = ErrorMessage
1086
+
1087
+ @property
1088
+ def RequestId(self):
1089
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1090
+ :rtype: str
1091
+ """
1092
+ return self._RequestId
1093
+
1094
+ @RequestId.setter
1095
+ def RequestId(self, RequestId):
1096
+ self._RequestId = RequestId
1097
+
1098
+
1099
+ def _deserialize(self, params):
1100
+ self._Status = params.get("Status")
1101
+ self._ResultVideoUrl = params.get("ResultVideoUrl")
1102
+ self._ErrorCode = params.get("ErrorCode")
1103
+ self._ErrorMessage = params.get("ErrorMessage")
1104
+ self._RequestId = params.get("RequestId")
1105
+
1106
+
983
1107
  class DescribeVideoFaceFusionJobRequest(AbstractModel):
984
1108
  r"""DescribeVideoFaceFusionJob请求参数结构体
985
1109
 
@@ -1381,8 +1505,20 @@ class ExtraParam(AbstractModel):
1381
1505
  r"""
1382
1506
  :param _UserDesignatedUrl: 预签名的上传url,支持把视频直接传到客户指定的地址。
1383
1507
  :type UserDesignatedUrl: str
1508
+ :param _CallbackUrl: 回调地址
1509
+ 需要您在创建任务时主动设置 CallbackUrl,请求方法为 POST,当视频生成结束时,我们将向此地址发送生成结果。
1510
+ 数据格式如下:
1511
+ {
1512
+ "JobId": "1397428070633955328",
1513
+ "Status": "DONE",
1514
+ "ErrorCode": "",
1515
+ "ErrorMessage": "",
1516
+ "ResultVideoUrl": "https://vcg.cos.tencentcos.cn/template_to_video/fa80b846-b933-4981-afad-8a39b46ef2ca.mp4"
1517
+ }
1518
+ :type CallbackUrl: str
1384
1519
  """
1385
1520
  self._UserDesignatedUrl = None
1521
+ self._CallbackUrl = None
1386
1522
 
1387
1523
  @property
1388
1524
  def UserDesignatedUrl(self):
@@ -1395,9 +1531,30 @@ class ExtraParam(AbstractModel):
1395
1531
  def UserDesignatedUrl(self, UserDesignatedUrl):
1396
1532
  self._UserDesignatedUrl = UserDesignatedUrl
1397
1533
 
1534
+ @property
1535
+ def CallbackUrl(self):
1536
+ r"""回调地址
1537
+ 需要您在创建任务时主动设置 CallbackUrl,请求方法为 POST,当视频生成结束时,我们将向此地址发送生成结果。
1538
+ 数据格式如下:
1539
+ {
1540
+ "JobId": "1397428070633955328",
1541
+ "Status": "DONE",
1542
+ "ErrorCode": "",
1543
+ "ErrorMessage": "",
1544
+ "ResultVideoUrl": "https://vcg.cos.tencentcos.cn/template_to_video/fa80b846-b933-4981-afad-8a39b46ef2ca.mp4"
1545
+ }
1546
+ :rtype: str
1547
+ """
1548
+ return self._CallbackUrl
1549
+
1550
+ @CallbackUrl.setter
1551
+ def CallbackUrl(self, CallbackUrl):
1552
+ self._CallbackUrl = CallbackUrl
1553
+
1398
1554
 
1399
1555
  def _deserialize(self, params):
1400
1556
  self._UserDesignatedUrl = params.get("UserDesignatedUrl")
1557
+ self._CallbackUrl = params.get("CallbackUrl")
1401
1558
  memeber_set = set(params.keys())
1402
1559
  for name, value in vars(self).items():
1403
1560
  property_name = name[1:]
@@ -2462,6 +2619,8 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2462
2619
  :type Image: :class:`tencentcloud.vclm.v20240523.models.Image`
2463
2620
  :param _Prompt: 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
2464
2621
  :type Prompt: str
2622
+ :param _Resolution: 输出视频分辨率。可选择:480p、720p、1080p。
2623
+ :type Resolution: str
2465
2624
  :param _LogoAdd: 为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
2466
2625
  :type LogoAdd: int
2467
2626
  :param _LogoParam: 默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。
@@ -2469,6 +2628,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2469
2628
  """
2470
2629
  self._Image = None
2471
2630
  self._Prompt = None
2631
+ self._Resolution = None
2472
2632
  self._LogoAdd = None
2473
2633
  self._LogoParam = None
2474
2634
 
@@ -2498,6 +2658,17 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2498
2658
  def Prompt(self, Prompt):
2499
2659
  self._Prompt = Prompt
2500
2660
 
2661
+ @property
2662
+ def Resolution(self):
2663
+ r"""输出视频分辨率。可选择:480p、720p、1080p。
2664
+ :rtype: str
2665
+ """
2666
+ return self._Resolution
2667
+
2668
+ @Resolution.setter
2669
+ def Resolution(self, Resolution):
2670
+ self._Resolution = Resolution
2671
+
2501
2672
  @property
2502
2673
  def LogoAdd(self):
2503
2674
  r"""为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
@@ -2526,6 +2697,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2526
2697
  self._Image = Image()
2527
2698
  self._Image._deserialize(params.get("Image"))
2528
2699
  self._Prompt = params.get("Prompt")
2700
+ self._Resolution = params.get("Resolution")
2529
2701
  self._LogoAdd = params.get("LogoAdd")
2530
2702
  if params.get("LogoParam") is not None:
2531
2703
  self._LogoParam = LogoParam()
@@ -2986,6 +3158,217 @@ class SubmitTemplateToVideoJobResponse(AbstractModel):
2986
3158
  self._RequestId = params.get("RequestId")
2987
3159
 
2988
3160
 
3161
+ class SubmitVideoEditJobRequest(AbstractModel):
3162
+ r"""SubmitVideoEditJob请求参数结构体
3163
+
3164
+ """
3165
+
3166
+ def __init__(self):
3167
+ r"""
3168
+ :param _VideoUrl: 参考视频URL。默认为待编辑视频。
3169
+ - 视频格式:支持MP4
3170
+ - 视频时长:输入视频时长≤5秒
3171
+ - 视频大小:不超过200M
3172
+ - 视频文件:输入的视频帧率及分辨率不做限制(建议输入16:9或9:16的视频;分辨率建议在2160px内,帧率建议在60fps内);输出视频是帧率会≥16fps,分辨率为720p
3173
+ :type VideoUrl: str
3174
+ :param _Prompt: 视频内容的描述,中文正向提示词。支持视频内容增加、删除、修改等能力
3175
+ - 最多支持200个 utf-8 字符(首尾空格不计入字符数)
3176
+ - 不传prompt的时候,Images.N参考图列表必须要传图,且传的图片是经过图片编辑之后的结果图
3177
+ :type Prompt: str
3178
+ :param _Images: 参考图列表。用于对视频内容做风格迁移、内容替换、内容删减、内容增加做参考。
3179
+ - 支持传入图片Base64编码或图片URL
3180
+ - 图片格式:支持jpg,png,jpeg,webp,bmp,tiff 格式
3181
+ - 图片文件:大小不能超过10MB(base64后)。单边分辨率不超过5000px,不小于50px,图片长宽限制1:4 ~ 4:1。
3182
+ 示例值:[{ "Url": "https://console.cloud.tencent.com/cos/image.png"}]
3183
+ :type Images: list of Image
3184
+ :param _Image: 图片base64或者图片url
3185
+
3186
+ - Base64 和 Url 必须提供一个,如果都提供以Url为准。
3187
+ - 上传图url大小不超过 8M
3188
+ - 支持jpg,png,jpeg,webp,bmp,tiff 格式
3189
+ - 单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1
3190
+ :type Image: :class:`tencentcloud.vclm.v20240523.models.Image`
3191
+ :param _LogoAdd: 为生成视频添加标识的开关,默认为1。传0 需前往 [控制台](https://console.cloud.tencent.com/vtc/setting) 申请开启显式标识自主完成后方可生效。
3192
+ 1:添加标识;
3193
+ 0:不添加标识;
3194
+ 其他数值:默认按1处理。
3195
+ 建议您使用显著标识来提示,该视频是 AI 生成的视频。
3196
+
3197
+ :type LogoAdd: int
3198
+ :param _LogoParam: 标识内容设置。
3199
+ 默认在生成视频的右下角添加“ AI 生成”或“视频由 AI 生成”字样,如需替换为其他的标识图片,需前往 [控制台](https://console.cloud.tencent.com/vtc/setting) 申请开启显式标识自主完成。
3200
+
3201
+ :type LogoParam: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
3202
+ """
3203
+ self._VideoUrl = None
3204
+ self._Prompt = None
3205
+ self._Images = None
3206
+ self._Image = None
3207
+ self._LogoAdd = None
3208
+ self._LogoParam = None
3209
+
3210
+ @property
3211
+ def VideoUrl(self):
3212
+ r"""参考视频URL。默认为待编辑视频。
3213
+ - 视频格式:支持MP4
3214
+ - 视频时长:输入视频时长≤5秒
3215
+ - 视频大小:不超过200M
3216
+ - 视频文件:输入的视频帧率及分辨率不做限制(建议输入16:9或9:16的视频;分辨率建议在2160px内,帧率建议在60fps内);输出视频是帧率会≥16fps,分辨率为720p
3217
+ :rtype: str
3218
+ """
3219
+ return self._VideoUrl
3220
+
3221
+ @VideoUrl.setter
3222
+ def VideoUrl(self, VideoUrl):
3223
+ self._VideoUrl = VideoUrl
3224
+
3225
+ @property
3226
+ def Prompt(self):
3227
+ r"""视频内容的描述,中文正向提示词。支持视频内容增加、删除、修改等能力
3228
+ - 最多支持200个 utf-8 字符(首尾空格不计入字符数)
3229
+ - 不传prompt的时候,Images.N参考图列表必须要传图,且传的图片是经过图片编辑之后的结果图
3230
+ :rtype: str
3231
+ """
3232
+ return self._Prompt
3233
+
3234
+ @Prompt.setter
3235
+ def Prompt(self, Prompt):
3236
+ self._Prompt = Prompt
3237
+
3238
+ @property
3239
+ def Images(self):
3240
+ r"""参考图列表。用于对视频内容做风格迁移、内容替换、内容删减、内容增加做参考。
3241
+ - 支持传入图片Base64编码或图片URL
3242
+ - 图片格式:支持jpg,png,jpeg,webp,bmp,tiff 格式
3243
+ - 图片文件:大小不能超过10MB(base64后)。单边分辨率不超过5000px,不小于50px,图片长宽限制1:4 ~ 4:1。
3244
+ 示例值:[{ "Url": "https://console.cloud.tencent.com/cos/image.png"}]
3245
+ :rtype: list of Image
3246
+ """
3247
+ return self._Images
3248
+
3249
+ @Images.setter
3250
+ def Images(self, Images):
3251
+ self._Images = Images
3252
+
3253
+ @property
3254
+ def Image(self):
3255
+ warnings.warn("parameter `Image` is deprecated", DeprecationWarning)
3256
+
3257
+ r"""图片base64或者图片url
3258
+
3259
+ - Base64 和 Url 必须提供一个,如果都提供以Url为准。
3260
+ - 上传图url大小不超过 8M
3261
+ - 支持jpg,png,jpeg,webp,bmp,tiff 格式
3262
+ - 单边分辨率不超过5000,不小于50,长宽限制1:4 ~ 4:1
3263
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.Image`
3264
+ """
3265
+ return self._Image
3266
+
3267
+ @Image.setter
3268
+ def Image(self, Image):
3269
+ warnings.warn("parameter `Image` is deprecated", DeprecationWarning)
3270
+
3271
+ self._Image = Image
3272
+
3273
+ @property
3274
+ def LogoAdd(self):
3275
+ r"""为生成视频添加标识的开关,默认为1。传0 需前往 [控制台](https://console.cloud.tencent.com/vtc/setting) 申请开启显式标识自主完成后方可生效。
3276
+ 1:添加标识;
3277
+ 0:不添加标识;
3278
+ 其他数值:默认按1处理。
3279
+ 建议您使用显著标识来提示,该视频是 AI 生成的视频。
3280
+
3281
+ :rtype: int
3282
+ """
3283
+ return self._LogoAdd
3284
+
3285
+ @LogoAdd.setter
3286
+ def LogoAdd(self, LogoAdd):
3287
+ self._LogoAdd = LogoAdd
3288
+
3289
+ @property
3290
+ def LogoParam(self):
3291
+ r"""标识内容设置。
3292
+ 默认在生成视频的右下角添加“ AI 生成”或“视频由 AI 生成”字样,如需替换为其他的标识图片,需前往 [控制台](https://console.cloud.tencent.com/vtc/setting) 申请开启显式标识自主完成。
3293
+
3294
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
3295
+ """
3296
+ return self._LogoParam
3297
+
3298
+ @LogoParam.setter
3299
+ def LogoParam(self, LogoParam):
3300
+ self._LogoParam = LogoParam
3301
+
3302
+
3303
+ def _deserialize(self, params):
3304
+ self._VideoUrl = params.get("VideoUrl")
3305
+ self._Prompt = params.get("Prompt")
3306
+ if params.get("Images") is not None:
3307
+ self._Images = []
3308
+ for item in params.get("Images"):
3309
+ obj = Image()
3310
+ obj._deserialize(item)
3311
+ self._Images.append(obj)
3312
+ if params.get("Image") is not None:
3313
+ self._Image = Image()
3314
+ self._Image._deserialize(params.get("Image"))
3315
+ self._LogoAdd = params.get("LogoAdd")
3316
+ if params.get("LogoParam") is not None:
3317
+ self._LogoParam = LogoParam()
3318
+ self._LogoParam._deserialize(params.get("LogoParam"))
3319
+ memeber_set = set(params.keys())
3320
+ for name, value in vars(self).items():
3321
+ property_name = name[1:]
3322
+ if property_name in memeber_set:
3323
+ memeber_set.remove(property_name)
3324
+ if len(memeber_set) > 0:
3325
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3326
+
3327
+
3328
+
3329
+ class SubmitVideoEditJobResponse(AbstractModel):
3330
+ r"""SubmitVideoEditJob返回参数结构体
3331
+
3332
+ """
3333
+
3334
+ def __init__(self):
3335
+ r"""
3336
+ :param _JobId: 任务ID。
3337
+ :type JobId: str
3338
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3339
+ :type RequestId: str
3340
+ """
3341
+ self._JobId = None
3342
+ self._RequestId = None
3343
+
3344
+ @property
3345
+ def JobId(self):
3346
+ r"""任务ID。
3347
+ :rtype: str
3348
+ """
3349
+ return self._JobId
3350
+
3351
+ @JobId.setter
3352
+ def JobId(self, JobId):
3353
+ self._JobId = JobId
3354
+
3355
+ @property
3356
+ def RequestId(self):
3357
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3358
+ :rtype: str
3359
+ """
3360
+ return self._RequestId
3361
+
3362
+ @RequestId.setter
3363
+ def RequestId(self, RequestId):
3364
+ self._RequestId = RequestId
3365
+
3366
+
3367
+ def _deserialize(self, params):
3368
+ self._JobId = params.get("JobId")
3369
+ self._RequestId = params.get("RequestId")
3370
+
3371
+
2989
3372
  class SubmitVideoFaceFusionJobRequest(AbstractModel):
2990
3373
  r"""SubmitVideoFaceFusionJob请求参数结构体
2991
3374
 
@@ -188,6 +188,29 @@ class VclmClient(AbstractClient):
188
188
  raise TencentCloudSDKException(type(e).__name__, str(e))
189
189
 
190
190
 
191
+ def DescribeVideoEditJob(self, request):
192
+ r"""用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
193
+
194
+ :param request: Request instance for DescribeVideoEditJob.
195
+ :type request: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoEditJobRequest`
196
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.DescribeVideoEditJobResponse`
197
+
198
+ """
199
+ try:
200
+ params = request._serialize()
201
+ headers = request.headers
202
+ body = self.call("DescribeVideoEditJob", params, headers=headers)
203
+ response = json.loads(body)
204
+ model = models.DescribeVideoEditJobResponse()
205
+ model._deserialize(response["Response"])
206
+ return model
207
+ except Exception as e:
208
+ if isinstance(e, TencentCloudSDKException):
209
+ raise
210
+ else:
211
+ raise TencentCloudSDKException(type(e).__name__, str(e))
212
+
213
+
191
214
  def DescribeVideoFaceFusionJob(self, request):
192
215
  r"""查询视频人脸融合任务
193
216
 
@@ -399,6 +422,29 @@ class VclmClient(AbstractClient):
399
422
  raise TencentCloudSDKException(type(e).__name__, str(e))
400
423
 
401
424
 
425
+ def SubmitVideoEditJob(self, request):
426
+ r"""用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
427
+
428
+ :param request: Request instance for SubmitVideoEditJob.
429
+ :type request: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoEditJobRequest`
430
+ :rtype: :class:`tencentcloud.vclm.v20240523.models.SubmitVideoEditJobResponse`
431
+
432
+ """
433
+ try:
434
+ params = request._serialize()
435
+ headers = request.headers
436
+ body = self.call("SubmitVideoEditJob", params, headers=headers)
437
+ response = json.loads(body)
438
+ model = models.SubmitVideoEditJobResponse()
439
+ model._deserialize(response["Response"])
440
+ return model
441
+ except Exception as e:
442
+ if isinstance(e, TencentCloudSDKException):
443
+ raise
444
+ else:
445
+ raise TencentCloudSDKException(type(e).__name__, str(e))
446
+
447
+
402
448
  def SubmitVideoFaceFusionJob(self, request):
403
449
  r"""提交视频人脸融合任务
404
450
 
@@ -152,6 +152,24 @@ class VclmClient(AbstractClient):
152
152
 
153
153
  return await self.call_and_deserialize(**kwargs)
154
154
 
155
+ async def DescribeVideoEditJob(
156
+ self,
157
+ request: models.DescribeVideoEditJobRequest,
158
+ opts: Dict = None,
159
+ ) -> models.DescribeVideoEditJobResponse:
160
+ """
161
+ 用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
162
+ """
163
+
164
+ kwargs = {}
165
+ kwargs["action"] = "DescribeVideoEditJob"
166
+ kwargs["params"] = request._serialize()
167
+ kwargs["resp_cls"] = models.DescribeVideoEditJobResponse
168
+ kwargs["headers"] = request.headers
169
+ kwargs["opts"] = opts or {}
170
+
171
+ return await self.call_and_deserialize(**kwargs)
172
+
155
173
  async def DescribeVideoFaceFusionJob(
156
174
  self,
157
175
  request: models.DescribeVideoFaceFusionJobRequest,
@@ -318,6 +336,24 @@ class VclmClient(AbstractClient):
318
336
 
319
337
  return await self.call_and_deserialize(**kwargs)
320
338
 
339
+ async def SubmitVideoEditJob(
340
+ self,
341
+ request: models.SubmitVideoEditJobRequest,
342
+ opts: Dict = None,
343
+ ) -> models.SubmitVideoEditJobResponse:
344
+ """
345
+ 用于提交视频编辑任务,支持上传视频、文本及图片素材开展编辑操作,涵盖风格迁移、元素替换、内容增减等核心能力。
346
+ """
347
+
348
+ kwargs = {}
349
+ kwargs["action"] = "SubmitVideoEditJob"
350
+ kwargs["params"] = request._serialize()
351
+ kwargs["resp_cls"] = models.SubmitVideoEditJobResponse
352
+ kwargs["headers"] = request.headers
353
+ kwargs["opts"] = opts or {}
354
+
355
+ return await self.call_and_deserialize(**kwargs)
356
+
321
357
  async def SubmitVideoFaceFusionJob(
322
358
  self,
323
359
  request: models.SubmitVideoFaceFusionJobRequest,
@@ -1845,6 +1845,36 @@ class DeleteApplicationAndVideoLicenseRequest(AbstractModel):
1845
1845
 
1846
1846
  """
1847
1847
 
1848
+ def __init__(self):
1849
+ r"""
1850
+ :param _LicenseId: license唯一标识
1851
+ :type LicenseId: int
1852
+ """
1853
+ self._LicenseId = None
1854
+
1855
+ @property
1856
+ def LicenseId(self):
1857
+ r"""license唯一标识
1858
+ :rtype: int
1859
+ """
1860
+ return self._LicenseId
1861
+
1862
+ @LicenseId.setter
1863
+ def LicenseId(self, LicenseId):
1864
+ self._LicenseId = LicenseId
1865
+
1866
+
1867
+ def _deserialize(self, params):
1868
+ self._LicenseId = params.get("LicenseId")
1869
+ memeber_set = set(params.keys())
1870
+ for name, value in vars(self).items():
1871
+ property_name = name[1:]
1872
+ if property_name in memeber_set:
1873
+ memeber_set.remove(property_name)
1874
+ if len(memeber_set) > 0:
1875
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1876
+
1877
+
1848
1878
 
1849
1879
  class DeleteApplicationAndVideoLicenseResponse(AbstractModel):
1850
1880
  r"""DeleteApplicationAndVideoLicense返回参数结构体