tencentcloud-sdk-python-vclm 3.1.22__tar.gz → 3.1.23__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/models.py +53 -0
  5. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud_sdk_python_vclm.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_vclm-3.1.23/tencentcloud_sdk_python_vclm.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_vclm-3.1.22/tencentcloud_sdk_python_vclm.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/README.rst +0 -0
  9. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/__init__.py +0 -0
  11. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/vclm_client.py +0 -0
  14. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/vclm_client_async.py +0 -0
  15. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud_sdk_python_vclm.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud_sdk_python_vclm.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_vclm-3.1.22 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud_sdk_python_vclm.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vclm
3
- Version: 3.1.22
3
+ Version: 3.1.23
4
4
  Summary: Tencent Cloud Vclm SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.22
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.23
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-vclm',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.22,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.23,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Vclm SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.22'
17
+ __version__ = '3.1.23'
@@ -1505,8 +1505,20 @@ class ExtraParam(AbstractModel):
1505
1505
  r"""
1506
1506
  :param _UserDesignatedUrl: 预签名的上传url,支持把视频直接传到客户指定的地址。
1507
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
1508
1519
  """
1509
1520
  self._UserDesignatedUrl = None
1521
+ self._CallbackUrl = None
1510
1522
 
1511
1523
  @property
1512
1524
  def UserDesignatedUrl(self):
@@ -1519,9 +1531,30 @@ class ExtraParam(AbstractModel):
1519
1531
  def UserDesignatedUrl(self, UserDesignatedUrl):
1520
1532
  self._UserDesignatedUrl = UserDesignatedUrl
1521
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
+
1522
1554
 
1523
1555
  def _deserialize(self, params):
1524
1556
  self._UserDesignatedUrl = params.get("UserDesignatedUrl")
1557
+ self._CallbackUrl = params.get("CallbackUrl")
1525
1558
  memeber_set = set(params.keys())
1526
1559
  for name, value in vars(self).items():
1527
1560
  property_name = name[1:]
@@ -3141,6 +3174,8 @@ class SubmitVideoEditJobRequest(AbstractModel):
3141
3174
  :param _Prompt: 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
3142
3175
  支持风格迁移、替换、元素增加、删除控制
3143
3176
  :type Prompt: str
3177
+ :param _Images: 图片数组
3178
+ :type Images: list of Image
3144
3179
  :param _Image: 图片base64或者图片url
3145
3180
 
3146
3181
  - Base64 和 Url 必须提供一个,如果都提供以Url为准。
@@ -3155,6 +3190,7 @@ class SubmitVideoEditJobRequest(AbstractModel):
3155
3190
  """
3156
3191
  self._VideoUrl = None
3157
3192
  self._Prompt = None
3193
+ self._Images = None
3158
3194
  self._Image = None
3159
3195
  self._LogoAdd = None
3160
3196
  self._LogoParam = None
@@ -3186,6 +3222,17 @@ class SubmitVideoEditJobRequest(AbstractModel):
3186
3222
  def Prompt(self, Prompt):
3187
3223
  self._Prompt = Prompt
3188
3224
 
3225
+ @property
3226
+ def Images(self):
3227
+ r"""图片数组
3228
+ :rtype: list of Image
3229
+ """
3230
+ return self._Images
3231
+
3232
+ @Images.setter
3233
+ def Images(self, Images):
3234
+ self._Images = Images
3235
+
3189
3236
  @property
3190
3237
  def Image(self):
3191
3238
  r"""图片base64或者图片url
@@ -3228,6 +3275,12 @@ class SubmitVideoEditJobRequest(AbstractModel):
3228
3275
  def _deserialize(self, params):
3229
3276
  self._VideoUrl = params.get("VideoUrl")
3230
3277
  self._Prompt = params.get("Prompt")
3278
+ if params.get("Images") is not None:
3279
+ self._Images = []
3280
+ for item in params.get("Images"):
3281
+ obj = Image()
3282
+ obj._deserialize(item)
3283
+ self._Images.append(obj)
3231
3284
  if params.get("Image") is not None:
3232
3285
  self._Image = Image()
3233
3286
  self._Image._deserialize(params.get("Image"))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vclm
3
- Version: 3.1.22
3
+ Version: 3.1.23
4
4
  Summary: Tencent Cloud Vclm SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.22
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.23
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.23
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.22