tencentcloud-sdk-python-vod 3.1.170__tar.gz → 3.1.174__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 (22) hide show
  1. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/models.py +206 -8
  5. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_vod-3.1.174/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_vod-3.1.170/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/README.rst +0 -0
  9. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/__init__.py +0 -0
  11. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/vod_client.py +0 -0
  14. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/vod_client_async.py +0 -0
  15. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/__init__.py +0 -0
  16. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/models.py +0 -0
  18. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/vod_client.py +0 -0
  19. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
  20. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_vod-3.1.170 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.1.170
3
+ Version: 3.1.174
4
4
  Summary: Tencent Cloud Vod 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.170
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.174
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-vod',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.170,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.174,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Vod SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.170'
17
+ __version__ = '3.1.174'
@@ -3405,6 +3405,91 @@ class AiContentReviewTaskInput(AbstractModel):
3405
3405
 
3406
3406
 
3407
3407
 
3408
+ class AiCutOutConfig(AbstractModel):
3409
+ r"""智能抠图配置。
3410
+
3411
+ """
3412
+
3413
+ def __init__(self):
3414
+ r"""
3415
+ :param _Switch: <p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
3416
+ :type Switch: str
3417
+ :param _Type: <p>抠图目标类型指定:&quot;foreground&quot; / &quot;pattern&quot;</p>
3418
+ :type Type: str
3419
+ :param _PatternConfig: <p>图案抠图配置。仅在Type为pattern时生效。</p>
3420
+ 注意:此字段可能返回 null,表示取不到有效值。
3421
+ :type PatternConfig: :class:`tencentcloud.vod.v20180717.models.PatternConfig`
3422
+ :param _Model: <p>抠图模型选择,可不填。</p><p>枚举值:</p><ul><li>auto: 自动选择合适的模型</li><li>WAND-cutout-1.0-lite: 标准版,速度最快</li><li>WAND-cutout-2.0-lite: 增强版,速度更快</li><li>WAND-cutout-2.0-flash: 增强版,质量-速度平衡</li><li>WAND-cutout-3.0-lite: 增强版,速度更快</li><li>WAND-cutout-3.0-flash: 增强版,质量-速度平衡</li></ul>
3423
+ :type Model: str
3424
+ """
3425
+ self._Switch = None
3426
+ self._Type = None
3427
+ self._PatternConfig = None
3428
+ self._Model = None
3429
+
3430
+ @property
3431
+ def Switch(self):
3432
+ r"""<p>能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。</p>
3433
+ :rtype: str
3434
+ """
3435
+ return self._Switch
3436
+
3437
+ @Switch.setter
3438
+ def Switch(self, Switch):
3439
+ self._Switch = Switch
3440
+
3441
+ @property
3442
+ def Type(self):
3443
+ r"""<p>抠图目标类型指定:&quot;foreground&quot; / &quot;pattern&quot;</p>
3444
+ :rtype: str
3445
+ """
3446
+ return self._Type
3447
+
3448
+ @Type.setter
3449
+ def Type(self, Type):
3450
+ self._Type = Type
3451
+
3452
+ @property
3453
+ def PatternConfig(self):
3454
+ r"""<p>图案抠图配置。仅在Type为pattern时生效。</p>
3455
+ 注意:此字段可能返回 null,表示取不到有效值。
3456
+ :rtype: :class:`tencentcloud.vod.v20180717.models.PatternConfig`
3457
+ """
3458
+ return self._PatternConfig
3459
+
3460
+ @PatternConfig.setter
3461
+ def PatternConfig(self, PatternConfig):
3462
+ self._PatternConfig = PatternConfig
3463
+
3464
+ @property
3465
+ def Model(self):
3466
+ r"""<p>抠图模型选择,可不填。</p><p>枚举值:</p><ul><li>auto: 自动选择合适的模型</li><li>WAND-cutout-1.0-lite: 标准版,速度最快</li><li>WAND-cutout-2.0-lite: 增强版,速度更快</li><li>WAND-cutout-2.0-flash: 增强版,质量-速度平衡</li><li>WAND-cutout-3.0-lite: 增强版,速度更快</li><li>WAND-cutout-3.0-flash: 增强版,质量-速度平衡</li></ul>
3467
+ :rtype: str
3468
+ """
3469
+ return self._Model
3470
+
3471
+ @Model.setter
3472
+ def Model(self, Model):
3473
+ self._Model = Model
3474
+
3475
+
3476
+ def _deserialize(self, params):
3477
+ self._Switch = params.get("Switch")
3478
+ self._Type = params.get("Type")
3479
+ if params.get("PatternConfig") is not None:
3480
+ self._PatternConfig = PatternConfig()
3481
+ self._PatternConfig._deserialize(params.get("PatternConfig"))
3482
+ self._Model = params.get("Model")
3483
+ memeber_set = set(params.keys())
3484
+ for name, value in vars(self).items():
3485
+ property_name = name[1:]
3486
+ if property_name in memeber_set:
3487
+ memeber_set.remove(property_name)
3488
+ if len(memeber_set) > 0:
3489
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3490
+
3491
+
3492
+
3408
3493
  class AiRecognitionResult(AbstractModel):
