tencentcloud-sdk-python-mps 3.1.194__tar.gz → 3.1.199__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_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/mps/v20190612/models.py +115 -2
  5. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_mps-3.1.199/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_mps-3.1.194/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/README.rst +0 -0
  9. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.194 → tencentcloud_sdk_python_mps-3.1.199}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.194
3
+ Version: 3.1.199
4
4
  Summary: Tencent Cloud Mps 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.194
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.199
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-mps',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.194,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.199,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Mps SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.194'
17
+ __version__ = '3.1.199'
@@ -19312,11 +19312,14 @@ class CloneViralAIGC(AbstractModel):
19312
19312
  :type Resolution: str
19313
19313
  :param _ModelTier: <p>模式。flagship(高级版,默认)、standard(标准版)、depthcrafter(深度提取)</p>
19314
19314
  :type ModelTier: str
19315
+ :param _DepthWithAudio: <p>深度估计结果是否含音频, 默认不含</p>
19316
+ :type DepthWithAudio: bool
19315
19317
  """
19316
19318
  self._Duration = None
19317
19319
  self._AspectRatio = None
19318
19320
  self._Resolution = None
19319
19321
  self._ModelTier = None
19322
+ self._DepthWithAudio = None
19320
19323
 
19321
19324
  @property
19322
19325
  def Duration(self):
@@ -19362,12 +19365,24 @@ class CloneViralAIGC(AbstractModel):
19362
19365
  def ModelTier(self, ModelTier):
19363
19366
  self._ModelTier = ModelTier
19364
19367
 
19368
+ @property
19369
+ def DepthWithAudio(self):
19370
+ r"""<p>深度估计结果是否含音频, 默认不含</p>
19371
+ :rtype: bool
19372
+ """
19373
+ return self._DepthWithAudio
19374
+
19375
+ @DepthWithAudio.setter
19376
+ def DepthWithAudio(self, DepthWithAudio):
19377
+ self._DepthWithAudio = DepthWithAudio
19378
+
19365
19379
 
19366
19380
  def _deserialize(self, params):
19367
19381
  self._Duration = params.get("Duration")
19368
19382
  self._AspectRatio = params.get("AspectRatio")
19369
19383
  self._Resolution = params.get("Resolution")
19370
19384
  self._ModelTier = params.get("ModelTier")
19385
+ self._DepthWithAudio = params.get("DepthWithAudio")
19371
19386
  memeber_set = set(params.keys())
19372
19387
  for name, value in vars(self).items():
19373
19388
  property_name = name[1:]
@@ -19593,11 +19608,14 @@ class CloneViralPersona(AbstractModel):
19593
19608
  :type Ethnicity: str
19594
19609
  :param _BodyType: <p>体型。slim / standard / athletic / chubby</p>
19595
19610
  :type BodyType: str
19611
+ :param _Images: <p>人物图片</p>
19612
+ :type Images: list of str
19596
19613
  """
19597
19614
  self._Gender = None
19598
19615
  self._Age = None
19599
19616
  self._Ethnicity = None
19600
19617
  self._BodyType = None
19618
+ self._Images = None
19601
19619
 
19602
19620
  @property
19603
19621
  def Gender(self):
@@ -19643,12 +19661,24 @@ class CloneViralPersona(AbstractModel):
19643
19661
  def BodyType(self, BodyType):
19644
19662
  self._BodyType = BodyType
19645
19663
 
19664
+ @property
19665
+ def Images(self):
19666
+ r"""<p>人物图片</p>
19667
+ :rtype: list of str
19668
+ """
19669
+ return self._Images
19670
+
19671
+ @Images.setter
19672
+ def Images(self, Images):
19673
+ self._Images = Images
19674
+
19646
19675
 
19647
19676
  def _deserialize(self, params):
19648
19677
  self._Gender = params.get("Gender")
19649
19678
  self._Age = params.get("Age")
19650
19679
  self._Ethnicity = params.get("Ethnicity")
19651
19680
  self._BodyType = params.get("BodyType")
19681
+ self._Images = params.get("Images")
19652
19682
  memeber_set = set(params.keys())
19653
19683
  for name, value in vars(self).items():
19654
19684
  property_name = name[1:]
@@ -19725,6 +19755,57 @@ class CloneViralProduct(AbstractModel):
19725
19755
 
19726
19756
 
19727
19757
 
19758
+ class CloneViralReference(AbstractModel):
19759
+ r"""动作级补充素材:服饰套装 / 背景
19760
+
19761
+ """
19762
+
19763
+ def __init__(self):
19764
+ r"""
19765
+ :param _Outfits: <p>服饰套装参考图,多套按视频中的分段换装</p>
19766
+ :type Outfits: list of str
19767
+ :param _Backgrounds: <p>背景/场景参考图</p>
19768
+ :type Backgrounds: list of str
19769
+ """
19770
+ self._Outfits = None
19771
+ self._Backgrounds = None
19772
+
19773
+ @property
19774
+ def Outfits(self):
19775
+ r"""<p>服饰套装参考图,多套按视频中的分段换装</p>
19776
+ :rtype: list of str
19777
+ """
19778
+ return self._Outfits
19779
+
19780
+ @Outfits.setter
19781
+ def Outfits(self, Outfits):
19782
+ self._Outfits = Outfits
19783
+
19784
+ @property
19785
+ def Backgrounds(self):
19786
+ r"""<p>背景/场景参考图</p>
19787
+ :rtype: list of str
19788
+ """
19789
+ return self._Backgrounds
19790
+
19791
+ @Backgrounds.setter
19792
+ def Backgrounds(self, Backgrounds):
19793
+ self._Backgrounds = Backgrounds
19794
+
19795
+
19796
+ def _deserialize(self, params):
19797
+ self._Outfits = params.get("Outfits")
19798
+ self._Backgrounds = params.get("Backgrounds")
19799
+ memeber_set = set(params.keys())
19800
+ for name, value in vars(self).items():
19801
+ property_name = name[1:]
19802
+ if property_name in memeber_set:
19803
+ memeber_set.remove(property_name)
19804
+ if len(memeber_set) > 0:
19805
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19806
+
19807
+
19808
+
19728
19809
  class CloneViralRequest(AbstractModel):
