tencentcloud-sdk-python-mps 3.1.127__tar.gz → 3.1.129__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.127 → tencentcloud_sdk_python_mps-3.1.129}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/setup.py +1 -1
  3. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/mps/v20190612/models.py +150 -2
  5. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_mps-3.1.129/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_mps-3.1.127/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/README.rst +0 -0
  9. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
  15. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_mps-3.1.127 → tencentcloud_sdk_python_mps-3.1.129}/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.127
3
+ Version: 3.1.129
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.127
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.129
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.127,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.129,<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.127'
17
+ __version__ = '3.1.129'
@@ -20575,7 +20575,7 @@ class CreateAigcAudioTaskRequest(AbstractModel):
20575
20575
  r"""
20576
20576
  :param _ModelName: <p>模型名称。生音乐当前支持的模型: GL、MiniMaxMusic。</p>
20577
20577
  :type ModelName: str
20578
- :param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。<br>模型GL支持的版本号:2.0、3.0-clip、3.0-pro。<br>模型MinimaxMusic支持的版本号:2.0、2.5、2.6。</p>
20578
+ :param _ModelVersion: <p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。<br>模型GL支持的版本号:3.0-clip、3.0-pro。<br>模型MinimaxMusic支持的版本号:2.0、2.5、2.6。</p>
20579
20579
  :type ModelVersion: str
20580
20580
  :param _SceneType: <p>指定场景生音频。音乐: music。</p>
20581
20581
  :type SceneType: str
@@ -20621,7 +20621,7 @@ class CreateAigcAudioTaskRequest(AbstractModel):
20621
20621
 
20622
20622
  @property
20623
20623
  def ModelVersion(self):
20624
- r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。<br>模型GL支持的版本号:2.0、3.0-clip、3.0-pro。<br>模型MinimaxMusic支持的版本号:2.0、2.5、2.6。</p>
20624
+ r"""<p>指定模型特定版本号。默认使用系统当前所支持的模型稳定版本。<br>模型GL支持的版本号:3.0-clip、3.0-pro。<br>模型MinimaxMusic支持的版本号:2.0、2.5、2.6。</p>
20625
20625
  :rtype: str
20626
20626
  """
20627
20627
  return self._ModelVersion
@@ -20830,6 +20830,8 @@ class CreateAigcImageTaskRequest(AbstractModel):
20830
20830
  :type EnhancePrompt: bool
20831
20831
  :param _ImageInfos: <p>用于传入参考的资源图片信息,默认支持传入一张图片。</p><p>支持多图输入的模型:</p><ol><li>Kling 2.1,可支持最多 4 张图片输入作为资源图。</li><li>Kling 3.0-Omni,可支持最多 10 张图片输入作为资源图。</li><li>Kling O1,可支持最多 10 张图片输入作为资源图。</li><li>Vidu q2,可支持最多 7 张图片输入作为资源图。</li><li>Hunyuan 3.0,可支持最多 3 张图片输入作为资源图。</li><li>MJ v7,可支持最多 3 张图片输入作为资源图。</li></ol><p>注意:</p><ol><li>推荐图片小于7M,各模型限制不同。</li><li>图片格式支持:jpeg, png, webp。</li></ol>
20832
20832
  :type ImageInfos: list of AigcImageInfo
20833
+ :param _OutputImageCount: <p>指定图片输出张数。目前默认支持输出 1 张。</p>
20834
+ :type OutputImageCount: int
20833
20835
  :param _ExtraParameters: <p>用于传入模型要求的额外参数。</p>
20834
20836
  :type ExtraParameters: :class:`tencentcloud.mps.v20190612.models.AigcImageExtraParam`
20835
20837
  :param _AdditionalParameters: <p>用于传入一些模型需要的特殊场景参数,Json格式序列化成字符串。 </p><ol><li>Hunyuan 3.0,支持自由设置分辨率宽高,宽、高均在 [512, 2048] 像素范围内,宽高乘积 ≤ 1024x1024 像素。</li><li>Qwen 0925,支持自由设置分辨率宽高,合法总像素范围 [512x512=261632, 2048x2048=4194304]。</li></ol><p>示例: {"size":"1024x1024"}。</p>
@@ -20846,6 +20848,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
20846
20848
  self._NegativePrompt = None
20847
20849
  self._EnhancePrompt = None
20848
20850
  self._ImageInfos = None
20851
+ self._OutputImageCount = None
20849
20852
  self._ExtraParameters = None
20850
20853
  self._AdditionalParameters = None
20851
20854
  self._StoreCosParam = None
@@ -20928,6 +20931,17 @@ class CreateAigcImageTaskRequest(AbstractModel):
20928
20931
  def ImageInfos(self, ImageInfos):
20929
20932
  self._ImageInfos = ImageInfos
20930
20933
 
20934
+ @property
20935
+ def OutputImageCount(self):
20936
+ r"""<p>指定图片输出张数。目前默认支持输出 1 张。</p>
20937
+ :rtype: int
20938
+ """
20939
+ return self._OutputImageCount
20940
+
20941
+ @OutputImageCount.setter
20942
+ def OutputImageCount(self, OutputImageCount):
20943
+ self._OutputImageCount = OutputImageCount
20944
+
20931
20945
  @property
20932
20946
  def ExtraParameters(self):
20933
20947
  r"""<p>用于传入模型要求的额外参数。</p>
