tencentcloud-sdk-python-vod 3.1.51__tar.gz → 3.1.54__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.
Files changed (22) hide show
  1. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/setup.py +1 -1
  3. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20180717/models.py +681 -54
  5. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20180717/vod_client.py +46 -0
  6. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20180717/vod_client_async.py +36 -0
  7. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud_sdk_python_vod.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_vod-3.1.54/tencentcloud_sdk_python_vod.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_vod-3.1.51/tencentcloud_sdk_python_vod.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/README.rst +0 -0
  11. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/__init__.py +0 -0
  13. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20180717/__init__.py +0 -0
  14. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20180717/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20240718/__init__.py +0 -0
  16. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20240718/errorcodes.py +0 -0
  17. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20240718/models.py +0 -0
  18. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20240718/vod_client.py +0 -0
  19. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud/vod/v20240718/vod_client_async.py +0 -0
  20. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud_sdk_python_vod.egg-info/SOURCES.txt +0 -0
  21. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/tencentcloud_sdk_python_vod.egg-info/dependency_links.txt +0 -0
  22. {tencentcloud_sdk_python_vod-3.1.51 → tencentcloud_sdk_python_vod-3.1.54}/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.51
3
+ Version: 3.1.54
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.51
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.54
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.51,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.54,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Vod SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.51'
17
+ __version__ = '3.1.54'
@@ -19926,6 +19926,235 @@ class CreateAigcAdvancedCustomElementOutput(AbstractModel):
19926
19926
 
19927
19927
 
19928
19928
 
