tencentcloud-sdk-python-vclm 3.1.17__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.17 → tencentcloud_sdk_python_vclm-3.1.23}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/models.py +68 -0
  5. {tencentcloud_sdk_python_vclm-3.1.17 → 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.17/tencentcloud_sdk_python_vclm.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/README.rst +0 -0
  9. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/__init__.py +0 -0
  11. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/vclm_client.py +0 -0
  14. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud/vclm/v20240523/vclm_client_async.py +0 -0
  15. {tencentcloud_sdk_python_vclm-3.1.17 → tencentcloud_sdk_python_vclm-3.1.23}/tencentcloud_sdk_python_vclm.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_vclm-3.1.17 → 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.17 → 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.17
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.17
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.17,<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.17'
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:]
@@ -2586,6 +2619,8 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2586
2619
  :type Image: :class:`tencentcloud.vclm.v20240523.models.Image`
2587
2620
  :param _Prompt: 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
2588
2621
  :type Prompt: str
2622
+ :param _Resolution: 输出视频分辨率。可选择:480p、720p、1080p。
2623
+ :type Resolution: str
2589
2624
  :param _LogoAdd: 为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
2590
2625
  :type LogoAdd: int
2591
2626
  :param _LogoParam: 默认在生成视频的右下角添加“ AI 生成”字样,如需替换为其他的标识图片,需前往 控制台 申请开启显示标识自主完成。
@@ -2593,6 +2628,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2593
2628
  """
2594
2629
  self._Image = None
2595
2630
  self._Prompt = None
2631
+ self._Resolution = None
2596
2632
  self._LogoAdd = None
2597
2633
  self._LogoParam = None
2598
2634
 
@@ -2622,6 +2658,17 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2622
2658
  def Prompt(self, Prompt):
2623
2659
  self._Prompt = Prompt
2624
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
+
2625
2672
  @property
2626
2673
  def LogoAdd(self):
2627
2674
  r"""为生成视频添加标识的开关,默认为1,0 需前往 控制台 申请开启显示标识自主完成方可生效。 1:添加标识; 0:不添加标识; 其他数值:默认按1处理。
@@ -2650,6 +2697,7 @@ Base64 和 Url 必须提供一个,如果都提供以ImageUrl为准。
2650
2697
  self._Image = Image()
2651
2698
  self._Image._deserialize(params.get("Image"))
2652
2699
  self._Prompt = params.get("Prompt")
2700
+ self._Resolution = params.get("Resolution")
2653
2701
  self._LogoAdd = params.get("LogoAdd")
2654
2702
  if params.get("LogoParam") is not None:
2655
2703
  self._LogoParam = LogoParam()
@@ -3126,6 +3174,8 @@ class SubmitVideoEditJobRequest(AbstractModel):
3126
3174
  :param _Prompt: 视频内容的描述,中文正向提示词。最多支持200个 utf-8 字符(首尾空格不计入字符数)。
3127
3175
  支持风格迁移、替换、元素增加、删除控制
3128
3176
  :type Prompt: str
3177
+ :param _Images: 图片数组
3178
+ :type Images: list of Image
3129
3179
  :param _Image: 图片base64或者图片url
3130
3180
 
3131
3181
  - Base64 和 Url 必须提供一个,如果都提供以Url为准。
@@ -3140,6 +3190,7 @@ class SubmitVideoEditJobRequest(AbstractModel):
3140
3190
  """
3141
3191
  self._VideoUrl = None
3142
3192
  self._Prompt = None
3193
+ self._Images = None
3143
3194
  self._Image = None
3144
3195
  self._LogoAdd = None
3145
3196
  self._LogoParam = None
@@ -3171,6 +3222,17 @@ class SubmitVideoEditJobRequest(AbstractModel):
3171
3222
  def Prompt(self, Prompt):
3172
3223
  self._Prompt = Prompt
3173
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
+
3174
3236
  @property
3175
3237
  def Image(self):
3176
3238
  r"""图片base64或者图片url
@@ -3213,6 +3275,12 @@ class SubmitVideoEditJobRequest(AbstractModel):
3213
3275
  def _deserialize(self, params):
3214
3276
  self._VideoUrl = params.get("VideoUrl")
3215
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)
3216
3284
  if params.get("Image") is not None:
3217
3285
  self._Image = Image()
3218
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.17
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.17
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.17