19729
19810
  r"""CloneViral请求参数结构体
19730
19811
 
@@ -19734,6 +19815,8 @@ class CloneViralRequest(AbstractModel):
19734
19815
  r"""
19735
19816
  :param _VideoUrl: <p>爆款视频Url</p>
19736
19817
  :type VideoUrl: str
19818
+ :param _Mode: <p>处理类型</p><p>枚举值:</p><ul><li>script : 脚本级爆款复刻</li><li>motion: 动作级爆款复刻</li><li>depth: 深度估计</li></ul>
19819
+ :type Mode: str
19737
19820
  :param _Product: <p>产品信息。除深度提取外,其他模式必填</p>
19738
19821
  :type Product: :class:`tencentcloud.mps.v20190612.models.CloneViralProduct`
19739
19822
  :param _AIGCParam: <p>AIGC生视频相关参数</p>
@@ -19744,13 +19827,17 @@ class CloneViralRequest(AbstractModel):
19744
19827
  :type Persona: :class:`tencentcloud.mps.v20190612.models.CloneViralPersona`
19745
19828
  :param _Output: <p>输出相关参数</p>
19746
19829
  :type Output: :class:`tencentcloud.mps.v20190612.models.CloneViralOutputOption`
19830
+ :param _Reference: <p>其他参考素材(如背景、服装)</p>
19831
+ :type Reference: :class:`tencentcloud.mps.v20190612.models.CloneViralReference`
19747
19832
  """
19748
19833
  self._VideoUrl = None
19834
+ self._Mode = None
19749
19835
  self._Product = None
19750
19836
  self._AIGCParam = None
19751
19837
  self._ContentParam = None
19752
19838
  self._Persona = None
19753
19839
  self._Output = None
19840
+ self._Reference = None
19754
19841
 
19755
19842
  @property
19756
19843
  def VideoUrl(self):
@@ -19763,6 +19850,17 @@ class CloneViralRequest(AbstractModel):
19763
19850
  def VideoUrl(self, VideoUrl):
19764
19851
  self._VideoUrl = VideoUrl
19765
19852
 
19853
+ @property
19854
+ def Mode(self):
19855
+ r"""<p>处理类型</p><p>枚举值:</p><ul><li>script : 脚本级爆款复刻</li><li>motion: 动作级爆款复刻</li><li>depth: 深度估计</li></ul>
19856
+ :rtype: str
19857
+ """
19858
+ return self._Mode
19859
+
19860
+ @Mode.setter
19861
+ def Mode(self, Mode):
19862
+ self._Mode = Mode
19863
+
19766
19864
  @property
19767
19865
  def Product(self):
19768
19866
  r"""<p>产品信息。除深度提取外,其他模式必填</p>
@@ -19818,9 +19916,21 @@ class CloneViralRequest(AbstractModel):
19818
19916
  def Output(self, Output):
19819
19917
  self._Output = Output
19820
19918
 
19919
+ @property
19920
+ def Reference(self):
19921
+ r"""<p>其他参考素材(如背景、服装)</p>
19922
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CloneViralReference`
19923
+ """
19924
+ return self._Reference
19925
+
19926
+ @Reference.setter
19927
+ def Reference(self, Reference):
19928
+ self._Reference = Reference
19929
+
19821
19930
 
19822
19931
  def _deserialize(self, params):
19823
19932
  self._VideoUrl = params.get("VideoUrl")
19933
+ self._Mode = params.get("Mode")
19824
19934
  if params.get("Product") is not None:
19825
19935
  self._Product = CloneViralProduct()
19826
19936
  self._Product._deserialize(params.get("Product"))
@@ -19836,6 +19946,9 @@ class CloneViralRequest(AbstractModel):
19836
19946
  if params.get("Output") is not None:
19837
19947
  self._Output = CloneViralOutputOption()
19838
19948
  self._Output._deserialize(params.get("Output"))
19949
+ if params.get("Reference") is not None:
19950
+ self._Reference = CloneViralReference()
19951
+ self._Reference._deserialize(params.get("Reference"))
19839
19952
  memeber_set = set(params.keys())
19840
19953
  for name, value in vars(self).items():
19841
19954
  property_name = name[1:]
@@ -98694,14 +98807,14 @@ class VideoRedrawTaskInfo(AbstractModel):
98694
98807
 
98695
98808
  def __init__(self):
98696
98809
  r"""
98697
- :param _Style: <p>转绘视频风格,如动漫、赛博朋克、水墨等</p>
98810
+ :param _Style: <p>转绘视频风格,如动漫、赛博朋克、水墨等</p><p>默认值:动漫风</p>
98698
98811
  :type Style: str
98699
98812
  """
98700
98813
  self._Style = None
98701
98814
 
98702
98815
  @property
98703
98816
  def Style(self):
98704
- r"""<p>转绘视频风格,如动漫、赛博朋克、水墨等</p>
98817
+ r"""<p>转绘视频风格,如动漫、赛博朋克、水墨等</p><p>默认值:动漫风</p>
98705
98818
  :rtype: str
98706
98819
  """
98707
98820
  return self._Style
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.194
3
+ Version: 3.1.199
4
4
  Summary: Tencent Cloud Mps 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.194
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.199
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.199
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.194