19929
+ class CreateAigcAdvancedCustomElementRequest(AbstractModel):
19930
+ r"""CreateAigcAdvancedCustomElement请求参数结构体
19931
+
19932
+ """
19933
+
19934
+ def __init__(self):
19935
+ r"""
19936
+ :param _SubAppId: <p><b>点播<a href="https://cloud.tencent.com/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
19937
+ :type SubAppId: int
19938
+ :param _ElementName: <p>主体名称,不能超过20个字符。</p>
19939
+ :type ElementName: str
19940
+ :param _ElementDescription: <p>主体描述,不能超过100个字符。</p>
19941
+ :type ElementDescription: str
19942
+ :param _ReferenceType: <p>主体参考方式。通过视频定制的主体和通过图片定制的主体的可用范围不同。</p><p>枚举值:</p><ul><li>video_refer: 视频角色主体,此时将参考element_video_list定义主体外表。</li><li>image_refer: 多图主体,此时将参考element_image_list定义主体外表。</li></ul>
19943
+ :type ReferenceType: str
19944
+ :param _ElementVoiceId: <p>主体音色,可绑定音色库中已有音色。</p><ul><li>当前参数为空时,当前主体不绑定音色。</li><li>仅视频定制的主体支持绑定音色。</li></ul>
19945
+ :type ElementVoiceId: str
19946
+ :param _ElementVideoList: <p>主体参考视频,可通过视频设定主体及其细节。</p><ul><li>可上传有声视频,有声视频包含人声则触发音色定制(定制+入音色库+与主体绑定)</li><li>参考视频时当前参数必填,参考图片时当前参数无效</li><li>用key:value承载,如下:<br><pre><code>{ &quot;refer_videos&quot;:[ { &quot;video_url&quot;:&quot;video_url_1&quot; } ]}</code></pre>● 视频格式仅支持MP4/MOV<br>● 仅支持时长介于3s~8s之间、宽高比例需为16:9或9:16的1080P视频<br>● 至多仅支持上传1段视频,视频大小不超过200MB<br>● video_url参数值不得为空</li></ul>
19947
+ :type ElementVideoList: str
19948
+ :param _ElementImageList: <p>主体参考图,可通过多张图片设定主体及其细节。</p><ul><li>包括正面参考图和其他角度或特写参考图,其中:<ul><li>至少包括1张正面参考图,由frontal_image参数定义。</li><li>需包括1~3张其他参考图,需与正面参考图有差异,由image_url参数定义。</li></ul></li><li>用key:value承载,如下:<br><pre><code>{ &quot;frontal_image&quot;:&quot;image_url_0&quot;, &quot;refer_images&quot;:[ { &quot;image_url&quot;:&quot;image_url_1&quot; }, { &quot;image_url&quot;:&quot;image_url_2&quot; }, { &quot;image_url&quot;:&quot;image_url_3&quot; } ]}</code></pre></li></ul>
19949
+ :type ElementImageList: str
19950
+ :param _TagList: <p>为主体配置标签,一个主体可以配置多个标签。</p><ul><li>用key:value承载,其中具体如下:</li></ul><p><pre><code>[ { &quot;tag_id&quot;: &quot;o_101&quot; }, { &quot;tag_id&quot;: &quot;o_102&quot; }]</code></pre></p>
19951
+ :type TagList: str
19952
+ :param _SessionId: <p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
19953
+ :type SessionId: str
19954
+ :param _SessionContext: <p>来源上下文,用于透传用户请求信息,任务完成回调将返回该字段值,最长 1000 个字符。</p>
19955
+ :type SessionContext: str
19956
+ :param _TasksPriority: <p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
19957
+ :type TasksPriority: int
19958
+ """
19959
+ self._SubAppId = None
19960
+ self._ElementName = None
19961
+ self._ElementDescription = None
19962
+ self._ReferenceType = None
19963
+ self._ElementVoiceId = None
19964
+ self._ElementVideoList = None
19965
+ self._ElementImageList = None
19966
+ self._TagList = None
19967
+ self._SessionId = None
19968
+ self._SessionContext = None
19969
+ self._TasksPriority = None
19970
+
19971
+ @property
19972
+ def SubAppId(self):
19973
+ r"""<p><b>点播<a href="https://cloud.tencent.com/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
19974
+ :rtype: int
19975
+ """
19976
+ return self._SubAppId
19977
+
19978
+ @SubAppId.setter
19979
+ def SubAppId(self, SubAppId):
19980
+ self._SubAppId = SubAppId
19981
+
19982
+ @property
19983
+ def ElementName(self):
19984
+ r"""<p>主体名称,不能超过20个字符。</p>
19985
+ :rtype: str
19986
+ """
19987
+ return self._ElementName
19988
+
19989
+ @ElementName.setter
19990
+ def ElementName(self, ElementName):
19991
+ self._ElementName = ElementName
19992
+
19993
+ @property
19994
+ def ElementDescription(self):
19995
+ r"""<p>主体描述,不能超过100个字符。</p>
19996
+ :rtype: str
19997
+ """
19998
+ return self._ElementDescription
19999
+
20000
+ @ElementDescription.setter
20001
+ def ElementDescription(self, ElementDescription):
20002
+ self._ElementDescription = ElementDescription
20003
+
20004
+ @property
20005
+ def ReferenceType(self):
20006
+ r"""<p>主体参考方式。通过视频定制的主体和通过图片定制的主体的可用范围不同。</p><p>枚举值:</p><ul><li>video_refer: 视频角色主体,此时将参考element_video_list定义主体外表。</li><li>image_refer: 多图主体,此时将参考element_image_list定义主体外表。</li></ul>
20007
+ :rtype: str
20008
+ """
20009
+ return self._ReferenceType
20010
+
20011
+ @ReferenceType.setter
20012
+ def ReferenceType(self, ReferenceType):
20013
+ self._ReferenceType = ReferenceType
20014
+
20015
+ @property
20016
+ def ElementVoiceId(self):
20017
+ r"""<p>主体音色,可绑定音色库中已有音色。</p><ul><li>当前参数为空时,当前主体不绑定音色。</li><li>仅视频定制的主体支持绑定音色。</li></ul>
20018
+ :rtype: str
20019
+ """
20020
+ return self._ElementVoiceId
20021
+
20022
+ @ElementVoiceId.setter
20023
+ def ElementVoiceId(self, ElementVoiceId):
20024
+ self._ElementVoiceId = ElementVoiceId
20025
+
20026
+ @property
20027
+ def ElementVideoList(self):
20028
+ r"""<p>主体参考视频,可通过视频设定主体及其细节。</p><ul><li>可上传有声视频,有声视频包含人声则触发音色定制(定制+入音色库+与主体绑定)</li><li>参考视频时当前参数必填,参考图片时当前参数无效</li><li>用key:value承载,如下:<br><pre><code>{ &quot;refer_videos&quot;:[ { &quot;video_url&quot;:&quot;video_url_1&quot; } ]}</code></pre>● 视频格式仅支持MP4/MOV<br>● 仅支持时长介于3s~8s之间、宽高比例需为16:9或9:16的1080P视频<br>● 至多仅支持上传1段视频,视频大小不超过200MB<br>● video_url参数值不得为空</li></ul>
20029
+ :rtype: str
20030
+ """
20031
+ return self._ElementVideoList
20032
+
20033
+ @ElementVideoList.setter
20034
+ def ElementVideoList(self, ElementVideoList):
20035
+ self._ElementVideoList = ElementVideoList
20036
+
20037
+ @property
20038
+ def ElementImageList(self):
20039
+ r"""<p>主体参考图,可通过多张图片设定主体及其细节。</p><ul><li>包括正面参考图和其他角度或特写参考图,其中:<ul><li>至少包括1张正面参考图,由frontal_image参数定义。</li><li>需包括1~3张其他参考图,需与正面参考图有差异,由image_url参数定义。</li></ul></li><li>用key:value承载,如下:<br><pre><code>{ &quot;frontal_image&quot;:&quot;image_url_0&quot;, &quot;refer_images&quot;:[ { &quot;image_url&quot;:&quot;image_url_1&quot; }, { &quot;image_url&quot;:&quot;image_url_2&quot; }, { &quot;image_url&quot;:&quot;image_url_3&quot; } ]}</code></pre></li></ul>
20040
+ :rtype: str
20041
+ """
20042
+ return self._ElementImageList
20043
+
20044
+ @ElementImageList.setter
20045
+ def ElementImageList(self, ElementImageList):
20046
+ self._ElementImageList = ElementImageList
20047
+
20048
+ @property
20049
+ def TagList(self):
20050
+ r"""<p>为主体配置标签,一个主体可以配置多个标签。</p><ul><li>用key:value承载,其中具体如下:</li></ul><p><pre><code>[ { &quot;tag_id&quot;: &quot;o_101&quot; }, { &quot;tag_id&quot;: &quot;o_102&quot; }]</code></pre></p>
20051
+ :rtype: str
20052
+ """
20053
+ return self._TagList
20054
+
20055
+ @TagList.setter
20056
+ def TagList(self, TagList):
20057
+ self._TagList = TagList
20058
+
20059
+ @property
20060
+ def SessionId(self):
20061
+ r"""<p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
20062
+ :rtype: str
20063
+ """
20064
+ return self._SessionId
20065
+
20066
+ @SessionId.setter
20067
+ def SessionId(self, SessionId):
20068
+ self._SessionId = SessionId
20069
+
20070
+ @property
20071
+ def SessionContext(self):
20072
+ r"""<p>来源上下文,用于透传用户请求信息,任务完成回调将返回该字段值,最长 1000 个字符。</p>
20073
+ :rtype: str
20074
+ """
20075
+ return self._SessionContext
20076
+
20077
+ @SessionContext.setter
20078
+ def SessionContext(self, SessionContext):
20079
+ self._SessionContext = SessionContext
20080
+
20081
+ @property
20082
+ def TasksPriority(self):
20083
+ r"""<p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
20084
+ :rtype: int
20085
+ """
20086
+ return self._TasksPriority
20087
+
20088
+ @TasksPriority.setter
20089
+ def TasksPriority(self, TasksPriority):
20090
+ self._TasksPriority = TasksPriority
20091
+
20092
+
20093
+ def _deserialize(self, params):
20094
+ self._SubAppId = params.get("SubAppId")
20095
+ self._ElementName = params.get("ElementName")
20096
+ self._ElementDescription = params.get("ElementDescription")
20097
+ self._ReferenceType = params.get("ReferenceType")
20098
+ self._ElementVoiceId = params.get("ElementVoiceId")
20099
+ self._ElementVideoList = params.get("ElementVideoList")
20100
+ self._ElementImageList = params.get("ElementImageList")
20101
+ self._TagList = params.get("TagList")
20102
+ self._SessionId = params.get("SessionId")
20103
+ self._SessionContext = params.get("SessionContext")
20104
+ self._TasksPriority = params.get("TasksPriority")
20105
+ memeber_set = set(params.keys())
20106
+ for name, value in vars(self).items():
20107
+ property_name = name[1:]
20108
+ if property_name in memeber_set:
20109
+ memeber_set.remove(property_name)
20110
+ if len(memeber_set) > 0:
20111
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20112
+
20113
+
20114
+
20115
+ class CreateAigcAdvancedCustomElementResponse(AbstractModel):
20116
+ r"""CreateAigcAdvancedCustomElement返回参数结构体
20117
+
20118
+ """
20119
+
20120
+ def __init__(self):
20121
+ r"""
20122
+ :param _TaskId: <p>任务 ID。</p>
20123
+ :type TaskId: str
20124
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20125
+ :type RequestId: str
20126
+ """
20127
+ self._TaskId = None
20128
+ self._RequestId = None
20129
+
20130
+ @property
20131
+ def TaskId(self):
20132
+ r"""<p>任务 ID。</p>
20133
+ :rtype: str
20134
+ """
20135
+ return self._TaskId
20136
+
20137
+ @TaskId.setter
20138
+ def TaskId(self, TaskId):
20139
+ self._TaskId = TaskId
20140
+
20141
+ @property
20142
+ def RequestId(self):
20143
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20144
+ :rtype: str
20145
+ """
20146
+ return self._RequestId
20147
+
20148
+ @RequestId.setter
20149
+ def RequestId(self, RequestId):
20150
+ self._RequestId = RequestId
20151
+
20152
+
20153
+ def _deserialize(self, params):
20154
+ self._TaskId = params.get("TaskId")
20155
+ self._RequestId = params.get("RequestId")
20156
+
20157
+
19929
20158
  class CreateAigcAdvancedCustomElementTask(AbstractModel):
19930
20159
  r"""创建自定义主体任务信息。
