tencentcloud-sdk-python-mps 3.1.161__tar.gz → 3.1.165__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_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/setup.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/mps/v20190612/models.py +141 -50
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_mps-3.1.165/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_mps-3.1.161/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/README.rst +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/setup.cfg +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/mps/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/mps/v20190612/__init__.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/mps/v20190612/mps_client.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud/mps/v20190612/mps_client_async.py +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_mps-3.1.161 → tencentcloud_sdk_python_mps-3.1.165}/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.
|
|
3
|
+
Version: 3.1.165
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.165
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.165,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Mps SDK for Python',
|
|
@@ -45074,7 +45074,7 @@ class DescribeTextToSpeechAsyncTaskResponse(AbstractModel):
|
|
|
45074
45074
|
|
|
45075
45075
|
def __init__(self):
|
|
45076
45076
|
r"""
|
|
45077
|
-
:param _ErrorCode: <p>错误码,成功时返回0</p>
|
|
45077
|
+
:param _ErrorCode: <p>错误码,成功时返回0,处理中返回100</p>
|
|
45078
45078
|
:type ErrorCode: int
|
|
45079
45079
|
:param _Msg: <p>错误信息,成功时返回success</p>
|
|
45080
45080
|
:type Msg: str
|
|
@@ -45099,7 +45099,7 @@ class DescribeTextToSpeechAsyncTaskResponse(AbstractModel):
|
|
|
45099
45099
|
|
|
45100
45100
|
@property
|
|
45101
45101
|
def ErrorCode(self):
|
|
45102
|
-
r"""<p>错误码,成功时返回0</p>
|
|
45102
|
+
r"""<p>错误码,成功时返回0,处理中返回100</p>
|
|
45103
45103
|
:rtype: int
|
|
45104
45104
|
"""
|
|
45105
45105
|
return self._ErrorCode
|
|
@@ -63280,44 +63280,35 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63280
63280
|
|
|
63281
63281
|
def __init__(self):
|
|
63282
63282
|
r"""
|
|
63283
|
-
:param _OutputStorage:
|
|
63283
|
+
:param _OutputStorage: <p>转码后文件的目标存储。</p>
|
|
63284
63284
|
:type OutputStorage: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
63285
|
-
:param _Path:
|
|
63285
|
+
:param _Path: <p>转码后的视频文件路径。</p>
|
|
63286
63286
|
:type Path: str
|
|
63287
|
-
:param _Definition:
|
|
63287
|
+
:param _Definition: <p>转码规格 ID,参见<a href="https://cloud.tencent.com/document/product/862/37042">转码参数模板</a>。</p>
|
|
63288
63288
|
:type Definition: int
|
|
63289
|
-
:param _Bitrate:
|
|
63289
|
+
:param _Bitrate: <p>视频流码率平均值与音频流码率平均值之和, 单位:bps。</p>
|
|
63290
63290
|
:type Bitrate: int
|
|
63291
|
-
:param _Height:
|
|
63291
|
+
:param _Height: <p>视频流高度的最大值,单位:px。</p>
|
|
63292
63292
|
:type Height: int
|
|
63293
|
-
:param _Width:
|
|
63293
|
+
:param _Width: <p>视频流宽度的最大值,单位:px。</p>
|
|
63294
63294
|
:type Width: int
|
|
63295
|
-
:param _Size:
|
|
63295
|
+
:param _Size: <p>媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。</p>
|
|
63296
63296
|
:type Size: int
|
|
63297
|
-
:param _Duration:
|
|
63297
|
+
:param _Duration: <p>视频时长,单位:秒。</p>
|
|
63298
63298
|
:type Duration: float
|
|
63299
|
-
:param _Container:
|
|
63299
|
+
:param _Container: <p>容器类型,例如 m4a,mp4 等。</p>
|
|
63300
63300
|
:type Container: str
|
|
63301
|
-
:param _Md5:
|
|
63301
|
+
:param _Md5: <p>视频的 md5 值。</p>
|
|
63302
63302
|
:type Md5: str
|
|
63303
|
-
:param _AudioStreamSet:
|
|
63303
|
+
:param _AudioStreamSet: <p>音频流信息。</p>
|
|
63304
63304
|
:type AudioStreamSet: list of MediaAudioStreamItem
|
|
63305
|
-
:param _VideoStreamSet:
|
|
63305
|
+
:param _VideoStreamSet: <p>视频流信息。</p>
|
|
63306
63306
|
:type VideoStreamSet: list of MediaVideoStreamItem
|
|
63307
|
-
:param _CallBackExtInfo:
|
|
63308
|
-
<li>hdr:HDR配置</li>
|
|
63309
|
-
<li>wd_fps:插帧帧率配置</li>
|
|
63310
|
-
<li>video_super_resolution: 超分配置</li>
|
|
63311
|
-
<li>repair:综合增强配置</li>
|
|
63312
|
-
<li>denoise:视频降噪配置</li>
|
|
63313
|
-
<li>color_enhance:色彩增强配置</li>
|
|
63314
|
-
<li>scratch:去划痕配置</li>
|
|
63315
|
-
<li>artifact:去伪影(毛刺)配置</li>
|
|
63316
|
-
<li>sharp:细节增强配置</li>
|
|
63317
|
-
<li>low_light:低光照增强配置</li>
|
|
63318
|
-
<li>face_enhance:人脸增强配置</li>
|
|
63307
|
+
:param _CallBackExtInfo: <p>视频转码使用增强项说明,增强项解释</p><li>hdr:HDR配置</li><li>wd_fps:插帧帧率配置</li><li>video_super_resolution: 超分配置</li><li>repair:综合增强配置</li><li>denoise:视频降噪配置</li><li>color_enhance:色彩增强配置</li><li>scratch:去划痕配置</li><li>artifact:去伪影(毛刺)配置</li><li>sharp:细节增强配置</li><li>low_light:低光照增强配置</li><li>face_enhance:人脸增强配置</li>
|
|
63319
63308
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
63320
63309
|
:type CallBackExtInfo: str
|
|
63310
|
+
:param _Usage: <p>MediaTranscodeItem</p>
|
|
63311
|
+
:type Usage: :class:`tencentcloud.mps.v20190612.models.MediaUsageItem`
|
|
63321
63312
|
"""
|
|
63322
63313
|
self._OutputStorage = None
|
|
63323
63314
|
self._Path = None
|
|
@@ -63332,10 +63323,11 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63332
63323
|
self._AudioStreamSet = None
|
|
63333
63324
|
self._VideoStreamSet = None
|
|
63334
63325
|
self._CallBackExtInfo = None
|
|
63326
|
+
self._Usage = None
|
|
63335
63327
|
|
|
63336
63328
|
@property
|
|
63337
63329
|
def OutputStorage(self):
|
|
63338
|
-
r"""
|
|
63330
|
+
r"""<p>转码后文件的目标存储。</p>
|
|
63339
63331
|
:rtype: :class:`tencentcloud.mps.v20190612.models.TaskOutputStorage`
|
|
63340
63332
|
"""
|
|
63341
63333
|
return self._OutputStorage
|
|
@@ -63346,7 +63338,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63346
63338
|
|
|
63347
63339
|
@property
|
|
63348
63340
|
def Path(self):
|
|
63349
|
-
r"""
|
|
63341
|
+
r"""<p>转码后的视频文件路径。</p>
|
|
63350
63342
|
:rtype: str
|
|
63351
63343
|
"""
|
|
63352
63344
|
return self._Path
|
|
@@ -63357,7 +63349,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63357
63349
|
|
|
63358
63350
|
@property
|
|
63359
63351
|
def Definition(self):
|
|
63360
|
-
r"""
|
|
63352
|
+
r"""<p>转码规格 ID,参见<a href="https://cloud.tencent.com/document/product/862/37042">转码参数模板</a>。</p>
|
|
63361
63353
|
:rtype: int
|
|
63362
63354
|
"""
|
|
63363
63355
|
return self._Definition
|
|
@@ -63368,7 +63360,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63368
63360
|
|
|
63369
63361
|
@property
|
|
63370
63362
|
def Bitrate(self):
|
|
63371
|
-
r"""
|
|
63363
|
+
r"""<p>视频流码率平均值与音频流码率平均值之和, 单位:bps。</p>
|
|
63372
63364
|
:rtype: int
|
|
63373
63365
|
"""
|
|
63374
63366
|
return self._Bitrate
|
|
@@ -63379,7 +63371,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63379
63371
|
|
|
63380
63372
|
@property
|
|
63381
63373
|
def Height(self):
|
|
63382
|
-
r"""
|
|
63374
|
+
r"""<p>视频流高度的最大值,单位:px。</p>
|
|
63383
63375
|
:rtype: int
|
|
63384
63376
|
"""
|
|
63385
63377
|
return self._Height
|
|
@@ -63390,7 +63382,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63390
63382
|
|
|
63391
63383
|
@property
|
|
63392
63384
|
def Width(self):
|
|
63393
|
-
r"""
|
|
63385
|
+
r"""<p>视频流宽度的最大值,单位:px。</p>
|
|
63394
63386
|
:rtype: int
|
|
63395
63387
|
"""
|
|
63396
63388
|
return self._Width
|
|
@@ -63401,7 +63393,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63401
63393
|
|
|
63402
63394
|
@property
|
|
63403
63395
|
def Size(self):
|
|
63404
|
-
r"""
|
|
63396
|
+
r"""<p>媒体文件总大小(视频为 HLS 时,大小是 m3u8 和 ts 文件大小的总和),单位:字节。</p>
|
|
63405
63397
|
:rtype: int
|
|
63406
63398
|
"""
|
|
63407
63399
|
return self._Size
|
|
@@ -63412,7 +63404,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63412
63404
|
|
|
63413
63405
|
@property
|
|
63414
63406
|
def Duration(self):
|
|
63415
|
-
r"""
|
|
63407
|
+
r"""<p>视频时长,单位:秒。</p>
|
|
63416
63408
|
:rtype: float
|
|
63417
63409
|
"""
|
|
63418
63410
|
return self._Duration
|
|
@@ -63423,7 +63415,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63423
63415
|
|
|
63424
63416
|
@property
|
|
63425
63417
|
def Container(self):
|
|
63426
|
-
r"""
|
|
63418
|
+
r"""<p>容器类型,例如 m4a,mp4 等。</p>
|
|
63427
63419
|
:rtype: str
|
|
63428
63420
|
"""
|
|
63429
63421
|
return self._Container
|
|
@@ -63434,7 +63426,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63434
63426
|
|
|
63435
63427
|
@property
|
|
63436
63428
|
def Md5(self):
|
|
63437
|
-
r"""
|
|
63429
|
+
r"""<p>视频的 md5 值。</p>
|
|
63438
63430
|
:rtype: str
|
|
63439
63431
|
"""
|
|
63440
63432
|
return self._Md5
|
|
@@ -63445,7 +63437,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63445
63437
|
|
|
63446
63438
|
@property
|
|
63447
63439
|
def AudioStreamSet(self):
|
|
63448
|
-
r"""
|
|
63440
|
+
r"""<p>音频流信息。</p>
|
|
63449
63441
|
:rtype: list of MediaAudioStreamItem
|
|
63450
63442
|
"""
|
|
63451
63443
|
return self._AudioStreamSet
|
|
@@ -63456,7 +63448,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63456
63448
|
|
|
63457
63449
|
@property
|
|
63458
63450
|
def VideoStreamSet(self):
|
|
63459
|
-
r"""
|
|
63451
|
+
r"""<p>视频流信息。</p>
|
|
63460
63452
|
:rtype: list of MediaVideoStreamItem
|
|
63461
63453
|
"""
|
|
63462
63454
|
return self._VideoStreamSet
|
|
@@ -63467,18 +63459,7 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63467
63459
|
|
|
63468
63460
|
@property
|
|
63469
63461
|
def CallBackExtInfo(self):
|
|
63470
|
-
r"""
|
|
63471
|
-
<li>hdr:HDR配置</li>
|
|
63472
|
-
<li>wd_fps:插帧帧率配置</li>
|
|
63473
|
-
<li>video_super_resolution: 超分配置</li>
|
|
63474
|
-
<li>repair:综合增强配置</li>
|
|
63475
|
-
<li>denoise:视频降噪配置</li>
|
|
63476
|
-
<li>color_enhance:色彩增强配置</li>
|
|
63477
|
-
<li>scratch:去划痕配置</li>
|
|
63478
|
-
<li>artifact:去伪影(毛刺)配置</li>
|
|
63479
|
-
<li>sharp:细节增强配置</li>
|
|
63480
|
-
<li>low_light:低光照增强配置</li>
|
|
63481
|
-
<li>face_enhance:人脸增强配置</li>
|
|
63462
|
+
r"""<p>视频转码使用增强项说明,增强项解释</p><li>hdr:HDR配置</li><li>wd_fps:插帧帧率配置</li><li>video_super_resolution: 超分配置</li><li>repair:综合增强配置</li><li>denoise:视频降噪配置</li><li>color_enhance:色彩增强配置</li><li>scratch:去划痕配置</li><li>artifact:去伪影(毛刺)配置</li><li>sharp:细节增强配置</li><li>low_light:低光照增强配置</li><li>face_enhance:人脸增强配置</li>
|
|
63482
63463
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
63483
63464
|
:rtype: str
|
|
63484
63465
|
"""
|
|
@@ -63488,6 +63469,17 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63488
63469
|
def CallBackExtInfo(self, CallBackExtInfo):
|
|
63489
63470
|
self._CallBackExtInfo = CallBackExtInfo
|
|
63490
63471
|
|
|
63472
|
+
@property
|
|
63473
|
+
def Usage(self):
|
|
63474
|
+
r"""<p>MediaTranscodeItem</p>
|
|
63475
|
+
:rtype: :class:`tencentcloud.mps.v20190612.models.MediaUsageItem`
|
|
63476
|
+
"""
|
|
63477
|
+
return self._Usage
|
|
63478
|
+
|
|
63479
|
+
@Usage.setter
|
|
63480
|
+
def Usage(self, Usage):
|
|
63481
|
+
self._Usage = Usage
|
|
63482
|
+
|
|
63491
63483
|
|
|
63492
63484
|
def _deserialize(self, params):
|
|
63493
63485
|
if params.get("OutputStorage") is not None:
|
|
@@ -63515,6 +63507,90 @@ class MediaTranscodeItem(AbstractModel):
|
|
|
63515
63507
|
obj._deserialize(item)
|
|
63516
63508
|
self._VideoStreamSet.append(obj)
|
|
63517
63509
|
self._CallBackExtInfo = params.get("CallBackExtInfo")
|
|
63510
|
+
if params.get("Usage") is not None:
|
|
63511
|
+
self._Usage = MediaUsageItem()
|
|
63512
|
+
self._Usage._deserialize(params.get("Usage"))
|
|
63513
|
+
memeber_set = set(params.keys())
|
|
63514
|
+
for name, value in vars(self).items():
|
|
63515
|
+
property_name = name[1:]
|
|
63516
|
+
if property_name in memeber_set:
|
|
63517
|
+
memeber_set.remove(property_name)
|
|
63518
|
+
if len(memeber_set) > 0:
|
|
63519
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
63520
|
+
|
|
63521
|
+
|
|
63522
|
+
|
|
63523
|
+
class MediaUsageItem(AbstractModel):
|
|
63524
|
+
r"""AIGC用量数据展示
|
|
63525
|
+
|
|
63526
|
+
"""
|
|
63527
|
+
|
|
63528
|
+
def __init__(self):
|
|
63529
|
+
r"""
|
|
63530
|
+
:param _InputImageCount: <p>输入图片数</p><p>单位:个数</p>
|
|
63531
|
+
:type InputImageCount: int
|
|
63532
|
+
:param _InputSeconds: <p>输入秒数</p><p>单位:秒</p>
|
|
63533
|
+
:type InputSeconds: int
|
|
63534
|
+
:param _OutputSeconds: <p>输出秒数</p><p>单位:秒</p>
|
|
63535
|
+
:type OutputSeconds: int
|
|
63536
|
+
:param _TotalSeconds: <p>总秒数</p><p>单位:秒</p>
|
|
63537
|
+
:type TotalSeconds: int
|
|
63538
|
+
"""
|
|
63539
|
+
self._InputImageCount = None
|
|
63540
|
+
self._InputSeconds = None
|
|
63541
|
+
self._OutputSeconds = None
|
|
63542
|
+
self._TotalSeconds = None
|
|
63543
|
+
|
|
63544
|
+
@property
|
|
63545
|
+
def InputImageCount(self):
|
|
63546
|
+
r"""<p>输入图片数</p><p>单位:个数</p>
|
|
63547
|
+
:rtype: int
|
|
63548
|
+
"""
|
|
63549
|
+
return self._InputImageCount
|
|
63550
|
+
|
|
63551
|
+
@InputImageCount.setter
|
|
63552
|
+
def InputImageCount(self, InputImageCount):
|
|
63553
|
+
self._InputImageCount = InputImageCount
|
|
63554
|
+
|
|
63555
|
+
@property
|
|
63556
|
+
def InputSeconds(self):
|
|
63557
|
+
r"""<p>输入秒数</p><p>单位:秒</p>
|
|
63558
|
+
:rtype: int
|
|
63559
|
+
"""
|
|
63560
|
+
return self._InputSeconds
|
|
63561
|
+
|
|
63562
|
+
@InputSeconds.setter
|
|
63563
|
+
def InputSeconds(self, InputSeconds):
|
|
63564
|
+
self._InputSeconds = InputSeconds
|
|
63565
|
+
|
|
63566
|
+
@property
|
|
63567
|
+
def OutputSeconds(self):
|
|
63568
|
+
r"""<p>输出秒数</p><p>单位:秒</p>
|
|
63569
|
+
:rtype: int
|
|
63570
|
+
"""
|
|
63571
|
+
return self._OutputSeconds
|
|
63572
|
+
|
|
63573
|
+
@OutputSeconds.setter
|
|
63574
|
+
def OutputSeconds(self, OutputSeconds):
|
|
63575
|
+
self._OutputSeconds = OutputSeconds
|
|
63576
|
+
|
|
63577
|
+
@property
|
|
63578
|
+
def TotalSeconds(self):
|
|
63579
|
+
r"""<p>总秒数</p><p>单位:秒</p>
|
|
63580
|
+
:rtype: int
|
|
63581
|
+
"""
|
|
63582
|
+
return self._TotalSeconds
|
|
63583
|
+
|
|
63584
|
+
@TotalSeconds.setter
|
|
63585
|
+
def TotalSeconds(self, TotalSeconds):
|
|
63586
|
+
self._TotalSeconds = TotalSeconds
|
|
63587
|
+
|
|
63588
|
+
|
|
63589
|
+
def _deserialize(self, params):
|
|
63590
|
+
self._InputImageCount = params.get("InputImageCount")
|
|
63591
|
+
self._InputSeconds = params.get("InputSeconds")
|
|
63592
|
+
self._OutputSeconds = params.get("OutputSeconds")
|
|
63593
|
+
self._TotalSeconds = params.get("TotalSeconds")
|
|
63518
63594
|
memeber_set = set(params.keys())
|
|
63519
63595
|
for name, value in vars(self).items():
|
|
63520
63596
|
property_name = name[1:]
|
|
@@ -92080,9 +92156,12 @@ class UnderstandImageConfig(AbstractModel):
|
|
|
92080
92156
|
:type Model: str
|
|
92081
92157
|
:param _Prompt: <p>图片理解指令</p>
|
|
92082
92158
|
:type Prompt: str
|
|
92159
|
+
:param _Parameters: <p>图片理解模型参数,类型为 JSON 字符串。</p>
|
|
92160
|
+
:type Parameters: str
|
|
92083
92161
|
"""
|
|
92084
92162
|
self._Model = None
|
|
92085
92163
|
self._Prompt = None
|
|
92164
|
+
self._Parameters = None
|
|
92086
92165
|
|
|
92087
92166
|
@property
|
|
92088
92167
|
def Model(self):
|
|
@@ -92106,10 +92185,22 @@ class UnderstandImageConfig(AbstractModel):
|
|
|
92106
92185
|
def Prompt(self, Prompt):
|
|
92107
92186
|
self._Prompt = Prompt
|
|
92108
92187
|
|
|
92188
|
+
@property
|
|
92189
|
+
def Parameters(self):
|
|
92190
|
+
r"""<p>图片理解模型参数,类型为 JSON 字符串。</p>
|
|
92191
|
+
:rtype: str
|
|
92192
|
+
"""
|
|
92193
|
+
return self._Parameters
|
|
92194
|
+
|
|
92195
|
+
@Parameters.setter
|
|
92196
|
+
def Parameters(self, Parameters):
|
|
92197
|
+
self._Parameters = Parameters
|
|
92198
|
+
|
|
92109
92199
|
|
|
92110
92200
|
def _deserialize(self, params):
|
|
92111
92201
|
self._Model = params.get("Model")
|
|
92112
92202
|
self._Prompt = params.get("Prompt")
|
|
92203
|
+
self._Parameters = params.get("Parameters")
|
|
92113
92204
|
memeber_set = set(params.keys())
|
|
92114
92205
|
for name, value in vars(self).items():
|
|
92115
92206
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-mps
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.165
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.165
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.165
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.161
|
|
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
|