@@ -20986,6 +21000,7 @@ class CreateAigcImageTaskRequest(AbstractModel):
20986
21000
  obj = AigcImageInfo()
20987
21001
  obj._deserialize(item)
20988
21002
  self._ImageInfos.append(obj)
21003
+ self._OutputImageCount = params.get("OutputImageCount")
20989
21004
  if params.get("ExtraParameters") is not None:
20990
21005
  self._ExtraParameters = AigcImageExtraParam()
20991
21006
  self._ExtraParameters._deserialize(params.get("ExtraParameters"))
@@ -79176,6 +79191,117 @@ class SmartSubtitleTaskFullTextResult(AbstractModel):
79176
79191
 
79177
79192
 
79178
79193
 
79194
+ class SmartSubtitleTaskFullTextSegmentItem(AbstractModel):
79195
+ r"""智能字幕识别片段。
79196
+
79197
+ """
79198
+
79199
+ def __init__(self):
79200
+ r"""
79201
+ :param _Confidence: <p>识别片段置信度。取值:0~100。</p>
79202
+ :type Confidence: float
79203
+ :param _StartTimeOffset: <p>识别片段起始的偏移时间,单位:秒。</p>
79204
+ :type StartTimeOffset: float
79205
+ :param _EndTimeOffset: <p>识别片段终止的偏移时间,单位:秒。</p>
79206
+ :type EndTimeOffset: float
79207
+ :param _Text: <p>识别文本。</p>
79208
+ :type Text: str
79209
+ :param _Trans: <p>翻译文本。</p>
79210
+ :type Trans: str
79211
+ :param _SpeakerId: <p>说话人ID</p>
79212
+ :type SpeakerId: str
79213
+ """
79214
+ self._Confidence = None
79215
+ self._StartTimeOffset = None
79216
+ self._EndTimeOffset = None
79217
+ self._Text = None
79218
+ self._Trans = None
79219
+ self._SpeakerId = None
79220
+
79221
+ @property
79222
+ def Confidence(self):
79223
+ r"""<p>识别片段置信度。取值:0~100。</p>
79224
+ :rtype: float
79225
+ """
79226
+ return self._Confidence
79227
+
79228
+ @Confidence.setter
79229
+ def Confidence(self, Confidence):
79230
+ self._Confidence = Confidence
79231
+
79232
+ @property
79233
+ def StartTimeOffset(self):
79234
+ r"""<p>识别片段起始的偏移时间,单位:秒。</p>
79235
+ :rtype: float
79236
+ """
79237
+ return self._StartTimeOffset
79238
+
79239
+ @StartTimeOffset.setter
79240
+ def StartTimeOffset(self, StartTimeOffset):
79241
+ self._StartTimeOffset = StartTimeOffset
79242
+
79243
+ @property
79244
+ def EndTimeOffset(self):
79245
+ r"""<p>识别片段终止的偏移时间,单位:秒。</p>
79246
+ :rtype: float
79247
+ """
79248
+ return self._EndTimeOffset
79249
+
79250
+ @EndTimeOffset.setter
79251
+ def EndTimeOffset(self, EndTimeOffset):
79252
+ self._EndTimeOffset = EndTimeOffset
79253
+
79254
+ @property
79255
+ def Text(self):
79256
+ r"""<p>识别文本。</p>
79257
+ :rtype: str
79258
+ """
79259
+ return self._Text
79260
+
79261
+ @Text.setter
79262
+ def Text(self, Text):
79263
+ self._Text = Text
79264
+
79265
+ @property
79266
+ def Trans(self):
79267
+ r"""<p>翻译文本。</p>
79268
+ :rtype: str
79269
+ """
79270
+ return self._Trans
79271
+
79272
+ @Trans.setter
79273
+ def Trans(self, Trans):
79274
+ self._Trans = Trans
79275
+
79276
+ @property
79277
+ def SpeakerId(self):
79278
+ r"""<p>说话人ID</p>
79279
+ :rtype: str
79280
+ """
79281
+ return self._SpeakerId
79282
+
79283
+ @SpeakerId.setter
79284
+ def SpeakerId(self, SpeakerId):
79285
+ self._SpeakerId = SpeakerId
79286
+
79287
+
79288
+ def _deserialize(self, params):
79289
+ self._Confidence = params.get("Confidence")
79290
+ self._StartTimeOffset = params.get("StartTimeOffset")
79291
+ self._EndTimeOffset = params.get("EndTimeOffset")
79292
+ self._Text = params.get("Text")
79293
+ self._Trans = params.get("Trans")
79294
+ self._SpeakerId = params.get("SpeakerId")
79295
+ memeber_set = set(params.keys())
79296
+ for name, value in vars(self).items():
79297
+ property_name = name[1:]
79298
+ if property_name in memeber_set:
79299
+ memeber_set.remove(property_name)
79300
+ if len(memeber_set) > 0:
79301
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
79302
+
79303
+
79304
+
79179
79305
  class SmartSubtitleTaskResultInput(AbstractModel):