19931
20160
 
@@ -20426,6 +20655,175 @@ class CreateAigcCustomVoiceOutput(AbstractModel):
20426
20655
 
20427
20656
 
20428
20657
 
20658
+ class CreateAigcCustomVoiceRequest(AbstractModel):
20659
+ r"""CreateAigcCustomVoice请求参数结构体
20660
+
20661
+ """
20662
+
20663
+ def __init__(self):
20664
+ r"""
20665
+ :param _SubAppId: <p><b>点播<a href="https://cloud.tencent.com/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
20666
+ :type SubAppId: int
20667
+ :param _VoiceName: <p>音色名称,文本内容最大长度 20 个字符</p>
20668
+ :type VoiceName: str
20669
+ :param _VoiceUrl: <p>音色数据文件获取链接,支持 .mp3 / .wav / .mp4 / .mov 格式的音视频文件。音频中人声需干净无杂音,有且只能有一种人声,时长不短于 5 秒且不长于 30 秒。</p>
20670
+ :type VoiceUrl: str
20671
+ :param _VideoId: <p>历史作品 ID,可通过引用历史作品提供音频素材。</p>
20672
+ :type VideoId: str
20673
+ :param _SessionId: <p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
20674
+ :type SessionId: str
20675
+ :param _SessionContext: <p>来源上下文,用于透传用户请求信息,任务完成回调将返回该字段值,最长 1000 个字符。</p>
20676
+ :type SessionContext: str
20677
+ :param _TasksPriority: <p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
20678
+ :type TasksPriority: int
20679
+ """
20680
+ self._SubAppId = None
20681
+ self._VoiceName = None
20682
+ self._VoiceUrl = None
20683
+ self._VideoId = None
20684
+ self._SessionId = None
20685
+ self._SessionContext = None
20686
+ self._TasksPriority = None
20687
+
20688
+ @property
20689
+ def SubAppId(self):
20690
+ r"""<p><b>点播<a href="https://cloud.tencent.com/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
20691
+ :rtype: int
20692
+ """
20693
+ return self._SubAppId
20694
+
20695
+ @SubAppId.setter
20696
+ def SubAppId(self, SubAppId):
20697
+ self._SubAppId = SubAppId
20698
+
20699
+ @property
20700
+ def VoiceName(self):
20701
+ r"""<p>音色名称,文本内容最大长度 20 个字符</p>
20702
+ :rtype: str
20703
+ """
20704
+ return self._VoiceName
20705
+
20706
+ @VoiceName.setter
20707
+ def VoiceName(self, VoiceName):
20708
+ self._VoiceName = VoiceName
20709
+
20710
+ @property
20711
+ def VoiceUrl(self):
20712
+ r"""<p>音色数据文件获取链接,支持 .mp3 / .wav / .mp4 / .mov 格式的音视频文件。音频中人声需干净无杂音,有且只能有一种人声,时长不短于 5 秒且不长于 30 秒。</p>
20713
+ :rtype: str
20714
+ """
20715
+ return self._VoiceUrl
20716
+
20717
+ @VoiceUrl.setter
20718
+ def VoiceUrl(self, VoiceUrl):
20719
+ self._VoiceUrl = VoiceUrl
20720
+
20721
+ @property
20722
+ def VideoId(self):
20723
+ r"""<p>历史作品 ID,可通过引用历史作品提供音频素材。</p>
20724
+ :rtype: str
20725
+ """
20726
+ return self._VideoId
20727
+
20728
+ @VideoId.setter
20729
+ def VideoId(self, VideoId):
20730
+ self._VideoId = VideoId
20731
+
20732
+ @property
20733
+ def SessionId(self):
20734
+ r"""<p>用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。</p>
20735
+ :rtype: str
20736
+ """
20737
+ return self._SessionId
20738
+
20739
+ @SessionId.setter
20740
+ def SessionId(self, SessionId):
20741
+ self._SessionId = SessionId
20742
+
20743
+ @property
20744
+ def SessionContext(self):
20745
+ r"""<p>来源上下文,用于透传用户请求信息,任务完成回调将返回该字段值,最长 1000 个字符。</p>
20746
+ :rtype: str
20747
+ """
20748
+ return self._SessionContext
20749
+
20750
+ @SessionContext.setter
20751
+ def SessionContext(self, SessionContext):
20752
+ self._SessionContext = SessionContext
20753
+
20754
+ @property
20755
+ def TasksPriority(self):
20756
+ r"""<p>任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。</p>
20757
+ :rtype: int
20758
+ """
20759
+ return self._TasksPriority
20760
+
20761
+ @TasksPriority.setter
20762
+ def TasksPriority(self, TasksPriority):
20763
+ self._TasksPriority = TasksPriority
20764
+
20765
+
20766
+ def _deserialize(self, params):
20767
+ self._SubAppId = params.get("SubAppId")
20768
+ self._VoiceName = params.get("VoiceName")
20769
+ self._VoiceUrl = params.get("VoiceUrl")
20770
+ self._VideoId = params.get("VideoId")
20771
+ self._SessionId = params.get("SessionId")
20772
+ self._SessionContext = params.get("SessionContext")
20773
+ self._TasksPriority = params.get("TasksPriority")
20774
+ memeber_set = set(params.keys())
20775
+ for name, value in vars(self).items():
20776
+ property_name = name[1:]
20777
+ if property_name in memeber_set:
20778
+ memeber_set.remove(property_name)
20779
+ if len(memeber_set) > 0:
20780
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
20781
+
20782
+
20783
+
20784
+ class CreateAigcCustomVoiceResponse(AbstractModel):
20785
+ r"""CreateAigcCustomVoice返回参数结构体
20786
+
20787
+ """
20788
+
20789
+ def __init__(self):
20790
+ r"""
20791
+ :param _TaskId: <p>任务 ID。</p>
20792
+ :type TaskId: str
20793
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20794
+ :type RequestId: str
20795
+ """
20796
+ self._TaskId = None
20797
+ self._RequestId = None
20798
+
20799
+ @property
20800
+ def TaskId(self):
20801
+ r"""<p>任务 ID。</p>
20802
+ :rtype: str
20803
+ """
20804
+ return self._TaskId
20805
+
20806
+ @TaskId.setter
20807
+ def TaskId(self, TaskId):
20808
+ self._TaskId = TaskId
20809
+
20810
+ @property
20811
+ def RequestId(self):
20812
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20813
+ :rtype: str
20814
+ """
20815
+ return self._RequestId
20816
+
20817
+ @RequestId.setter
20818
+ def RequestId(self, RequestId):
20819
+ self._RequestId = RequestId
20820
+
20821
+
20822
+ def _deserialize(self, params):
20823
+ self._TaskId = params.get("TaskId")
20824
+ self._RequestId = params.get("RequestId")
20825
+
20826
+
20429
20827
  class CreateAigcCustomVoiceTask(AbstractModel):
20430
20828
  r"""创建自定义音色任务信息。
