tencentcloud-sdk-python-vod 3.1.172__tar.gz → 3.1.175__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.172 → tencentcloud_sdk_python_vod-3.1.175}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20180717/models.py +228 -0
  5. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_vod-3.1.175/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_vod-3.1.172/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/README.rst +0 -0
  9. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/__init__.py +0 -0
  11. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20180717/__init__.py +0 -0
  12. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20180717/vod_client.py +0 -0
  14. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20180717/vod_client_async.py +0 -0
  15. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20240718/__init__.py +0 -0
  16. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20240718/models.py +0 -0
  18. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20240718/vod_client.py +0 -0
  19. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
  20. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_vod-3.1.172 → tencentcloud_sdk_python_vod-3.1.175}/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.172
3
+ Version: 3.1.175
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.172
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.175
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.172,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.175,<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.172'
17
+ __version__ = '3.1.175'
@@ -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
 
@@ -13233,6 +13318,8 @@ class AigcImageTaskInput(AbstractModel):
13233
13318
  :type Seed: int
13234
13319
  :param _SceneType: <p>场景类型。取值如下:<li>当 ModelName 为 Hunyuan 时: 3d_panorama 表示全景图;</li><li>其他 ModelName 暂不支持。</li></p>
13235
13320
  :type SceneType: str
13321
+ :param _ExtInfo: <p>透传参数。</p>
13322
+ :type ExtInfo: str
13236
13323
  """
13237
13324
  self._ModelName = None
13238
13325
  self._ModelVersion = None
@@ -13244,6 +13331,7 @@ class AigcImageTaskInput(AbstractModel):
13244
13331
  self._OutputConfig = None
13245
13332
  self._Seed = None
13246
13333
  self._SceneType = None
13334
+ self._ExtInfo = None
13247
13335
 
13248
13336
  @property
13249
13337
  def ModelName(self):
@@ -13355,6 +13443,17 @@ class AigcImageTaskInput(AbstractModel):
13355
13443
  def SceneType(self, SceneType):
13356
13444
  self._SceneType = SceneType
13357
13445
 
13446
+ @property
13447
+ def ExtInfo(self):
13448
+ r"""<p>透传参数。</p>
13449
+ :rtype: str
13450
+ """
13451
+ return self._ExtInfo
13452
+
13453
+ @ExtInfo.setter
13454
+ def ExtInfo(self, ExtInfo):
13455
+ self._ExtInfo = ExtInfo
13456
+
13358
13457
 
13359
13458
  def _deserialize(self, params):
13360
13459
  self._ModelName = params.get("ModelName")
@@ -13374,6 +13473,7 @@ class AigcImageTaskInput(AbstractModel):
13374
13473
  self._OutputConfig._deserialize(params.get("OutputConfig"))
13375
13474
  self._Seed = params.get("Seed")
13376
13475
  self._SceneType = params.get("SceneType")
13476
+ self._ExtInfo = params.get("ExtInfo")
13377
13477
  memeber_set = set(params.keys())
13378
13478
  for name, value in vars(self).items():
13379
13479
  property_name = name[1:]
@@ -15285,6 +15385,8 @@ class AigcVideoTaskInput(AbstractModel):
15285
15385
  :type SceneType: str
15286
15386
  :param _Seed: <p>模型随机种子。</p>
15287
15387
  :type Seed: int
15388
+ :param _ExtInfo: <p>透传参数。</p>
15389
+ :type ExtInfo: str
15288
15390
  """
15289
15391
  self._ModelName = None
15290
15392
  self._ModelVersion = None
@@ -15300,6 +15402,7 @@ class AigcVideoTaskInput(AbstractModel):
15300
15402
  self._InputRegion = None
15301
15403
  self._SceneType = None
15302
15404
  self._Seed = None
15405
+ self._ExtInfo = None
15303
15406
 
15304
15407
  @property
15305
15408
  def ModelName(self):
@@ -15455,6 +15558,17 @@ class AigcVideoTaskInput(AbstractModel):
15455
15558
  def Seed(self, Seed):
15456
15559
  self._Seed = Seed
15457
15560
 
