tencentcloud-sdk-python-tts 3.0.982__tar.gz → 3.0.983__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-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/setup.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud/tts/v20190823/models.py +24 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tts-3.0.983/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tts-3.0.982/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/README.rst +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud/tts/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud/tts/v20190823/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud/tts/v20190823/tts_client.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.982 → tencentcloud-sdk-python-tts-3.0.983}/tencentcloud_sdk_python_tts.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tts',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.983"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -49,6 +49,10 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
49
49
|
:type EnableSubtitle: bool
|
|
50
50
|
:param _VoiceoverDialogueSplit: 旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
|
|
51
51
|
:type VoiceoverDialogueSplit: bool
|
|
52
|
+
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
|
|
53
|
+
:type EmotionCategory: str
|
|
54
|
+
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
|
|
55
|
+
:type EmotionIntensity: int
|
|
52
56
|
"""
|
|
53
57
|
self._Text = None
|
|
54
58
|
self._ModelType = None
|
|
@@ -62,6 +66,8 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
62
66
|
self._CallbackUrl = None
|
|
63
67
|
self._EnableSubtitle = None
|
|
64
68
|
self._VoiceoverDialogueSplit = None
|
|
69
|
+
self._EmotionCategory = None
|
|
70
|
+
self._EmotionIntensity = None
|
|
65
71
|
|
|
66
72
|
@property
|
|
67
73
|
def Text(self):
|
|
@@ -159,6 +165,22 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
159
165
|
def VoiceoverDialogueSplit(self, VoiceoverDialogueSplit):
|
|
160
166
|
self._VoiceoverDialogueSplit = VoiceoverDialogueSplit
|
|
161
167
|
|
|
168
|
+
@property
|
|
169
|
+
def EmotionCategory(self):
|
|
170
|
+
return self._EmotionCategory
|
|
171
|
+
|
|
172
|
+
@EmotionCategory.setter
|
|
173
|
+
def EmotionCategory(self, EmotionCategory):
|
|
174
|
+
self._EmotionCategory = EmotionCategory
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def EmotionIntensity(self):
|
|
178
|
+
return self._EmotionIntensity
|
|
179
|
+
|
|
180
|
+
@EmotionIntensity.setter
|
|
181
|
+
def EmotionIntensity(self, EmotionIntensity):
|
|
182
|
+
self._EmotionIntensity = EmotionIntensity
|
|
183
|
+
|
|
162
184
|
|
|
163
185
|
def _deserialize(self, params):
|
|
164
186
|
self._Text = params.get("Text")
|
|
@@ -173,6 +195,8 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
173
195
|
self._CallbackUrl = params.get("CallbackUrl")
|
|
174
196
|
self._EnableSubtitle = params.get("EnableSubtitle")
|
|
175
197
|
self._VoiceoverDialogueSplit = params.get("VoiceoverDialogueSplit")
|
|
198
|
+
self._EmotionCategory = params.get("EmotionCategory")
|
|
199
|
+
self._EmotionIntensity = params.get("EmotionIntensity")
|
|
176
200
|
memeber_set = set(params.keys())
|
|
177
201
|
for name, value in vars(self).items():
|
|
178
202
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.983
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.982
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|