20431
20829
 
@@ -23487,20 +23885,20 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23487
23885
 
23488
23886
  def __init__(self):
23489
23887
  r"""
23490
- :param _Level: 解析级别,可选值为:
23491
- - Audio: 音频级解析
23492
- - Video: 视频级解析
23888
+ :param _Level: <p>解析级别,可选值为:</p><ul><li>Audio: 音频级解析</li><li>Video: 视频级解析</li></ul>
23493
23889
  :type Level: str
23494
- :param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
23890
+ :param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
23495
23891
  :type SubAppId: int
23496
- :param _Name: 大模型解析模板名称,长度限制:64 个字符。
23892
+ :param _Name: <p>大模型解析模板名称,长度限制:64 个字符。</p>
23497
23893
  :type Name: str
23498
- :param _Comment: 大模型解析模板描述信息,长度限制:256 个字符。
23894
+ :param _Comment: <p>大模型解析模板描述信息,长度限制:256 个字符。</p>
23499
23895
  :type Comment: str
23500
- :param _Summary: 分段摘要解析配置
23896
+ :param _Summary: <p>分段摘要解析配置</p>
23501
23897
  :type Summary: :class:`tencentcloud.vod.v20180717.models.LLMComprehendSummary`
23502
- :param _Asr: 文本转录解析配置
23898
+ :param _Asr: <p>文本转录解析配置</p>
23503
23899
  :type Asr: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsr`
23900
+ :param _FaceRecognition: <p>人脸识别配置</p>
23901
+ :type FaceRecognition: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognition`
23504
23902
  """
23505
23903
  self._Level = None
23506
23904
  self._SubAppId = None
@@ -23508,12 +23906,11 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23508
23906
  self._Comment = None
23509
23907
  self._Summary = None
23510
23908
  self._Asr = None
23909
+ self._FaceRecognition = None
23511
23910
 
23512
23911
  @property
23513
23912
  def Level(self):
23514
- r"""解析级别,可选值为:
23515
- - Audio: 音频级解析
23516
- - Video: 视频级解析
23913
+ r"""<p>解析级别,可选值为:</p><ul><li>Audio: 音频级解析</li><li>Video: 视频级解析</li></ul>
23517
23914
  :rtype: str
23518
23915
  """
23519
23916
  return self._Level
@@ -23524,7 +23921,7 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23524
23921
 
23525
23922
  @property
23526
23923
  def SubAppId(self):
23527
- r"""<b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
23924
+ r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
23528
23925
  :rtype: int
23529
23926
  """
23530
23927
  return self._SubAppId
@@ -23535,7 +23932,7 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23535
23932
 
23536
23933
  @property
23537
23934
  def Name(self):
23538
- r"""大模型解析模板名称,长度限制:64 个字符。
23935
+ r"""<p>大模型解析模板名称,长度限制:64 个字符。</p>
23539
23936
  :rtype: str
23540
23937
  """
23541
23938
  return self._Name
@@ -23546,7 +23943,7 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23546
23943
 
23547
23944
  @property
23548
23945
  def Comment(self):
23549
- r"""大模型解析模板描述信息,长度限制:256 个字符。
23946
+ r"""<p>大模型解析模板描述信息,长度限制:256 个字符。</p>
23550
23947
  :rtype: str
23551
23948
  """
23552
23949
  return self._Comment
@@ -23557,7 +23954,7 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23557
23954
 
23558
23955
  @property
23559
23956
  def Summary(self):
23560
- r"""分段摘要解析配置
23957
+ r"""<p>分段摘要解析配置</p>
23561
23958
  :rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendSummary`
23562
23959
  """
23563
23960
  return self._Summary
@@ -23568,7 +23965,7 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23568
23965
 
23569
23966
  @property
23570
23967
  def Asr(self):
23571
- r"""文本转录解析配置
23968
+ r"""<p>文本转录解析配置</p>
23572
23969
  :rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsr`
23573
23970
  """
23574
23971
  return self._Asr
@@ -23577,6 +23974,17 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23577
23974
  def Asr(self, Asr):
23578
23975
  self._Asr = Asr
23579
23976
 
23977
+ @property
23978
+ def FaceRecognition(self):
23979
+ r"""<p>人脸识别配置</p>
23980
+ :rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognition`
23981
+ """
23982
+ return self._FaceRecognition
23983
+
23984
+ @FaceRecognition.setter
23985
+ def FaceRecognition(self, FaceRecognition):
23986
+ self._FaceRecognition = FaceRecognition
23987
+
23580
23988
 
23581
23989
  def _deserialize(self, params):
23582
23990
  self._Level = params.get("Level")
@@ -23589,6 +23997,9 @@ class CreateLLMComprehendTemplateRequest(AbstractModel):
23589
23997
  if params.get("Asr") is not None:
23590
23998
  self._Asr = LLMComprehendAsr()
23591
23999
  self._Asr._deserialize(params.get("Asr"))
24000
+ if params.get("FaceRecognition") is not None:
24001
+ self._FaceRecognition = LLMComprehendFaceRecognition()
24002
+ self._FaceRecognition._deserialize(params.get("FaceRecognition"))
23592
24003
  memeber_set = set(params.keys())
23593
24004
  for name, value in vars(self).items():
23594
24005
  property_name = name[1:]
@@ -23606,7 +24017,7 @@ class CreateLLMComprehendTemplateResponse(AbstractModel):
23606
24017
 
23607
24018
  def __init__(self):
23608
24019
  r"""