15561
+ @property
15562
+ def ExtInfo(self):
15563
+ r"""<p>透传参数。</p>
15564
+ :rtype: str
15565
+ """
15566
+ return self._ExtInfo
15567
+
15568
+ @ExtInfo.setter
15569
+ def ExtInfo(self, ExtInfo):
15570
+ self._ExtInfo = ExtInfo
15571
+
15458
15572
 
15459
15573
  def _deserialize(self, params):
15460
15574
  self._ModelName = params.get("ModelName")
@@ -15483,6 +15597,7 @@ class AigcVideoTaskInput(AbstractModel):
15483
15597
  self._InputRegion = params.get("InputRegion")
15484
15598
  self._SceneType = params.get("SceneType")
15485
15599
  self._Seed = params.get("Seed")
15600
+ self._ExtInfo = params.get("ExtInfo")
15486
15601
  memeber_set = set(params.keys())
15487
15602
  for name, value in vars(self).items():
15488
15603
  property_name = name[1:]
@@ -77396,6 +77511,102 @@ class ParseStreamingManifestResponse(AbstractModel):
77396
77511
  self._RequestId = params.get("RequestId")
77397
77512
 
77398
77513
 
77514
+ class PatternConfig(AbstractModel):
77515
+ r"""印花提取配置。
77516
+
77517
+ """
77518
+
77519
+ def __init__(self):
77520
+ r"""
77521
+ :param _TransparencyThreshold: <p>透明度阈值</p><p>取值范围:[0, 255]</p><p>默认值:30</p>
77522
+ :type TransparencyThreshold: int
77523
+ :param _OpaqueThreshold: <p>不透明阈值,必须大于TransparencyThreshold</p><p>取值范围:[0, 255]</p><p>默认值:127</p>
77524
+ :type OpaqueThreshold: int
77525
+ :param _EdgeSamplingStep: <p>边缘采样步数</p><p>取值范围:[1, 10]</p><p>默认值:5</p>
77526
+ :type EdgeSamplingStep: int
77527
+ :param _EdgeExpansionStep: <p>边缘扩展步数</p><p>默认值:5</p>
77528
+ :type EdgeExpansionStep: int
77529
+ :param _EdgeBlendingIntensity: <p>边缘融合强度</p><p>取值范围:[0.0, 1.0]</p><p>默认值:0.5</p>
77530
+ :type EdgeBlendingIntensity: float
77531
+ """
77532
+ self._TransparencyThreshold = None
77533
+ self._OpaqueThreshold = None
77534
+ self._EdgeSamplingStep = None
77535
+ self._EdgeExpansionStep = None
77536
+ self._EdgeBlendingIntensity = None
77537
+
77538
+ @property
77539
+ def TransparencyThreshold(self):
77540
+ r"""<p>透明度阈值</p><p>取值范围:[0, 255]</p><p>默认值:30</p>
77541
+ :rtype: int
77542
+ """
77543
+ return self._TransparencyThreshold
77544
+
77545
+ @TransparencyThreshold.setter
77546
+ def TransparencyThreshold(self, TransparencyThreshold):
77547
+ self._TransparencyThreshold = TransparencyThreshold
77548
+
77549
+ @property
77550
+ def OpaqueThreshold(self):
77551
+ r"""<p>不透明阈值,必须大于TransparencyThreshold</p><p>取值范围:[0, 255]</p><p>默认值:127</p>
77552
+ :rtype: int
77553
+ """
77554
+ return self._OpaqueThreshold
77555
+
77556
+ @OpaqueThreshold.setter
77557
+ def OpaqueThreshold(self, OpaqueThreshold):
77558
+ self._OpaqueThreshold = OpaqueThreshold
77559
+
77560
+ @property
77561
+ def EdgeSamplingStep(self):
77562
+ r"""<p>边缘采样步数</p><p>取值范围:[1, 10]</p><p>默认值:5</p>
77563
+ :rtype: int
77564
+ """
77565
+ return self._EdgeSamplingStep
77566
+
77567
+ @EdgeSamplingStep.setter
77568
+ def EdgeSamplingStep(self, EdgeSamplingStep):
77569
+ self._EdgeSamplingStep = EdgeSamplingStep
77570
+
77571
+ @property
77572
+ def EdgeExpansionStep(self):
77573
+ r"""<p>边缘扩展步数</p><p>默认值:5</p>
77574
+ :rtype: int
77575
+ """
77576
+ return self._EdgeExpansionStep
77577
+
77578
+ @EdgeExpansionStep.setter
77579
+ def EdgeExpansionStep(self, EdgeExpansionStep):
77580
+ self._EdgeExpansionStep = EdgeExpansionStep
77581
+
77582
+ @property
77583
+ def EdgeBlendingIntensity(self):
77584
+ r"""<p>边缘融合强度</p><p>取值范围:[0.0, 1.0]</p><p>默认值:0.5</p>
77585
+ :rtype: float
77586
+ """
77587
+ return self._EdgeBlendingIntensity
77588
+
77589
+ @EdgeBlendingIntensity.setter
77590
+ def EdgeBlendingIntensity(self, EdgeBlendingIntensity):
77591
+ self._EdgeBlendingIntensity = EdgeBlendingIntensity
77592
+
77593
+
77594
+ def _deserialize(self, params):
77595
+ self._TransparencyThreshold = params.get("TransparencyThreshold")
77596
+ self._OpaqueThreshold = params.get("OpaqueThreshold")
77597
+ self._EdgeSamplingStep = params.get("EdgeSamplingStep")
77598
+ self._EdgeExpansionStep = params.get("EdgeExpansionStep")
77599
+ self._EdgeBlendingIntensity = params.get("EdgeBlendingIntensity")
77600
+ memeber_set = set(params.keys())
77601
+ for name, value in vars(self).items():
77602
+ property_name = name[1:]
77603
+ if property_name in memeber_set:
77604
+ memeber_set.remove(property_name)
77605
+ if len(memeber_set) > 0:
77606
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
77607
+
77608
+
77609
+
77399
77610
  class PersistenceCompleteTask(AbstractModel):