79180
79306
  r"""智能字幕翻译的输入。
79181
79307
 
@@ -79253,6 +79379,9 @@ class SmartSubtitleTaskTextResultOutput(AbstractModel):
79253
79379
 
79254
79380
  def __init__(self):
79255
79381
  r"""
79382
+ :param _SegmentSet: <p>智能字幕识别片段列表。</p>
79383
+ 注意:此字段可能返回 null,表示取不到有效值。
79384
+ :type SegmentSet: list of SmartSubtitleTaskFullTextSegmentItem
79256
79385
  :param _RecognizeSubtitleResult: <p>识别字幕结果</p>
79257
79386
  注意:此字段可能返回 null,表示取不到有效值。
79258
79387
  :type RecognizeSubtitleResult: list of SubtitleResult
@@ -79263,10 +79392,23 @@ class SmartSubtitleTaskTextResultOutput(AbstractModel):
79263
79392
  注意:此字段可能返回 null,表示取不到有效值。
79264
79393
  :type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
79265
79394
  """
79395
+ self._SegmentSet = None
79266
79396
  self._RecognizeSubtitleResult = None
79267
79397
  self._TransSubtitleResult = None
79268
79398
  self._OutputStorage = None
79269
79399
 
79400
+ @property
79401
+ def SegmentSet(self):
79402
+ r"""<p>智能字幕识别片段列表。</p>
79403
+ 注意:此字段可能返回 null,表示取不到有效值。
79404
+ :rtype: list of SmartSubtitleTaskFullTextSegmentItem
79405
+ """
79406
+ return self._SegmentSet
79407
+
79408
+ @SegmentSet.setter
79409
+ def SegmentSet(self, SegmentSet):
79410
+ self._SegmentSet = SegmentSet
79411
+
79270
79412
  @property
79271
79413
  def RecognizeSubtitleResult(self):
79272
79414
  r"""<p>识别字幕结果</p>
@@ -79305,6 +79447,12 @@ class SmartSubtitleTaskTextResultOutput(AbstractModel):
79305
79447
 
79306
79448
 
79307
79449
  def _deserialize(self, params):
79450
+ if params.get("SegmentSet") is not None:
79451
+ self._SegmentSet = []
79452
+ for item in params.get("SegmentSet"):
79453
+ obj = SmartSubtitleTaskFullTextSegmentItem()
79454
+ obj._deserialize(item)
79455
+ self._SegmentSet.append(obj)
79308
79456
  if params.get("RecognizeSubtitleResult") is not None:
79309
79457
  self._RecognizeSubtitleResult = []
79310
79458
  for item in params.get("RecognizeSubtitleResult"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.1.127
3
+ Version: 3.1.129
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.127
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.129
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.129
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.127