23609
- :param _Definition: 大模型理解模板的唯一标识
24020
+ :param _Definition: <p>大模型理解模板的唯一标识</p>
23610
24021
  :type Definition: int
23611
24022
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23612
24023
  :type RequestId: str
@@ -23616,7 +24027,7 @@ class CreateLLMComprehendTemplateResponse(AbstractModel):
23616
24027
 
23617
24028
  @property
23618
24029
  def Definition(self):
23619
- r"""大模型理解模板的唯一标识
24030
+ r"""<p>大模型理解模板的唯一标识</p>
23620
24031
  :rtype: int
23621
24032
  """
23622
24033
  return self._Definition
@@ -49116,6 +49527,198 @@ class LLMComprehendAsrForUpdate(AbstractModel):
49116
49527
 
49117
49528
 
49118
49529
 
49530
+ class LLMComprehendFaceRecognition(AbstractModel):
49531
+ r"""大模型解析人脸识别配置
49532
+
49533
+ """
49534
+
49535
+ def __init__(self):
49536
+ r"""
49537
+ :param _Switch:
49538
+ :type Switch: str
49539
+ :param _Score:
49540
+ :type Score: float
49541
+ :param _DefaultLibraryLabelSet:
49542
+ :type DefaultLibraryLabelSet: list of str
49543
+ :param _UserDefineLibraryLabelSet:
49544
+ :type UserDefineLibraryLabelSet: list of str
49545
+ :param _FaceLibrary:
49546
+ :type FaceLibrary: str
49547
+ """
49548
+ self._Switch = None
49549
+ self._Score = None
49550
+ self._DefaultLibraryLabelSet = None
49551
+ self._UserDefineLibraryLabelSet = None
49552
+ self._FaceLibrary = None
49553
+
49554
+ @property
49555
+ def Switch(self):
49556
+ r"""
49557
+ :rtype: str
49558
+ """
49559
+ return self._Switch
49560
+
49561
+ @Switch.setter
49562
+ def Switch(self, Switch):
49563
+ self._Switch = Switch
49564
+
49565
+ @property
49566
+ def Score(self):
49567
+ r"""
49568
+ :rtype: float
49569
+ """
49570
+ return self._Score
49571
+
49572
+ @Score.setter
49573
+ def Score(self, Score):
49574
+ self._Score = Score
49575
+
49576
+ @property
49577
+ def DefaultLibraryLabelSet(self):
49578
+ r"""
49579
+ :rtype: list of str
49580
+ """
49581
+ return self._DefaultLibraryLabelSet
49582
+
49583
+ @DefaultLibraryLabelSet.setter
49584
+ def DefaultLibraryLabelSet(self, DefaultLibraryLabelSet):
49585
+ self._DefaultLibraryLabelSet = DefaultLibraryLabelSet
49586
+
49587
+ @property
49588
+ def UserDefineLibraryLabelSet(self):
49589
+ r"""
49590
+ :rtype: list of str
49591
+ """
49592
+ return self._UserDefineLibraryLabelSet
49593
+
49594
+ @UserDefineLibraryLabelSet.setter
49595
+ def UserDefineLibraryLabelSet(self, UserDefineLibraryLabelSet):
49596
+ self._UserDefineLibraryLabelSet = UserDefineLibraryLabelSet
49597
+
49598
+ @property
49599
+ def FaceLibrary(self):
49600
+ r"""
49601
+ :rtype: str
49602
+ """
49603
+ return self._FaceLibrary
49604
+
49605
+ @FaceLibrary.setter
49606
+ def FaceLibrary(self, FaceLibrary):
49607
+ self._FaceLibrary = FaceLibrary
49608
+
49609
+
49610
+ def _deserialize(self, params):
49611
+ self._Switch = params.get("Switch")
49612
+ self._Score = params.get("Score")
49613
+ self._DefaultLibraryLabelSet = params.get("DefaultLibraryLabelSet")
49614
+ self._UserDefineLibraryLabelSet = params.get("UserDefineLibraryLabelSet")
49615
+ self._FaceLibrary = params.get("FaceLibrary")
49616
+ memeber_set = set(params.keys())
49617
+ for name, value in vars(self).items():
49618
+ property_name = name[1:]
49619
+ if property_name in memeber_set:
49620
+ memeber_set.remove(property_name)
49621
+ if len(memeber_set) > 0:
49622
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
49623
+
49624
+
49625
+
49626
+ class LLMComprehendFaceRecognitionForUpdate(AbstractModel):
49627
+ r"""大模型解析人脸识别配置
49628
+
49629
+ """
49630
+
49631
+ def __init__(self):
49632
+ r"""
49633
+ :param _Switch:
49634
+ :type Switch: str
49635
+ :param _Score:
49636
+ :type Score: float
49637
+ :param _DefaultLibraryLabelSet:
49638
+ :type DefaultLibraryLabelSet: list of str
49639
+ :param _UserDefineLibraryLabelSet:
49640
+ :type UserDefineLibraryLabelSet: list of str
49641
+ :param _FaceLibrary:
49642
+ :type FaceLibrary: str
49643
+ """
49644
+ self._Switch = None
49645
+ self._Score = None
49646
+ self._DefaultLibraryLabelSet = None
49647
+ self._UserDefineLibraryLabelSet = None
49648
+ self._FaceLibrary = None
49649
+
49650
+ @property
49651
+ def Switch(self):
49652
+ r"""
49653
+ :rtype: str
49654
+ """
49655
+ return self._Switch
49656
+
49657
+ @Switch.setter
49658
+ def Switch(self, Switch):
49659
+ self._Switch = Switch
49660
+
49661
+ @property
49662
+ def Score(self):
49663
+ r"""
49664
+ :rtype: float
49665
+ """
49666
+ return self._Score
49667
+
49668
+ @Score.setter
49669
+ def Score(self, Score):
49670
+ self._Score = Score
49671
+
49672
+ @property
49673
+ def DefaultLibraryLabelSet(self):
49674
+ r"""
49675
+ :rtype: list of str
49676
+ """
49677
+ return self._DefaultLibraryLabelSet
49678
+
49679
+ @DefaultLibraryLabelSet.setter
49680
+ def DefaultLibraryLabelSet(self, DefaultLibraryLabelSet):
49681
+ self._DefaultLibraryLabelSet = DefaultLibraryLabelSet
49682
+
49683
+ @property
49684
+ def UserDefineLibraryLabelSet(self):
49685
+ r"""
49686
+ :rtype: list of str
49687
+ """
49688
+ return self._UserDefineLibraryLabelSet
49689
+
49690
+ @UserDefineLibraryLabelSet.setter
49691
+ def UserDefineLibraryLabelSet(self, UserDefineLibraryLabelSet):
49692
+ self._UserDefineLibraryLabelSet = UserDefineLibraryLabelSet
49693
+
49694
+ @property
49695
+ def FaceLibrary(self):
49696
+ r"""
49697
+ :rtype: str
49698
+ """
49699
+ return self._FaceLibrary
49700
+
49701
+ @FaceLibrary.setter
49702
+ def FaceLibrary(self, FaceLibrary):
49703
+ self._FaceLibrary = FaceLibrary
49704
+
49705
+
49706
+ def _deserialize(self, params):
49707
+ self._Switch = params.get("Switch")
49708
+ self._Score = params.get("Score")
49709
+ self._DefaultLibraryLabelSet = params.get("DefaultLibraryLabelSet")
49710
+ self._UserDefineLibraryLabelSet = params.get("UserDefineLibraryLabelSet")
49711
+ self._FaceLibrary = params.get("FaceLibrary")
49712
+ memeber_set = set(params.keys())
49713
+ for name, value in vars(self).items():
49714
+ property_name = name[1:]
49715
+ if property_name in memeber_set:
49716
+ memeber_set.remove(property_name)
49717
+ if len(memeber_set) > 0:
49718
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
49719
+
49720
+
49721
+
49119
49722
  class LLMComprehendSummary(AbstractModel):
49120
49723
  r"""大模型解析分段摘要解析配置
