tencentcloud-sdk-python-live 3.1.169__tar.gz → 3.1.171__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.169 → tencentcloud_sdk_python_live-3.1.171}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/setup.py +1 -1
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/live/v20180801/live_client.py +69 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/live/v20180801/live_client_async.py +54 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/live/v20180801/models.py +809 -6
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud_sdk_python_live.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_live-3.1.171/tencentcloud_sdk_python_live.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_live-3.1.169/tencentcloud_sdk_python_live.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/README.rst +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/setup.cfg +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/live/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/live/v20180801/__init__.py +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud/live/v20180801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud_sdk_python_live.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/tencentcloud_sdk_python_live.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_live-3.1.169 → tencentcloud_sdk_python_live-3.1.171}/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.171
|
|
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.171
|
|
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.171,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Live SDK for Python',
|
|
@@ -514,6 +514,29 @@ class LiveClient(AbstractClient):
|
|
|
514
514
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
515
515
|
|
|
516
516
|
|
|
517
|
+
def CreateLiveAvatarCloneFigure(self, request):
|
|
518
|
+
r"""调用该接口,用于创建数字人直播间/AIGC直播间话术。
|
|
519
|
+
|
|
520
|
+
:param request: Request instance for CreateLiveAvatarCloneFigure.
|
|
521
|
+
:type request: :class:`tencentcloud.live.v20180801.models.CreateLiveAvatarCloneFigureRequest`
|
|
522
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CreateLiveAvatarCloneFigureResponse`
|
|
523
|
+
|
|
524
|
+
"""
|
|
525
|
+
try:
|
|
526
|
+
params = request._serialize()
|
|
527
|
+
headers = request.headers
|
|
528
|
+
body = self.call("CreateLiveAvatarCloneFigure", params, headers=headers)
|
|
529
|
+
response = json.loads(body)
|
|
530
|
+
model = models.CreateLiveAvatarCloneFigureResponse()
|
|
531
|
+
model._deserialize(response["Response"])
|
|
532
|
+
return model
|
|
533
|
+
except Exception as e:
|
|
534
|
+
if isinstance(e, TencentCloudSDKException):
|
|
535
|
+
raise
|
|
536
|
+
else:
|
|
537
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
538
|
+
|
|
539
|
+
|
|
517
540
|
def CreateLiveAvatarRoom(self, request):
|
|
518
541
|
r"""调用该接口,用于创建数字人直播间。
|
|
519
542
|
|
|
@@ -1284,6 +1307,29 @@ class LiveClient(AbstractClient):
|
|
|
1284
1307
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1285
1308
|
|
|
1286
1309
|
|
|
1310
|
+
def DeleteLiveAvatarCloneFigure(self, request):
|
|
1311
|
+
r"""调用该接口,用于删除已有的数字人直播间里面的话术。
|
|
1312
|
+
|
|
1313
|
+
:param request: Request instance for DeleteLiveAvatarCloneFigure.
|
|
1314
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DeleteLiveAvatarCloneFigureRequest`
|
|
1315
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DeleteLiveAvatarCloneFigureResponse`
|
|
1316
|
+
|
|
1317
|
+
"""
|
|
1318
|
+
try:
|
|
1319
|
+
params = request._serialize()
|
|
1320
|
+
headers = request.headers
|
|
1321
|
+
body = self.call("DeleteLiveAvatarCloneFigure", params, headers=headers)
|
|
1322
|
+
response = json.loads(body)
|
|
1323
|
+
model = models.DeleteLiveAvatarCloneFigureResponse()
|
|
1324
|
+
model._deserialize(response["Response"])
|
|
1325
|
+
return model
|
|
1326
|
+
except Exception as e:
|
|
1327
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1328
|
+
raise
|
|
1329
|
+
else:
|
|
1330
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1331
|
+
|
|
1332
|
+
|
|
1287
1333
|
def DeleteLiveAvatarRoom(self, request):
|
|
1288
1334
|
r"""调用该接口,用于删除已有的数字人直播间。
|
|
1289
1335
|
|
|
@@ -2401,6 +2447,29 @@ class LiveClient(AbstractClient):
|
|
|
2401
2447
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2402
2448
|
|
|
2403
2449
|
|
|
2450
|
+
def DescribeLiveAvatarCloneFigureList(self, request):
|
|
2451
|
+
r"""调用该接口,查询数字人直播间信息列表。
|
|
2452
|
+
|
|
2453
|
+
:param request: Request instance for DescribeLiveAvatarCloneFigureList.
|
|
2454
|
+
:type request: :class:`tencentcloud.live.v20180801.models.DescribeLiveAvatarCloneFigureListRequest`
|
|
2455
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.DescribeLiveAvatarCloneFigureListResponse`
|
|
2456
|
+
|
|
2457
|
+
"""
|
|
2458
|
+
try:
|
|
2459
|
+
params = request._serialize()
|
|
2460
|
+
headers = request.headers
|
|
2461
|
+
body = self.call("DescribeLiveAvatarCloneFigureList", params, headers=headers)
|
|
2462
|
+
response = json.loads(body)
|
|
2463
|
+
model = models.DescribeLiveAvatarCloneFigureListResponse()
|
|
2464
|
+
model._deserialize(response["Response"])
|
|
2465
|
+
return model
|
|
2466
|
+
except Exception as e:
|
|
2467
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2468
|
+
raise
|
|
2469
|
+
else:
|
|
2470
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2471
|
+
|
|
2472
|
+
|
|
2404
2473
|
def DescribeLiveAvatarImageList(self, request):
|
|
2405
2474
|
r"""调用该接口,获取可用的数字人形象信息列表。包括官方预制形象,以及个人定制形象。
|
|
2406
2475
|
|
|
@@ -408,6 +408,24 @@ class LiveClient(AbstractClient):
|
|
|
408
408
|
|
|
409
409
|
return await self.call_and_deserialize(**kwargs)
|
|
410
410
|
|
|
411
|
+
async def CreateLiveAvatarCloneFigure(
|
|
412
|
+
self,
|
|
413
|
+
request: models.CreateLiveAvatarCloneFigureRequest,
|
|
414
|
+
opts: Dict = None,
|
|
415
|
+
) -> models.CreateLiveAvatarCloneFigureResponse:
|
|
416
|
+
"""
|
|
417
|
+
调用该接口,用于创建数字人直播间/AIGC直播间话术。
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
kwargs = {}
|
|
421
|
+
kwargs["action"] = "CreateLiveAvatarCloneFigure"
|
|
422
|
+
kwargs["params"] = request._serialize()
|
|
423
|
+
kwargs["resp_cls"] = models.CreateLiveAvatarCloneFigureResponse
|
|
424
|
+
kwargs["headers"] = request.headers
|
|
425
|
+
kwargs["opts"] = opts or {}
|
|
426
|
+
|
|
427
|
+
return await self.call_and_deserialize(**kwargs)
|
|
428
|
+
|
|
411
429
|
async def CreateLiveAvatarRoom(
|
|
412
430
|
self,
|
|
413
431
|
request: models.CreateLiveAvatarRoomRequest,
|
|
@@ -1023,6 +1041,24 @@ class LiveClient(AbstractClient):
|
|
|
1023
1041
|
|
|
1024
1042
|
return await self.call_and_deserialize(**kwargs)
|
|
1025
1043
|
|
|
1044
|
+
async def DeleteLiveAvatarCloneFigure(
|
|
1045
|
+
self,
|
|
1046
|
+
request: models.DeleteLiveAvatarCloneFigureRequest,
|
|
1047
|
+
opts: Dict = None,
|
|
1048
|
+
) -> models.DeleteLiveAvatarCloneFigureResponse:
|
|
1049
|
+
"""
|
|
1050
|
+
调用该接口,用于删除已有的数字人直播间里面的话术。
|
|
1051
|
+
"""
|
|
1052
|
+
|
|
1053
|
+
kwargs = {}
|
|
1054
|
+
kwargs["action"] = "DeleteLiveAvatarCloneFigure"
|
|
1055
|
+
kwargs["params"] = request._serialize()
|
|
1056
|
+
kwargs["resp_cls"] = models.DeleteLiveAvatarCloneFigureResponse
|
|
1057
|
+
kwargs["headers"] = request.headers
|
|
1058
|
+
kwargs["opts"] = opts or {}
|
|
1059
|
+
|
|
1060
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1061
|
+
|
|
1026
1062
|
async def DeleteLiveAvatarRoom(
|
|
1027
1063
|
self,
|
|
1028
1064
|
request: models.DeleteLiveAvatarRoomRequest,
|
|
@@ -1900,6 +1936,24 @@ class LiveClient(AbstractClient):
|
|
|
1900
1936
|
|
|
1901
1937
|
return await self.call_and_deserialize(**kwargs)
|
|
1902
1938
|
|
|
1939
|
+
async def DescribeLiveAvatarCloneFigureList(
|
|
1940
|
+
self,
|
|
1941
|
+
request: models.DescribeLiveAvatarCloneFigureListRequest,
|
|
1942
|
+
opts: Dict = None,
|
|
1943
|
+
) -> models.DescribeLiveAvatarCloneFigureListResponse:
|
|
1944
|
+
"""
|
|
1945
|
+
调用该接口,查询数字人直播间信息列表。
|
|
1946
|
+
"""
|
|
1947
|
+
|
|
1948
|
+
kwargs = {}
|
|
1949
|
+
kwargs["action"] = "DescribeLiveAvatarCloneFigureList"
|
|
1950
|
+
kwargs["params"] = request._serialize()
|
|
1951
|
+
kwargs["resp_cls"] = models.DescribeLiveAvatarCloneFigureListResponse
|
|
1952
|
+
kwargs["headers"] = request.headers
|
|
1953
|
+
kwargs["opts"] = opts or {}
|
|
1954
|
+
|
|
1955
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1956
|
+
|
|
1903
1957
|
async def DescribeLiveAvatarImageList(
|
|
1904
1958
|
self,
|
|
1905
1959
|
request: models.DescribeLiveAvatarImageListRequest,
|
|
@@ -7975,6 +7975,190 @@ class CreateCommonMixStreamResponse(AbstractModel):
|
|
|
7975
7975
|
self._RequestId = params.get("RequestId")
|
|
7976
7976
|
|
|
7977
7977
|
|
|
7978
|
+
class CreateLiveAvatarCloneFigureRequest(AbstractModel):
|
|
7979
|
+
r"""CreateLiveAvatarCloneFigure请求参数结构体
|
|
7980
|
+
|
|
7981
|
+
"""
|
|
7982
|
+
|
|
7983
|
+
def __init__(self):
|
|
7984
|
+
r"""
|
|
7985
|
+
:param _SceneType: <p>形象克隆场景类型</p><p>枚举值:</p><ul><li>PHOTO: 图生数字人</li><li>GREEN_SCREEN: 绿幕数字人</li><li>REAL_SHOT: 实景数字人</li></ul>
|
|
7986
|
+
:type SceneType: str
|
|
7987
|
+
:param _FigureName: <p>克隆的形象的名字</p>
|
|
7988
|
+
:type FigureName: str
|
|
7989
|
+
:param _MaterialUrl: <p>克隆的形象的url</p>
|
|
7990
|
+
:type MaterialUrl: str
|
|
7991
|
+
:param _Gender: <p>克隆的形象的性别</p><p>枚举值:</p><ul><li>MALE: 男</li><li>FEMALE: 女</li><li>UNHNOWN: 不知道</li></ul>
|
|
7992
|
+
:type Gender: str
|
|
7993
|
+
:param _IdentityWrittenUrl: <p>授权pdf</p>
|
|
7994
|
+
:type IdentityWrittenUrl: str
|
|
7995
|
+
:param _IdentityVideoUrl: <p>授权视频</p>
|
|
7996
|
+
:type IdentityVideoUrl: str
|
|
7997
|
+
:param _PhotoVersion: <p>图生视频时,动作训练幅度大小</p><p>枚举值:</p><ul><li>0: 只有头部轻微动</li><li>1: 头部跟身体均动</li></ul>
|
|
7998
|
+
:type PhotoVersion: int
|
|
7999
|
+
"""
|
|
8000
|
+
self._SceneType = None
|
|
8001
|
+
self._FigureName = None
|
|
8002
|
+
self._MaterialUrl = None
|
|
8003
|
+
self._Gender = None
|
|
8004
|
+
self._IdentityWrittenUrl = None
|
|
8005
|
+
self._IdentityVideoUrl = None
|
|
8006
|
+
self._PhotoVersion = None
|
|
8007
|
+
|
|
8008
|
+
@property
|
|
8009
|
+
def SceneType(self):
|
|
8010
|
+
r"""<p>形象克隆场景类型</p><p>枚举值:</p><ul><li>PHOTO: 图生数字人</li><li>GREEN_SCREEN: 绿幕数字人</li><li>REAL_SHOT: 实景数字人</li></ul>
|
|
8011
|
+
:rtype: str
|
|
8012
|
+
"""
|
|
8013
|
+
return self._SceneType
|
|
8014
|
+
|
|
8015
|
+
@SceneType.setter
|
|
8016
|
+
def SceneType(self, SceneType):
|
|
8017
|
+
self._SceneType = SceneType
|
|
8018
|
+
|
|
8019
|
+
@property
|
|
8020
|
+
def FigureName(self):
|
|
8021
|
+
r"""<p>克隆的形象的名字</p>
|
|
8022
|
+
:rtype: str
|
|
8023
|
+
"""
|
|
8024
|
+
return self._FigureName
|
|
8025
|
+
|
|
8026
|
+
@FigureName.setter
|
|
8027
|
+
def FigureName(self, FigureName):
|
|
8028
|
+
self._FigureName = FigureName
|
|
8029
|
+
|
|
8030
|
+
@property
|
|
8031
|
+
def MaterialUrl(self):
|
|
8032
|
+
r"""<p>克隆的形象的url</p>
|
|
8033
|
+
:rtype: str
|
|
8034
|
+
"""
|
|
8035
|
+
return self._MaterialUrl
|
|
8036
|
+
|
|
8037
|
+
@MaterialUrl.setter
|
|
8038
|
+
def MaterialUrl(self, MaterialUrl):
|
|
8039
|
+
self._MaterialUrl = MaterialUrl
|
|
8040
|
+
|
|
8041
|
+
@property
|
|
8042
|
+
def Gender(self):
|
|
8043
|
+
r"""<p>克隆的形象的性别</p><p>枚举值:</p><ul><li>MALE: 男</li><li>FEMALE: 女</li><li>UNHNOWN: 不知道</li></ul>
|
|
8044
|
+
:rtype: str
|
|
8045
|
+
"""
|
|
8046
|
+
return self._Gender
|
|
8047
|
+
|
|
8048
|
+
@Gender.setter
|
|
8049
|
+
def Gender(self, Gender):
|
|
8050
|
+
self._Gender = Gender
|
|
8051
|
+
|
|
8052
|
+
@property
|
|
8053
|
+
def IdentityWrittenUrl(self):
|
|
8054
|
+
r"""<p>授权pdf</p>
|
|
8055
|
+
:rtype: str
|
|
8056
|
+
"""
|
|
8057
|
+
return self._IdentityWrittenUrl
|
|
8058
|
+
|
|
8059
|
+
@IdentityWrittenUrl.setter
|
|
8060
|
+
def IdentityWrittenUrl(self, IdentityWrittenUrl):
|
|
8061
|
+
self._IdentityWrittenUrl = IdentityWrittenUrl
|
|
8062
|
+
|
|
8063
|
+
@property
|
|
8064
|
+
def IdentityVideoUrl(self):
|
|
8065
|
+
r"""<p>授权视频</p>
|
|
8066
|
+
:rtype: str
|
|
8067
|
+
"""
|
|
8068
|
+
return self._IdentityVideoUrl
|
|
8069
|
+
|
|
8070
|
+
@IdentityVideoUrl.setter
|
|
8071
|
+
def IdentityVideoUrl(self, IdentityVideoUrl):
|
|
8072
|
+
self._IdentityVideoUrl = IdentityVideoUrl
|
|
8073
|
+
|
|
8074
|
+
@property
|
|
8075
|
+
def PhotoVersion(self):
|
|
8076
|
+
r"""<p>图生视频时,动作训练幅度大小</p><p>枚举值:</p><ul><li>0: 只有头部轻微动</li><li>1: 头部跟身体均动</li></ul>
|
|
8077
|
+
:rtype: int
|
|
8078
|
+
"""
|
|
8079
|
+
return self._PhotoVersion
|
|
8080
|
+
|
|
8081
|
+
@PhotoVersion.setter
|
|
8082
|
+
def PhotoVersion(self, PhotoVersion):
|
|
8083
|
+
self._PhotoVersion = PhotoVersion
|
|
8084
|
+
|
|
8085
|
+
|
|
8086
|
+
def _deserialize(self, params):
|
|
8087
|
+
self._SceneType = params.get("SceneType")
|
|
8088
|
+
self._FigureName = params.get("FigureName")
|
|
8089
|
+
self._MaterialUrl = params.get("MaterialUrl")
|
|
8090
|
+
self._Gender = params.get("Gender")
|
|
8091
|
+
self._IdentityWrittenUrl = params.get("IdentityWrittenUrl")
|
|
8092
|
+
self._IdentityVideoUrl = params.get("IdentityVideoUrl")
|
|
8093
|
+
self._PhotoVersion = params.get("PhotoVersion")
|
|
8094
|
+
memeber_set = set(params.keys())
|
|
8095
|
+
for name, value in vars(self).items():
|
|
8096
|
+
property_name = name[1:]
|
|
8097
|
+
if property_name in memeber_set:
|
|
8098
|
+
memeber_set.remove(property_name)
|
|
8099
|
+
if len(memeber_set) > 0:
|
|
8100
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8101
|
+
|
|
8102
|
+
|
|
8103
|
+
|
|
8104
|
+
class CreateLiveAvatarCloneFigureResponse(AbstractModel):
|
|
8105
|
+
r"""CreateLiveAvatarCloneFigure返回参数结构体
|
|
8106
|
+
|
|
8107
|
+
"""
|
|
8108
|
+
|
|
8109
|
+
def __init__(self):
|
|
8110
|
+
r"""
|
|
8111
|
+
:param _TaskId: <p>该图克隆形象生成的任务id</p>
|
|
8112
|
+
:type TaskId: str
|
|
8113
|
+
:param _Status: <p>该克隆形象返回的状态</p><p>枚举值:</p><ul><li>SUBMITTING: 已受理</li><li>CHECKING: 检查中</li><li>QUEUE: 排队中</li><li>MAKING: 训练中</li><li>CONFIRMING: 效果确认</li><li>SUCCESS: 成功</li><li>FAIL: 失败</li></ul>
|
|
8114
|
+
:type Status: str
|
|
8115
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8116
|
+
:type RequestId: str
|
|
8117
|
+
"""
|
|
8118
|
+
self._TaskId = None
|
|
8119
|
+
self._Status = None
|
|
8120
|
+
self._RequestId = None
|
|
8121
|
+
|
|
8122
|
+
@property
|
|
8123
|
+
def TaskId(self):
|
|
8124
|
+
r"""<p>该图克隆形象生成的任务id</p>
|
|
8125
|
+
:rtype: str
|
|
8126
|
+
"""
|
|
8127
|
+
return self._TaskId
|
|
8128
|
+
|
|
8129
|
+
@TaskId.setter
|
|
8130
|
+
def TaskId(self, TaskId):
|
|
8131
|
+
self._TaskId = TaskId
|
|
8132
|
+
|
|
8133
|
+
@property
|
|
8134
|
+
def Status(self):
|
|
8135
|
+
r"""<p>该克隆形象返回的状态</p><p>枚举值:</p><ul><li>SUBMITTING: 已受理</li><li>CHECKING: 检查中</li><li>QUEUE: 排队中</li><li>MAKING: 训练中</li><li>CONFIRMING: 效果确认</li><li>SUCCESS: 成功</li><li>FAIL: 失败</li></ul>
|
|
8136
|
+
:rtype: str
|
|
8137
|
+
"""
|
|
8138
|
+
return self._Status
|
|
8139
|
+
|
|
8140
|
+
@Status.setter
|
|
8141
|
+
def Status(self, Status):
|
|
8142
|
+
self._Status = Status
|
|
8143
|
+
|
|
8144
|
+
@property
|
|
8145
|
+
def RequestId(self):
|
|
8146
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8147
|
+
:rtype: str
|
|
8148
|
+
"""
|
|
8149
|
+
return self._RequestId
|
|
8150
|
+
|
|
8151
|
+
@RequestId.setter
|
|
8152
|
+
def RequestId(self, RequestId):
|
|
8153
|
+
self._RequestId = RequestId
|
|
8154
|
+
|
|
8155
|
+
|
|
8156
|
+
def _deserialize(self, params):
|
|
8157
|
+
self._TaskId = params.get("TaskId")
|
|
8158
|
+
self._Status = params.get("Status")
|
|
8159
|
+
self._RequestId = params.get("RequestId")
|
|
8160
|
+
|
|
8161
|
+
|
|
7978
8162
|
class CreateLiveAvatarRoomRequest(AbstractModel):
|
|
7979
8163
|
r"""CreateLiveAvatarRoom请求参数结构体
|
|
7980
8164
|
|
|
@@ -7982,17 +8166,26 @@ class CreateLiveAvatarRoomRequest(AbstractModel):
|
|
|
7982
8166
|
|
|
7983
8167
|
def __init__(self):
|
|
7984
8168
|
r"""
|
|
7985
|
-
:param _Name:
|
|
8169
|
+
:param _Name: <p>直播间名称。</p>
|
|
7986
8170
|
:type Name: str
|
|
7987
|
-
:param _Operator:
|
|
8171
|
+
:param _Operator: <p>操作者。</p>
|
|
7988
8172
|
:type Operator: str
|
|
8173
|
+
:param _AvatarKey: <p>形象ID</p>
|
|
8174
|
+
:type AvatarKey: str
|
|
8175
|
+
:param _TimbreKey: <p>音色ID</p>
|
|
8176
|
+
:type TimbreKey: str
|
|
8177
|
+
:param _LiveMode: <p>房间模式</p><p>枚举值:</p><ul><li>INTERACT: 交互模式</li><li>FREE: 自由模式</li><li>NORMAL: 普通模式</li></ul>
|
|
8178
|
+
:type LiveMode: str
|
|
7989
8179
|
"""
|
|
7990
8180
|
self._Name = None
|
|
7991
8181
|
self._Operator = None
|
|
8182
|
+
self._AvatarKey = None
|
|
8183
|
+
self._TimbreKey = None
|
|
8184
|
+
self._LiveMode = None
|
|
7992
8185
|
|
|
7993
8186
|
@property
|
|
7994
8187
|
def Name(self):
|
|
7995
|
-
r"""
|
|
8188
|
+
r"""<p>直播间名称。</p>
|
|
7996
8189
|
:rtype: str
|
|
7997
8190
|
"""
|
|
7998
8191
|
return self._Name
|
|
@@ -8003,7 +8196,7 @@ class CreateLiveAvatarRoomRequest(AbstractModel):
|
|
|
8003
8196
|
|
|
8004
8197
|
@property
|
|
8005
8198
|
def Operator(self):
|
|
8006
|
-
r"""
|
|
8199
|
+
r"""<p>操作者。</p>
|
|
8007
8200
|
:rtype: str
|
|
8008
8201
|
"""
|
|
8009
8202
|
return self._Operator
|
|
@@ -8012,10 +8205,46 @@ class CreateLiveAvatarRoomRequest(AbstractModel):
|
|
|
8012
8205
|
def Operator(self, Operator):
|
|
8013
8206
|
self._Operator = Operator
|
|
8014
8207
|
|
|
8208
|
+
@property
|
|
8209
|
+
def AvatarKey(self):
|
|
8210
|
+
r"""<p>形象ID</p>
|
|
8211
|
+
:rtype: str
|
|
8212
|
+
"""
|
|
8213
|
+
return self._AvatarKey
|
|
8214
|
+
|
|
8215
|
+
@AvatarKey.setter
|
|
8216
|
+
def AvatarKey(self, AvatarKey):
|
|
8217
|
+
self._AvatarKey = AvatarKey
|
|
8218
|
+
|
|
8219
|
+
@property
|
|
8220
|
+
def TimbreKey(self):
|
|
8221
|
+
r"""<p>音色ID</p>
|
|
8222
|
+
:rtype: str
|
|
8223
|
+
"""
|
|
8224
|
+
return self._TimbreKey
|
|
8225
|
+
|
|
8226
|
+
@TimbreKey.setter
|
|
8227
|
+
def TimbreKey(self, TimbreKey):
|
|
8228
|
+
self._TimbreKey = TimbreKey
|
|
8229
|
+
|
|
8230
|
+
@property
|
|
8231
|
+
def LiveMode(self):
|
|
8232
|
+
r"""<p>房间模式</p><p>枚举值:</p><ul><li>INTERACT: 交互模式</li><li>FREE: 自由模式</li><li>NORMAL: 普通模式</li></ul>
|
|
8233
|
+
:rtype: str
|
|
8234
|
+
"""
|
|
8235
|
+
return self._LiveMode
|
|
8236
|
+
|
|
8237
|
+
@LiveMode.setter
|
|
8238
|
+
def LiveMode(self, LiveMode):
|
|
8239
|
+
self._LiveMode = LiveMode
|
|
8240
|
+
|
|
8015
8241
|
|
|
8016
8242
|
def _deserialize(self, params):
|
|
8017
8243
|
self._Name = params.get("Name")
|
|
8018
8244
|
self._Operator = params.get("Operator")
|
|
8245
|
+
self._AvatarKey = params.get("AvatarKey")
|
|
8246
|
+
self._TimbreKey = params.get("TimbreKey")
|
|
8247
|
+
self._LiveMode = params.get("LiveMode")
|
|
8019
8248
|
memeber_set = set(params.keys())
|
|
8020
8249
|
for name, value in vars(self).items():
|
|
8021
8250
|
property_name = name[1:]
|
|
@@ -8033,7 +8262,7 @@ class CreateLiveAvatarRoomResponse(AbstractModel):
|
|
|
8033
8262
|
|
|
8034
8263
|
def __init__(self):
|
|
8035
8264
|
r"""
|
|
8036
|
-
:param _RoomId:
|
|
8265
|
+
:param _RoomId: <p>数字人直播间 ID。</p>
|
|
8037
8266
|
:type RoomId: str
|
|
8038
8267
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8039
8268
|
:type RequestId: str
|
|
@@ -8043,7 +8272,7 @@ class CreateLiveAvatarRoomResponse(AbstractModel):
|
|
|
8043
8272
|
|
|
8044
8273
|
@property
|
|
8045
8274
|
def RoomId(self):
|
|
8046
|
-
r"""
|
|
8275
|
+
r"""<p>数字人直播间 ID。</p>
|
|
8047
8276
|
:rtype: str
|
|
8048
8277
|
"""
|
|
8049
8278
|
return self._RoomId
|
|
@@ -13708,6 +13937,70 @@ class DeleteCasterResponse(AbstractModel):
|
|
|
13708
13937
|
self._RequestId = params.get("RequestId")
|
|
13709
13938
|
|
|
13710
13939
|
|
|
13940
|
+
class DeleteLiveAvatarCloneFigureRequest(AbstractModel):
|
|
13941
|
+
r"""DeleteLiveAvatarCloneFigure请求参数结构体
|
|
13942
|
+
|
|
13943
|
+
"""
|
|
13944
|
+
|
|
13945
|
+
def __init__(self):
|
|
13946
|
+
r"""
|
|
13947
|
+
:param _TaskId: <p>待查的克隆形象的TaskId</p>
|
|
13948
|
+
:type TaskId: str
|
|
13949
|
+
"""
|
|
13950
|
+
self._TaskId = None
|
|
13951
|
+
|
|
13952
|
+
@property
|
|
13953
|
+
def TaskId(self):
|
|
13954
|
+
r"""<p>待查的克隆形象的TaskId</p>
|
|
13955
|
+
:rtype: str
|
|
13956
|
+
"""
|
|
13957
|
+
return self._TaskId
|
|
13958
|
+
|
|
13959
|
+
@TaskId.setter
|
|
13960
|
+
def TaskId(self, TaskId):
|
|
13961
|
+
self._TaskId = TaskId
|
|
13962
|
+
|
|
13963
|
+
|
|
13964
|
+
def _deserialize(self, params):
|
|
13965
|
+
self._TaskId = params.get("TaskId")
|
|
13966
|
+
memeber_set = set(params.keys())
|
|
13967
|
+
for name, value in vars(self).items():
|
|
13968
|
+
property_name = name[1:]
|
|
13969
|
+
if property_name in memeber_set:
|
|
13970
|
+
memeber_set.remove(property_name)
|
|
13971
|
+
if len(memeber_set) > 0:
|
|
13972
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13973
|
+
|
|
13974
|
+
|
|
13975
|
+
|
|
13976
|
+
class DeleteLiveAvatarCloneFigureResponse(AbstractModel):
|
|
13977
|
+
r"""DeleteLiveAvatarCloneFigure返回参数结构体
|
|
13978
|
+
|
|
13979
|
+
"""
|
|
13980
|
+
|
|
13981
|
+
def __init__(self):
|
|
13982
|
+
r"""
|
|
13983
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13984
|
+
:type RequestId: str
|
|
13985
|
+
"""
|
|
13986
|
+
self._RequestId = None
|
|
13987
|
+
|
|
13988
|
+
@property
|
|
13989
|
+
def RequestId(self):
|
|
13990
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13991
|
+
:rtype: str
|
|
13992
|
+
"""
|
|
13993
|
+
return self._RequestId
|
|
13994
|
+
|
|
13995
|
+
@RequestId.setter
|
|
13996
|
+
def RequestId(self, RequestId):
|
|
13997
|
+
self._RequestId = RequestId
|
|
13998
|
+
|
|
13999
|
+
|
|
14000
|
+
def _deserialize(self, params):
|
|
14001
|
+
self._RequestId = params.get("RequestId")
|
|
14002
|
+
|
|
14003
|
+
|
|
13711
14004
|
class DeleteLiveAvatarRoomRequest(AbstractModel):
|
|
13712
14005
|
r"""DeleteLiveAvatarRoom请求参数结构体
|
|
13713
14006
|
|
|
@@ -18551,6 +18844,150 @@ class DescribeLiveAvatarBackgroundListResponse(AbstractModel):
|
|
|
18551
18844
|
self._RequestId = params.get("RequestId")
|
|
18552
18845
|
|
|
18553
18846
|
|
|
18847
|
+
class DescribeLiveAvatarCloneFigureListRequest(AbstractModel):
|
|
18848
|
+
r"""DescribeLiveAvatarCloneFigureList请求参数结构体
|
|
18849
|
+
|
|
18850
|
+
"""
|
|
18851
|
+
|
|
18852
|
+
def __init__(self):
|
|
18853
|
+
r"""
|
|
18854
|
+
:param _TaskId: <p>待查询的克隆形象的TaskId</p>
|
|
18855
|
+
:type TaskId: str
|
|
18856
|
+
:param _Status: <p>根据状态查询克隆形象</p><p>枚举值:</p><ul><li>SUBMITTING: 已受理</li><li>CHECKING: 检查中</li><li>QUEUE: 排队中</li><li>MAKING: 训练中</li><li>CONFIRMING: 效果确认</li><li>SUCCESS: 成功</li><li>FAIL: 失败</li></ul>
|
|
18857
|
+
:type Status: str
|
|
18858
|
+
:param _Limit: <p>期望返回克隆形象的个数(最多20个)</p>
|
|
18859
|
+
:type Limit: str
|
|
18860
|
+
:param _Offset: <p>期望返回克隆形象的起始偏移位置(默认为0)</p>
|
|
18861
|
+
:type Offset: str
|
|
18862
|
+
"""
|
|
18863
|
+
self._TaskId = None
|
|
18864
|
+
self._Status = None
|
|
18865
|
+
self._Limit = None
|
|
18866
|
+
self._Offset = None
|
|
18867
|
+
|
|
18868
|
+
@property
|
|
18869
|
+
def TaskId(self):
|
|
18870
|
+
r"""<p>待查询的克隆形象的TaskId</p>
|
|
18871
|
+
:rtype: str
|
|
18872
|
+
"""
|
|
18873
|
+
return self._TaskId
|
|
18874
|
+
|
|
18875
|
+
@TaskId.setter
|
|
18876
|
+
def TaskId(self, TaskId):
|
|
18877
|
+
self._TaskId = TaskId
|
|
18878
|
+
|
|
18879
|
+
@property
|
|
18880
|
+
def Status(self):
|
|
18881
|
+
r"""<p>根据状态查询克隆形象</p><p>枚举值:</p><ul><li>SUBMITTING: 已受理</li><li>CHECKING: 检查中</li><li>QUEUE: 排队中</li><li>MAKING: 训练中</li><li>CONFIRMING: 效果确认</li><li>SUCCESS: 成功</li><li>FAIL: 失败</li></ul>
|
|
18882
|
+
:rtype: str
|
|
18883
|
+
"""
|
|
18884
|
+
return self._Status
|
|
18885
|
+
|
|
18886
|
+
@Status.setter
|
|
18887
|
+
def Status(self, Status):
|
|
18888
|
+
self._Status = Status
|
|
18889
|
+
|
|
18890
|
+
@property
|
|
18891
|
+
def Limit(self):
|
|
18892
|
+
r"""<p>期望返回克隆形象的个数(最多20个)</p>
|
|
18893
|
+
:rtype: str
|
|
18894
|
+
"""
|
|
18895
|
+
return self._Limit
|
|
18896
|
+
|
|
18897
|
+
@Limit.setter
|
|
18898
|
+
def Limit(self, Limit):
|
|
18899
|
+
self._Limit = Limit
|
|
18900
|
+
|
|
18901
|
+
@property
|
|
18902
|
+
def Offset(self):
|
|
18903
|
+
r"""<p>期望返回克隆形象的起始偏移位置(默认为0)</p>
|
|
18904
|
+
:rtype: str
|
|
18905
|
+
"""
|
|
18906
|
+
return self._Offset
|
|
18907
|
+
|
|
18908
|
+
@Offset.setter
|
|
18909
|
+
def Offset(self, Offset):
|
|
18910
|
+
self._Offset = Offset
|
|
18911
|
+
|
|
18912
|
+
|
|
18913
|
+
def _deserialize(self, params):
|
|
18914
|
+
self._TaskId = params.get("TaskId")
|
|
18915
|
+
self._Status = params.get("Status")
|
|
18916
|
+
self._Limit = params.get("Limit")
|
|
18917
|
+
self._Offset = params.get("Offset")
|
|
18918
|
+
memeber_set = set(params.keys())
|
|
18919
|
+
for name, value in vars(self).items():
|
|
18920
|
+
property_name = name[1:]
|
|
18921
|
+
if property_name in memeber_set:
|
|
18922
|
+
memeber_set.remove(property_name)
|
|
18923
|
+
if len(memeber_set) > 0:
|
|
18924
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18925
|
+
|
|
18926
|
+
|
|
18927
|
+
|
|
18928
|
+
class DescribeLiveAvatarCloneFigureListResponse(AbstractModel):
|
|
18929
|
+
r"""DescribeLiveAvatarCloneFigureList返回参数结构体
|
|
18930
|
+
|
|
18931
|
+
"""
|
|
18932
|
+
|
|
18933
|
+
def __init__(self):
|
|
18934
|
+
r"""
|
|
18935
|
+
:param _CloneFigureList: <p>克隆形象列表</p>
|
|
18936
|
+
:type CloneFigureList: list of LiveAvatarCloneFigureInfo
|
|
18937
|
+
:param _TotalCount: <p>克隆形象总个数</p><p>单位:个</p>
|
|
18938
|
+
:type TotalCount: int
|
|
18939
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18940
|
+
:type RequestId: str
|
|
18941
|
+
"""
|
|
18942
|
+
self._CloneFigureList = None
|
|
18943
|
+
self._TotalCount = None
|
|
18944
|
+
self._RequestId = None
|
|
18945
|
+
|
|
18946
|
+
@property
|
|
18947
|
+
def CloneFigureList(self):
|
|
18948
|
+
r"""<p>克隆形象列表</p>
|
|
18949
|
+
:rtype: list of LiveAvatarCloneFigureInfo
|
|
18950
|
+
"""
|
|
18951
|
+
return self._CloneFigureList
|
|
18952
|
+
|
|
18953
|
+
@CloneFigureList.setter
|
|
18954
|
+
def CloneFigureList(self, CloneFigureList):
|
|
18955
|
+
self._CloneFigureList = CloneFigureList
|
|
18956
|
+
|
|
18957
|
+
@property
|
|
18958
|
+
def TotalCount(self):
|
|
18959
|
+
r"""<p>克隆形象总个数</p><p>单位:个</p>
|
|
18960
|
+
:rtype: int
|
|
18961
|
+
"""
|
|
18962
|
+
return self._TotalCount
|
|
18963
|
+
|
|
18964
|
+
@TotalCount.setter
|
|
18965
|
+
def TotalCount(self, TotalCount):
|
|
18966
|
+
self._TotalCount = TotalCount
|
|
18967
|
+
|
|
18968
|
+
@property
|
|
18969
|
+
def RequestId(self):
|
|
18970
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18971
|
+
:rtype: str
|
|
18972
|
+
"""
|
|
18973
|
+
return self._RequestId
|
|
18974
|
+
|
|
18975
|
+
@RequestId.setter
|
|
18976
|
+
def RequestId(self, RequestId):
|
|
18977
|
+
self._RequestId = RequestId
|
|
18978
|
+
|
|
18979
|
+
|
|
18980
|
+
def _deserialize(self, params):
|
|
18981
|
+
if params.get("CloneFigureList") is not None:
|
|
18982
|
+
self._CloneFigureList = []
|
|
18983
|
+
for item in params.get("CloneFigureList"):
|
|
18984
|
+
obj = LiveAvatarCloneFigureInfo()
|
|
18985
|
+
obj._deserialize(item)
|
|
18986
|
+
self._CloneFigureList.append(obj)
|
|
18987
|
+
self._TotalCount = params.get("TotalCount")
|
|
18988
|
+
self._RequestId = params.get("RequestId")
|
|
18989
|
+
|
|
18990
|
+
|
|
18554
18991
|
class DescribeLiveAvatarImageListRequest(AbstractModel):
|
|
18555
18992
|
r"""DescribeLiveAvatarImageList请求参数结构体
|
|
18556
18993
|
|
|
@@ -31766,6 +32203,312 @@ class InsertTaskTemporaryFilesResponse(AbstractModel):
|
|
|
31766
32203
|
self._RequestId = params.get("RequestId")
|
|
31767
32204
|
|
|
31768
32205
|
|
|
32206
|
+
class LiveAvatarCloneFigureInfo(AbstractModel):
|
|
32207
|
+
r"""数字人直播间克隆形象信息
|
|
32208
|
+
|
|
32209
|
+
"""
|
|
32210
|
+
|
|
32211
|
+
def __init__(self):
|
|
32212
|
+
r"""
|
|
32213
|
+
:param _TaskId: <p>克隆形象任务ID</p>
|
|
32214
|
+
:type TaskId: str
|
|
32215
|
+
:param _SceneType: <p>场景模式</p><p>枚举值:</p><ul><li>PHOTO: 图生形象</li><li>GREEN_SCREEN: 绿幕形象</li><li>REAL_SHOT: 实景形象</li></ul>
|
|
32216
|
+
:type SceneType: str
|
|
32217
|
+
:param _FigureName: <p>形象名称</p>
|
|
32218
|
+
:type FigureName: str
|
|
32219
|
+
:param _Gender: <p>性别:男或者女</p>
|
|
32220
|
+
:type Gender: str
|
|
32221
|
+
:param _Status: <p>状态</p><p>枚举值:</p><ul><li>SUCCESS: 成功</li><li>FAILED: 失败</li><li>PROCESSING: 生成中</li></ul>
|
|
32222
|
+
:type Status: str
|
|
32223
|
+
:param _Progress: <p>进度条</p>
|
|
32224
|
+
:type Progress: int
|
|
32225
|
+
:param _AvatarKey: <p>克隆好的形象在系统的key</p>
|
|
32226
|
+
:type AvatarKey: str
|
|
32227
|
+
:param _FigureImg: <p>形象的图像</p>
|
|
32228
|
+
:type FigureImg: str
|
|
32229
|
+
:param _FailReason: <p>失败原因,成功时,该字段没值</p>
|
|
32230
|
+
:type FailReason: str
|
|
32231
|
+
:param _MaterialUrl: <p>训练视频</p>
|
|
32232
|
+
:type MaterialUrl: str
|
|
32233
|
+
:param _CreateTime: <p>该克隆音色创建的时间</p><p>参数格式:YYYY-MM-DD</p>
|
|
32234
|
+
:type CreateTime: str
|
|
32235
|
+
:param _UpdateTime: <p>更新时间</p><p>参数格式:YYYY-MM</p>
|
|
32236
|
+
:type UpdateTime: str
|
|
32237
|
+
:param _RenewStatus: <p>是否有续期</p>
|
|
32238
|
+
:type RenewStatus: str
|
|
32239
|
+
:param _IsExpired: <p>是否过期</p>
|
|
32240
|
+
:type IsExpired: bool
|
|
32241
|
+
:param _ExpireTime: <p>有效期时间</p><p>参数格式:YYYY-MM</p>
|
|
32242
|
+
:type ExpireTime: str
|
|
32243
|
+
:param _NeedPlayback: <p>是否循环播放(实景克隆形象能使用)</p>
|
|
32244
|
+
:type NeedPlayback: int
|
|
32245
|
+
:param _PhotoVersion: <p>训练幅度,0:表示只有有头部动;1表示头部和手势都有训练</p><p>单位:1</p>
|
|
32246
|
+
:type PhotoVersion: int
|
|
32247
|
+
:param _ConfirmDemoUrls: <p>待确认视频</p>
|
|
32248
|
+
:type ConfirmDemoUrls: str
|
|
32249
|
+
:param _EstimatedCompleteTime: <p>形象克隆完成时间</p><p>参数格式:YYYY-MM</p>
|
|
32250
|
+
:type EstimatedCompleteTime: str
|
|
32251
|
+
"""
|
|
32252
|
+
self._TaskId = None
|
|
32253
|
+
self._SceneType = None
|
|
32254
|
+
self._FigureName = None
|
|
32255
|
+
self._Gender = None
|
|
32256
|
+
self._Status = None
|
|
32257
|
+
self._Progress = None
|
|
32258
|
+
self._AvatarKey = None
|
|
32259
|
+
self._FigureImg = None
|
|
32260
|
+
self._FailReason = None
|
|
32261
|
+
self._MaterialUrl = None
|
|
32262
|
+
self._CreateTime = None
|
|
32263
|
+
self._UpdateTime = None
|
|
32264
|
+
self._RenewStatus = None
|
|
32265
|
+
self._IsExpired = None
|
|
32266
|
+
self._ExpireTime = None
|
|
32267
|
+
self._NeedPlayback = None
|
|
32268
|
+
self._PhotoVersion = None
|
|
32269
|
+
self._ConfirmDemoUrls = None
|
|
32270
|
+
self._EstimatedCompleteTime = None
|
|
32271
|
+
|
|
32272
|
+
@property
|
|
32273
|
+
def TaskId(self):
|
|
32274
|
+
r"""<p>克隆形象任务ID</p>
|
|
32275
|
+
:rtype: str
|
|
32276
|
+
"""
|
|
32277
|
+
return self._TaskId
|
|
32278
|
+
|
|
32279
|
+
@TaskId.setter
|
|
32280
|
+
def TaskId(self, TaskId):
|
|
32281
|
+
self._TaskId = TaskId
|
|
32282
|
+
|
|
32283
|
+
@property
|
|
32284
|
+
def SceneType(self):
|
|
32285
|
+
r"""<p>场景模式</p><p>枚举值:</p><ul><li>PHOTO: 图生形象</li><li>GREEN_SCREEN: 绿幕形象</li><li>REAL_SHOT: 实景形象</li></ul>
|
|
32286
|
+
:rtype: str
|
|
32287
|
+
"""
|
|
32288
|
+
return self._SceneType
|
|
32289
|
+
|
|
32290
|
+
@SceneType.setter
|
|
32291
|
+
def SceneType(self, SceneType):
|
|
32292
|
+
self._SceneType = SceneType
|
|
32293
|
+
|
|
32294
|
+
@property
|
|
32295
|
+
def FigureName(self):
|
|
32296
|
+
r"""<p>形象名称</p>
|
|
32297
|
+
:rtype: str
|
|
32298
|
+
"""
|
|
32299
|
+
return self._FigureName
|
|
32300
|
+
|
|
32301
|
+
@FigureName.setter
|
|
32302
|
+
def FigureName(self, FigureName):
|
|
32303
|
+
self._FigureName = FigureName
|
|
32304
|
+
|
|
32305
|
+
@property
|
|
32306
|
+
def Gender(self):
|
|
32307
|
+
r"""<p>性别:男或者女</p>
|
|
32308
|
+
:rtype: str
|
|
32309
|
+
"""
|
|
32310
|
+
return self._Gender
|
|
32311
|
+
|
|
32312
|
+
@Gender.setter
|
|
32313
|
+
def Gender(self, Gender):
|
|
32314
|
+
self._Gender = Gender
|
|
32315
|
+
|
|
32316
|
+
@property
|
|
32317
|
+
def Status(self):
|
|
32318
|
+
r"""<p>状态</p><p>枚举值:</p><ul><li>SUCCESS: 成功</li><li>FAILED: 失败</li><li>PROCESSING: 生成中</li></ul>
|
|
32319
|
+
:rtype: str
|
|
32320
|
+
"""
|
|
32321
|
+
return self._Status
|
|
32322
|
+
|
|
32323
|
+
@Status.setter
|
|
32324
|
+
def Status(self, Status):
|
|
32325
|
+
self._Status = Status
|
|
32326
|
+
|
|
32327
|
+
@property
|
|
32328
|
+
def Progress(self):
|
|
32329
|
+
r"""<p>进度条</p>
|
|
32330
|
+
:rtype: int
|
|
32331
|
+
"""
|
|
32332
|
+
return self._Progress
|
|
32333
|
+
|
|
32334
|
+
@Progress.setter
|
|
32335
|
+
def Progress(self, Progress):
|
|
32336
|
+
self._Progress = Progress
|
|
32337
|
+
|
|
32338
|
+
@property
|
|
32339
|
+
def AvatarKey(self):
|
|
32340
|
+
r"""<p>克隆好的形象在系统的key</p>
|
|
32341
|
+
:rtype: str
|
|
32342
|
+
"""
|
|
32343
|
+
return self._AvatarKey
|
|
32344
|
+
|
|
32345
|
+
@AvatarKey.setter
|
|
32346
|
+
def AvatarKey(self, AvatarKey):
|
|
32347
|
+
self._AvatarKey = AvatarKey
|
|
32348
|
+
|
|
32349
|
+
@property
|
|
32350
|
+
def FigureImg(self):
|
|
32351
|
+
r"""<p>形象的图像</p>
|
|
32352
|
+
:rtype: str
|
|
32353
|
+
"""
|
|
32354
|
+
return self._FigureImg
|
|
32355
|
+
|
|
32356
|
+
@FigureImg.setter
|
|
32357
|
+
def FigureImg(self, FigureImg):
|
|
32358
|
+
self._FigureImg = FigureImg
|
|
32359
|
+
|
|
32360
|
+
@property
|
|
32361
|
+
def FailReason(self):
|
|
32362
|
+
r"""<p>失败原因,成功时,该字段没值</p>
|
|
32363
|
+
:rtype: str
|
|
32364
|
+
"""
|
|
32365
|
+
return self._FailReason
|
|
32366
|
+
|
|
32367
|
+
@FailReason.setter
|
|
32368
|
+
def FailReason(self, FailReason):
|
|
32369
|
+
self._FailReason = FailReason
|
|
32370
|
+
|
|
32371
|
+
@property
|
|
32372
|
+
def MaterialUrl(self):
|
|
32373
|
+
r"""<p>训练视频</p>
|
|
32374
|
+
:rtype: str
|
|
32375
|
+
"""
|
|
32376
|
+
return self._MaterialUrl
|
|
32377
|
+
|
|
32378
|
+
@MaterialUrl.setter
|
|
32379
|
+
def MaterialUrl(self, MaterialUrl):
|
|
32380
|
+
self._MaterialUrl = MaterialUrl
|
|
32381
|
+
|
|
32382
|
+
@property
|
|
32383
|
+
def CreateTime(self):
|
|
32384
|
+
r"""<p>该克隆音色创建的时间</p><p>参数格式:YYYY-MM-DD</p>
|
|
32385
|
+
:rtype: str
|
|
32386
|
+
"""
|
|
32387
|
+
return self._CreateTime
|
|
32388
|
+
|
|
32389
|
+
@CreateTime.setter
|
|
32390
|
+
def CreateTime(self, CreateTime):
|
|
32391
|
+
self._CreateTime = CreateTime
|
|
32392
|
+
|
|
32393
|
+
@property
|
|
32394
|
+
def UpdateTime(self):
|
|
32395
|
+
r"""<p>更新时间</p><p>参数格式:YYYY-MM</p>
|
|
32396
|
+
:rtype: str
|
|
32397
|
+
"""
|
|
32398
|
+
return self._UpdateTime
|
|
32399
|
+
|
|
32400
|
+
@UpdateTime.setter
|
|
32401
|
+
def UpdateTime(self, UpdateTime):
|
|
32402
|
+
self._UpdateTime = UpdateTime
|
|
32403
|
+
|
|
32404
|
+
@property
|
|
32405
|
+
def RenewStatus(self):
|
|
32406
|
+
r"""<p>是否有续期</p>
|
|
32407
|
+
:rtype: str
|
|
32408
|
+
"""
|
|
32409
|
+
return self._RenewStatus
|
|
32410
|
+
|
|
32411
|
+
@RenewStatus.setter
|
|
32412
|
+
def RenewStatus(self, RenewStatus):
|
|
32413
|
+
self._RenewStatus = RenewStatus
|
|
32414
|
+
|
|
32415
|
+
@property
|
|
32416
|
+
def IsExpired(self):
|
|
32417
|
+
r"""<p>是否过期</p>
|
|
32418
|
+
:rtype: bool
|
|
32419
|
+
"""
|
|
32420
|
+
return self._IsExpired
|
|
32421
|
+
|
|
32422
|
+
@IsExpired.setter
|
|
32423
|
+
def IsExpired(self, IsExpired):
|
|
32424
|
+
self._IsExpired = IsExpired
|
|
32425
|
+
|
|
32426
|
+
@property
|
|
32427
|
+
def ExpireTime(self):
|
|
32428
|
+
r"""<p>有效期时间</p><p>参数格式:YYYY-MM</p>
|
|
32429
|
+
:rtype: str
|
|
32430
|
+
"""
|
|
32431
|
+
return self._ExpireTime
|
|
32432
|
+
|
|
32433
|
+
@ExpireTime.setter
|
|
32434
|
+
def ExpireTime(self, ExpireTime):
|
|
32435
|
+
self._ExpireTime = ExpireTime
|
|
32436
|
+
|
|
32437
|
+
@property
|
|
32438
|
+
def NeedPlayback(self):
|
|
32439
|
+
r"""<p>是否循环播放(实景克隆形象能使用)</p>
|
|
32440
|
+
:rtype: int
|
|
32441
|
+
"""
|
|
32442
|
+
return self._NeedPlayback
|
|
32443
|
+
|
|
32444
|
+
@NeedPlayback.setter
|
|
32445
|
+
def NeedPlayback(self, NeedPlayback):
|
|
32446
|
+
self._NeedPlayback = NeedPlayback
|
|
32447
|
+
|
|
32448
|
+
@property
|
|
32449
|
+
def PhotoVersion(self):
|
|
32450
|
+
r"""<p>训练幅度,0:表示只有有头部动;1表示头部和手势都有训练</p><p>单位:1</p>
|
|
32451
|
+
:rtype: int
|
|
32452
|
+
"""
|
|
32453
|
+
return self._PhotoVersion
|
|
32454
|
+
|
|
32455
|
+
@PhotoVersion.setter
|
|
32456
|
+
def PhotoVersion(self, PhotoVersion):
|
|
32457
|
+
self._PhotoVersion = PhotoVersion
|
|
32458
|
+
|
|
32459
|
+
@property
|
|
32460
|
+
def ConfirmDemoUrls(self):
|
|
32461
|
+
r"""<p>待确认视频</p>
|
|
32462
|
+
:rtype: str
|
|
32463
|
+
"""
|
|
32464
|
+
return self._ConfirmDemoUrls
|
|
32465
|
+
|
|
32466
|
+
@ConfirmDemoUrls.setter
|
|
32467
|
+
def ConfirmDemoUrls(self, ConfirmDemoUrls):
|
|
32468
|
+
self._ConfirmDemoUrls = ConfirmDemoUrls
|
|
32469
|
+
|
|
32470
|
+
@property
|
|
32471
|
+
def EstimatedCompleteTime(self):
|
|
32472
|
+
r"""<p>形象克隆完成时间</p><p>参数格式:YYYY-MM</p>
|
|
32473
|
+
:rtype: str
|
|
32474
|
+
"""
|
|
32475
|
+
return self._EstimatedCompleteTime
|
|
32476
|
+
|
|
32477
|
+
@EstimatedCompleteTime.setter
|
|
32478
|
+
def EstimatedCompleteTime(self, EstimatedCompleteTime):
|
|
32479
|
+
self._EstimatedCompleteTime = EstimatedCompleteTime
|
|
32480
|
+
|
|
32481
|
+
|
|
32482
|
+
def _deserialize(self, params):
|
|
32483
|
+
self._TaskId = params.get("TaskId")
|
|
32484
|
+
self._SceneType = params.get("SceneType")
|
|
32485
|
+
self._FigureName = params.get("FigureName")
|
|
32486
|
+
self._Gender = params.get("Gender")
|
|
32487
|
+
self._Status = params.get("Status")
|
|
32488
|
+
self._Progress = params.get("Progress")
|
|
32489
|
+
self._AvatarKey = params.get("AvatarKey")
|
|
32490
|
+
self._FigureImg = params.get("FigureImg")
|
|
32491
|
+
self._FailReason = params.get("FailReason")
|
|
32492
|
+
self._MaterialUrl = params.get("MaterialUrl")
|
|
32493
|
+
self._CreateTime = params.get("CreateTime")
|
|
32494
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
32495
|
+
self._RenewStatus = params.get("RenewStatus")
|
|
32496
|
+
self._IsExpired = params.get("IsExpired")
|
|
32497
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
32498
|
+
self._NeedPlayback = params.get("NeedPlayback")
|
|
32499
|
+
self._PhotoVersion = params.get("PhotoVersion")
|
|
32500
|
+
self._ConfirmDemoUrls = params.get("ConfirmDemoUrls")
|
|
32501
|
+
self._EstimatedCompleteTime = params.get("EstimatedCompleteTime")
|
|
32502
|
+
memeber_set = set(params.keys())
|
|
32503
|
+
for name, value in vars(self).items():
|
|
32504
|
+
property_name = name[1:]
|
|
32505
|
+
if property_name in memeber_set:
|
|
32506
|
+
memeber_set.remove(property_name)
|
|
32507
|
+
if len(memeber_set) > 0:
|
|
32508
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32509
|
+
|
|
32510
|
+
|
|
32511
|
+
|
|
31769
32512
|
class LiveCertDomainInfo(AbstractModel):
|
|
31770
32513
|
r"""用作批量绑定域名和证书。
|
|
31771
32514
|
|
|
@@ -43124,12 +43867,24 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
43124
43867
|
:type Operator: str
|
|
43125
43868
|
:param _RoomType: <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
43126
43869
|
:type RoomType: str
|
|
43870
|
+
:param _SessionProtocol: <p>交互模式下的协议,支持rtmp和trtc,默认是rtmp</p>
|
|
43871
|
+
:type SessionProtocol: str
|
|
43872
|
+
:param _TrtcSdkAppId: <p>使用trtc协议时,在trtc的appid</p>
|
|
43873
|
+
:type TrtcSdkAppId: str
|
|
43874
|
+
:param _TrtcUserSig: <p>进入房间时需要用UserSign来校验权限</p>
|
|
43875
|
+
:type TrtcUserSig: str
|
|
43876
|
+
:param _TrtcRoomId: <p>要进入的房间</p>
|
|
43877
|
+
:type TrtcRoomId: str
|
|
43127
43878
|
"""
|
|
43128
43879
|
self._RoomId = None
|
|
43129
43880
|
self._Comment = None
|
|
43130
43881
|
self._ToUrl = None
|
|
43131
43882
|
self._Operator = None
|
|
43132
43883
|
self._RoomType = None
|
|
43884
|
+
self._SessionProtocol = None
|
|
43885
|
+
self._TrtcSdkAppId = None
|
|
43886
|
+
self._TrtcUserSig = None
|
|
43887
|
+
self._TrtcRoomId = None
|
|
43133
43888
|
|
|
43134
43889
|
@property
|
|
43135
43890
|
def RoomId(self):
|
|
@@ -43186,6 +43941,50 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
43186
43941
|
def RoomType(self, RoomType):
|
|
43187
43942
|
self._RoomType = RoomType
|
|
43188
43943
|
|
|
43944
|
+
@property
|
|
43945
|
+
def SessionProtocol(self):
|
|
43946
|
+
r"""<p>交互模式下的协议,支持rtmp和trtc,默认是rtmp</p>
|
|
43947
|
+
:rtype: str
|
|
43948
|
+
"""
|
|
43949
|
+
return self._SessionProtocol
|
|
43950
|
+
|
|
43951
|
+
@SessionProtocol.setter
|
|
43952
|
+
def SessionProtocol(self, SessionProtocol):
|
|
43953
|
+
self._SessionProtocol = SessionProtocol
|
|
43954
|
+
|
|
43955
|
+
@property
|
|
43956
|
+
def TrtcSdkAppId(self):
|
|
43957
|
+
r"""<p>使用trtc协议时,在trtc的appid</p>
|
|
43958
|
+
:rtype: str
|
|
43959
|
+
"""
|
|
43960
|
+
return self._TrtcSdkAppId
|
|
43961
|
+
|
|
43962
|
+
@TrtcSdkAppId.setter
|
|
43963
|
+
def TrtcSdkAppId(self, TrtcSdkAppId):
|
|
43964
|
+
self._TrtcSdkAppId = TrtcSdkAppId
|
|
43965
|
+
|
|
43966
|
+
@property
|
|
43967
|
+
def TrtcUserSig(self):
|
|
43968
|
+
r"""<p>进入房间时需要用UserSign来校验权限</p>
|
|
43969
|
+
:rtype: str
|
|
43970
|
+
"""
|
|
43971
|
+
return self._TrtcUserSig
|
|
43972
|
+
|
|
43973
|
+
@TrtcUserSig.setter
|
|
43974
|
+
def TrtcUserSig(self, TrtcUserSig):
|
|
43975
|
+
self._TrtcUserSig = TrtcUserSig
|
|
43976
|
+
|
|
43977
|
+
@property
|
|
43978
|
+
def TrtcRoomId(self):
|
|
43979
|
+
r"""<p>要进入的房间</p>
|
|
43980
|
+
:rtype: str
|
|
43981
|
+
"""
|
|
43982
|
+
return self._TrtcRoomId
|
|
43983
|
+
|
|
43984
|
+
@TrtcRoomId.setter
|
|
43985
|
+
def TrtcRoomId(self, TrtcRoomId):
|
|
43986
|
+
self._TrtcRoomId = TrtcRoomId
|
|
43987
|
+
|
|
43189
43988
|
|
|
43190
43989
|
def _deserialize(self, params):
|
|
43191
43990
|
self._RoomId = params.get("RoomId")
|
|
@@ -43193,6 +43992,10 @@ class StartLiveAvatarRoomRequest(AbstractModel):
|
|
|
43193
43992
|
self._ToUrl = params.get("ToUrl")
|
|
43194
43993
|
self._Operator = params.get("Operator")
|
|
43195
43994
|
self._RoomType = params.get("RoomType")
|
|
43995
|
+
self._SessionProtocol = params.get("SessionProtocol")
|
|
43996
|
+
self._TrtcSdkAppId = params.get("TrtcSdkAppId")
|
|
43997
|
+
self._TrtcUserSig = params.get("TrtcUserSig")
|
|
43998
|
+
self._TrtcRoomId = params.get("TrtcRoomId")
|
|
43196
43999
|
memeber_set = set(params.keys())
|
|
43197
44000
|
for name, value in vars(self).items():
|
|
43198
44001
|
property_name = name[1:]
|
|
@@ -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.171
|
|
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.171
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.171
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|