3409
3494
  r"""智能识别结果。
3410
3495
 
@@ -39943,11 +40028,11 @@ class DescribeCurrentPlaylistRequest(AbstractModel):
39943
40028
 
39944
40029
  def __init__(self):
39945
40030
  r"""
39946
- :param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。</b>
40031
+ :param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。</b></p>
39947
40032
  :type SubAppId: int
39948
- :param _RoundPlayId: 轮播播单唯一标识。
40033
+ :param _RoundPlayId: <p>轮播播单唯一标识。</p>
39949
40034
  :type RoundPlayId: str
39950
- :param _Limit: 返回的播放列表的长度。最大10,默认值为5。
40035
+ :param _Limit: <p>返回的播放列表的长度。最大10,默认值为5。</p>
39951
40036
  :type Limit: int
39952
40037
  """
39953
40038
  self._SubAppId = None
@@ -39956,7 +40041,7 @@ class DescribeCurrentPlaylistRequest(AbstractModel):
39956
40041
 
39957
40042
  @property
39958
40043
  def SubAppId(self):
39959
- r"""<b>点播[应用](/document/product/266/14574) ID。</b>
40044
+ r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。</b></p>
39960
40045
  :rtype: int
39961
40046
  """
39962
40047
  return self._SubAppId
@@ -39967,7 +40052,7 @@ class DescribeCurrentPlaylistRequest(AbstractModel):
39967
40052
 
39968
40053
  @property
39969
40054
  def RoundPlayId(self):
39970
- r"""轮播播单唯一标识。
40055
+ r"""<p>轮播播单唯一标识。</p>
39971
40056
  :rtype: str
39972
40057
  """
39973
40058
  return self._RoundPlayId
@@ -39978,7 +40063,7 @@ class DescribeCurrentPlaylistRequest(AbstractModel):
39978
40063
 
39979
40064
  @property
39980
40065
  def Limit(self):
39981
- r"""返回的播放列表的长度。最大10,默认值为5。
40066
+ r"""<p>返回的播放列表的长度。最大10,默认值为5。</p>
39982
40067
  :rtype: int
39983
40068
  """
39984
40069
  return self._Limit
@@ -40009,7 +40094,7 @@ class DescribeCurrentPlaylistResponse(AbstractModel):
40009
40094
 
40010
40095
  def __init__(self):
40011
40096
  r"""
40012
- :param _CurrentPlaylist: 当前播放列表信息。
40097
+ :param _CurrentPlaylist: <p>当前播放列表信息。</p>
40013
40098
  :type CurrentPlaylist: list of RoundPlayFilePlayInfo
40014
40099
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40015
40100
  :type RequestId: str
@@ -40019,7 +40104,7 @@ class DescribeCurrentPlaylistResponse(AbstractModel):
40019
40104
 
40020
40105
  @property
40021
40106
  def CurrentPlaylist(self):