49121
49724
 
@@ -59598,22 +60201,22 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59598
60201
 
59599
60202
  def __init__(self):
59600
60203
  r"""
59601
- :param _Definition: 大模型理解模板的唯一标识
60204
+ :param _Definition: <p>大模型理解模板的唯一标识</p>
59602
60205
  :type Definition: int
59603
- :param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
60206
+ :param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
59604
60207
  :type SubAppId: int
59605
- :param _Name: 大模型解析模板名称,长度限制:64 个字符。
60208
+ :param _Name: <p>大模型解析模板名称,长度限制:64 个字符。</p>
59606
60209
  :type Name: str
59607
- :param _Comment: 大模型解析模板描述信息,长度限制:256 个字符。
60210
+ :param _Comment: <p>大模型解析模板描述信息,长度限制:256 个字符。</p>
59608
60211
  :type Comment: str
59609
- :param _Model: 解析模型,可选值为:
59610
- - Basic: 基础模型
59611
- - Pro: 优化模型
60212
+ :param _Model: <p>解析模型,可选值为:</p><ul><li>Basic: 基础模型</li><li>Pro: 优化模型</li></ul>
59612
60213
  :type Model: str
59613
- :param _Summary: 分段摘要解析配置
60214
+ :param _Summary: <p>分段摘要解析配置</p>
59614
60215
  :type Summary: :class:`tencentcloud.vod.v20180717.models.LLMComprehendSummaryForUpdate`
59615
- :param _Asr: 文本转录解析配置
60216
+ :param _Asr: <p>文本转录解析配置</p>
59616
60217
  :type Asr: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsrForUpdate`
60218
+ :param _FaceRecognition: <p>人脸识别配置</p>
60219
+ :type FaceRecognition: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognitionForUpdate`
59617
60220
  """
59618
60221
  self._Definition = None
59619
60222
  self._SubAppId = None
@@ -59622,10 +60225,11 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59622
60225
  self._Model = None
59623
60226
  self._Summary = None
59624
60227
  self._Asr = None
60228
+ self._FaceRecognition = None
59625
60229
 
59626
60230
  @property
59627
60231
  def Definition(self):
59628
- r"""大模型理解模板的唯一标识
60232
+ r"""<p>大模型理解模板的唯一标识</p>
59629
60233
  :rtype: int
59630
60234
  """
59631
60235
  return self._Definition
@@ -59636,7 +60240,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59636
60240
 
59637
60241
  @property
59638
60242
  def SubAppId(self):
59639
- r"""<b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
60243
+ r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
59640
60244
  :rtype: int
59641
60245
  """
59642
60246
  return self._SubAppId
@@ -59647,7 +60251,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59647
60251
 
59648
60252
  @property
59649
60253
  def Name(self):
59650
- r"""大模型解析模板名称,长度限制:64 个字符。
60254
+ r"""<p>大模型解析模板名称,长度限制:64 个字符。</p>
59651
60255
  :rtype: str
59652
60256
  """
59653
60257
  return self._Name
@@ -59658,7 +60262,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59658
60262
 
59659
60263
  @property
59660
60264
  def Comment(self):
59661
- r"""大模型解析模板描述信息,长度限制:256 个字符。
60265
+ r"""<p>大模型解析模板描述信息,长度限制:256 个字符。</p>
59662
60266
  :rtype: str
59663
60267
  """
59664
60268
  return self._Comment
@@ -59669,9 +60273,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59669
60273
 
59670
60274
  @property
59671
60275
  def Model(self):
59672
- r"""解析模型,可选值为:
59673
- - Basic: 基础模型
59674
- - Pro: 优化模型
60276
+ r"""<p>解析模型,可选值为:</p><ul><li>Basic: 基础模型</li><li>Pro: 优化模型</li></ul>
59675
60277
  :rtype: str
59676
60278
  """
59677
60279
  return self._Model
@@ -59682,7 +60284,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59682
60284
 
59683
60285
  @property
59684
60286
  def Summary(self):
59685
- r"""分段摘要解析配置
60287
+ r"""<p>分段摘要解析配置</p>
59686
60288
  :rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendSummaryForUpdate`
59687
60289
  """
59688
60290
  return self._Summary
@@ -59693,7 +60295,7 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59693
60295
 
59694
60296
  @property
59695
60297
  def Asr(self):
59696
- r"""文本转录解析配置
60298
+ r"""<p>文本转录解析配置</p>
59697
60299
  :rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendAsrForUpdate`