77400
77611
  r"""剪辑固化任务信息。
77401
77612
 
@@ -80678,10 +80889,13 @@ class ProcessImageAsyncTask(AbstractModel):
80678
80889
  :param _BeautyConfig: <p>图片美颜配置。</p>
80679
80890
  注意:此字段可能返回 null,表示取不到有效值。
80680
80891
  :type BeautyConfig: :class:`tencentcloud.vod.v20180717.models.ImageBeautyConfig`
80892
+ :param _AiCutOutConfig: <p>Ai抠图配置</p>
80893
+ :type AiCutOutConfig: :class:`tencentcloud.vod.v20180717.models.AiCutOutConfig`
80681
80894
  """
80682
80895
  self._EncodeConfig = None
80683
80896
  self._EnhanceConfig = None
80684
80897
  self._BeautyConfig = None
80898
+ self._AiCutOutConfig = None
80685
80899
 
80686
80900
  @property
80687
80901
  def EncodeConfig(self):
@@ -80719,6 +80933,17 @@ class ProcessImageAsyncTask(AbstractModel):
80719
80933
  def BeautyConfig(self, BeautyConfig):
80720
80934
  self._BeautyConfig = BeautyConfig
80721
80935
 
80936
+ @property
80937
+ def AiCutOutConfig(self):
80938
+ r"""<p>Ai抠图配置</p>
80939
+ :rtype: :class:`tencentcloud.vod.v20180717.models.AiCutOutConfig`
80940
+ """
80941
+ return self._AiCutOutConfig
80942
+
80943
+ @AiCutOutConfig.setter
80944
+ def AiCutOutConfig(self, AiCutOutConfig):
80945
+ self._AiCutOutConfig = AiCutOutConfig
80946
+
80722
80947
 
80723
80948
  def _deserialize(self, params):
80724
80949
  if params.get("EncodeConfig") is not None:
@@ -80730,6 +80955,9 @@ class ProcessImageAsyncTask(AbstractModel):
80730
80955
  if params.get("BeautyConfig") is not None:
80731
80956
  self._BeautyConfig = ImageBeautyConfig()
80732
80957
  self._BeautyConfig._deserialize(params.get("BeautyConfig"))
80958
+ if params.get("AiCutOutConfig") is not None:
80959
+ self._AiCutOutConfig = AiCutOutConfig()
80960
+ self._AiCutOutConfig._deserialize(params.get("AiCutOutConfig"))
80733
80961
  memeber_set = set(params.keys())
80734
80962
  for name, value in vars(self).items():
80735
80963
  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.172
3
+ Version: 3.1.175
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.172
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.175
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.175
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.172