tencentcloud-sdk-python-vod 3.1.79__tar.gz → 3.1.83__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.79 → tencentcloud_sdk_python_vod-3.1.83}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/setup.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20180717/models.py +338 -24
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20180717/vod_client.py +23 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20180717/vod_client_async.py +18 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vod-3.1.83/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vod-3.1.79/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/README.rst +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20180717/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20240718/__init__.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20240718/models.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20240718/vod_client.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vod-3.1.79 → tencentcloud_sdk_python_vod-3.1.83}/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.83
|
|
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.83
|
|
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.83,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vod SDK for Python',
|
|
@@ -12080,6 +12080,153 @@ class AigcVideoOutputConfig(AbstractModel):
|
|
|
12080
12080
|
|
|
12081
12081
|
|
|
12082
12082
|
|
|
12083
|
+
class AigcVideoRedrawOutputConfig(AbstractModel):
|
|
12084
|
+
r"""AIGC 视频转绘任务的输出媒体文件配置。
|
|
12085
|
+
|
|
12086
|
+
"""
|
|
12087
|
+
|
|
12088
|
+
def __init__(self):
|
|
12089
|
+
r"""
|
|
12090
|
+
:param _StorageMode: <p>存储模式。取值有: <li>Permanent:永久存储,生成的视频文件将存储到云点播,可在事件通知中获取到 FileId;</li> <li>Temporary:临时存储,生成的视频文件不会存储到云点播,可在事件通知中获取到临时访问的 URL;</li>默认值:Temporary</p>
|
|
12091
|
+
:type StorageMode: str
|
|
12092
|
+
:param _MediaName: <p>输出媒体文件名,最长 64 个字符。缺省由系统指定生成文件名。</p>
|
|
12093
|
+
:type MediaName: str
|
|
12094
|
+
:param _ClassId: <p>分类ID,用于对媒体进行分类管理,可通过 <a href="/document/product/266/7812">创建分类</a> 接口,创建分类,获得分类 ID。<li>默认值:0,表示其他分类。</li></p>
|
|
12095
|
+
:type ClassId: int
|
|
12096
|
+
:param _ExpireTime: <p>输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式说明</a>。</p><p>参数格式:2025-12-28T00:35:00Z</p>
|
|
12097
|
+
:type ExpireTime: str
|
|
12098
|
+
"""
|
|
12099
|
+
self._StorageMode = None
|
|
12100
|
+
self._MediaName = None
|
|
12101
|
+
self._ClassId = None
|
|
12102
|
+
self._ExpireTime = None
|
|
12103
|
+
|
|
12104
|
+
@property
|
|
12105
|
+
def StorageMode(self):
|
|
12106
|
+
r"""<p>存储模式。取值有: <li>Permanent:永久存储,生成的视频文件将存储到云点播,可在事件通知中获取到 FileId;</li> <li>Temporary:临时存储,生成的视频文件不会存储到云点播,可在事件通知中获取到临时访问的 URL;</li>默认值:Temporary</p>
|
|
12107
|
+
:rtype: str
|
|
12108
|
+
"""
|
|
12109
|
+
return self._StorageMode
|
|
12110
|
+
|
|
12111
|
+
@StorageMode.setter
|
|
12112
|
+
def StorageMode(self, StorageMode):
|
|
12113
|
+
self._StorageMode = StorageMode
|
|
12114
|
+
|
|
12115
|
+
@property
|
|
12116
|
+
def MediaName(self):
|
|
12117
|
+
r"""<p>输出媒体文件名,最长 64 个字符。缺省由系统指定生成文件名。</p>
|
|
12118
|
+
:rtype: str
|
|
12119
|
+
"""
|
|
12120
|
+
return self._MediaName
|
|
12121
|
+
|
|
12122
|
+
@MediaName.setter
|
|
12123
|
+
def MediaName(self, MediaName):
|
|
12124
|
+
self._MediaName = MediaName
|
|
12125
|
+
|
|
12126
|
+
@property
|
|
12127
|
+
def ClassId(self):
|
|
12128
|
+
r"""<p>分类ID,用于对媒体进行分类管理,可通过 <a href="/document/product/266/7812">创建分类</a> 接口,创建分类,获得分类 ID。<li>默认值:0,表示其他分类。</li></p>
|
|
12129
|
+
:rtype: int
|
|
12130
|
+
"""
|
|
12131
|
+
return self._ClassId
|
|
12132
|
+
|
|
12133
|
+
@ClassId.setter
|
|
12134
|
+
def ClassId(self, ClassId):
|
|
12135
|
+
self._ClassId = ClassId
|
|
12136
|
+
|
|
12137
|
+
@property
|
|
12138
|
+
def ExpireTime(self):
|
|
12139
|
+
r"""<p>输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 <a href="https://cloud.tencent.com/document/product/266/11732#I">ISO 日期格式说明</a>。</p><p>参数格式:2025-12-28T00:35:00Z</p>
|
|
12140
|
+
:rtype: str
|
|
12141
|
+
"""
|
|
12142
|
+
return self._ExpireTime
|
|
12143
|
+
|
|
12144
|
+
@ExpireTime.setter
|
|
12145
|
+
def ExpireTime(self, ExpireTime):
|
|
12146
|
+
self._ExpireTime = ExpireTime
|
|
12147
|
+
|
|
12148
|
+
|
|
12149
|
+
def _deserialize(self, params):
|
|
12150
|
+
self._StorageMode = params.get("StorageMode")
|
|
12151
|
+
self._MediaName = params.get("MediaName")
|
|
12152
|
+
self._ClassId = params.get("ClassId")
|
|
12153
|
+
self._ExpireTime = params.get("ExpireTime")
|
|
12154
|
+
memeber_set = set(params.keys())
|
|
12155
|
+
for name, value in vars(self).items():
|
|
12156
|
+
property_name = name[1:]
|
|
12157
|
+
if property_name in memeber_set:
|
|
12158
|
+
memeber_set.remove(property_name)
|
|
12159
|
+
if len(memeber_set) > 0:
|
|
12160
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12161
|
+
|
|
12162
|
+
|
|
12163
|
+
|
|
12164
|
+
class AigcVideoRedrawTaskInputFileInfo(AbstractModel):
|
|
12165
|
+
r"""AIGC 视频转绘任务输入文件信息。
|
|
12166
|
+
|
|
12167
|
+
"""
|
|
12168
|
+
|
|
12169
|
+
def __init__(self):
|
|
12170
|
+
r"""
|
|
12171
|
+
:param _Type: <p>输入的视频文件类型。取值有: <li>File:点播媒体文件;</li> <li>Url:可访问的 Url;</li></p>
|
|
12172
|
+
:type Type: str
|
|
12173
|
+
:param _FileId: <p>媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 <a href="/document/product/266/7830">视频上传完成事件通知</a> 或 <a href="https://console.cloud.tencent.com/vod/media">云点播控制台</a> 获取该字段。当 Type 取值为 File 时,本参数有效。说明:1. 推荐使用小于10M的图片;2. 图片格式的取值为:jpeg,jpg, png。</p>
|
|
12174
|
+
:type FileId: str
|
|
12175
|
+
:param _Url: <p>可访问的文件 URL。当 Type 取值为 Url 时,本参数有效。说明:1. 推荐使用小于10M的图片;2. 图片格式的取值为:jpeg,jpg, png。</p>
|
|
12176
|
+
:type Url: str
|
|
12177
|
+
"""
|
|
12178
|
+
self._Type = None
|
|
12179
|
+
self._FileId = None
|
|
12180
|
+
self._Url = None
|
|
12181
|
+
|
|
12182
|
+
@property
|
|
12183
|
+
def Type(self):
|
|
12184
|
+
r"""<p>输入的视频文件类型。取值有: <li>File:点播媒体文件;</li> <li>Url:可访问的 Url;</li></p>
|
|
12185
|
+
:rtype: str
|
|
12186
|
+
"""
|
|
12187
|
+
return self._Type
|
|
12188
|
+
|
|
12189
|
+
@Type.setter
|
|
12190
|
+
def Type(self, Type):
|
|
12191
|
+
self._Type = Type
|
|
12192
|
+
|
|
12193
|
+
@property
|
|
12194
|
+
def FileId(self):
|
|
12195
|
+
r"""<p>媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 <a href="/document/product/266/7830">视频上传完成事件通知</a> 或 <a href="https://console.cloud.tencent.com/vod/media">云点播控制台</a> 获取该字段。当 Type 取值为 File 时,本参数有效。说明:1. 推荐使用小于10M的图片;2. 图片格式的取值为:jpeg,jpg, png。</p>
|
|
12196
|
+
:rtype: str
|
|
12197
|
+
"""
|
|
12198
|
+
return self._FileId
|
|
12199
|
+
|
|
12200
|
+
@FileId.setter
|
|
12201
|
+
def FileId(self, FileId):
|
|
12202
|
+
self._FileId = FileId
|
|
12203
|
+
|
|
12204
|
+
@property
|
|
12205
|
+
def Url(self):
|
|
12206
|
+
r"""<p>可访问的文件 URL。当 Type 取值为 Url 时,本参数有效。说明:1. 推荐使用小于10M的图片;2. 图片格式的取值为:jpeg,jpg, png。</p>
|
|
12207
|
+
:rtype: str
|
|
12208
|
+
"""
|
|
12209
|
+
return self._Url
|
|
12210
|
+
|
|
12211
|
+
@Url.setter
|
|
12212
|
+
def Url(self, Url):
|
|
12213
|
+
self._Url = Url
|
|
12214
|
+
|
|
12215
|
+
|
|
12216
|
+
def _deserialize(self, params):
|
|
12217
|
+
self._Type = params.get("Type")
|
|
12218
|
+
self._FileId = params.get("FileId")
|
|
12219
|
+
self._Url = params.get("Url")
|
|
12220
|
+
memeber_set = set(params.keys())
|
|
12221
|
+
for name, value in vars(self).items():
|
|
12222
|
+
property_name = name[1:]
|
|
12223
|
+
if property_name in memeber_set:
|
|
12224
|
+
memeber_set.remove(property_name)
|
|
12225
|
+
if len(memeber_set) > 0:
|
|
12226
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12227
|
+
|
|
12228
|
+
|
|
12229
|
+
|
|
12083
12230
|
class AigcVideoSceneInfo(AbstractModel):
|
|
12084
12231
|
r"""场景化 AIGC 生图配置。
|
|
12085
12232
|
|
|
@@ -21850,6 +21997,179 @@ class CreateAigcSubjectTask(AbstractModel):
|
|
|
21850
21997
|
|
|
21851
21998
|
|
|
21852
21999
|
|
|
22000
|
+
class CreateAigcVideoRedrawTaskRequest(AbstractModel):
|
|
22001
|
+
r"""CreateAigcVideoRedrawTask请求参数结构体
|
|
22002
|
+
|
|
22003
|
+
"""
|
|
22004
|
+
|
|
22005
|
+
def __init__(self):
|
|
22006
|
+
r"""
|
|
22007
|
+
:param _SubAppId: <p><b>点播<a href="https://cloud.tencent.com/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
|
|
22008
|
+
:type SubAppId: int
|
|
22009
|
+
:param _FileInfo: <p>AIGC 视频转绘任务的输入视频的文件信息。</p>
|
|
22010
|
+
:type FileInfo: :class:`tencentcloud.vod.v20180717.models.AigcVideoRedrawTaskInputFileInfo`
|
|
22011
|
+
:param _OutputConfig: <p>AIGC 视频转绘任务的输出媒体文件配置。</p>
|
|
22012
|
+
:type OutputConfig: :class:`tencentcloud.vod.v20180717.models.AigcVideoRedrawOutputConfig`
|
|
22013
|
+
:param _SessionId: <p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
|
|
22014
|
+
:type SessionId: str
|
|
22015
|
+
:param _SessionContext: <p>来源上下文,用于透传用户请求信息,音画质重生完成回调将返回该字段值,最长 1000 个字符。</p>
|
|
22016
|
+
:type SessionContext: str
|
|
22017
|
+
:param _TasksPriority: <p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
|
|
22018
|
+
:type TasksPriority: int
|
|
22019
|
+
:param _ExtInfo: <p>保留字段,特殊用途时使用。</p>
|
|
22020
|
+
:type ExtInfo: str
|
|
22021
|
+
"""
|
|
22022
|
+
self._SubAppId = None
|
|
22023
|
+
self._FileInfo = None
|
|
22024
|
+
self._OutputConfig = None
|
|
22025
|
+
self._SessionId = None
|
|
22026
|
+
self._SessionContext = None
|
|
22027
|
+
self._TasksPriority = None
|
|
22028
|
+
self._ExtInfo = None
|
|
22029
|
+
|
|
22030
|
+
@property
|
|
22031
|
+
def SubAppId(self):
|
|
22032
|
+
r"""<p><b>点播<a href="https://cloud.tencent.com/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
|
|
22033
|
+
:rtype: int
|
|
22034
|
+
"""
|
|
22035
|
+
return self._SubAppId
|
|
22036
|
+
|
|
22037
|
+
@SubAppId.setter
|
|
22038
|
+
def SubAppId(self, SubAppId):
|
|
22039
|
+
self._SubAppId = SubAppId
|
|
22040
|
+
|
|
22041
|
+
@property
|
|
22042
|
+
def FileInfo(self):
|
|
22043
|
+
r"""<p>AIGC 视频转绘任务的输入视频的文件信息。</p>
|
|
22044
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.AigcVideoRedrawTaskInputFileInfo`
|
|
22045
|
+
"""
|
|
22046
|
+
return self._FileInfo
|
|
22047
|
+
|
|
22048
|
+
@FileInfo.setter
|
|
22049
|
+
def FileInfo(self, FileInfo):
|
|
22050
|
+
self._FileInfo = FileInfo
|
|
22051
|
+
|
|
22052
|
+
@property
|
|
22053
|
+
def OutputConfig(self):
|
|
22054
|
+
r"""<p>AIGC 视频转绘任务的输出媒体文件配置。</p>
|
|
22055
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.AigcVideoRedrawOutputConfig`
|
|
22056
|
+
"""
|
|
22057
|
+
return self._OutputConfig
|
|
22058
|
+
|
|
22059
|
+
@OutputConfig.setter
|
|
22060
|
+
def OutputConfig(self, OutputConfig):
|
|
22061
|
+
self._OutputConfig = OutputConfig
|
|
22062
|
+
|
|
22063
|
+
@property
|
|
22064
|
+
def SessionId(self):
|
|
22065
|
+
r"""<p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
|
|
22066
|
+
:rtype: str
|
|
22067
|
+
"""
|
|
22068
|
+
return self._SessionId
|
|
22069
|
+
|
|
22070
|
+
@SessionId.setter
|
|
22071
|
+
def SessionId(self, SessionId):
|
|
22072
|
+
self._SessionId = SessionId
|
|
22073
|
+
|
|
22074
|
+
@property
|
|
22075
|
+
def SessionContext(self):
|
|
22076
|
+
r"""<p>来源上下文,用于透传用户请求信息,音画质重生完成回调将返回该字段值,最长 1000 个字符。</p>
|
|
22077
|
+
:rtype: str
|
|
22078
|
+
"""
|
|
22079
|
+
return self._SessionContext
|
|
22080
|
+
|
|
22081
|
+
@SessionContext.setter
|
|
22082
|
+
def SessionContext(self, SessionContext):
|
|
22083
|
+
self._SessionContext = SessionContext
|
|
22084
|
+
|
|
22085
|
+
@property
|
|
22086
|
+
def TasksPriority(self):
|
|
22087
|
+
r"""<p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
|
|
22088
|
+
:rtype: int
|
|
22089
|
+
"""
|
|
22090
|
+
return self._TasksPriority
|
|
22091
|
+
|
|
22092
|
+
@TasksPriority.setter
|
|
22093
|
+
def TasksPriority(self, TasksPriority):
|
|
22094
|
+
self._TasksPriority = TasksPriority
|
|
22095
|
+
|
|
22096
|
+
@property
|
|
22097
|
+
def ExtInfo(self):
|
|
22098
|
+
r"""<p>保留字段,特殊用途时使用。</p>
|
|
22099
|
+
:rtype: str
|
|
22100
|
+
"""
|
|
22101
|
+
return self._ExtInfo
|
|
22102
|
+
|
|
22103
|
+
@ExtInfo.setter
|
|
22104
|
+
def ExtInfo(self, ExtInfo):
|
|
22105
|
+
self._ExtInfo = ExtInfo
|
|
22106
|
+
|
|
22107
|
+
|
|
22108
|
+
def _deserialize(self, params):
|
|
22109
|
+
self._SubAppId = params.get("SubAppId")
|
|
22110
|
+
if params.get("FileInfo") is not None:
|
|
22111
|
+
self._FileInfo = AigcVideoRedrawTaskInputFileInfo()
|
|
22112
|
+
self._FileInfo._deserialize(params.get("FileInfo"))
|
|
22113
|
+
if params.get("OutputConfig") is not None:
|
|
22114
|
+
self._OutputConfig = AigcVideoRedrawOutputConfig()
|
|
22115
|
+
self._OutputConfig._deserialize(params.get("OutputConfig"))
|
|
22116
|
+
self._SessionId = params.get("SessionId")
|
|
22117
|
+
self._SessionContext = params.get("SessionContext")
|
|
22118
|
+
self._TasksPriority = params.get("TasksPriority")
|
|
22119
|
+
self._ExtInfo = params.get("ExtInfo")
|
|
22120
|
+
memeber_set = set(params.keys())
|
|
22121
|
+
for name, value in vars(self).items():
|
|
22122
|
+
property_name = name[1:]
|
|
22123
|
+
if property_name in memeber_set:
|
|
22124
|
+
memeber_set.remove(property_name)
|
|
22125
|
+
if len(memeber_set) > 0:
|
|
22126
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22127
|
+
|
|
22128
|
+
|
|
22129
|
+
|
|
22130
|
+
class CreateAigcVideoRedrawTaskResponse(AbstractModel):
|
|
22131
|
+
r"""CreateAigcVideoRedrawTask返回参数结构体
|
|
22132
|
+
|
|
22133
|
+
"""
|
|
22134
|
+
|
|
22135
|
+
def __init__(self):
|
|
22136
|
+
r"""
|
|
22137
|
+
:param _TaskId: <p>任务 ID。</p>
|
|
22138
|
+
:type TaskId: str
|
|
22139
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22140
|
+
:type RequestId: str
|
|
22141
|
+
"""
|
|
22142
|
+
self._TaskId = None
|
|
22143
|
+
self._RequestId = None
|
|
22144
|
+
|
|
22145
|
+
@property
|
|
22146
|
+
def TaskId(self):
|
|
22147
|
+
r"""<p>任务 ID。</p>
|
|
22148
|
+
:rtype: str
|
|
22149
|
+
"""
|
|
22150
|
+
return self._TaskId
|
|
22151
|
+
|
|
22152
|
+
@TaskId.setter
|
|
22153
|
+
def TaskId(self, TaskId):
|
|
22154
|
+
self._TaskId = TaskId
|
|
22155
|
+
|
|
22156
|
+
@property
|
|
22157
|
+
def RequestId(self):
|
|
22158
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
22159
|
+
:rtype: str
|
|
22160
|
+
"""
|
|
22161
|
+
return self._RequestId
|
|
22162
|
+
|
|
22163
|
+
@RequestId.setter
|
|
22164
|
+
def RequestId(self, RequestId):
|
|
22165
|
+
self._RequestId = RequestId
|
|
22166
|
+
|
|
22167
|
+
|
|
22168
|
+
def _deserialize(self, params):
|
|
22169
|
+
self._TaskId = params.get("TaskId")
|
|
22170
|
+
self._RequestId = params.get("RequestId")
|
|
22171
|
+
|
|
22172
|
+
|
|
21853
22173
|
class CreateAigcVideoTaskRequest(AbstractModel):
|
|
21854
22174
|
r"""CreateAigcVideoTask请求参数结构体
|
|
21855
22175
|
|
|
@@ -27049,9 +27369,9 @@ class CreateStorageRegionRequest(AbstractModel):
|
|
|
27049
27369
|
|
|
27050
27370
|
def __init__(self):
|
|
27051
27371
|
r"""
|
|
27052
|
-
:param _StorageRegion:
|
|
27372
|
+
:param _StorageRegion: <p>待开通的存储地域,必须是系统支持的地域。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/266/9760">已支持地域列表</a></p>
|
|
27053
27373
|
:type StorageRegion: str
|
|
27054
|
-
:param _SubAppId: <b
|
|
27374
|
+
:param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
|
|
27055
27375
|
:type SubAppId: int
|
|
27056
27376
|
"""
|
|
27057
27377
|
self._StorageRegion = None
|
|
@@ -27059,7 +27379,7 @@ class CreateStorageRegionRequest(AbstractModel):
|
|
|
27059
27379
|
|
|
27060
27380
|
@property
|
|
27061
27381
|
def StorageRegion(self):
|
|
27062
|
-
r"""
|
|
27382
|
+
r"""<p>待开通的存储地域,必须是系统支持的地域。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/266/9760">已支持地域列表</a></p>
|
|
27063
27383
|
:rtype: str
|
|
27064
27384
|
"""
|
|
27065
27385
|
return self._StorageRegion
|
|
@@ -27070,7 +27390,7 @@ class CreateStorageRegionRequest(AbstractModel):
|
|
|
27070
27390
|
|
|
27071
27391
|
@property
|
|
27072
27392
|
def SubAppId(self):
|
|
27073
|
-
r"""<b
|
|
27393
|
+
r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
|
|
27074
27394
|
:rtype: int
|
|
27075
27395
|
"""
|
|
27076
27396
|
return self._SubAppId
|
|
@@ -27128,20 +27448,17 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27128
27448
|
|
|
27129
27449
|
def __init__(self):
|
|
27130
27450
|
r"""
|
|
27131
|
-
:param _Name:
|
|
27451
|
+
:param _Name: <p>应用名称,长度限制:40个字符。</p>
|
|
27132
27452
|
:type Name: str
|
|
27133
|
-
:param _Description:
|
|
27453
|
+
:param _Description: <p>应用简介,长度限制: 300个字符。不填则应用简介默认为空。</p>
|
|
27134
27454
|
:type Description: str
|
|
27135
|
-
:param _Type:
|
|
27455
|
+
:param _Type: <p>应用类型, 取值有:<li>AllInOne:一体化;</li><li>Professional:专业版。</li>默认值为 AllInOne。</p>
|
|
27136
27456
|
:type Type: str
|
|
27137
|
-
:param _Mode:
|
|
27138
|
-
- fileid:仅FileID模式
|
|
27139
|
-
- fileid+path:FileID & Path模式
|
|
27140
|
-
留空时默认选择仅FileID模式
|
|
27457
|
+
:param _Mode: <p>此应用的模式,可选值为:</p><ul><li>fileid:仅FileID模式</li><li>fileid+path:FileID & Path模式<br>留空时默认选择仅FileID模式</li></ul>
|
|
27141
27458
|
:type Mode: str
|
|
27142
|
-
:param _StorageRegion:
|
|
27459
|
+
:param _StorageRegion: <p>Mode是仅fileid时,用于设置默认存储地域,可选。<br>Mode是fileid+path时,用于指定存储地域,必填。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/266/9760">已支持地域列表</a></p>
|
|
27143
27460
|
:type StorageRegion: str
|
|
27144
|
-
:param _Tags:
|
|
27461
|
+
:param _Tags: <p>此应用需要绑定的tag</p>
|
|
27145
27462
|
:type Tags: list of ResourceTag
|
|
27146
27463
|
"""
|
|
27147
27464
|
self._Name = None
|
|
@@ -27153,7 +27470,7 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27153
27470
|
|
|
27154
27471
|
@property
|
|
27155
27472
|
def Name(self):
|
|
27156
|
-
r"""
|
|
27473
|
+
r"""<p>应用名称,长度限制:40个字符。</p>
|
|
27157
27474
|
:rtype: str
|
|
27158
27475
|
"""
|
|
27159
27476
|
return self._Name
|
|
@@ -27164,7 +27481,7 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27164
27481
|
|
|
27165
27482
|
@property
|
|
27166
27483
|
def Description(self):
|
|
27167
|
-
r"""
|
|
27484
|
+
r"""<p>应用简介,长度限制: 300个字符。不填则应用简介默认为空。</p>
|
|
27168
27485
|
:rtype: str
|
|
27169
27486
|
"""
|
|
27170
27487
|
return self._Description
|
|
@@ -27175,7 +27492,7 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27175
27492
|
|
|
27176
27493
|
@property
|
|
27177
27494
|
def Type(self):
|
|
27178
|
-
r"""
|
|
27495
|
+
r"""<p>应用类型, 取值有:<li>AllInOne:一体化;</li><li>Professional:专业版。</li>默认值为 AllInOne。</p>
|
|
27179
27496
|
:rtype: str
|
|
27180
27497
|
"""
|
|
27181
27498
|
return self._Type
|
|
@@ -27186,10 +27503,7 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27186
27503
|
|
|
27187
27504
|
@property
|
|
27188
27505
|
def Mode(self):
|
|
27189
|
-
r"""
|
|
27190
|
-
- fileid:仅FileID模式
|
|
27191
|
-
- fileid+path:FileID & Path模式
|
|
27192
|
-
留空时默认选择仅FileID模式
|
|
27506
|
+
r"""<p>此应用的模式,可选值为:</p><ul><li>fileid:仅FileID模式</li><li>fileid+path:FileID & Path模式<br>留空时默认选择仅FileID模式</li></ul>
|
|
27193
27507
|
:rtype: str
|
|
27194
27508
|
"""
|
|
27195
27509
|
return self._Mode
|
|
@@ -27200,7 +27514,7 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27200
27514
|
|
|
27201
27515
|
@property
|
|
27202
27516
|
def StorageRegion(self):
|
|
27203
|
-
r"""
|
|
27517
|
+
r"""<p>Mode是仅fileid时,用于设置默认存储地域,可选。<br>Mode是fileid+path时,用于指定存储地域,必填。</p><p>取值参考:<a href="https://cloud.tencent.com/document/product/266/9760">已支持地域列表</a></p>
|
|
27204
27518
|
:rtype: str
|
|
27205
27519
|
"""
|
|
27206
27520
|
return self._StorageRegion
|
|
@@ -27211,7 +27525,7 @@ class CreateSubAppIdRequest(AbstractModel):
|
|
|
27211
27525
|
|
|
27212
27526
|
@property
|
|
27213
27527
|
def Tags(self):
|
|
27214
|
-
r"""
|
|
27528
|
+
r"""<p>此应用需要绑定的tag</p>
|
|
27215
27529
|
:rtype: list of ResourceTag
|
|
27216
27530
|
"""
|
|
27217
27531
|
return self._Tags
|
|
@@ -27250,7 +27564,7 @@ class CreateSubAppIdResponse(AbstractModel):
|
|
|
27250
27564
|
|
|
27251
27565
|
def __init__(self):
|
|
27252
27566
|
r"""
|
|
27253
|
-
:param _SubAppId:
|
|
27567
|
+
:param _SubAppId: <p>新创建的应用 ID。</p>
|
|
27254
27568
|
:type SubAppId: int
|
|
27255
27569
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
27256
27570
|
:type RequestId: str
|
|
@@ -27260,7 +27574,7 @@ class CreateSubAppIdResponse(AbstractModel):
|
|
|
27260
27574
|
|
|
27261
27575
|
@property
|
|
27262
27576
|
def SubAppId(self):
|
|
27263
|
-
r"""
|
|
27577
|
+
r"""<p>新创建的应用 ID。</p>
|
|
27264
27578
|
:rtype: int
|
|
27265
27579
|
"""
|
|
27266
27580
|
return self._SubAppId
|
|
@@ -363,6 +363,29 @@ class VodClient(AbstractClient):
|
|
|
363
363
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
364
364
|
|
|
365
365
|
|
|
366
|
+
def CreateAigcVideoRedrawTask(self, request):
|
|
367
|
+
r"""该接口用于[生成 AIGC 视频](https://cloud.tencent.com/document/product/266/124474)。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用</b>,请参考点播 [AIGC 生视频计费文档](https://cloud.tencent.com/document/product/266/95125#96b3b59a-f9e1-49e9-966a-bedb70a4bf12)。该功能结算模式为[后付费](https://cloud.tencent.com/document/product/266/2838),日结客户当天使用将在第二天出账,月结客户将在次月1日统一出上月使用费用。
|
|
368
|
+
|
|
369
|
+
:param request: Request instance for CreateAigcVideoRedrawTask.
|
|
370
|
+
:type request: :class:`tencentcloud.vod.v20180717.models.CreateAigcVideoRedrawTaskRequest`
|
|
371
|
+
:rtype: :class:`tencentcloud.vod.v20180717.models.CreateAigcVideoRedrawTaskResponse`
|
|
372
|
+
|
|
373
|
+
"""
|
|
374
|
+
try:
|
|
375
|
+
params = request._serialize()
|
|
376
|
+
headers = request.headers
|
|
377
|
+
body = self.call("CreateAigcVideoRedrawTask", params, headers=headers)
|
|
378
|
+
response = json.loads(body)
|
|
379
|
+
model = models.CreateAigcVideoRedrawTaskResponse()
|
|
380
|
+
model._deserialize(response["Response"])
|
|
381
|
+
return model
|
|
382
|
+
except Exception as e:
|
|
383
|
+
if isinstance(e, TencentCloudSDKException):
|
|
384
|
+
raise
|
|
385
|
+
else:
|
|
386
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
387
|
+
|
|
388
|
+
|
|
366
389
|
def CreateAigcVideoTask(self, request):
|
|
367
390
|
r"""该接口用于[生成 AIGC 视频](https://cloud.tencent.com/document/product/266/124474)。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用</b>,请参考点播 [AIGC 生视频计费文档](https://cloud.tencent.com/document/product/266/95125#96b3b59a-f9e1-49e9-966a-bedb70a4bf12)。该功能结算模式为[后付费](https://cloud.tencent.com/document/product/266/2838),日结客户当天使用将在第二天出账,月结客户将在次月1日统一出上月使用费用。
|
|
368
391
|
|
|
@@ -292,6 +292,24 @@ class VodClient(AbstractClient):
|
|
|
292
292
|
|
|
293
293
|
return await self.call_and_deserialize(**kwargs)
|
|
294
294
|
|
|
295
|
+
async def CreateAigcVideoRedrawTask(
|
|
296
|
+
self,
|
|
297
|
+
request: models.CreateAigcVideoRedrawTaskRequest,
|
|
298
|
+
opts: Dict = None,
|
|
299
|
+
) -> models.CreateAigcVideoRedrawTaskResponse:
|
|
300
|
+
"""
|
|
301
|
+
该接口用于[生成 AIGC 视频](https://cloud.tencent.com/document/product/266/124474)。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用</b>,请参考点播 [AIGC 生视频计费文档](https://cloud.tencent.com/document/product/266/95125#96b3b59a-f9e1-49e9-966a-bedb70a4bf12)。该功能结算模式为[后付费](https://cloud.tencent.com/document/product/266/2838),日结客户当天使用将在第二天出账,月结客户将在次月1日统一出上月使用费用。
|
|
302
|
+
"""
|
|
303
|
+
|
|
304
|
+
kwargs = {}
|
|
305
|
+
kwargs["action"] = "CreateAigcVideoRedrawTask"
|
|
306
|
+
kwargs["params"] = request._serialize()
|
|
307
|
+
kwargs["resp_cls"] = models.CreateAigcVideoRedrawTaskResponse
|
|
308
|
+
kwargs["headers"] = request.headers
|
|
309
|
+
kwargs["opts"] = opts or {}
|
|
310
|
+
|
|
311
|
+
return await self.call_and_deserialize(**kwargs)
|
|
312
|
+
|
|
295
313
|
async def CreateAigcVideoTask(
|
|
296
314
|
self,
|
|
297
315
|
request: models.CreateAigcVideoTaskRequest,
|
|
@@ -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.83
|
|
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.83
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.83
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
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
|