tencentcloud-sdk-python-vod 3.1.172__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.
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/setup.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/models.py +198 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vod-3.1.174/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vod-3.1.172/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/README.rst +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/vod_client.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20180717/vod_client_async.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/models.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/vod_client.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.174}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.172 → 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.
|
|
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.
|
|
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.
|
|
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',
|
|
@@ -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>抠图目标类型指定:"foreground" / "pattern"</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>抠图目标类型指定:"foreground" / "pattern"</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
|
|
|
@@ -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.
|
|
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.
|
|
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.172
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|