tencentcloud-sdk-python-live 3.1.92__tar.gz → 3.1.94__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_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/live_client.py +46 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/live_client_async.py +36 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/models.py +867 -90
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.94/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.92/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.92 → tencentcloud_sdk_python_live-3.1.94}/tencentcloud_sdk_python_live.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.94
|
|
4
4
|
Summary: Tencent Cloud Live 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.94
|
|
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-live',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.94,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -1045,6 +1045,29 @@ class LiveClient(AbstractClient):
|
|
|
1045
1045
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1046
1046
|
|
|
1047
1047
|
|
|
1048
|
+
def CreateSceneVideoTask(self, request):
|
|
1049
|
+
r"""该接口用于创建场景化视频任务。
|
|
1050
|
+
|
|
1051
|
+
:param request: Request instance for CreateSceneVideoTask.
|
|
1052
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateSceneVideoTaskRequest`
|
|
1053
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateSceneVideoTaskResponse`
|
|
1054
|
+
|
|
1055
|
+
"""
|
|
1056
|
+
try:
|
|
1057
|
+
params = request._serialize()
|
|
1058
|
+
headers = request.headers
|
|
1059
|
+
body = self.call("CreateSceneVideoTask", params, headers=headers)
|
|
1060
|
+
response = json.loads(body)
|
|
1061
|
+
model = models.CreateSceneVideoTaskResponse()
|
|
1062
|
+
model._deserialize(response["Response"])
|
|
1063
|
+
return model
|
|
1064
|
+
except Exception as e:
|
|
1065
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1066
|
+
raise
|
|
1067
|
+
else:
|
|
1068
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1069
|
+
|
|
1070
|
+
|
|
1048
1071
|
def CreateScreenshotTask(self, request):
|
|
1049
1072
|
r"""创建一个在指定时间启动、结束的截图任务,并使用指定截图模板ID对应的配置进行截图。
|
|
1050
1073
|
- 注意事项
|
|
@@ -3953,6 +3976,29 @@ class LiveClient(AbstractClient):
|
|
|
3953
3976
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3954
3977
|
|
|
3955
3978
|
|
|
3979
|
+
def DescribeSceneVideoTask(self, request):
|
|
3980
|
+
r"""该接口用于查询场景化视频任务进展及结果。
|
|
3981
|
+
|
|
3982
|
+
:param request: Request instance for DescribeSceneVideoTask.
|
|
3983
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeSceneVideoTaskRequest`
|
|
3984
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeSceneVideoTaskResponse`
|
|
3985
|
+
|
|
3986
|
+
"""
|
|
3987
|
+
try:
|
|
3988
|
+
params = request._serialize()
|
|
3989
|
+
headers = request.headers
|
|
3990
|
+
body = self.call("DescribeSceneVideoTask", params, headers=headers)
|
|
3991
|
+
response = json.loads(body)
|
|
3992
|
+
model = models.DescribeSceneVideoTaskResponse()
|
|
3993
|
+
model._deserialize(response["Response"])
|
|
3994
|
+
return model
|
|
3995
|
+
except Exception as e:
|
|
3996
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3997
|
+
raise
|
|
3998
|
+
else:
|
|
3999
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4000
|
+
|
|
4001
|
+
|
|
3956
4002
|
def DescribeScreenShotSheetNumList(self, request):
|
|
3957
4003
|
r"""接口用来查询直播增值业务--截图的张数
|
|
3958
4004
|
|
|
@@ -834,6 +834,24 @@ class LiveClient(AbstractClient):
|
|
|
834
834
|
|
|
835
835
|
return await self.call_and_deserialize(**kwargs)
|
|
836
836
|
|
|
837
|
+
async def CreateSceneVideoTask(
|
|
838
|
+
self,
|
|
839
|
+
request: models.CreateSceneVideoTaskRequest,
|
|
840
|
+
opts: Dict = None,
|
|
841
|
+
) -> models.CreateSceneVideoTaskResponse:
|
|
842
|
+
"""
|
|
843
|
+
该接口用于创建场景化视频任务。
|
|
844
|
+
"""
|
|
845
|
+
|
|
846
|
+
kwargs = {}
|
|
847
|
+
kwargs["action"] = "CreateSceneVideoTask"
|
|
848
|
+
kwargs["params"] = request._serialize()
|
|
849
|
+
kwargs["resp_cls"] = models.CreateSceneVideoTaskResponse
|
|
850
|
+
kwargs["headers"] = request.headers
|
|
851
|
+
kwargs["opts"] = opts or {}
|
|
852
|
+
|
|
853
|
+
return await self.call_and_deserialize(**kwargs)
|
|
854
|
+
|
|
837
855
|
async def CreateScreenshotTask(
|
|
838
856
|
self,
|
|
839
857
|
request: models.CreateScreenshotTaskRequest,
|
|
@@ -3122,6 +3140,24 @@ class LiveClient(AbstractClient):
|
|
|
3122
3140
|
|
|
3123
3141
|
return await self.call_and_deserialize(**kwargs)
|
|
3124
3142
|
|
|
3143
|
+
async def DescribeSceneVideoTask(
|
|
3144
|
+
self,
|
|
3145
|
+
request: models.DescribeSceneVideoTaskRequest,
|
|
3146
|
+
opts: Dict = None,
|
|
3147
|
+
) -> models.DescribeSceneVideoTaskResponse:
|
|
3148
|
+
"""
|
|
3149
|
+
该接口用于查询场景化视频任务进展及结果。
|
|
3150
|
+
"""
|
|
3151
|
+
|
|
3152
|
+
kwargs = {}
|
|
3153
|
+
kwargs["action"] = "DescribeSceneVideoTask"
|
|
3154
|
+
kwargs["params"] = request._serialize()
|
|
3155
|
+
kwargs["resp_cls"] = models.DescribeSceneVideoTaskResponse
|
|
3156
|
+
kwargs["headers"] = request.headers
|
|
3157
|
+
kwargs["opts"] = opts or {}
|
|
3158
|
+
|
|
3159
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3160
|
+
|
|
3125
3161
|
async def DescribeScreenShotSheetNumList(
|
|
3126
3162
|
self,
|
|
3127
3163
|
request: models.DescribeScreenShotSheetNumListRequest,
|
|
@@ -12382,6 +12382,279 @@ class CreateRecordTaskResponse(AbstractModel):
|
|
|
12382
12382
|
self._RequestId = params.get("RequestId")
|
|
12383
12383
|
|
|
12384
12384
|
|
|
12385
|
+
class CreateSceneVideoTaskRequest(AbstractModel):
|
|
12386
|
+
r"""CreateSceneVideoTask请求参数结构体
|
|
12387
|
+
|
|
12388
|
+
"""
|
|
12389
|
+
|
|
12390
|
+
def __init__(self):
|
|
12391
|
+
r"""
|
|
12392
|
+
:param _ModelName: <p>模型名称。</p>
|
|
12393
|
+
:type ModelName: str
|
|
12394
|
+
:param _ModelVersion: <p>模型版本号。</p>
|
|
12395
|
+
:type ModelVersion: str
|
|
12396
|
+
:param _SceneType: <p>场景化类型。</p><p>枚举值:</p><ul><li>template_effect: 模板特效。</li></ul>
|
|
12397
|
+
:type SceneType: str
|
|
12398
|
+
:param _Prompt: <p>输入的Prompt。避免出现违规词汇,审核会进行拦截。</p>
|
|
12399
|
+
:type Prompt: str
|
|
12400
|
+
:param _Duration: <p>指定输出的视频时长。</p><p>部分场景不支持指定时长。</p>
|
|
12401
|
+
:type Duration: int
|
|
12402
|
+
:param _ImageUrl: <p>输入的首帧参考图片Url。需外网可访问。</p>
|
|
12403
|
+
:type ImageUrl: str
|
|
12404
|
+
:param _LastImageUrl: <p>输入的尾帧参考图片Url。</p>
|
|
12405
|
+
:type LastImageUrl: str
|
|
12406
|
+
:param _ImageInfos: <p>多图参考生视频时,通过该参数指定多张参考图。</p>
|
|
12407
|
+
:type ImageInfos: list of SceneVideoReferenceImageInfo
|
|
12408
|
+
:param _VideoInfos: <p>视频编辑时,指定参考视频信息。</p>
|
|
12409
|
+
:type VideoInfos: list of SceneVideoReferenceVideoInfo
|
|
12410
|
+
:param _ExtraParameters: <p>常规扩展参数。</p>
|
|
12411
|
+
:type ExtraParameters: :class:`tencentcloud.live.v20180801.models.SceneVideoExtraParam`
|
|
12412
|
+
:param _AdditionalParameters: <p>模型扩展参数,用于透传到模型侧。</p>
|
|
12413
|
+
:type AdditionalParameters: str
|
|
12414
|
+
:param _StoreCosParam: <p>输出结果存储到私有cos,需授权响应角色权限。</p>
|
|
12415
|
+
:type StoreCosParam: :class:`tencentcloud.live.v20180801.models.SceneStoreCosParam`
|
|
12416
|
+
:param _Operator: <p>操作者名称。</p>
|
|
12417
|
+
:type Operator: str
|
|
12418
|
+
"""
|
|
12419
|
+
self._ModelName = None
|
|
12420
|
+
self._ModelVersion = None
|
|
12421
|
+
self._SceneType = None
|
|
12422
|
+
self._Prompt = None
|
|
12423
|
+
self._Duration = None
|
|
12424
|
+
self._ImageUrl = None
|
|
12425
|
+
self._LastImageUrl = None
|
|
12426
|
+
self._ImageInfos = None
|
|
12427
|
+
self._VideoInfos = None
|
|
12428
|
+
self._ExtraParameters = None
|
|
12429
|
+
self._AdditionalParameters = None
|
|
12430
|
+
self._StoreCosParam = None
|
|
12431
|
+
self._Operator = None
|
|
12432
|
+
|
|
12433
|
+
@property
|
|
12434
|
+
def ModelName(self):
|
|
12435
|
+
r"""<p>模型名称。</p>
|
|
12436
|
+
:rtype: str
|
|
12437
|
+
"""
|
|
12438
|
+
return self._ModelName
|
|
12439
|
+
|
|
12440
|
+
@ModelName.setter
|
|
12441
|
+
def ModelName(self, ModelName):
|
|
12442
|
+
self._ModelName = ModelName
|
|
12443
|
+
|
|
12444
|
+
@property
|
|
12445
|
+
def ModelVersion(self):
|
|
12446
|
+
r"""<p>模型版本号。</p>
|
|
12447
|
+
:rtype: str
|
|
12448
|
+
"""
|
|
12449
|
+
return self._ModelVersion
|
|
12450
|
+
|
|
12451
|
+
@ModelVersion.setter
|
|
12452
|
+
def ModelVersion(self, ModelVersion):
|
|
12453
|
+
self._ModelVersion = ModelVersion
|
|
12454
|
+
|
|
12455
|
+
@property
|
|
12456
|
+
def SceneType(self):
|
|
12457
|
+
r"""<p>场景化类型。</p><p>枚举值:</p><ul><li>template_effect: 模板特效。</li></ul>
|
|
12458
|
+
:rtype: str
|
|
12459
|
+
"""
|
|
12460
|
+
return self._SceneType
|
|
12461
|
+
|
|
12462
|
+
@SceneType.setter
|
|
12463
|
+
def SceneType(self, SceneType):
|
|
12464
|
+
self._SceneType = SceneType
|
|
12465
|
+
|
|
12466
|
+
@property
|
|
12467
|
+
def Prompt(self):
|
|
12468
|
+
r"""<p>输入的Prompt。避免出现违规词汇,审核会进行拦截。</p>
|
|
12469
|
+
:rtype: str
|
|
12470
|
+
"""
|
|
12471
|
+
return self._Prompt
|
|
12472
|
+
|
|
12473
|
+
@Prompt.setter
|
|
12474
|
+
def Prompt(self, Prompt):
|
|
12475
|
+
self._Prompt = Prompt
|
|
12476
|
+
|
|
12477
|
+
@property
|
|
12478
|
+
def Duration(self):
|
|
12479
|
+
r"""<p>指定输出的视频时长。</p><p>部分场景不支持指定时长。</p>
|
|
12480
|
+
:rtype: int
|
|
12481
|
+
"""
|
|
12482
|
+
return self._Duration
|
|
12483
|
+
|
|
12484
|
+
@Duration.setter
|
|
12485
|
+
def Duration(self, Duration):
|
|
12486
|
+
self._Duration = Duration
|
|
12487
|
+
|
|
12488
|
+
@property
|
|
12489
|
+
def ImageUrl(self):
|
|
12490
|
+
r"""<p>输入的首帧参考图片Url。需外网可访问。</p>
|
|
12491
|
+
:rtype: str
|
|
12492
|
+
"""
|
|
12493
|
+
return self._ImageUrl
|
|
12494
|
+
|
|
12495
|
+
@ImageUrl.setter
|
|
12496
|
+
def ImageUrl(self, ImageUrl):
|
|
12497
|
+
self._ImageUrl = ImageUrl
|
|
12498
|
+
|
|
12499
|
+
@property
|
|
12500
|
+
def LastImageUrl(self):
|
|
12501
|
+
r"""<p>输入的尾帧参考图片Url。</p>
|
|
12502
|
+
:rtype: str
|
|
12503
|
+
"""
|
|
12504
|
+
return self._LastImageUrl
|
|
12505
|
+
|
|
12506
|
+
@LastImageUrl.setter
|
|
12507
|
+
def LastImageUrl(self, LastImageUrl):
|
|
12508
|
+
self._LastImageUrl = LastImageUrl
|
|
12509
|
+
|
|
12510
|
+
@property
|
|
12511
|
+
def ImageInfos(self):
|
|
12512
|
+
r"""<p>多图参考生视频时,通过该参数指定多张参考图。</p>
|
|
12513
|
+
:rtype: list of SceneVideoReferenceImageInfo
|
|
12514
|
+
"""
|
|
12515
|
+
return self._ImageInfos
|
|
12516
|
+
|
|
12517
|
+
@ImageInfos.setter
|
|
12518
|
+
def ImageInfos(self, ImageInfos):
|
|
12519
|
+
self._ImageInfos = ImageInfos
|
|
12520
|
+
|
|
12521
|
+
@property
|
|
12522
|
+
def VideoInfos(self):
|
|
12523
|
+
r"""<p>视频编辑时,指定参考视频信息。</p>
|
|
12524
|
+
:rtype: list of SceneVideoReferenceVideoInfo
|
|
12525
|
+
"""
|
|
12526
|
+
return self._VideoInfos
|
|
12527
|
+
|
|
12528
|
+
@VideoInfos.setter
|
|
12529
|
+
def VideoInfos(self, VideoInfos):
|
|
12530
|
+
self._VideoInfos = VideoInfos
|
|
12531
|
+
|
|
12532
|
+
@property
|
|
12533
|
+
def ExtraParameters(self):
|
|
12534
|
+
r"""<p>常规扩展参数。</p>
|
|
12535
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.SceneVideoExtraParam`
|
|
12536
|
+
"""
|
|
12537
|
+
return self._ExtraParameters
|
|
12538
|
+
|
|
12539
|
+
@ExtraParameters.setter
|
|
12540
|
+
def ExtraParameters(self, ExtraParameters):
|
|
12541
|
+
self._ExtraParameters = ExtraParameters
|
|
12542
|
+
|
|
12543
|
+
@property
|
|
12544
|
+
def AdditionalParameters(self):
|
|
12545
|
+
r"""<p>模型扩展参数,用于透传到模型侧。</p>
|
|
12546
|
+
:rtype: str
|
|
12547
|
+
"""
|
|
12548
|
+
return self._AdditionalParameters
|
|
12549
|
+
|
|
12550
|
+
@AdditionalParameters.setter
|
|
12551
|
+
def AdditionalParameters(self, AdditionalParameters):
|
|
12552
|
+
self._AdditionalParameters = AdditionalParameters
|
|
12553
|
+
|
|
12554
|
+
@property
|
|
12555
|
+
def StoreCosParam(self):
|
|
12556
|
+
r"""<p>输出结果存储到私有cos,需授权响应角色权限。</p>
|
|
12557
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.SceneStoreCosParam`
|
|
12558
|
+
"""
|
|
12559
|
+
return self._StoreCosParam
|
|
12560
|
+
|
|
12561
|
+
@StoreCosParam.setter
|
|
12562
|
+
def StoreCosParam(self, StoreCosParam):
|
|
12563
|
+
self._StoreCosParam = StoreCosParam
|
|
12564
|
+
|
|
12565
|
+
@property
|
|
12566
|
+
def Operator(self):
|
|
12567
|
+
r"""<p>操作者名称。</p>
|
|
12568
|
+
:rtype: str
|
|
12569
|
+
"""
|
|
12570
|
+
return self._Operator
|
|
12571
|
+
|
|
12572
|
+
@Operator.setter
|
|
12573
|
+
def Operator(self, Operator):
|
|
12574
|
+
self._Operator = Operator
|
|
12575
|
+
|
|
12576
|
+
|
|
12577
|
+
def _deserialize(self, params):
|
|
12578
|
+
self._ModelName = params.get("ModelName")
|
|
12579
|
+
self._ModelVersion = params.get("ModelVersion")
|
|
12580
|
+
self._SceneType = params.get("SceneType")
|
|
12581
|
+
self._Prompt = params.get("Prompt")
|
|
12582
|
+
self._Duration = params.get("Duration")
|
|
12583
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
12584
|
+
self._LastImageUrl = params.get("LastImageUrl")
|
|
12585
|
+
if params.get("ImageInfos") is not None:
|
|
12586
|
+
self._ImageInfos = []
|
|
12587
|
+
for item in params.get("ImageInfos"):
|
|
12588
|
+
obj = SceneVideoReferenceImageInfo()
|
|
12589
|
+
obj._deserialize(item)
|
|
12590
|
+
self._ImageInfos.append(obj)
|
|
12591
|
+
if params.get("VideoInfos") is not None:
|
|
12592
|
+
self._VideoInfos = []
|
|
12593
|
+
for item in params.get("VideoInfos"):
|
|
12594
|
+
obj = SceneVideoReferenceVideoInfo()
|
|
12595
|
+
obj._deserialize(item)
|
|
12596
|
+
self._VideoInfos.append(obj)
|
|
12597
|
+
if params.get("ExtraParameters") is not None:
|
|
12598
|
+
self._ExtraParameters = SceneVideoExtraParam()
|
|
12599
|
+
self._ExtraParameters._deserialize(params.get("ExtraParameters"))
|
|
12600
|
+
self._AdditionalParameters = params.get("AdditionalParameters")
|
|
12601
|
+
if params.get("StoreCosParam") is not None:
|
|
12602
|
+
self._StoreCosParam = SceneStoreCosParam()
|
|
12603
|
+
self._StoreCosParam._deserialize(params.get("StoreCosParam"))
|
|
12604
|
+
self._Operator = params.get("Operator")
|
|
12605
|
+
memeber_set = set(params.keys())
|
|
12606
|
+
for name, value in vars(self).items():
|
|
12607
|
+
property_name = name[1:]
|
|
12608
|
+
if property_name in memeber_set:
|
|
12609
|
+
memeber_set.remove(property_name)
|
|
12610
|
+
if len(memeber_set) > 0:
|
|
12611
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12612
|
+
|
|
12613
|
+
|
|
12614
|
+
|
|
12615
|
+
class CreateSceneVideoTaskResponse(AbstractModel):
|
|
12616
|
+
r"""CreateSceneVideoTask返回参数结构体
|
|
12617
|
+
|
|
12618
|
+
"""
|
|
12619
|
+
|
|
12620
|
+
def __init__(self):
|
|
12621
|
+
r"""
|
|
12622
|
+
:param _TaskId: <p>输出的任务ID。</p>
|
|
12623
|
+
:type TaskId: str
|
|
12624
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12625
|
+
:type RequestId: str
|
|
12626
|
+
"""
|
|
12627
|
+
self._TaskId = None
|
|
12628
|
+
self._RequestId = None
|
|
12629
|
+
|
|
12630
|
+
@property
|
|
12631
|
+
def TaskId(self):
|
|
12632
|
+
r"""<p>输出的任务ID。</p>
|
|
12633
|
+
:rtype: str
|
|
12634
|
+
"""
|
|
12635
|
+
return self._TaskId
|
|
12636
|
+
|
|
12637
|
+
@TaskId.setter
|
|
12638
|
+
def TaskId(self, TaskId):
|
|
12639
|
+
self._TaskId = TaskId
|
|
12640
|
+
|
|
12641
|
+
@property
|
|
12642
|
+
def RequestId(self):
|
|
12643
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12644
|
+
:rtype: str
|
|
12645
|
+
"""
|
|
12646
|
+
return self._RequestId
|
|
12647
|
+
|
|
12648
|
+
@RequestId.setter
|
|
12649
|
+
def RequestId(self, RequestId):
|
|
12650
|
+
self._RequestId = RequestId
|
|
12651
|
+
|
|
12652
|
+
|
|
12653
|
+
def _deserialize(self, params):
|
|
12654
|
+
self._TaskId = params.get("TaskId")
|
|
12655
|
+
self._RequestId = params.get("RequestId")
|
|
12656
|
+
|
|
12657
|
+
|
|
12385
12658
|
class CreateScreenshotTaskRequest(AbstractModel):
|
|
12386
12659
|
r"""CreateScreenshotTask请求参数结构体
|
|
12387
12660
|
|
|
@@ -27546,102 +27819,32 @@ class DescribeRecordTaskResponse(AbstractModel):
|
|
|
27546
27819
|
self._RequestId = params.get("RequestId")
|
|
27547
27820
|
|
|
27548
27821
|
|
|
27549
|
-
class
|
|
27550
|
-
r"""
|
|
27822
|
+
class DescribeSceneVideoTaskRequest(AbstractModel):
|
|
27823
|
+
r"""DescribeSceneVideoTask请求参数结构体
|
|
27551
27824
|
|
|
27552
27825
|
"""
|
|
27553
27826
|
|
|
27554
27827
|
def __init__(self):
|
|
27555
27828
|
r"""
|
|
27556
|
-
:param
|
|
27557
|
-
|
|
27558
|
-
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
27559
|
-
:type StartTime: str
|
|
27560
|
-
:param _EndTime: 结束时间点,接口查询支持两种时间格式:
|
|
27561
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27562
|
-
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
27563
|
-
支持最近三个月的查询,查询开始和结束时间跨度不支持超过31天。
|
|
27564
|
-
:type EndTime: str
|
|
27565
|
-
:param _Zone: 地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
|
|
27566
|
-
:type Zone: str
|
|
27567
|
-
:param _PushDomains: 推流域名(支持查询2019年11 月1日之后的域名维度数据)。
|
|
27568
|
-
:type PushDomains: list of str
|
|
27569
|
-
:param _Granularity: 数据维度,数据延迟1个半小时,可选值包括:1、Minute(5分钟粒度,最大支持查询时间范围是31天),2、Day(天粒度,默认值,按照北京时间做跨天处理,最大支持查询时间范围是186天当天)。
|
|
27570
|
-
:type Granularity: str
|
|
27571
|
-
"""
|
|
27572
|
-
self._StartTime = None
|
|
27573
|
-
self._EndTime = None
|
|
27574
|
-
self._Zone = None
|
|
27575
|
-
self._PushDomains = None
|
|
27576
|
-
self._Granularity = None
|
|
27577
|
-
|
|
27578
|
-
@property
|
|
27579
|
-
def StartTime(self):
|
|
27580
|
-
r"""起始时间点,接口查询支持两种时间格式:
|
|
27581
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27582
|
-
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
27583
|
-
:rtype: str
|
|
27584
|
-
"""
|
|
27585
|
-
return self._StartTime
|
|
27586
|
-
|
|
27587
|
-
@StartTime.setter
|
|
27588
|
-
def StartTime(self, StartTime):
|
|
27589
|
-
self._StartTime = StartTime
|
|
27590
|
-
|
|
27591
|
-
@property
|
|
27592
|
-
def EndTime(self):
|
|
27593
|
-
r"""结束时间点,接口查询支持两种时间格式:
|
|
27594
|
-
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27595
|
-
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
27596
|
-
支持最近三个月的查询,查询开始和结束时间跨度不支持超过31天。
|
|
27597
|
-
:rtype: str
|
|
27598
|
-
"""
|
|
27599
|
-
return self._EndTime
|
|
27600
|
-
|
|
27601
|
-
@EndTime.setter
|
|
27602
|
-
def EndTime(self, EndTime):
|
|
27603
|
-
self._EndTime = EndTime
|
|
27604
|
-
|
|
27605
|
-
@property
|
|
27606
|
-
def Zone(self):
|
|
27607
|
-
r"""地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
|
|
27608
|
-
:rtype: str
|
|
27609
|
-
"""
|
|
27610
|
-
return self._Zone
|
|
27611
|
-
|
|
27612
|
-
@Zone.setter
|
|
27613
|
-
def Zone(self, Zone):
|
|
27614
|
-
self._Zone = Zone
|
|
27615
|
-
|
|
27616
|
-
@property
|
|
27617
|
-
def PushDomains(self):
|
|
27618
|
-
r"""推流域名(支持查询2019年11 月1日之后的域名维度数据)。
|
|
27619
|
-
:rtype: list of str
|
|
27829
|
+
:param _TaskId: <p>任务ID。</p>
|
|
27830
|
+
:type TaskId: str
|
|
27620
27831
|
"""
|
|
27621
|
-
|
|
27622
|
-
|
|
27623
|
-
@PushDomains.setter
|
|
27624
|
-
def PushDomains(self, PushDomains):
|
|
27625
|
-
self._PushDomains = PushDomains
|
|
27832
|
+
self._TaskId = None
|
|
27626
27833
|
|
|
27627
27834
|
@property
|
|
27628
|
-
def
|
|
27629
|
-
r"""
|
|
27835
|
+
def TaskId(self):
|
|
27836
|
+
r"""<p>任务ID。</p>
|
|
27630
27837
|
:rtype: str
|
|
27631
27838
|
"""
|
|
27632
|
-
return self.
|
|
27839
|
+
return self._TaskId
|
|
27633
27840
|
|
|
27634
|
-
@
|
|
27635
|
-
def
|
|
27636
|
-
self.
|
|
27841
|
+
@TaskId.setter
|
|
27842
|
+
def TaskId(self, TaskId):
|
|
27843
|
+
self._TaskId = TaskId
|
|
27637
27844
|
|
|
27638
27845
|
|
|
27639
27846
|
def _deserialize(self, params):
|
|
27640
|
-
self.
|
|
27641
|
-
self._EndTime = params.get("EndTime")
|
|
27642
|
-
self._Zone = params.get("Zone")
|
|
27643
|
-
self._PushDomains = params.get("PushDomains")
|
|
27644
|
-
self._Granularity = params.get("Granularity")
|
|
27847
|
+
self._TaskId = params.get("TaskId")
|
|
27645
27848
|
memeber_set = set(params.keys())
|
|
27646
27849
|
for name, value in vars(self).items():
|
|
27647
27850
|
property_name = name[1:]
|
|
@@ -27652,22 +27855,236 @@ class DescribeScreenShotSheetNumListRequest(AbstractModel):
|
|
|
27652
27855
|
|
|
27653
27856
|
|
|
27654
27857
|
|
|
27655
|
-
class
|
|
27656
|
-
r"""
|
|
27858
|
+
class DescribeSceneVideoTaskResponse(AbstractModel):
|
|
27859
|
+
r"""DescribeSceneVideoTask返回参数结构体
|
|
27657
27860
|
|
|
27658
27861
|
"""
|
|
27659
27862
|
|
|
27660
27863
|
def __init__(self):
|
|
27661
27864
|
r"""
|
|
27662
|
-
:param
|
|
27663
|
-
:type
|
|
27865
|
+
:param _InfoList: <p>一些特殊场景的返回信息。</p>
|
|
27866
|
+
:type InfoList: list of SceneVideoOutputInfo
|
|
27867
|
+
:param _Status: <p>任务状态。</p><p>枚举值:</p><ul><li>DONE: 任务结束。</li><li>RUN: 任务运行中。</li><li>WAIT: 任务准备中。</li><li>FAIL: 任务失败。</li></ul>
|
|
27868
|
+
:type Status: str
|
|
27869
|
+
:param _Resolution: <p>输出视频的分辨率。示例:720x1280。</p>
|
|
27870
|
+
:type Resolution: str
|
|
27871
|
+
:param _Message: <p>错误信息。</p>
|
|
27872
|
+
:type Message: str
|
|
27873
|
+
:param _VideoUrls: <p>输出的视频Url。默认过期时间:12小时,请尽快拉取并转存。也可以使用私有Cos桶长期存储。</p>
|
|
27874
|
+
:type VideoUrls: list of str
|
|
27664
27875
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27665
27876
|
:type RequestId: str
|
|
27666
27877
|
"""
|
|
27667
|
-
self.
|
|
27668
|
-
self.
|
|
27669
|
-
|
|
27670
|
-
|
|
27878
|
+
self._InfoList = None
|
|
27879
|
+
self._Status = None
|
|
27880
|
+
self._Resolution = None
|
|
27881
|
+
self._Message = None
|
|
27882
|
+
self._VideoUrls = None
|
|
27883
|
+
self._RequestId = None
|
|
27884
|
+
|
|
27885
|
+
@property
|
|
27886
|
+
def InfoList(self):
|
|
27887
|
+
r"""<p>一些特殊场景的返回信息。</p>
|
|
27888
|
+
:rtype: list of SceneVideoOutputInfo
|
|
27889
|
+
"""
|
|
27890
|
+
return self._InfoList
|
|
27891
|
+
|
|
27892
|
+
@InfoList.setter
|
|
27893
|
+
def InfoList(self, InfoList):
|
|
27894
|
+
self._InfoList = InfoList
|
|
27895
|
+
|
|
27896
|
+
@property
|
|
27897
|
+
def Status(self):
|
|
27898
|
+
r"""<p>任务状态。</p><p>枚举值:</p><ul><li>DONE: 任务结束。</li><li>RUN: 任务运行中。</li><li>WAIT: 任务准备中。</li><li>FAIL: 任务失败。</li></ul>
|
|
27899
|
+
:rtype: str
|
|
27900
|
+
"""
|
|
27901
|
+
return self._Status
|
|
27902
|
+
|
|
27903
|
+
@Status.setter
|
|
27904
|
+
def Status(self, Status):
|
|
27905
|
+
self._Status = Status
|
|
27906
|
+
|
|
27907
|
+
@property
|
|
27908
|
+
def Resolution(self):
|
|
27909
|
+
r"""<p>输出视频的分辨率。示例:720x1280。</p>
|
|
27910
|
+
:rtype: str
|
|
27911
|
+
"""
|
|
27912
|
+
return self._Resolution
|
|
27913
|
+
|
|
27914
|
+
@Resolution.setter
|
|
27915
|
+
def Resolution(self, Resolution):
|
|
27916
|
+
self._Resolution = Resolution
|
|
27917
|
+
|
|
27918
|
+
@property
|
|
27919
|
+
def Message(self):
|
|
27920
|
+
r"""<p>错误信息。</p>
|
|
27921
|
+
:rtype: str
|
|
27922
|
+
"""
|
|
27923
|
+
return self._Message
|
|
27924
|
+
|
|
27925
|
+
@Message.setter
|
|
27926
|
+
def Message(self, Message):
|
|
27927
|
+
self._Message = Message
|
|
27928
|
+
|
|
27929
|
+
@property
|
|
27930
|
+
def VideoUrls(self):
|
|
27931
|
+
r"""<p>输出的视频Url。默认过期时间:12小时,请尽快拉取并转存。也可以使用私有Cos桶长期存储。</p>
|
|
27932
|
+
:rtype: list of str
|
|
27933
|
+
"""
|
|
27934
|
+
return self._VideoUrls
|
|
27935
|
+
|
|
27936
|
+
@VideoUrls.setter
|
|
27937
|
+
def VideoUrls(self, VideoUrls):
|
|
27938
|
+
self._VideoUrls = VideoUrls
|
|
27939
|
+
|
|
27940
|
+
@property
|
|
27941
|
+
def RequestId(self):
|
|
27942
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27943
|
+
:rtype: str
|
|
27944
|
+
"""
|
|
27945
|
+
return self._RequestId
|
|
27946
|
+
|
|
27947
|
+
@RequestId.setter
|
|
27948
|
+
def RequestId(self, RequestId):
|
|
27949
|
+
self._RequestId = RequestId
|
|
27950
|
+
|
|
27951
|
+
|
|
27952
|
+
def _deserialize(self, params):
|
|
27953
|
+
if params.get("InfoList") is not None:
|
|
27954
|
+
self._InfoList = []
|
|
27955
|
+
for item in params.get("InfoList"):
|
|
27956
|
+
obj = SceneVideoOutputInfo()
|
|
27957
|
+
obj._deserialize(item)
|
|
27958
|
+
self._InfoList.append(obj)
|
|
27959
|
+
self._Status = params.get("Status")
|
|
27960
|
+
self._Resolution = params.get("Resolution")
|
|
27961
|
+
self._Message = params.get("Message")
|
|
27962
|
+
self._VideoUrls = params.get("VideoUrls")
|
|
27963
|
+
self._RequestId = params.get("RequestId")
|
|
27964
|
+
|
|
27965
|
+
|
|
27966
|
+
class DescribeScreenShotSheetNumListRequest(AbstractModel):
|
|
27967
|
+
r"""DescribeScreenShotSheetNumList请求参数结构体
|
|
27968
|
+
|
|
27969
|
+
"""
|
|
27970
|
+
|
|
27971
|
+
def __init__(self):
|
|
27972
|
+
r"""
|
|
27973
|
+
:param _StartTime: 起始时间点,接口查询支持两种时间格式:
|
|
27974
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27975
|
+
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
27976
|
+
:type StartTime: str
|
|
27977
|
+
:param _EndTime: 结束时间点,接口查询支持两种时间格式:
|
|
27978
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27979
|
+
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
27980
|
+
支持最近三个月的查询,查询开始和结束时间跨度不支持超过31天。
|
|
27981
|
+
:type EndTime: str
|
|
27982
|
+
:param _Zone: 地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
|
|
27983
|
+
:type Zone: str
|
|
27984
|
+
:param _PushDomains: 推流域名(支持查询2019年11 月1日之后的域名维度数据)。
|
|
27985
|
+
:type PushDomains: list of str
|
|
27986
|
+
:param _Granularity: 数据维度,数据延迟1个半小时,可选值包括:1、Minute(5分钟粒度,最大支持查询时间范围是31天),2、Day(天粒度,默认值,按照北京时间做跨天处理,最大支持查询时间范围是186天当天)。
|
|
27987
|
+
:type Granularity: str
|
|
27988
|
+
"""
|
|
27989
|
+
self._StartTime = None
|
|
27990
|
+
self._EndTime = None
|
|
27991
|
+
self._Zone = None
|
|
27992
|
+
self._PushDomains = None
|
|
27993
|
+
self._Granularity = None
|
|
27994
|
+
|
|
27995
|
+
@property
|
|
27996
|
+
def StartTime(self):
|
|
27997
|
+
r"""起始时间点,接口查询支持两种时间格式:
|
|
27998
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
27999
|
+
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
28000
|
+
:rtype: str
|
|
28001
|
+
"""
|
|
28002
|
+
return self._StartTime
|
|
28003
|
+
|
|
28004
|
+
@StartTime.setter
|
|
28005
|
+
def StartTime(self, StartTime):
|
|
28006
|
+
self._StartTime = StartTime
|
|
28007
|
+
|
|
28008
|
+
@property
|
|
28009
|
+
def EndTime(self):
|
|
28010
|
+
r"""结束时间点,接口查询支持两种时间格式:
|
|
28011
|
+
1)YYYY-MM-DDThh:mm:ssZ:UTC时间格式,详见IOS日期格式说明文档: https://cloud.tencent.com/document/product/266/11732#I
|
|
28012
|
+
2)YYYY-MM-DD hh:mm:ss:使用此格式时,默认代表北京时间。
|
|
28013
|
+
支持最近三个月的查询,查询开始和结束时间跨度不支持超过31天。
|
|
28014
|
+
:rtype: str
|
|
28015
|
+
"""
|
|
28016
|
+
return self._EndTime
|
|
28017
|
+
|
|
28018
|
+
@EndTime.setter
|
|
28019
|
+
def EndTime(self, EndTime):
|
|
28020
|
+
self._EndTime = EndTime
|
|
28021
|
+
|
|
28022
|
+
@property
|
|
28023
|
+
def Zone(self):
|
|
28024
|
+
r"""地域信息,可选值包括Mainland,Oversea,前者是查询中国大陆范围内的数据,后者是除中国大陆范围之外的数据,若不传该参数,则查询所有地区的数据。
|
|
28025
|
+
:rtype: str
|
|
28026
|
+
"""
|
|
28027
|
+
return self._Zone
|
|
28028
|
+
|
|
28029
|
+
@Zone.setter
|
|
28030
|
+
def Zone(self, Zone):
|
|
28031
|
+
self._Zone = Zone
|
|
28032
|
+
|
|
28033
|
+
@property
|
|
28034
|
+
def PushDomains(self):
|
|
28035
|
+
r"""推流域名(支持查询2019年11 月1日之后的域名维度数据)。
|
|
28036
|
+
:rtype: list of str
|
|
28037
|
+
"""
|
|
28038
|
+
return self._PushDomains
|
|
28039
|
+
|
|
28040
|
+
@PushDomains.setter
|
|
28041
|
+
def PushDomains(self, PushDomains):
|
|
28042
|
+
self._PushDomains = PushDomains
|
|
28043
|
+
|
|
28044
|
+
@property
|
|
28045
|
+
def Granularity(self):
|
|
28046
|
+
r"""数据维度,数据延迟1个半小时,可选值包括:1、Minute(5分钟粒度,最大支持查询时间范围是31天),2、Day(天粒度,默认值,按照北京时间做跨天处理,最大支持查询时间范围是186天当天)。
|
|
28047
|
+
:rtype: str
|
|
28048
|
+
"""
|
|
28049
|
+
return self._Granularity
|
|
28050
|
+
|
|
28051
|
+
@Granularity.setter
|
|
28052
|
+
def Granularity(self, Granularity):
|
|
28053
|
+
self._Granularity = Granularity
|
|
28054
|
+
|
|
28055
|
+
|
|
28056
|
+
def _deserialize(self, params):
|
|
28057
|
+
self._StartTime = params.get("StartTime")
|
|
28058
|
+
self._EndTime = params.get("EndTime")
|
|
28059
|
+
self._Zone = params.get("Zone")
|
|
28060
|
+
self._PushDomains = params.get("PushDomains")
|
|
28061
|
+
self._Granularity = params.get("Granularity")
|
|
28062
|
+
memeber_set = set(params.keys())
|
|
28063
|
+
for name, value in vars(self).items():
|
|
28064
|
+
property_name = name[1:]
|
|
28065
|
+
if property_name in memeber_set:
|
|
28066
|
+
memeber_set.remove(property_name)
|
|
28067
|
+
if len(memeber_set) > 0:
|
|
28068
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
28069
|
+
|
|
28070
|
+
|
|
28071
|
+
|
|
28072
|
+
class DescribeScreenShotSheetNumListResponse(AbstractModel):
|
|
28073
|
+
r"""DescribeScreenShotSheetNumList返回参数结构体
|
|
28074
|
+
|
|
28075
|
+
"""
|
|
28076
|
+
|
|
28077
|
+
def __init__(self):
|
|
28078
|
+
r"""
|
|
28079
|
+
:param _DataInfoList: 数据信息列表。
|
|
28080
|
+
:type DataInfoList: list of TimeValue
|
|
28081
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28082
|
+
:type RequestId: str
|
|
28083
|
+
"""
|
|
28084
|
+
self._DataInfoList = None
|
|
28085
|
+
self._RequestId = None
|
|
28086
|
+
|
|
28087
|
+
@property
|
|
27671
28088
|
def DataInfoList(self):
|
|
27672
28089
|
r"""数据信息列表。
|
|
27673
28090
|
:rtype: list of TimeValue
|
|
@@ -41748,6 +42165,366 @@ class RuleInfo(AbstractModel):
|
|
|
41748
42165
|
|
|
41749
42166
|
|
|
41750
42167
|
|
|
42168
|
+
class SceneStoreCosParam(AbstractModel):
|
|
42169
|
+
r"""场景化视频结果文件上传COS时,需传入的信息。 需创建并授权LVB_QCSRole角色。
|
|
42170
|
+
|
|
42171
|
+
"""
|
|
42172
|
+
|
|
42173
|
+
def __init__(self):
|
|
42174
|
+
r"""
|
|
42175
|
+
:param _CosBucketName: <p>Cos桶名称。</p>
|
|
42176
|
+
:type CosBucketName: str
|
|
42177
|
+
:param _CosBucketRegion: <p>Cos桶地域。</p>
|
|
42178
|
+
:type CosBucketRegion: str
|
|
42179
|
+
:param _CosBucketPath: <p>存储路径。</p>
|
|
42180
|
+
:type CosBucketPath: str
|
|
42181
|
+
"""
|
|
42182
|
+
self._CosBucketName = None
|
|
42183
|
+
self._CosBucketRegion = None
|
|
42184
|
+
self._CosBucketPath = None
|
|
42185
|
+
|
|
42186
|
+
@property
|
|
42187
|
+
def CosBucketName(self):
|
|
42188
|
+
r"""<p>Cos桶名称。</p>
|
|
42189
|
+
:rtype: str
|
|
42190
|
+
"""
|
|
42191
|
+
return self._CosBucketName
|
|
42192
|
+
|
|
42193
|
+
@CosBucketName.setter
|
|
42194
|
+
def CosBucketName(self, CosBucketName):
|
|
42195
|
+
self._CosBucketName = CosBucketName
|
|
42196
|
+
|
|
42197
|
+
@property
|
|
42198
|
+
def CosBucketRegion(self):
|
|
42199
|
+
r"""<p>Cos桶地域。</p>
|
|
42200
|
+
:rtype: str
|
|
42201
|
+
"""
|
|
42202
|
+
return self._CosBucketRegion
|
|
42203
|
+
|
|
42204
|
+
@CosBucketRegion.setter
|
|
42205
|
+
def CosBucketRegion(self, CosBucketRegion):
|
|
42206
|
+
self._CosBucketRegion = CosBucketRegion
|
|
42207
|
+
|
|
42208
|
+
@property
|
|
42209
|
+
def CosBucketPath(self):
|
|
42210
|
+
r"""<p>存储路径。</p>
|
|
42211
|
+
:rtype: str
|
|
42212
|
+
"""
|
|
42213
|
+
return self._CosBucketPath
|
|
42214
|
+
|
|
42215
|
+
@CosBucketPath.setter
|
|
42216
|
+
def CosBucketPath(self, CosBucketPath):
|
|
42217
|
+
self._CosBucketPath = CosBucketPath
|
|
42218
|
+
|
|
42219
|
+
|
|
42220
|
+
def _deserialize(self, params):
|
|
42221
|
+
self._CosBucketName = params.get("CosBucketName")
|
|
42222
|
+
self._CosBucketRegion = params.get("CosBucketRegion")
|
|
42223
|
+
self._CosBucketPath = params.get("CosBucketPath")
|
|
42224
|
+
memeber_set = set(params.keys())
|
|
42225
|
+
for name, value in vars(self).items():
|
|
42226
|
+
property_name = name[1:]
|
|
42227
|
+
if property_name in memeber_set:
|
|
42228
|
+
memeber_set.remove(property_name)
|
|
42229
|
+
if len(memeber_set) > 0:
|
|
42230
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42231
|
+
|
|
42232
|
+
|
|
42233
|
+
|
|
42234
|
+
class SceneVideoExtraParam(AbstractModel):
|
|
42235
|
+
r"""用于场景化创作视频时用到的扩展参数信息。
|
|
42236
|
+
|
|
42237
|
+
"""
|
|
42238
|
+
|
|
42239
|
+
def __init__(self):
|
|
42240
|
+
r"""
|
|
42241
|
+
:param _Resolution: <p>指定输出分辨率。选项:720P, 1080P, 2K, 4K。</p>
|
|
42242
|
+
:type Resolution: str
|
|
42243
|
+
:param _AspectRatio: <p>指定输出视频的宽高比,示例:16:9。</p>
|
|
42244
|
+
:type AspectRatio: str
|
|
42245
|
+
:param _OffPeak: <p>错峰模型,仅支持的模型可使用。</p>
|
|
42246
|
+
:type OffPeak: bool
|
|
42247
|
+
:param _LogoAdd: <p>自动添加水印,默认左上角添加 "AI生成" 标识。</p>
|
|
42248
|
+
:type LogoAdd: bool
|
|
42249
|
+
:param _EnableAudio: <p>使用音画同出。</p>
|
|
42250
|
+
:type EnableAudio: bool
|
|
42251
|
+
:param _EnableBgm: <p>生成背景音乐。</p>
|
|
42252
|
+
:type EnableBgm: bool
|
|
42253
|
+
:param _EnablePromptEnhance: <p>对输入的Prompt进行优化。</p>
|
|
42254
|
+
:type EnablePromptEnhance: bool
|
|
42255
|
+
:param _CallbackUrl: <p>回调URL。</p>
|
|
42256
|
+
:type CallbackUrl: str
|
|
42257
|
+
"""
|
|
42258
|
+
self._Resolution = None
|
|
42259
|
+
self._AspectRatio = None
|
|
42260
|
+
self._OffPeak = None
|
|
42261
|
+
self._LogoAdd = None
|
|
42262
|
+
self._EnableAudio = None
|
|
42263
|
+
self._EnableBgm = None
|
|
42264
|
+
self._EnablePromptEnhance = None
|
|
42265
|
+
self._CallbackUrl = None
|
|
42266
|
+
|
|
42267
|
+
@property
|
|
42268
|
+
def Resolution(self):
|
|
42269
|
+
r"""<p>指定输出分辨率。选项:720P, 1080P, 2K, 4K。</p>
|
|
42270
|
+
:rtype: str
|
|
42271
|
+
"""
|
|
42272
|
+
return self._Resolution
|
|
42273
|
+
|
|
42274
|
+
@Resolution.setter
|
|
42275
|
+
def Resolution(self, Resolution):
|
|
42276
|
+
self._Resolution = Resolution
|
|
42277
|
+
|
|
42278
|
+
@property
|
|
42279
|
+
def AspectRatio(self):
|
|
42280
|
+
r"""<p>指定输出视频的宽高比,示例:16:9。</p>
|
|
42281
|
+
:rtype: str
|
|
42282
|
+
"""
|
|
42283
|
+
return self._AspectRatio
|
|
42284
|
+
|
|
42285
|
+
@AspectRatio.setter
|
|
42286
|
+
def AspectRatio(self, AspectRatio):
|
|
42287
|
+
self._AspectRatio = AspectRatio
|
|
42288
|
+
|
|
42289
|
+
@property
|
|
42290
|
+
def OffPeak(self):
|
|
42291
|
+
r"""<p>错峰模型,仅支持的模型可使用。</p>
|
|
42292
|
+
:rtype: bool
|
|
42293
|
+
"""
|
|
42294
|
+
return self._OffPeak
|
|
42295
|
+
|
|
42296
|
+
@OffPeak.setter
|
|
42297
|
+
def OffPeak(self, OffPeak):
|
|
42298
|
+
self._OffPeak = OffPeak
|
|
42299
|
+
|
|
42300
|
+
@property
|
|
42301
|
+
def LogoAdd(self):
|
|
42302
|
+
r"""<p>自动添加水印,默认左上角添加 "AI生成" 标识。</p>
|
|
42303
|
+
:rtype: bool
|
|
42304
|
+
"""
|
|
42305
|
+
return self._LogoAdd
|
|
42306
|
+
|
|
42307
|
+
@LogoAdd.setter
|
|
42308
|
+
def LogoAdd(self, LogoAdd):
|
|
42309
|
+
self._LogoAdd = LogoAdd
|
|
42310
|
+
|
|
42311
|
+
@property
|
|
42312
|
+
def EnableAudio(self):
|
|
42313
|
+
r"""<p>使用音画同出。</p>
|
|
42314
|
+
:rtype: bool
|
|
42315
|
+
"""
|
|
42316
|
+
return self._EnableAudio
|
|
42317
|
+
|
|
42318
|
+
@EnableAudio.setter
|
|
42319
|
+
def EnableAudio(self, EnableAudio):
|
|
42320
|
+
self._EnableAudio = EnableAudio
|
|
42321
|
+
|
|
42322
|
+
@property
|
|
42323
|
+
def EnableBgm(self):
|
|
42324
|
+
r"""<p>生成背景音乐。</p>
|
|
42325
|
+
:rtype: bool
|
|
42326
|
+
"""
|
|
42327
|
+
return self._EnableBgm
|
|
42328
|
+
|
|
42329
|
+
@EnableBgm.setter
|
|
42330
|
+
def EnableBgm(self, EnableBgm):
|
|
42331
|
+
self._EnableBgm = EnableBgm
|
|
42332
|
+
|
|
42333
|
+
@property
|
|
42334
|
+
def EnablePromptEnhance(self):
|
|
42335
|
+
r"""<p>对输入的Prompt进行优化。</p>
|
|
42336
|
+
:rtype: bool
|
|
42337
|
+
"""
|
|
42338
|
+
return self._EnablePromptEnhance
|
|
42339
|
+
|
|
42340
|
+
@EnablePromptEnhance.setter
|
|
42341
|
+
def EnablePromptEnhance(self, EnablePromptEnhance):
|
|
42342
|
+
self._EnablePromptEnhance = EnablePromptEnhance
|
|
42343
|
+
|
|
42344
|
+
@property
|
|
42345
|
+
def CallbackUrl(self):
|
|
42346
|
+
r"""<p>回调URL。</p>
|
|
42347
|
+
:rtype: str
|
|
42348
|
+
"""
|
|
42349
|
+
return self._CallbackUrl
|
|
42350
|
+
|
|
42351
|
+
@CallbackUrl.setter
|
|
42352
|
+
def CallbackUrl(self, CallbackUrl):
|
|
42353
|
+
self._CallbackUrl = CallbackUrl
|
|
42354
|
+
|
|
42355
|
+
|
|
42356
|
+
def _deserialize(self, params):
|
|
42357
|
+
self._Resolution = params.get("Resolution")
|
|
42358
|
+
self._AspectRatio = params.get("AspectRatio")
|
|
42359
|
+
self._OffPeak = params.get("OffPeak")
|
|
42360
|
+
self._LogoAdd = params.get("LogoAdd")
|
|
42361
|
+
self._EnableAudio = params.get("EnableAudio")
|
|
42362
|
+
self._EnableBgm = params.get("EnableBgm")
|
|
42363
|
+
self._EnablePromptEnhance = params.get("EnablePromptEnhance")
|
|
42364
|
+
self._CallbackUrl = params.get("CallbackUrl")
|
|
42365
|
+
memeber_set = set(params.keys())
|
|
42366
|
+
for name, value in vars(self).items():
|
|
42367
|
+
property_name = name[1:]
|
|
42368
|
+
if property_name in memeber_set:
|
|
42369
|
+
memeber_set.remove(property_name)
|
|
42370
|
+
if len(memeber_set) > 0:
|
|
42371
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42372
|
+
|
|
42373
|
+
|
|
42374
|
+
|
|
42375
|
+
class SceneVideoOutputInfo(AbstractModel):
|
|
42376
|
+
r"""场景化视频输出信息。
|
|
42377
|
+
|
|
42378
|
+
"""
|
|
42379
|
+
|
|
42380
|
+
def __init__(self):
|
|
42381
|
+
r"""
|
|
42382
|
+
:param _Info: <p>输出信息。</p>
|
|
42383
|
+
:type Info: str
|
|
42384
|
+
:param _Type: <p>输出类型。</p>
|
|
42385
|
+
:type Type: str
|
|
42386
|
+
"""
|
|
42387
|
+
self._Info = None
|
|
42388
|
+
self._Type = None
|
|
42389
|
+
|
|
42390
|
+
@property
|
|
42391
|
+
def Info(self):
|
|
42392
|
+
r"""<p>输出信息。</p>
|
|
42393
|
+
:rtype: str
|
|
42394
|
+
"""
|
|
42395
|
+
return self._Info
|
|
42396
|
+
|
|
42397
|
+
@Info.setter
|
|
42398
|
+
def Info(self, Info):
|
|
42399
|
+
self._Info = Info
|
|
42400
|
+
|
|
42401
|
+
@property
|
|
42402
|
+
def Type(self):
|
|
42403
|
+
r"""<p>输出类型。</p>
|
|
42404
|
+
:rtype: str
|
|
42405
|
+
"""
|
|
42406
|
+
return self._Type
|
|
42407
|
+
|
|
42408
|
+
@Type.setter
|
|
42409
|
+
def Type(self, Type):
|
|
42410
|
+
self._Type = Type
|
|
42411
|
+
|
|
42412
|
+
|
|
42413
|
+
def _deserialize(self, params):
|
|
42414
|
+
self._Info = params.get("Info")
|
|
42415
|
+
self._Type = params.get("Type")
|
|
42416
|
+
memeber_set = set(params.keys())
|
|
42417
|
+
for name, value in vars(self).items():
|
|
42418
|
+
property_name = name[1:]
|
|
42419
|
+
if property_name in memeber_set:
|
|
42420
|
+
memeber_set.remove(property_name)
|
|
42421
|
+
if len(memeber_set) > 0:
|
|
42422
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42423
|
+
|
|
42424
|
+
|
|
42425
|
+
|
|
42426
|
+
class SceneVideoReferenceImageInfo(AbstractModel):
|
|
42427
|
+
r"""用于场景化生视频创作的参考图片信息。
|
|
42428
|
+
|
|
42429
|
+
"""
|
|
42430
|
+
|
|
42431
|
+
def __init__(self):
|
|
42432
|
+
r"""
|
|
42433
|
+
:param _ImageUrl: <p>输入的参考图Url,需外网可访问。</p>
|
|
42434
|
+
:type ImageUrl: str
|
|
42435
|
+
:param _Text: <p>针对该参考图的Prompt描述,仅部分模型是支持。</p>
|
|
42436
|
+
:type Text: str
|
|
42437
|
+
:param _ReferenceType: <p>参考类型。</p>
|
|
42438
|
+
:type ReferenceType: str
|
|
42439
|
+
"""
|
|
42440
|
+
self._ImageUrl = None
|
|
42441
|
+
self._Text = None
|
|
42442
|
+
self._ReferenceType = None
|
|
42443
|
+
|
|
42444
|
+
@property
|
|
42445
|
+
def ImageUrl(self):
|
|
42446
|
+
r"""<p>输入的参考图Url,需外网可访问。</p>
|
|
42447
|
+
:rtype: str
|
|
42448
|
+
"""
|
|
42449
|
+
return self._ImageUrl
|
|
42450
|
+
|
|
42451
|
+
@ImageUrl.setter
|
|
42452
|
+
def ImageUrl(self, ImageUrl):
|
|
42453
|
+
self._ImageUrl = ImageUrl
|
|
42454
|
+
|
|
42455
|
+
@property
|
|
42456
|
+
def Text(self):
|
|
42457
|
+
r"""<p>针对该参考图的Prompt描述,仅部分模型是支持。</p>
|
|
42458
|
+
:rtype: str
|
|
42459
|
+
"""
|
|
42460
|
+
return self._Text
|
|
42461
|
+
|
|
42462
|
+
@Text.setter
|
|
42463
|
+
def Text(self, Text):
|
|
42464
|
+
self._Text = Text
|
|
42465
|
+
|
|
42466
|
+
@property
|
|
42467
|
+
def ReferenceType(self):
|
|
42468
|
+
r"""<p>参考类型。</p>
|
|
42469
|
+
:rtype: str
|
|
42470
|
+
"""
|
|
42471
|
+
return self._ReferenceType
|
|
42472
|
+
|
|
42473
|
+
@ReferenceType.setter
|
|
42474
|
+
def ReferenceType(self, ReferenceType):
|
|
42475
|
+
self._ReferenceType = ReferenceType
|
|
42476
|
+
|
|
42477
|
+
|
|
42478
|
+
def _deserialize(self, params):
|
|
42479
|
+
self._ImageUrl = params.get("ImageUrl")
|
|
42480
|
+
self._Text = params.get("Text")
|
|
42481
|
+
self._ReferenceType = params.get("ReferenceType")
|
|
42482
|
+
memeber_set = set(params.keys())
|
|
42483
|
+
for name, value in vars(self).items():
|
|
42484
|
+
property_name = name[1:]
|
|
42485
|
+
if property_name in memeber_set:
|
|
42486
|
+
memeber_set.remove(property_name)
|
|
42487
|
+
if len(memeber_set) > 0:
|
|
42488
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42489
|
+
|
|
42490
|
+
|
|
42491
|
+
|
|
42492
|
+
class SceneVideoReferenceVideoInfo(AbstractModel):
|
|
42493
|
+
r"""用于场景化视频生成的参考视频素材。
|
|
42494
|
+
|
|
42495
|
+
"""
|
|
42496
|
+
|
|
42497
|
+
def __init__(self):
|
|
42498
|
+
r"""
|
|
42499
|
+
:param _VideoUrl: <p>参考视频Url,需外网可访问。</p>
|
|
42500
|
+
:type VideoUrl: str
|
|
42501
|
+
"""
|
|
42502
|
+
self._VideoUrl = None
|
|
42503
|
+
|
|
42504
|
+
@property
|
|
42505
|
+
def VideoUrl(self):
|
|
42506
|
+
r"""<p>参考视频Url,需外网可访问。</p>
|
|
42507
|
+
:rtype: str
|
|
42508
|
+
"""
|
|
42509
|
+
return self._VideoUrl
|
|
42510
|
+
|
|
42511
|
+
@VideoUrl.setter
|
|
42512
|
+
def VideoUrl(self, VideoUrl):
|
|
42513
|
+
self._VideoUrl = VideoUrl
|
|
42514
|
+
|
|
42515
|
+
|
|
42516
|
+
def _deserialize(self, params):
|
|
42517
|
+
self._VideoUrl = params.get("VideoUrl")
|
|
42518
|
+
memeber_set = set(params.keys())
|
|
42519
|
+
for name, value in vars(self).items():
|
|
42520
|
+
property_name = name[1:]
|
|
42521
|
+
if property_name in memeber_set:
|
|
42522
|
+
memeber_set.remove(property_name)
|
|
42523
|
+
if len(memeber_set) > 0:
|
|
42524
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
42525
|
+
|
|
42526
|
+
|
|
42527
|
+
|
|
41751
42528
|
class ScreenshotTask(AbstractModel):
|
|
41752
42529
|
r"""截图任务
|
|
41753
42530
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-live
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.94
|
|
4
4
|
Summary: Tencent Cloud Live 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.94
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.94
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.92
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|