40022
- r"""当前播放列表信息。
40107
+ r"""<p>当前播放列表信息。</p>
40023
40108
  :rtype: list of RoundPlayFilePlayInfo
40024
40109
  """
40025
40110
  return self._CurrentPlaylist
@@ -77396,6 +77481,102 @@ class ParseStreamingManifestResponse(AbstractModel):
77396
77481
  self._RequestId = params.get("RequestId")
77397
77482
 
77398
77483
 
77484
+ class PatternConfig(AbstractModel):
77485
+ r"""印花提取配置。
77486
+
77487
+ """
77488
+
77489
+ def __init__(self):
77490
+ r"""
77491
+ :param _TransparencyThreshold: <p>透明度阈值</p><p>取值范围:[0, 255]</p><p>默认值:30</p>
77492
+ :type TransparencyThreshold: int
77493
+ :param _OpaqueThreshold: <p>不透明阈值,必须大于TransparencyThreshold</p><p>取值范围:[0, 255]</p><p>默认值:127</p>
77494
+ :type OpaqueThreshold: int
77495
+ :param _EdgeSamplingStep: <p>边缘采样步数</p><p>取值范围:[1, 10]</p><p>默认值:5</p>
77496
+ :type EdgeSamplingStep: int
77497
+ :param _EdgeExpansionStep: <p>边缘扩展步数</p><p>默认值:5</p>
77498
+ :type EdgeExpansionStep: int
77499
+ :param _EdgeBlendingIntensity: <p>边缘融合强度</p><p>取值范围:[0.0, 1.0]</p><p>默认值:0.5</p>
77500
+ :type EdgeBlendingIntensity: float
77501
+ """
77502
+ self._TransparencyThreshold = None
77503
+ self._OpaqueThreshold = None
77504
+ self._EdgeSamplingStep = None
77505
+ self._EdgeExpansionStep = None
77506
+ self._EdgeBlendingIntensity = None
77507
+
77508
+ @property
77509
+ def TransparencyThreshold(self):
77510
+ r"""<p>透明度阈值</p><p>取值范围:[0, 255]</p><p>默认值:30</p>
77511
+ :rtype: int
77512
+ """
77513
+ return self._TransparencyThreshold
77514
+
77515
+ @TransparencyThreshold.setter
77516
+ def TransparencyThreshold(self, TransparencyThreshold):
77517
+ self._TransparencyThreshold = TransparencyThreshold
77518
+
77519
+ @property
77520
+ def OpaqueThreshold(self):
77521
+ r"""<p>不透明阈值,必须大于TransparencyThreshold</p><p>取值范围:[0, 255]</p><p>默认值:127</p>
77522
+ :rtype: int
77523
+ """
77524
+ return self._OpaqueThreshold
77525
+
77526
+ @OpaqueThreshold.setter
77527
+ def OpaqueThreshold(self, OpaqueThreshold):
77528
+ self._OpaqueThreshold = OpaqueThreshold
77529
+
77530
+ @property
77531
+ def EdgeSamplingStep(self):
77532
+ r"""<p>边缘采样步数</p><p>取值范围:[1, 10]</p><p>默认值:5</p>
77533
+ :rtype: int
77534
+ """
77535
+ return self._EdgeSamplingStep
77536
+
77537
+ @EdgeSamplingStep.setter
77538
+ def EdgeSamplingStep(self, EdgeSamplingStep):
77539
+ self._EdgeSamplingStep = EdgeSamplingStep
77540
+
77541
+ @property
77542
+ def EdgeExpansionStep(self):
77543
+ r"""<p>边缘扩展步数</p><p>默认值:5</p>
77544
+ :rtype: int
77545
+ """
77546
+ return self._EdgeExpansionStep
77547
+
77548
+ @EdgeExpansionStep.setter
77549
+ def EdgeExpansionStep(self, EdgeExpansionStep):
77550
+ self._EdgeExpansionStep = EdgeExpansionStep
77551
+
77552
+ @property
77553
+ def EdgeBlendingIntensity(self):
77554
+ r"""<p>边缘融合强度</p><p>取值范围:[0.0, 1.0]</p><p>默认值:0.5</p>
77555
+ :rtype: float
77556
+ """
77557
+ return self._EdgeBlendingIntensity
77558
+
77559
+ @EdgeBlendingIntensity.setter
77560
+ def EdgeBlendingIntensity(self, EdgeBlendingIntensity):
77561
+ self._EdgeBlendingIntensity = EdgeBlendingIntensity
77562
+
77563
+
77564
+ def _deserialize(self, params):
77565
+ self._TransparencyThreshold = params.get("TransparencyThreshold")
77566
+ self._OpaqueThreshold = params.get("OpaqueThreshold")
77567
+ self._EdgeSamplingStep = params.get("EdgeSamplingStep")
77568
+ self._EdgeExpansionStep = params.get("EdgeExpansionStep")
77569
+ self._EdgeBlendingIntensity = params.get("EdgeBlendingIntensity")
77570
+ memeber_set = set(params.keys())
77571
+ for name, value in vars(self).items():
77572
+ property_name = name[1:]
77573
+ if property_name in memeber_set:
77574
+ memeber_set.remove(property_name)
77575
+ if len(memeber_set) > 0:
77576
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
77577
+
77578
+
77579
+
77399
77580
  class PersistenceCompleteTask(AbstractModel):
77400
77581
  r"""剪辑固化任务信息。