59698
60300
  """
59699
60301
  return self._Asr
@@ -59702,6 +60304,17 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59702
60304
  def Asr(self, Asr):
59703
60305
  self._Asr = Asr
59704
60306
 
60307
+ @property
60308
+ def FaceRecognition(self):
60309
+ r"""<p>人脸识别配置</p>
60310
+ :rtype: :class:`tencentcloud.vod.v20180717.models.LLMComprehendFaceRecognitionForUpdate`
60311
+ """
60312
+ return self._FaceRecognition
60313
+
60314
+ @FaceRecognition.setter
60315
+ def FaceRecognition(self, FaceRecognition):
60316
+ self._FaceRecognition = FaceRecognition
60317
+
59705
60318
 
59706
60319
  def _deserialize(self, params):
59707
60320
  self._Definition = params.get("Definition")
@@ -59715,6 +60328,9 @@ class ModifyLLMComprehendTemplateRequest(AbstractModel):
59715
60328
  if params.get("Asr") is not None:
59716
60329
  self._Asr = LLMComprehendAsrForUpdate()
59717
60330
  self._Asr._deserialize(params.get("Asr"))
60331
+ if params.get("FaceRecognition") is not None:
60332
+ self._FaceRecognition = LLMComprehendFaceRecognitionForUpdate()
60333
+ self._FaceRecognition._deserialize(params.get("FaceRecognition"))
59718
60334
  memeber_set = set(params.keys())
59719
60335
  for name, value in vars(self).items():
59720
60336
  property_name = name[1:]
@@ -79410,19 +80026,19 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79410
80026
 
79411
80027
  def __init__(self):
79412
80028
  r"""
79413
- :param _SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
80029
+ :param _SubAppId: <p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
79414
80030
  :type SubAppId: int
79415
- :param _Text: 需要进行搜索的内容
80031
+ :param _Text: <p>需要进行搜索的内容</p>
79416
80032
  :type Text: str
79417
- :param _Limit: 返回的记录条数,默认值:20
80033
+ :param _Limit: <p>返回的记录条数,默认值:20。</p><p>取值范围:[1, 100]</p>
79418
80034
  :type Limit: int
79419
- :param _Categories: 文件类型。匹配集合中的任意元素: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li>
80035
+ :param _Categories: <p>文件类型。匹配集合中的任意元素: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li></p>
79420
80036
  :type Categories: list of str
79421
- :param _Tags: 标签集合,匹配集合中任意元素。 <li>单个标签长度限制:32个字符。</li> <li>数组长度限制:16。</li>
80037
+ :param _Tags: <p>标签集合,匹配集合中任意元素。</p><p>入参限制:单个标签长度限制:32个字符。数组长度限制:16。</p>
79422
80038
  :type Tags: list of str
79423
- :param _TaskTypes: 搜索的任务类型,可选值有:
79424
- - AiAnalysis.DescriptionTask
79425
- - SmartSubtitle.AsrFullTextTask
80039
+ :param _Persons: <p>人物集合,匹配出现了所有传入人物的片段</p><p>入参限制:数组长度限制:16</p>
80040
+ :type Persons: list of str
80041
+ :param _TaskTypes: <p>搜索的任务类型,可选值有: </p><ul><li>AiAnalysis.DescriptionTask </li><li>SmartSubtitle.AsrFullTextTask</li></ul>
79426
80042
  :type TaskTypes: list of str
79427
80043
  """
79428
80044
  self._SubAppId = None
@@ -79430,11 +80046,12 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79430
80046
  self._Limit = None
79431
80047
  self._Categories = None
79432
80048
  self._Tags = None
80049
+ self._Persons = None
79433
80050
  self._TaskTypes = None
79434
80051
 
79435
80052
  @property
79436
80053
  def SubAppId(self):
79437
- r"""<b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
80054
+ r"""<p><b>点播<a href="/document/product/266/14574">应用</a> ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b></p>
79438
80055
  :rtype: int
79439
80056
  """
79440
80057
  return self._SubAppId
@@ -79445,7 +80062,7 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79445
80062
 
79446
80063
  @property
79447
80064
  def Text(self):
79448
- r"""需要进行搜索的内容
80065
+ r"""<p>需要进行搜索的内容</p>
79449
80066
  :rtype: str
79450
80067
  """
79451
80068
  return self._Text
@@ -79456,7 +80073,7 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79456
80073
 
79457
80074
  @property
79458
80075
  def Limit(self):
79459
- r"""返回的记录条数,默认值:20
80076
+ r"""<p>返回的记录条数,默认值:20。</p><p>取值范围:[1, 100]</p>
79460
80077
  :rtype: int
79461
80078
  """
79462
80079
  return self._Limit
@@ -79467,7 +80084,7 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79467
80084
 
79468
80085
  @property
79469
80086
  def Categories(self):
79470
- r"""文件类型。匹配集合中的任意元素: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li>
80087
+ r"""<p>文件类型。匹配集合中的任意元素: <li>Video: 视频文件</li> <li>Audio: 音频文件</li> <li>Image: 图片文件</li></p>
79471
80088
  :rtype: list of str
79472
80089
  """
79473
80090
  return self._Categories
@@ -79478,7 +80095,7 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79478
80095
 
79479
80096
  @property
79480
80097
  def Tags(self):
79481
- r"""标签集合,匹配集合中任意元素。 <li>单个标签长度限制:32个字符。</li> <li>数组长度限制:16。</li>
80098
+ r"""<p>标签集合,匹配集合中任意元素。</p><p>入参限制:单个标签长度限制:32个字符。数组长度限制:16。</p>
79482
80099
  :rtype: list of str
79483
80100
  """
79484
80101
  return self._Tags
@@ -79487,11 +80104,20 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79487
80104
  def Tags(self, Tags):
79488
80105
  self._Tags = Tags
79489
80106
 
80107
+ @property
80108
+ def Persons(self):
80109
+ r"""<p>人物集合,匹配出现了所有传入人物的片段</p><p>入参限制:数组长度限制:16</p>
80110
+ :rtype: list of str
80111
+ """
80112
+ return self._Persons
80113
+
80114
+ @Persons.setter
80115
+ def Persons(self, Persons):
80116
+ self._Persons = Persons
80117
+
79490
80118
  @property
79491
80119
  def TaskTypes(self):
79492
- r"""搜索的任务类型,可选值有:
79493
- - AiAnalysis.DescriptionTask
79494
- - SmartSubtitle.AsrFullTextTask
80120
+ r"""<p>搜索的任务类型,可选值有: </p><ul><li>AiAnalysis.DescriptionTask </li><li>SmartSubtitle.AsrFullTextTask</li></ul>
79495
80121
  :rtype: list of str
79496
80122
  """
79497
80123
  return self._TaskTypes
@@ -79507,6 +80133,7 @@ class SearchMediaBySemanticsRequest(AbstractModel):
79507
80133
  self._Limit = params.get("Limit")
79508
80134
  self._Categories = params.get("Categories")
79509
80135
  self._Tags = params.get("Tags")
80136
+ self._Persons = params.get("Persons")
79510
80137
  self._TaskTypes = params.get("TaskTypes")
79511
80138
  memeber_set = set(params.keys())
79512
80139
  for name, value in vars(self).items():
@@ -79525,7 +80152,7 @@ class SearchMediaBySemanticsResponse(AbstractModel):
79525
80152
 
79526
80153
  def __init__(self):
79527
80154
  r"""
