tencentcloud-sdk-python-tts 3.0.1120__tar.gz → 3.0.1122__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.1120 → tencentcloud-sdk-python-tts-3.0.1122}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/setup.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud/tts/v20190823/models.py +12 -12
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tts-3.0.1122/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tts-3.0.1120/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/README.rst +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud/tts/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud/tts/v20190823/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud/tts/v20190823/tts_client.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1120 → tencentcloud-sdk-python-tts-3.0.1122}/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.1122"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -27,14 +27,14 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
27
27
|
r"""
|
|
28
28
|
:param _Text: 合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符
|
|
29
29
|
:type Text: str
|
|
30
|
-
:param _ModelType: 模型类型,1-默认模型。
|
|
31
|
-
:type ModelType: int
|
|
32
30
|
:param _Volume: 音量大小,范围:[0,10],分别对应11个等级的音量,默认为0,代表正常音量。没有静音选项。
|
|
33
31
|
:type Volume: float
|
|
34
32
|
:param _Speed: 语速,范围:[-2,2],分别对应不同语速:<li>-2代表0.6倍</li><li>-1代表0.8倍</li><li>0代表1.0倍(默认)</li><li>1代表1.2倍</li><li>2代表1.5倍</li>如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。<br>参数值与实际语速转换,可参考[代码示例](https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz)
|
|
35
33
|
:type Speed: float
|
|
36
34
|
:param _ProjectId: 项目id,用户自定义,默认为0。
|
|
37
35
|
:type ProjectId: int
|
|
36
|
+
:param _ModelType: 模型类型,1-默认模型。
|
|
37
|
+
:type ModelType: int
|
|
38
38
|
:param _VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
|
39
39
|
:type VoiceType: int
|
|
40
40
|
:param _PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
|
@@ -55,10 +55,10 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
55
55
|
:type EmotionIntensity: int
|
|
56
56
|
"""
|
|
57
57
|
self._Text = None
|
|
58
|
-
self._ModelType = None
|
|
59
58
|
self._Volume = None
|
|
60
59
|
self._Speed = None
|
|
61
60
|
self._ProjectId = None
|
|
61
|
+
self._ModelType = None
|
|
62
62
|
self._VoiceType = None
|
|
63
63
|
self._PrimaryLanguage = None
|
|
64
64
|
self._SampleRate = None
|
|
@@ -77,14 +77,6 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
77
77
|
def Text(self, Text):
|
|
78
78
|
self._Text = Text
|
|
79
79
|
|
|
80
|
-
@property
|
|
81
|
-
def ModelType(self):
|
|
82
|
-
return self._ModelType
|
|
83
|
-
|
|
84
|
-
@ModelType.setter
|
|
85
|
-
def ModelType(self, ModelType):
|
|
86
|
-
self._ModelType = ModelType
|
|
87
|
-
|
|
88
80
|
@property
|
|
89
81
|
def Volume(self):
|
|
90
82
|
return self._Volume
|
|
@@ -109,6 +101,14 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
109
101
|
def ProjectId(self, ProjectId):
|
|
110
102
|
self._ProjectId = ProjectId
|
|
111
103
|
|
|
104
|
+
@property
|
|
105
|
+
def ModelType(self):
|
|
106
|
+
return self._ModelType
|
|
107
|
+
|
|
108
|
+
@ModelType.setter
|
|
109
|
+
def ModelType(self, ModelType):
|
|
110
|
+
self._ModelType = ModelType
|
|
111
|
+
|
|
112
112
|
@property
|
|
113
113
|
def VoiceType(self):
|
|
114
114
|
return self._VoiceType
|
|
@@ -184,10 +184,10 @@ class CreateTtsTaskRequest(AbstractModel):
|
|
|
184
184
|
|
|
185
185
|
def _deserialize(self, params):
|
|
186
186
|
self._Text = params.get("Text")
|
|
187
|
-
self._ModelType = params.get("ModelType")
|
|
188
187
|
self._Volume = params.get("Volume")
|
|
189
188
|
self._Speed = params.get("Speed")
|
|
190
189
|
self._ProjectId = params.get("ProjectId")
|
|
190
|
+
self._ModelType = params.get("ModelType")
|
|
191
191
|
self._VoiceType = params.get("VoiceType")
|
|
192
192
|
self._PrimaryLanguage = params.get("PrimaryLanguage")
|
|
193
193
|
self._SampleRate = params.get("SampleRate")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1122
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1120
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|