77401
77582
 
@@ -80678,10 +80859,13 @@ class ProcessImageAsyncTask(AbstractModel):
80678
80859
  :param _BeautyConfig: <p>图片美颜配置。</p>
80679
80860
  注意:此字段可能返回 null,表示取不到有效值。
80680
80861
  :type BeautyConfig: :class:`tencentcloud.vod.v20180717.models.ImageBeautyConfig`
80862
+ :param _AiCutOutConfig: <p>Ai抠图配置</p>
80863
+ :type AiCutOutConfig: :class:`tencentcloud.vod.v20180717.models.AiCutOutConfig`
80681
80864
  """
80682
80865
  self._EncodeConfig = None
80683
80866
  self._EnhanceConfig = None
80684
80867
  self._BeautyConfig = None
80868
+ self._AiCutOutConfig = None
80685
80869
 
80686
80870
  @property
80687
80871
  def EncodeConfig(self):
@@ -80719,6 +80903,17 @@ class ProcessImageAsyncTask(AbstractModel):
80719
80903
  def BeautyConfig(self, BeautyConfig):
80720
80904
  self._BeautyConfig = BeautyConfig
80721
80905
 
80906
+ @property
80907
+ def AiCutOutConfig(self):
80908
+ r"""<p>Ai抠图配置</p>
80909
+ :rtype: :class:`tencentcloud.vod.v20180717.models.AiCutOutConfig`
80910
+ """
80911
+ return self._AiCutOutConfig
80912
+
80913
+ @AiCutOutConfig.setter
80914
+ def AiCutOutConfig(self, AiCutOutConfig):
80915
+ self._AiCutOutConfig = AiCutOutConfig
80916
+
80722
80917
 
80723
80918
  def _deserialize(self, params):
80724
80919
  if params.get("EncodeConfig") is not None:
@@ -80730,6 +80925,9 @@ class ProcessImageAsyncTask(AbstractModel):
80730
80925
  if params.get("BeautyConfig") is not None:
80731
80926
  self._BeautyConfig = ImageBeautyConfig()
80732
80927
  self._BeautyConfig._deserialize(params.get("BeautyConfig"))
80928
+ if params.get("AiCutOutConfig") is not None:
80929
+ self._AiCutOutConfig = AiCutOutConfig()
80930
+ self._AiCutOutConfig._deserialize(params.get("AiCutOutConfig"))
80733
80931
  memeber_set = set(params.keys())
80734
80932
  for name, value in vars(self).items():
80735
80933
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.1.170
3
+ Version: 3.1.174
4
4
  Summary: Tencent Cloud Vod 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.170
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.174
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.174
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.170