tencentcloud-sdk-python-vod 3.1.114__tar.gz → 3.1.126__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_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/setup.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20180717/models.py +681 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20180717/vod_client.py +100 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20180717/vod_client_async.py +80 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vod-3.1.126/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vod-3.1.114/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/README.rst +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20180717/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20240718/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20240718/models.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20240718/vod_client.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.114 → tencentcloud_sdk_python_vod-3.1.126}/tencentcloud_sdk_python_vod.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.126
|
|
4
4
|
Summary: Tencent Cloud Vod 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.126
|
|
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-vod',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.126,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vod SDK for Python',
|
|
@@ -12845,6 +12845,87 @@ class AigcImageTaskOutputFileInfo(AbstractModel):
|
|
|
12845
12845
|
|
|
12846
12846
|
|
|
12847
12847
|
|
|
12848
|
+
class AigcQuotaItem(AbstractModel):
|
|
12849
|
+
r"""AIGC 配额
|
|
12850
|
+
|
|
12851
|
+
"""
|
|
12852
|
+
|
|
12853
|
+
def __init__(self):
|
|
12854
|
+
r"""
|
|
12855
|
+
:param _QuotaType: <p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
12856
|
+
:type QuotaType: str
|
|
12857
|
+
:param _ApiToken: <p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
12858
|
+
:type ApiToken: str
|
|
12859
|
+
:param _QuotaLimit: <p>任务的配额数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
12860
|
+
:type QuotaLimit: int
|
|
12861
|
+
:param _Usage: <p>已经使用的用量数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
12862
|
+
:type Usage: int
|
|
12863
|
+
"""
|
|
12864
|
+
self._QuotaType = None
|
|
12865
|
+
self._ApiToken = None
|
|
12866
|
+
self._QuotaLimit = None
|
|
12867
|
+
self._Usage = None
|
|
12868
|
+
|
|
12869
|
+
@property
|
|
12870
|
+
def QuotaType(self):
|
|
12871
|
+
r"""<p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
12872
|
+
:rtype: str
|
|
12873
|
+
"""
|
|
12874
|
+
return self._QuotaType
|
|
12875
|
+
|
|
12876
|
+
@QuotaType.setter
|
|
12877
|
+
def QuotaType(self, QuotaType):
|
|
12878
|
+
self._QuotaType = QuotaType
|
|
12879
|
+
|
|
12880
|
+
@property
|
|
12881
|
+
def ApiToken(self):
|
|
12882
|
+
r"""<p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
12883
|
+
:rtype: str
|
|
12884
|
+
"""
|
|
12885
|
+
return self._ApiToken
|
|
12886
|
+
|
|
12887
|
+
@ApiToken.setter
|
|
12888
|
+
def ApiToken(self, ApiToken):
|
|
12889
|
+
self._ApiToken = ApiToken
|
|
12890
|
+
|
|
12891
|
+
@property
|
|
12892
|
+
def QuotaLimit(self):
|
|
12893
|
+
r"""<p>任务的配额数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
12894
|
+
:rtype: int
|
|
12895
|
+
"""
|
|
12896
|
+
return self._QuotaLimit
|
|
12897
|
+
|
|
12898
|
+
@QuotaLimit.setter
|
|
12899
|
+
def QuotaLimit(self, QuotaLimit):
|
|
12900
|
+
self._QuotaLimit = QuotaLimit
|
|
12901
|
+
|
|
12902
|
+
@property
|
|
12903
|
+
def Usage(self):
|
|
12904
|
+
r"""<p>已经使用的用量数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
12905
|
+
:rtype: int
|
|
12906
|
+
"""
|
|
12907
|
+
return self._Usage
|
|
12908
|
+
|
|
12909
|
+
@Usage.setter
|
|
12910
|
+
def Usage(self, Usage):
|
|
12911
|
+
self._Usage = Usage
|
|
12912
|
+
|
|
12913
|
+
|
|
12914
|
+
def _deserialize(self, params):
|
|
12915
|
+
self._QuotaType = params.get("QuotaType")
|
|
12916
|
+
self._ApiToken = params.get("ApiToken")
|
|
12917
|
+
self._QuotaLimit = params.get("QuotaLimit")
|
|
12918
|
+
self._Usage = params.get("Usage")
|
|
12919
|
+
memeber_set = set(params.keys())
|
|
12920
|
+
for name, value in vars(self).items():
|
|
12921
|
+
property_name = name[1:]
|
|
12922
|
+
if property_name in memeber_set:
|
|
12923
|
+
memeber_set.remove(property_name)
|
|
12924
|
+
if len(memeber_set) > 0:
|
|
12925
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12926
|
+
|
|
12927
|
+
|
|
12928
|
+
|
|
12848
12929
|
class AigcUsageDataItem(AbstractModel):
|
|
12849
12930
|
r"""AIGC 统计数据
|
|
12850
12931
|
|
|
@@ -23963,6 +24044,115 @@ class CreateAigcImageTaskResponse(AbstractModel):
|
|
|
23963
24044
|
self._RequestId = params.get("RequestId")
|
|
23964
24045
|
|
|
23965
24046
|
|
|
24047
|
+
class CreateAigcQuotaRequest(AbstractModel):
|
|
24048
|
+
r"""CreateAigcQuota请求参数结构体
|
|
24049
|
+
|
|
24050
|
+
"""
|
|
24051
|
+
|
|
24052
|
+
def __init__(self):
|
|
24053
|
+
r"""
|
|
24054
|
+
:param _SubAppId: <p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
24055
|
+
:type SubAppId: int
|
|
24056
|
+
:param _QuotaType: <p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
24057
|
+
:type QuotaType: str
|
|
24058
|
+
:param _QuotaLimit: <p>任务的配额数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
24059
|
+
:type QuotaLimit: int
|
|
24060
|
+
:param _ApiToken: <p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
24061
|
+
:type ApiToken: str
|
|
24062
|
+
"""
|
|
24063
|
+
self._SubAppId = None
|
|
24064
|
+
self._QuotaType = None
|
|
24065
|
+
self._QuotaLimit = None
|
|
24066
|
+
self._ApiToken = None
|
|
24067
|
+
|
|
24068
|
+
@property
|
|
24069
|
+
def SubAppId(self):
|
|
24070
|
+
r"""<p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
24071
|
+
:rtype: int
|
|
24072
|
+
"""
|
|
24073
|
+
return self._SubAppId
|
|
24074
|
+
|
|
24075
|
+
@SubAppId.setter
|
|
24076
|
+
def SubAppId(self, SubAppId):
|
|
24077
|
+
self._SubAppId = SubAppId
|
|
24078
|
+
|
|
24079
|
+
@property
|
|
24080
|
+
def QuotaType(self):
|
|
24081
|
+
r"""<p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
24082
|
+
:rtype: str
|
|
24083
|
+
"""
|
|
24084
|
+
return self._QuotaType
|
|
24085
|
+
|
|
24086
|
+
@QuotaType.setter
|
|
24087
|
+
def QuotaType(self, QuotaType):
|
|
24088
|
+
self._QuotaType = QuotaType
|
|
24089
|
+
|
|
24090
|
+
@property
|
|
24091
|
+
def QuotaLimit(self):
|
|
24092
|
+
r"""<p>任务的配额数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
24093
|
+
:rtype: int
|
|
24094
|
+
"""
|
|
24095
|
+
return self._QuotaLimit
|
|
24096
|
+
|
|
24097
|
+
@QuotaLimit.setter
|
|
24098
|
+
def QuotaLimit(self, QuotaLimit):
|
|
24099
|
+
self._QuotaLimit = QuotaLimit
|
|
24100
|
+
|
|
24101
|
+
@property
|
|
24102
|
+
def ApiToken(self):
|
|
24103
|
+
r"""<p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
24104
|
+
:rtype: str
|
|
24105
|
+
"""
|
|
24106
|
+
return self._ApiToken
|
|
24107
|
+
|
|
24108
|
+
@ApiToken.setter
|
|
24109
|
+
def ApiToken(self, ApiToken):
|
|
24110
|
+
self._ApiToken = ApiToken
|
|
24111
|
+
|
|
24112
|
+
|
|
24113
|
+
def _deserialize(self, params):
|
|
24114
|
+
self._SubAppId = params.get("SubAppId")
|
|
24115
|
+
self._QuotaType = params.get("QuotaType")
|
|
24116
|
+
self._QuotaLimit = params.get("QuotaLimit")
|
|
24117
|
+
self._ApiToken = params.get("ApiToken")
|
|
24118
|
+
memeber_set = set(params.keys())
|
|
24119
|
+
for name, value in vars(self).items():
|
|
24120
|
+
property_name = name[1:]
|
|
24121
|
+
if property_name in memeber_set:
|
|
24122
|
+
memeber_set.remove(property_name)
|
|
24123
|
+
if len(memeber_set) > 0:
|
|
24124
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
24125
|
+
|
|
24126
|
+
|
|
24127
|
+
|
|
24128
|
+
class CreateAigcQuotaResponse(AbstractModel):
|
|
24129
|
+
r"""CreateAigcQuota返回参数结构体
|
|
24130
|
+
|
|
24131
|
+
"""
|
|
24132
|
+
|
|
24133
|
+
def __init__(self):
|
|
24134
|
+
r"""
|
|
24135
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24136
|
+
:type RequestId: str
|
|
24137
|
+
"""
|
|
24138
|
+
self._RequestId = None
|
|
24139
|
+
|
|
24140
|
+
@property
|
|
24141
|
+
def RequestId(self):
|
|
24142
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
24143
|
+
:rtype: str
|
|
24144
|
+
"""
|
|
24145
|
+
return self._RequestId
|
|
24146
|
+
|
|
24147
|
+
@RequestId.setter
|
|
24148
|
+
def RequestId(self, RequestId):
|
|
24149
|
+
self._RequestId = RequestId
|
|
24150
|
+
|
|
24151
|
+
|
|
24152
|
+
def _deserialize(self, params):
|
|
24153
|
+
self._RequestId = params.get("RequestId")
|
|
24154
|
+
|
|
24155
|
+
|
|
23966
24156
|
class CreateAigcSubjectInput(AbstractModel):
|
|
23967
24157
|
r"""创建主体输入信息。
|
|
23968
24158
|
|
|
@@ -31706,6 +31896,100 @@ class DeleteAigcApiTokenResponse(AbstractModel):
|
|
|
31706
31896
|
self._RequestId = params.get("RequestId")
|
|
31707
31897
|
|
|
31708
31898
|
|
|
31899
|
+
class DeleteAigcQuotaRequest(AbstractModel):
|
|
31900
|
+
r"""DeleteAigcQuota请求参数结构体
|
|
31901
|
+
|
|
31902
|
+
"""
|
|
31903
|
+
|
|
31904
|
+
def __init__(self):
|
|
31905
|
+
r"""
|
|
31906
|
+
:param _SubAppId: <p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
31907
|
+
:type SubAppId: int
|
|
31908
|
+
:param _QuotaType: <p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
31909
|
+
:type QuotaType: str
|
|
31910
|
+
:param _ApiToken: <p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
31911
|
+
:type ApiToken: str
|
|
31912
|
+
"""
|
|
31913
|
+
self._SubAppId = None
|
|
31914
|
+
self._QuotaType = None
|
|
31915
|
+
self._ApiToken = None
|
|
31916
|
+
|
|
31917
|
+
@property
|
|
31918
|
+
def SubAppId(self):
|
|
31919
|
+
r"""<p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
31920
|
+
:rtype: int
|
|
31921
|
+
"""
|
|
31922
|
+
return self._SubAppId
|
|
31923
|
+
|
|
31924
|
+
@SubAppId.setter
|
|
31925
|
+
def SubAppId(self, SubAppId):
|
|
31926
|
+
self._SubAppId = SubAppId
|
|
31927
|
+
|
|
31928
|
+
@property
|
|
31929
|
+
def QuotaType(self):
|
|
31930
|
+
r"""<p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
31931
|
+
:rtype: str
|
|
31932
|
+
"""
|
|
31933
|
+
return self._QuotaType
|
|
31934
|
+
|
|
31935
|
+
@QuotaType.setter
|
|
31936
|
+
def QuotaType(self, QuotaType):
|
|
31937
|
+
self._QuotaType = QuotaType
|
|
31938
|
+
|
|
31939
|
+
@property
|
|
31940
|
+
def ApiToken(self):
|
|
31941
|
+
r"""<p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
31942
|
+
:rtype: str
|
|
31943
|
+
"""
|
|
31944
|
+
return self._ApiToken
|
|
31945
|
+
|
|
31946
|
+
@ApiToken.setter
|
|
31947
|
+
def ApiToken(self, ApiToken):
|
|
31948
|
+
self._ApiToken = ApiToken
|
|
31949
|
+
|
|
31950
|
+
|
|
31951
|
+
def _deserialize(self, params):
|
|
31952
|
+
self._SubAppId = params.get("SubAppId")
|
|
31953
|
+
self._QuotaType = params.get("QuotaType")
|
|
31954
|
+
self._ApiToken = params.get("ApiToken")
|
|
31955
|
+
memeber_set = set(params.keys())
|
|
31956
|
+
for name, value in vars(self).items():
|
|
31957
|
+
property_name = name[1:]
|
|
31958
|
+
if property_name in memeber_set:
|
|
31959
|
+
memeber_set.remove(property_name)
|
|
31960
|
+
if len(memeber_set) > 0:
|
|
31961
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
31962
|
+
|
|
31963
|
+
|
|
31964
|
+
|
|
31965
|
+
class DeleteAigcQuotaResponse(AbstractModel):
|
|
31966
|
+
r"""DeleteAigcQuota返回参数结构体
|
|
31967
|
+
|
|
31968
|
+
"""
|
|
31969
|
+
|
|
31970
|
+
def __init__(self):
|
|
31971
|
+
r"""
|
|
31972
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31973
|
+
:type RequestId: str
|
|
31974
|
+
"""
|
|
31975
|
+
self._RequestId = None
|
|
31976
|
+
|
|
31977
|
+
@property
|
|
31978
|
+
def RequestId(self):
|
|
31979
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
31980
|
+
:rtype: str
|
|
31981
|
+
"""
|
|
31982
|
+
return self._RequestId
|
|
31983
|
+
|
|
31984
|
+
@RequestId.setter
|
|
31985
|
+
def RequestId(self, RequestId):
|
|
31986
|
+
self._RequestId = RequestId
|
|
31987
|
+
|
|
31988
|
+
|
|
31989
|
+
def _deserialize(self, params):
|
|
31990
|
+
self._RequestId = params.get("RequestId")
|
|
31991
|
+
|
|
31992
|
+
|
|
31709
31993
|
class DeleteAnimatedGraphicsTemplateRequest(AbstractModel):
|
|
31710
31994
|
r"""DeleteAnimatedGraphicsTemplate请求参数结构体
|
|
31711
31995
|
|
|
@@ -35061,6 +35345,165 @@ class DescribeAigcFaceInfoResponse(AbstractModel):
|
|
|
35061
35345
|
self._RequestId = params.get("RequestId")
|
|
35062
35346
|
|
|
35063
35347
|
|
|
35348
|
+
class DescribeAigcQuotasRequest(AbstractModel):
|
|
35349
|
+
r"""DescribeAigcQuotas请求参数结构体
|
|
35350
|
+
|
|
35351
|
+
"""
|
|
35352
|
+
|
|
35353
|
+
def __init__(self):
|
|
35354
|
+
r"""
|
|
35355
|
+
:param _SubAppId: <p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
35356
|
+
:type SubAppId: int
|
|
35357
|
+
:param _QuotaType: <p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
35358
|
+
:type QuotaType: str
|
|
35359
|
+
:param _ApiToken: <p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
35360
|
+
:type ApiToken: str
|
|
35361
|
+
:param _Limit: <p>分页返回的记录条数,将返回第 Offset 到第 Offset+Limit-1 条。</p><p>取值范围:[1, 100]</p><p>默认值:10</p>
|
|
35362
|
+
:type Limit: int
|
|
35363
|
+
:param _Offset: <p>分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。</p><p>默认值:0</p>
|
|
35364
|
+
:type Offset: int
|
|
35365
|
+
"""
|
|
35366
|
+
self._SubAppId = None
|
|
35367
|
+
self._QuotaType = None
|
|
35368
|
+
self._ApiToken = None
|
|
35369
|
+
self._Limit = None
|
|
35370
|
+
self._Offset = None
|
|
35371
|
+
|
|
35372
|
+
@property
|
|
35373
|
+
def SubAppId(self):
|
|
35374
|
+
r"""<p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
35375
|
+
:rtype: int
|
|
35376
|
+
"""
|
|
35377
|
+
return self._SubAppId
|
|
35378
|
+
|
|
35379
|
+
@SubAppId.setter
|
|
35380
|
+
def SubAppId(self, SubAppId):
|
|
35381
|
+
self._SubAppId = SubAppId
|
|
35382
|
+
|
|
35383
|
+
@property
|
|
35384
|
+
def QuotaType(self):
|
|
35385
|
+
r"""<p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
35386
|
+
:rtype: str
|
|
35387
|
+
"""
|
|
35388
|
+
return self._QuotaType
|
|
35389
|
+
|
|
35390
|
+
@QuotaType.setter
|
|
35391
|
+
def QuotaType(self, QuotaType):
|
|
35392
|
+
self._QuotaType = QuotaType
|
|
35393
|
+
|
|
35394
|
+
@property
|
|
35395
|
+
def ApiToken(self):
|
|
35396
|
+
r"""<p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
35397
|
+
:rtype: str
|
|
35398
|
+
"""
|
|
35399
|
+
return self._ApiToken
|
|
35400
|
+
|
|
35401
|
+
@ApiToken.setter
|
|
35402
|
+
def ApiToken(self, ApiToken):
|
|
35403
|
+
self._ApiToken = ApiToken
|
|
35404
|
+
|
|
35405
|
+
@property
|
|
35406
|
+
def Limit(self):
|
|
35407
|
+
r"""<p>分页返回的记录条数,将返回第 Offset 到第 Offset+Limit-1 条。</p><p>取值范围:[1, 100]</p><p>默认值:10</p>
|
|
35408
|
+
:rtype: int
|
|
35409
|
+
"""
|
|
35410
|
+
return self._Limit
|
|
35411
|
+
|
|
35412
|
+
@Limit.setter
|
|
35413
|
+
def Limit(self, Limit):
|
|
35414
|
+
self._Limit = Limit
|
|
35415
|
+
|
|
35416
|
+
@property
|
|
35417
|
+
def Offset(self):
|
|
35418
|
+
r"""<p>分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。</p><p>默认值:0</p>
|
|
35419
|
+
:rtype: int
|
|
35420
|
+
"""
|
|
35421
|
+
return self._Offset
|
|
35422
|
+
|
|
35423
|
+
@Offset.setter
|
|
35424
|
+
def Offset(self, Offset):
|
|
35425
|
+
self._Offset = Offset
|
|
35426
|
+
|
|
35427
|
+
|
|
35428
|
+
def _deserialize(self, params):
|
|
35429
|
+
self._SubAppId = params.get("SubAppId")
|
|
35430
|
+
self._QuotaType = params.get("QuotaType")
|
|
35431
|
+
self._ApiToken = params.get("ApiToken")
|
|
35432
|
+
self._Limit = params.get("Limit")
|
|
35433
|
+
self._Offset = params.get("Offset")
|
|
35434
|
+
memeber_set = set(params.keys())
|
|
35435
|
+
for name, value in vars(self).items():
|
|
35436
|
+
property_name = name[1:]
|
|
35437
|
+
if property_name in memeber_set:
|
|
35438
|
+
memeber_set.remove(property_name)
|
|
35439
|
+
if len(memeber_set) > 0:
|
|
35440
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35441
|
+
|
|
35442
|
+
|
|
35443
|
+
|
|
35444
|
+
class DescribeAigcQuotasResponse(AbstractModel):
|
|
35445
|
+
r"""DescribeAigcQuotas返回参数结构体
|
|
35446
|
+
|
|
35447
|
+
"""
|
|
35448
|
+
|
|
35449
|
+
def __init__(self):
|
|
35450
|
+
r"""
|
|
35451
|
+
:param _QuotaSet: <p>配额列表</p>
|
|
35452
|
+
:type QuotaSet: list of AigcQuotaItem
|
|
35453
|
+
:param _TotalCount: <p>总条数</p>
|
|
35454
|
+
:type TotalCount: int
|
|
35455
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
35456
|
+
:type RequestId: str
|
|
35457
|
+
"""
|
|
35458
|
+
self._QuotaSet = None
|
|
35459
|
+
self._TotalCount = None
|
|
35460
|
+
self._RequestId = None
|
|
35461
|
+
|
|
35462
|
+
@property
|
|
35463
|
+
def QuotaSet(self):
|
|
35464
|
+
r"""<p>配额列表</p>
|
|
35465
|
+
:rtype: list of AigcQuotaItem
|
|
35466
|
+
"""
|
|
35467
|
+
return self._QuotaSet
|
|
35468
|
+
|
|
35469
|
+
@QuotaSet.setter
|
|
35470
|
+
def QuotaSet(self, QuotaSet):
|
|
35471
|
+
self._QuotaSet = QuotaSet
|
|
35472
|
+
|
|
35473
|
+
@property
|
|
35474
|
+
def TotalCount(self):
|
|
35475
|
+
r"""<p>总条数</p>
|
|
35476
|
+
:rtype: int
|
|
35477
|
+
"""
|
|
35478
|
+
return self._TotalCount
|
|
35479
|
+
|
|
35480
|
+
@TotalCount.setter
|
|
35481
|
+
def TotalCount(self, TotalCount):
|
|
35482
|
+
self._TotalCount = TotalCount
|
|
35483
|
+
|
|
35484
|
+
@property
|
|
35485
|
+
def RequestId(self):
|
|
35486
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
35487
|
+
:rtype: str
|
|
35488
|
+
"""
|
|
35489
|
+
return self._RequestId
|
|
35490
|
+
|
|
35491
|
+
@RequestId.setter
|
|
35492
|
+
def RequestId(self, RequestId):
|
|
35493
|
+
self._RequestId = RequestId
|
|
35494
|
+
|
|
35495
|
+
|
|
35496
|
+
def _deserialize(self, params):
|
|
35497
|
+
if params.get("QuotaSet") is not None:
|
|
35498
|
+
self._QuotaSet = []
|
|
35499
|
+
for item in params.get("QuotaSet"):
|
|
35500
|
+
obj = AigcQuotaItem()
|
|
35501
|
+
obj._deserialize(item)
|
|
35502
|
+
self._QuotaSet.append(obj)
|
|
35503
|
+
self._TotalCount = params.get("TotalCount")
|
|
35504
|
+
self._RequestId = params.get("RequestId")
|
|
35505
|
+
|
|
35506
|
+
|
|
35064
35507
|
class DescribeAigcUsageDataRequest(AbstractModel):
|
|
35065
35508
|
r"""DescribeAigcUsageData请求参数结构体
|
|
35066
35509
|
|
|
@@ -53691,6 +54134,115 @@ class JustInTimeTranscodeTemplate(AbstractModel):
|
|
|
53691
54134
|
|
|
53692
54135
|
|
|
53693
54136
|
|
|
54137
|
+
class KnowledgeAnalysisInfo(AbstractModel):
|
|
54138
|
+
r"""知识库媒体分析信息。
|
|
54139
|
+
|
|
54140
|
+
"""
|
|
54141
|
+
|
|
54142
|
+
def __init__(self):
|
|
54143
|
+
r"""
|
|
54144
|
+
:param _Definition: <p>大模型解析模板号</p>
|
|
54145
|
+
:type Definition: int
|
|
54146
|
+
:param _AnalysisResults: <p>大模型解析结果</p>
|
|
54147
|
+
:type AnalysisResults: list of KnowledgeAnalysisResult
|
|
54148
|
+
"""
|
|
54149
|
+
self._Definition = None
|
|
54150
|
+
self._AnalysisResults = None
|
|
54151
|
+
|
|
54152
|
+
@property
|
|
54153
|
+
def Definition(self):
|
|
54154
|
+
r"""<p>大模型解析模板号</p>
|
|
54155
|
+
:rtype: int
|
|
54156
|
+
"""
|
|
54157
|
+
return self._Definition
|
|
54158
|
+
|
|
54159
|
+
@Definition.setter
|
|
54160
|
+
def Definition(self, Definition):
|
|
54161
|
+
self._Definition = Definition
|
|
54162
|
+
|
|
54163
|
+
@property
|
|
54164
|
+
def AnalysisResults(self):
|
|
54165
|
+
r"""<p>大模型解析结果</p>
|
|
54166
|
+
:rtype: list of KnowledgeAnalysisResult
|
|
54167
|
+
"""
|
|
54168
|
+
return self._AnalysisResults
|
|
54169
|
+
|
|
54170
|
+
@AnalysisResults.setter
|
|
54171
|
+
def AnalysisResults(self, AnalysisResults):
|
|
54172
|
+
self._AnalysisResults = AnalysisResults
|
|
54173
|
+
|
|
54174
|
+
|
|
54175
|
+
def _deserialize(self, params):
|
|
54176
|
+
self._Definition = params.get("Definition")
|
|
54177
|
+
if params.get("AnalysisResults") is not None:
|
|
54178
|
+
self._AnalysisResults = []
|
|
54179
|
+
for item in params.get("AnalysisResults"):
|
|
54180
|
+
obj = KnowledgeAnalysisResult()
|
|
54181
|
+
obj._deserialize(item)
|
|
54182
|
+
self._AnalysisResults.append(obj)
|
|
54183
|
+
memeber_set = set(params.keys())
|
|
54184
|
+
for name, value in vars(self).items():
|
|
54185
|
+
property_name = name[1:]
|
|
54186
|
+
if property_name in memeber_set:
|
|
54187
|
+
memeber_set.remove(property_name)
|
|
54188
|
+
if len(memeber_set) > 0:
|
|
54189
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
54190
|
+
|
|
54191
|
+
|
|
54192
|
+
|
|
54193
|
+
class KnowledgeAnalysisResult(AbstractModel):
|
|
54194
|
+
r"""知识库媒体分析结果。
|
|
54195
|
+
|
|
54196
|
+
"""
|
|
54197
|
+
|
|
54198
|
+
def __init__(self):
|
|
54199
|
+
r"""
|
|
54200
|
+
:param _TaskType: <p>处理任务类型</p><p>枚举值:</p><ul><li>AiAnalysis.DescriptionTask: 智能摘要任务</li><li>AiAnalysis.VideoComprehensionTask: 视频理解任务</li><li>SmartSubtitle.AsrFullTextTask: 智能语音全文识别任务</li></ul>
|
|
54201
|
+
:type TaskType: str
|
|
54202
|
+
:param _File: <p>任务输出文件集合</p>
|
|
54203
|
+
:type File: :class:`tencentcloud.vod.v20180717.models.MPSOutputFileInfo`
|
|
54204
|
+
"""
|
|
54205
|
+
self._TaskType = None
|
|
54206
|
+
self._File = None
|
|
54207
|
+
|
|
54208
|
+
@property
|
|
54209
|
+
def TaskType(self):
|
|
54210
|
+
r"""<p>处理任务类型</p><p>枚举值:</p><ul><li>AiAnalysis.DescriptionTask: 智能摘要任务</li><li>AiAnalysis.VideoComprehensionTask: 视频理解任务</li><li>SmartSubtitle.AsrFullTextTask: 智能语音全文识别任务</li></ul>
|
|
54211
|
+
:rtype: str
|
|
54212
|
+
"""
|
|
54213
|
+
return self._TaskType
|
|
54214
|
+
|
|
54215
|
+
@TaskType.setter
|
|
54216
|
+
def TaskType(self, TaskType):
|
|
54217
|
+
self._TaskType = TaskType
|
|
54218
|
+
|
|
54219
|
+
@property
|
|
54220
|
+
def File(self):
|
|
54221
|
+
r"""<p>任务输出文件集合</p>
|
|
54222
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.MPSOutputFileInfo`
|
|
54223
|
+
"""
|
|
54224
|
+
return self._File
|
|
54225
|
+
|
|
54226
|
+
@File.setter
|
|
54227
|
+
def File(self, File):
|
|
54228
|
+
self._File = File
|
|
54229
|
+
|
|
54230
|
+
|
|
54231
|
+
def _deserialize(self, params):
|
|
54232
|
+
self._TaskType = params.get("TaskType")
|
|
54233
|
+
if params.get("File") is not None:
|
|
54234
|
+
self._File = MPSOutputFileInfo()
|
|
54235
|
+
self._File._deserialize(params.get("File"))
|
|
54236
|
+
memeber_set = set(params.keys())
|
|
54237
|
+
for name, value in vars(self).items():
|
|
54238
|
+
property_name = name[1:]
|
|
54239
|
+
if property_name in memeber_set:
|
|
54240
|
+
memeber_set.remove(property_name)
|
|
54241
|
+
if len(memeber_set) > 0:
|
|
54242
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
54243
|
+
|
|
54244
|
+
|
|
54245
|
+
|
|
53694
54246
|
class KnowledgeBasesInfo(AbstractModel):
|
|
53695
54247
|
r"""媒资智能知识库信息
|
|
53696
54248
|
|
|
@@ -53700,8 +54252,11 @@ class KnowledgeBasesInfo(AbstractModel):
|
|
|
53700
54252
|
r"""
|
|
53701
54253
|
:param _Bases: <p>当前媒资当导入的知识库列表</p>
|
|
53702
54254
|
:type Bases: list of str
|
|
54255
|
+
:param _KnowledgeAnalysisInfos: <p>知识库中媒体分析信息</p>
|
|
54256
|
+
:type KnowledgeAnalysisInfos: list of KnowledgeAnalysisInfo
|
|
53703
54257
|
"""
|
|
53704
54258
|
self._Bases = None
|
|
54259
|
+
self._KnowledgeAnalysisInfos = None
|
|
53705
54260
|
|
|
53706
54261
|
@property
|
|
53707
54262
|
def Bases(self):
|
|
@@ -53714,9 +54269,26 @@ class KnowledgeBasesInfo(AbstractModel):
|
|
|
53714
54269
|
def Bases(self, Bases):
|
|
53715
54270
|
self._Bases = Bases
|
|
53716
54271
|
|
|
54272
|
+
@property
|
|
54273
|
+
def KnowledgeAnalysisInfos(self):
|
|
54274
|
+
r"""<p>知识库中媒体分析信息</p>
|
|
54275
|
+
:rtype: list of KnowledgeAnalysisInfo
|
|
54276
|
+
"""
|
|
54277
|
+
return self._KnowledgeAnalysisInfos
|
|
54278
|
+
|
|
54279
|
+
@KnowledgeAnalysisInfos.setter
|
|
54280
|
+
def KnowledgeAnalysisInfos(self, KnowledgeAnalysisInfos):
|
|
54281
|
+
self._KnowledgeAnalysisInfos = KnowledgeAnalysisInfos
|
|
54282
|
+
|
|
53717
54283
|
|
|
53718
54284
|
def _deserialize(self, params):
|
|
53719
54285
|
self._Bases = params.get("Bases")
|
|
54286
|
+
if params.get("KnowledgeAnalysisInfos") is not None:
|
|
54287
|
+
self._KnowledgeAnalysisInfos = []
|
|
54288
|
+
for item in params.get("KnowledgeAnalysisInfos"):
|
|
54289
|
+
obj = KnowledgeAnalysisInfo()
|
|
54290
|
+
obj._deserialize(item)
|
|
54291
|
+
self._KnowledgeAnalysisInfos.append(obj)
|
|
53720
54292
|
memeber_set = set(params.keys())
|
|
53721
54293
|
for name, value in vars(self).items():
|
|
53722
54294
|
property_name = name[1:]
|
|
@@ -65208,6 +65780,115 @@ class ModifyAdaptiveDynamicStreamingTemplateResponse(AbstractModel):
|
|
|
65208
65780
|
self._RequestId = params.get("RequestId")
|
|
65209
65781
|
|
|
65210
65782
|
|
|
65783
|
+
class ModifyAigcQuotaRequest(AbstractModel):
|
|
65784
|
+
r"""ModifyAigcQuota请求参数结构体
|
|
65785
|
+
|
|
65786
|
+
"""
|
|
65787
|
+
|
|
65788
|
+
def __init__(self):
|
|
65789
|
+
r"""
|
|
65790
|
+
:param _SubAppId: <p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
65791
|
+
:type SubAppId: int
|
|
65792
|
+
:param _QuotaType: <p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
65793
|
+
:type QuotaType: str
|
|
65794
|
+
:param _QuotaLimit: <p>任务的配额数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
65795
|
+
:type QuotaLimit: int
|
|
65796
|
+
:param _ApiToken: <p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
65797
|
+
:type ApiToken: str
|
|
65798
|
+
"""
|
|
65799
|
+
self._SubAppId = None
|
|
65800
|
+
self._QuotaType = None
|
|
65801
|
+
self._QuotaLimit = None
|
|
65802
|
+
self._ApiToken = None
|
|
65803
|
+
|
|
65804
|
+
@property
|
|
65805
|
+
def SubAppId(self):
|
|
65806
|
+
r"""<p><strong>点播应用 ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</strong></p>
|
|
65807
|
+
:rtype: int
|
|
65808
|
+
"""
|
|
65809
|
+
return self._SubAppId
|
|
65810
|
+
|
|
65811
|
+
@SubAppId.setter
|
|
65812
|
+
def SubAppId(self, SubAppId):
|
|
65813
|
+
self._SubAppId = SubAppId
|
|
65814
|
+
|
|
65815
|
+
@property
|
|
65816
|
+
def QuotaType(self):
|
|
65817
|
+
r"""<p>配额类型</p><p>枚举值:</p><ul><li>Image: AIGC 生图任务</li><li>Video: AIGC 生视频任务</li><li>Text: AIGC 生文任务</li></ul>
|
|
65818
|
+
:rtype: str
|
|
65819
|
+
"""
|
|
65820
|
+
return self._QuotaType
|
|
65821
|
+
|
|
65822
|
+
@QuotaType.setter
|
|
65823
|
+
def QuotaType(self, QuotaType):
|
|
65824
|
+
self._QuotaType = QuotaType
|
|
65825
|
+
|
|
65826
|
+
@property
|
|
65827
|
+
def QuotaLimit(self):
|
|
65828
|
+
r"""<p>任务的配额数</p><p>单位:</p><ul><li>当QuotaLimit=Image时,单位为张</li><li>当QuotaLimit=Video时,单位为秒</li><li>当QuotaLimit=Text时,单位为token</li></ul>
|
|
65829
|
+
:rtype: int
|
|
65830
|
+
"""
|
|
65831
|
+
return self._QuotaLimit
|
|
65832
|
+
|
|
65833
|
+
@QuotaLimit.setter
|
|
65834
|
+
def QuotaLimit(self, QuotaLimit):
|
|
65835
|
+
self._QuotaLimit = QuotaLimit
|
|
65836
|
+
|
|
65837
|
+
@property
|
|
65838
|
+
def ApiToken(self):
|
|
65839
|
+
r"""<p>仅当QuotaLimit=Text时有效,用于选择需要进行配额限制ApiToken</p>
|
|
65840
|
+
:rtype: str
|
|
65841
|
+
"""
|
|
65842
|
+
return self._ApiToken
|
|
65843
|
+
|
|
65844
|
+
@ApiToken.setter
|
|
65845
|
+
def ApiToken(self, ApiToken):
|
|
65846
|
+
self._ApiToken = ApiToken
|
|
65847
|
+
|
|
65848
|
+
|
|
65849
|
+
def _deserialize(self, params):
|
|
65850
|
+
self._SubAppId = params.get("SubAppId")
|
|
65851
|
+
self._QuotaType = params.get("QuotaType")
|
|
65852
|
+
self._QuotaLimit = params.get("QuotaLimit")
|
|
65853
|
+
self._ApiToken = params.get("ApiToken")
|
|
65854
|
+
memeber_set = set(params.keys())
|
|
65855
|
+
for name, value in vars(self).items():
|
|
65856
|
+
property_name = name[1:]
|
|
65857
|
+
if property_name in memeber_set:
|
|
65858
|
+
memeber_set.remove(property_name)
|
|
65859
|
+
if len(memeber_set) > 0:
|
|
65860
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
65861
|
+
|
|
65862
|
+
|
|
65863
|
+
|
|
65864
|
+
class ModifyAigcQuotaResponse(AbstractModel):
|
|
65865
|
+
r"""ModifyAigcQuota返回参数结构体
|
|
65866
|
+
|
|
65867
|
+
"""
|
|
65868
|
+
|
|
65869
|
+
def __init__(self):
|
|
65870
|
+
r"""
|
|
65871
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
65872
|
+
:type RequestId: str
|
|
65873
|
+
"""
|
|
65874
|
+
self._RequestId = None
|
|
65875
|
+
|
|
65876
|
+
@property
|
|
65877
|
+
def RequestId(self):
|
|
65878
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
65879
|
+
:rtype: str
|
|
65880
|
+
"""
|
|
65881
|
+
return self._RequestId
|
|
65882
|
+
|
|
65883
|
+
@RequestId.setter
|
|
65884
|
+
def RequestId(self, RequestId):
|
|
65885
|
+
self._RequestId = RequestId
|
|
65886
|
+
|
|
65887
|
+
|
|
65888
|
+
def _deserialize(self, params):
|
|
65889
|
+
self._RequestId = params.get("RequestId")
|
|
65890
|
+
|
|
65891
|
+
|
|
65211
65892
|
class ModifyAnimatedGraphicsTemplateRequest(AbstractModel):
|
|
65212
65893
|
r"""ModifyAnimatedGraphicsTemplate请求参数结构体
|
|
65213
65894
|
|
|
@@ -386,6 +386,33 @@ class VodClient(AbstractClient):
|
|
|
386
386
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
387
387
|
|
|
388
388
|
|
|
389
|
+
def CreateAigcQuota(self, request):
|
|
390
|
+
r"""用于创建并启用 AIGC 配额配置,配额用量从启用配额功能时开始累计,达到限额后将无法继续使用 AIGC 功能。
|
|
391
|
+
|
|
392
|
+
如果删除配额后重新启用,用量将清零并重新计算。
|
|
393
|
+
|
|
394
|
+
由于AGC内客生成为异步任务,无法获取实时用量数据,因此配额限制存在一定误差,无法实现与设置额度完全精准的控制。
|
|
395
|
+
|
|
396
|
+
:param request: Request instance for CreateAigcQuota.
|
|
397
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.CreateAigcQuotaRequest`
|
|
398
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.CreateAigcQuotaResponse`
|
|
399
|
+
|
|
400
|
+
"""
|
|
401
|
+
try:
|
|
402
|
+
params = request._serialize()
|
|
403
|
+
headers = request.headers
|
|
404
|
+
body = self.call("CreateAigcQuota", params, headers=headers)
|
|
405
|
+
response = json.loads(body)
|
|
406
|
+
model = models.CreateAigcQuotaResponse()
|
|
407
|
+
model._deserialize(response["Response"])
|
|
408
|
+
return model
|
|
409
|
+
except Exception as e:
|
|
410
|
+
if isinstance(e, TencentCloudSDKException):
|
|
411
|
+
raise
|
|
412
|
+
else:
|
|
413
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
414
|
+
|
|
415
|
+
|
|
389
416
|
def CreateAigcSubject(self, request):
|
|
390
417
|
r"""该接口用于创建 AIGC 自定义主体(Vidu)。注意,调用本接口会产生费用,请参考[计费文档](https://cloud.tencent.com/document/product/266/95125#96b3b59a-f9e1-49e9-966a-bedb70a4bf12)。
|
|
391
418
|
|
|
@@ -1364,6 +1391,31 @@ class VodClient(AbstractClient):
|
|
|
1364
1391
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1365
1392
|
|
|
1366
1393
|
|
|
1394
|
+
def DeleteAigcQuota(self, request):
|
|
1395
|
+
r"""用于删除 AIGC 配额配置,删除后,将不再限制 AIGC 任务的发起。
|
|
1396
|
+
|
|
1397
|
+
如果删除配额后重新启用,用量将清零并重新计算。
|
|
1398
|
+
|
|
1399
|
+
:param request: Request instance for DeleteAigcQuota.
|
|
1400
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.DeleteAigcQuotaRequest`
|
|
1401
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.DeleteAigcQuotaResponse`
|
|
1402
|
+
|
|
1403
|
+
"""
|
|
1404
|
+
try:
|
|
1405
|
+
params = request._serialize()
|
|
1406
|
+
headers = request.headers
|
|
1407
|
+
body = self.call("DeleteAigcQuota", params, headers=headers)
|
|
1408
|
+
response = json.loads(body)
|
|
1409
|
+
model = models.DeleteAigcQuotaResponse()
|
|
1410
|
+
model._deserialize(response["Response"])
|
|
1411
|
+
return model
|
|
1412
|
+
except Exception as e:
|
|
1413
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1414
|
+
raise
|
|
1415
|
+
else:
|
|
1416
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1417
|
+
|
|
1418
|
+
|
|
1367
1419
|
def DeleteAnimatedGraphicsTemplate(self, request):
|
|
1368
1420
|
r"""删除用户自定义转动图模板。
|
|
1369
1421
|
|
|
@@ -2160,6 +2212,29 @@ class VodClient(AbstractClient):
|
|
|
2160
2212
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2161
2213
|
|
|
2162
2214
|
|
|
2215
|
+
def DescribeAigcQuotas(self, request):
|
|
2216
|
+
r"""用于查询 AIGC 配额配置。
|
|
2217
|
+
|
|
2218
|
+
:param request: Request instance for DescribeAigcQuotas.
|
|
2219
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.DescribeAigcQuotasRequest`
|
|
2220
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.DescribeAigcQuotasResponse`
|
|
2221
|
+
|
|
2222
|
+
"""
|
|
2223
|
+
try:
|
|
2224
|
+
params = request._serialize()
|
|
2225
|
+
headers = request.headers
|
|
2226
|
+
body = self.call("DescribeAigcQuotas", params, headers=headers)
|
|
2227
|
+
response = json.loads(body)
|
|
2228
|
+
model = models.DescribeAigcQuotasResponse()
|
|
2229
|
+
model._deserialize(response["Response"])
|
|
2230
|
+
return model
|
|
2231
|
+
except Exception as e:
|
|
2232
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2233
|
+
raise
|
|
2234
|
+
else:
|
|
2235
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2236
|
+
|
|
2237
|
+
|
|
2163
2238
|
def DescribeAigcUsageData(self, request):
|
|
2164
2239
|
r"""该接口返回查询时间范围内AIGC的统计信息。
|
|
2165
2240
|
1. 可以查询最近365天内的AIGC统计数据。
|
|
@@ -4002,6 +4077,31 @@ class VodClient(AbstractClient):
|
|
|
4002
4077
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4003
4078
|
|
|
4004
4079
|
|
|
4080
|
+
def ModifyAigcQuota(self, request):
|
|
4081
|
+
r"""用于编辑 AIGC 配额配置,配额用量从启用配额功能时开始累计,达到限额后将无法继续使用 AIGC 功能。
|
|
4082
|
+
|
|
4083
|
+
由于AGC内客生成为异步任务,无法获取实时用量数据,因此配额限制存在一定误差,无法实现与设置额度完全精准的控制。
|
|
4084
|
+
|
|
4085
|
+
:param request: Request instance for ModifyAigcQuota.
|
|
4086
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.ModifyAigcQuotaRequest`
|
|
4087
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.ModifyAigcQuotaResponse`
|
|
4088
|
+
|
|
4089
|
+
"""
|
|
4090
|
+
try:
|
|
4091
|
+
params = request._serialize()
|
|
4092
|
+
headers = request.headers
|
|
4093
|
+
body = self.call("ModifyAigcQuota", params, headers=headers)
|
|
4094
|
+
response = json.loads(body)
|
|
4095
|
+
model = models.ModifyAigcQuotaResponse()
|
|
4096
|
+
model._deserialize(response["Response"])
|
|
4097
|
+
return model
|
|
4098
|
+
except Exception as e:
|
|
4099
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4100
|
+
raise
|
|
4101
|
+
else:
|
|
4102
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4103
|
+
|
|
4104
|
+
|
|
4005
4105
|
def ModifyAnimatedGraphicsTemplate(self, request):
|
|
4006
4106
|
r"""修改用户自定义转动图模板。
|
|
4007
4107
|
|
|
@@ -310,6 +310,28 @@ class VodClient(AbstractClient):
|
|
|
310
310
|
|
|
311
311
|
return await self.call_and_deserialize(**kwargs)
|
|
312
312
|
|
|
313
|
+
async def CreateAigcQuota(
|
|
314
|
+
self,
|
|
315
|
+
request: models.CreateAigcQuotaRequest,
|
|
316
|
+
opts: Dict = None,
|
|
317
|
+
) -> models.CreateAigcQuotaResponse:
|
|
318
|
+
"""
|
|
319
|
+
用于创建并启用 AIGC 配额配置,配额用量从启用配额功能时开始累计,达到限额后将无法继续使用 AIGC 功能。
|
|
320
|
+
|
|
321
|
+
如果删除配额后重新启用,用量将清零并重新计算。
|
|
322
|
+
|
|
323
|
+
由于AGC内客生成为异步任务,无法获取实时用量数据,因此配额限制存在一定误差,无法实现与设置额度完全精准的控制。
|
|
324
|
+
"""
|
|
325
|
+
|
|
326
|
+
kwargs = {}
|
|
327
|
+
kwargs["action"] = "CreateAigcQuota"
|
|
328
|
+
kwargs["params"] = request._serialize()
|
|
329
|
+
kwargs["resp_cls"] = models.CreateAigcQuotaResponse
|
|
330
|
+
kwargs["headers"] = request.headers
|
|
331
|
+
kwargs["opts"] = opts or {}
|
|
332
|
+
|
|
333
|
+
return await self.call_and_deserialize(**kwargs)
|
|
334
|
+
|
|
313
335
|
async def CreateAigcSubject(
|
|
314
336
|
self,
|
|
315
337
|
request: models.CreateAigcSubjectRequest,
|
|
@@ -1083,6 +1105,26 @@ class VodClient(AbstractClient):
|
|
|
1083
1105
|
|
|
1084
1106
|
return await self.call_and_deserialize(**kwargs)
|
|
1085
1107
|
|
|
1108
|
+
async def DeleteAigcQuota(
|
|
1109
|
+
self,
|
|
1110
|
+
request: models.DeleteAigcQuotaRequest,
|
|
1111
|
+
opts: Dict = None,
|
|
1112
|
+
) -> models.DeleteAigcQuotaResponse:
|
|
1113
|
+
"""
|
|
1114
|
+
用于删除 AIGC 配额配置,删除后,将不再限制 AIGC 任务的发起。
|
|
1115
|
+
|
|
1116
|
+
如果删除配额后重新启用,用量将清零并重新计算。
|
|
1117
|
+
"""
|
|
1118
|
+
|
|
1119
|
+
kwargs = {}
|
|
1120
|
+
kwargs["action"] = "DeleteAigcQuota"
|
|
1121
|
+
kwargs["params"] = request._serialize()
|
|
1122
|
+
kwargs["resp_cls"] = models.DeleteAigcQuotaResponse
|
|
1123
|
+
kwargs["headers"] = request.headers
|
|
1124
|
+
kwargs["opts"] = opts or {}
|
|
1125
|
+
|
|
1126
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1127
|
+
|
|
1086
1128
|
async def DeleteAnimatedGraphicsTemplate(
|
|
1087
1129
|
self,
|
|
1088
1130
|
request: models.DeleteAnimatedGraphicsTemplateRequest,
|
|
@@ -1709,6 +1751,24 @@ class VodClient(AbstractClient):
|
|
|
1709
1751
|
|
|
1710
1752
|
return await self.call_and_deserialize(**kwargs)
|
|
1711
1753
|
|
|
1754
|
+
async def DescribeAigcQuotas(
|
|
1755
|
+
self,
|
|
1756
|
+
request: models.DescribeAigcQuotasRequest,
|
|
1757
|
+
opts: Dict = None,
|
|
1758
|
+
) -> models.DescribeAigcQuotasResponse:
|
|
1759
|
+
"""
|
|
1760
|
+
用于查询 AIGC 配额配置。
|
|
1761
|
+
"""
|
|
1762
|
+
|
|
1763
|
+
kwargs = {}
|
|
1764
|
+
kwargs["action"] = "DescribeAigcQuotas"
|
|
1765
|
+
kwargs["params"] = request._serialize()
|
|
1766
|
+
kwargs["resp_cls"] = models.DescribeAigcQuotasResponse
|
|
1767
|
+
kwargs["headers"] = request.headers
|
|
1768
|
+
kwargs["opts"] = opts or {}
|
|
1769
|
+
|
|
1770
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1771
|
+
|
|
1712
1772
|
async def DescribeAigcUsageData(
|
|
1713
1773
|
self,
|
|
1714
1774
|
request: models.DescribeAigcUsageDataRequest,
|
|
@@ -3181,6 +3241,26 @@ class VodClient(AbstractClient):
|
|
|
3181
3241
|
|
|
3182
3242
|
return await self.call_and_deserialize(**kwargs)
|
|
3183
3243
|
|
|
3244
|
+
async def ModifyAigcQuota(
|
|
3245
|
+
self,
|
|
3246
|
+
request: models.ModifyAigcQuotaRequest,
|
|
3247
|
+
opts: Dict = None,
|
|
3248
|
+
) -> models.ModifyAigcQuotaResponse:
|
|
3249
|
+
"""
|
|
3250
|
+
用于编辑 AIGC 配额配置,配额用量从启用配额功能时开始累计,达到限额后将无法继续使用 AIGC 功能。
|
|
3251
|
+
|
|
3252
|
+
由于AGC内客生成为异步任务,无法获取实时用量数据,因此配额限制存在一定误差,无法实现与设置额度完全精准的控制。
|
|
3253
|
+
"""
|
|
3254
|
+
|
|
3255
|
+
kwargs = {}
|
|
3256
|
+
kwargs["action"] = "ModifyAigcQuota"
|
|
3257
|
+
kwargs["params"] = request._serialize()
|
|
3258
|
+
kwargs["resp_cls"] = models.ModifyAigcQuotaResponse
|
|
3259
|
+
kwargs["headers"] = request.headers
|
|
3260
|
+
kwargs["opts"] = opts or {}
|
|
3261
|
+
|
|
3262
|
+
return await self.call_and_deserialize(**kwargs)
|
|
3263
|
+
|
|
3184
3264
|
async def ModifyAnimatedGraphicsTemplate(
|
|
3185
3265
|
self,
|
|
3186
3266
|
request: models.ModifyAnimatedGraphicsTemplateRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.126
|
|
4
4
|
Summary: Tencent Cloud Vod 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.126
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.126
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.114
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|