79528
- :param _SearchResults: 媒体列表。
80155
+ :param _SearchResults: <p>媒体列表。</p>
79529
80156
  :type SearchResults: list of SemanticsSearchResult
79530
80157
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
79531
80158
  :type RequestId: str
@@ -79535,7 +80162,7 @@ class SearchMediaBySemanticsResponse(AbstractModel):
79535
80162
 
79536
80163
  @property
79537
80164
  def SearchResults(self):
79538
- r"""媒体列表。
80165
+ r"""<p>媒体列表。</p>
79539
80166
  :rtype: list of SemanticsSearchResult
79540
80167
  """
79541
80168
  return self._SearchResults
@@ -225,6 +225,29 @@ class VodClient(AbstractClient):
225
225
  raise TencentCloudSDKException(type(e).__name__, str(e))
226
226
 
227
227
 
228
+ def CreateAigcAdvancedCustomElement(self, request):
229
+ r"""该接口用于创建 AIGC 高级自定义主体。
230
+
231
+ :param request: Request instance for CreateAigcAdvancedCustomElement.
232
+ :type request: :class:`tencentcloud.vod.v20180717.models.CreateAigcAdvancedCustomElementRequest`
233
+ :rtype: :class:`tencentcloud.vod.v20180717.models.CreateAigcAdvancedCustomElementResponse`
234
+
235
+ """
236
+ try:
237
+ params = request._serialize()
238
+ headers = request.headers
239
+ body = self.call("CreateAigcAdvancedCustomElement", params, headers=headers)
240
+ response = json.loads(body)
241
+ model = models.CreateAigcAdvancedCustomElementResponse()
242
+ model._deserialize(response["Response"])
243
+ return model
244
+ except Exception as e:
245
+ if isinstance(e, TencentCloudSDKException):
246
+ raise
247
+ else:
248
+ raise TencentCloudSDKException(type(e).__name__, str(e))
249
+
250
+
228
251
  def CreateAigcApiToken(self, request):
229
252
  r"""创建AIGC调用API的Token。创建后数据同步有延时,约30秒后可查询或删除。
230
253
 
@@ -271,6 +294,29 @@ class VodClient(AbstractClient):
271
294
  raise TencentCloudSDKException(type(e).__name__, str(e))
272
295
 
273
296
 
297
+ def CreateAigcCustomVoice(self, request):
298
+ r"""该接口用于创建 AIGC 自定义音色。
299
+
300
+ :param request: Request instance for CreateAigcCustomVoice.
301
+ :type request: :class:`tencentcloud.vod.v20180717.models.CreateAigcCustomVoiceRequest`
302
+ :rtype: :class:`tencentcloud.vod.v20180717.models.CreateAigcCustomVoiceResponse`
303
+
304
+ """
305
+ try:
306
+ params = request._serialize()
307
+ headers = request.headers
308
+ body = self.call("CreateAigcCustomVoice", params, headers=headers)
309
+ response = json.loads(body)
310
+ model = models.CreateAigcCustomVoiceResponse()
311
+ model._deserialize(response["Response"])
312
+ return model
313
+ except Exception as e:
314
+ if isinstance(e, TencentCloudSDKException):
315
+ raise
316
+ else:
317
+ raise TencentCloudSDKException(type(e).__name__, str(e))
318
+
319
+
274
320
  def CreateAigcImageTask(self, request):
275
321
  r"""该接口用于[生成 AIGC 图片](https://cloud.tencent.com/document/product/266/124473)。<b>接口处于内测阶段,如需使用请[联系我们](https://cloud.tencent.com/online-service?from=sales_sales&source=PRESALE),接口调用会产生实际费用,</b>请参考点播 [AIGC 生图片计费文档](https://cloud.tencent.com/document/product/266/95125#9c4dc6ff-4b3f-4b25-bf2d-393889dfb9ac)。该功能结算模式为[后付费](https://cloud.tencent.com/document/product/266/2838),日结客户当天使用将在第二天出账,月结客户将在次月1日统一出上月使用费用。
276
322
 
@@ -184,6 +184,24 @@ class VodClient(AbstractClient):
184
184
 
185
185
  return await self.call_and_deserialize(**kwargs)
186
186
 
187
+ async def CreateAigcAdvancedCustomElement(
188
+ self,
189
+ request: models.CreateAigcAdvancedCustomElementRequest,
190
+ opts: Dict = None,
191
+ ) -> models.CreateAigcAdvancedCustomElementResponse:
192
+ """
193
+ 该接口用于创建 AIGC 高级自定义主体。
194
+ """
195
+
196
+ kwargs = {}
197
+ kwargs["action"] = "CreateAigcAdvancedCustomElement"
198
+ kwargs["params"] = request._serialize()
199
+ kwargs["resp_cls"] = models.CreateAigcAdvancedCustomElementResponse
200
+ kwargs["headers"] = request.headers
201
+ kwargs["opts"] = opts or {}
202
+
203
+ return await self.call_and_deserialize(**kwargs)
204
+
187
205
  async def CreateAigcApiToken(
188
206
  self,
189
207
  request: models.CreateAigcApiTokenRequest,
@@ -220,6 +238,24 @@ class VodClient(AbstractClient):
220
238
 
221
239
  return await self.call_and_deserialize(**kwargs)
222
240
 
241
+ async def CreateAigcCustomVoice(
242
+ self,
243
+ request: models.CreateAigcCustomVoiceRequest,
244
+ opts: Dict = None,
245
+ ) -> models.CreateAigcCustomVoiceResponse:
246
+ """
247
+ 该接口用于创建 AIGC 自定义音色。
248
+ """
249
+
250
+ kwargs = {}
251
+ kwargs["action"] = "CreateAigcCustomVoice"
252
+ kwargs["params"] = request._serialize()
253
+ kwargs["resp_cls"] = models.CreateAigcCustomVoiceResponse
254
+ kwargs["headers"] = request.headers
255
+ kwargs["opts"] = opts or {}
256
+
257
+ return await self.call_and_deserialize(**kwargs)
258
+
223
259
  async def CreateAigcImageTask(
224
260
  self,
225
261
  request: models.CreateAigcImageTaskRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vod
3
- Version: 3.1.51
3
+ Version: 3.1.54
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.51
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.54
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.54
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.51