tencentcloud-sdk-python-tts 3.1.19__tar.gz → 3.1.42__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 (17) hide show
  1. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/setup.py +1 -1
  3. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/tts/v20190823/models.py +30 -30
  5. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_tts-3.1.42/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_tts-3.1.19/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/README.rst +0 -0
  9. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/tts/__init__.py +0 -0
  11. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/tts/v20190823/__init__.py +0 -0
  12. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/tts/v20190823/tts_client.py +0 -0
  14. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud/tts/v20190823/tts_client_async.py +0 -0
  15. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_tts-3.1.19 → tencentcloud_sdk_python_tts-3.1.42}/tencentcloud_sdk_python_tts.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tts
3
- Version: 3.1.19
3
+ Version: 3.1.42
4
4
  Summary: Tencent Cloud Tts 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.19
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.42
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-tts',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.19,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.42,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Tts SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.19'
17
+ __version__ = '3.1.42'
@@ -25,33 +25,33 @@ class CreateTtsTaskRequest(AbstractModel):
25
25
 
26
26
  def __init__(self):
27
27
  r"""
28
- :param _Text: 合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符
28
+ :param _Text: <p>合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符</p>
29
29
  :type Text: str
30
- :param _Volume: 音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。
30
+ :param _Volume: <p>音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。</p>
31
31
  :type Volume: float
32
- :param _Speed: 语速,范围:[-2,6],分别对应不同语速:<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><li>6代表2.5倍</li>如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。<br>参数值与实际语速转换,可参考[代码示例](https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz)
32
+ :param _Speed: <p>语速,范围:[-2,6],分别对应不同语速:<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><li>6代表2.5倍</li>如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。<br>参数值与实际语速转换,可参考<a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">代码示例</a></p>
33
33
  :type Speed: float
34
- :param _ProjectId: 项目id,用户自定义,默认为0。
34
+ :param _ProjectId: <p>项目id,用户自定义,默认为0。</p>
35
35
  :type ProjectId: int
36
- :param _ModelType: 模型类型,1-默认模型。
36
+ :param _ModelType: <p>模型类型,1-默认模型。</p>
37
37
  :type ModelType: int
38
- :param _VoiceType: 音色 ID,价格请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
38
+ :param _VoiceType: <p>音色 ID,价格请参见<a href="https://cloud.tencent.com/document/product/1073/34112">购买指南</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668">音色列表</a>。</p>
39
39
  :type VoiceType: int
40
- :param _PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li>
40
+ :param _PrimaryLanguage: <p>主语言类型:<li>1-中文(默认)</li><li>2-英文</li></p>
41
41
  :type PrimaryLanguage: int
42
- :param _SampleRate: 音频采样率:<li>16000:16k(默认)</li><li>8000:8k</li>
42
+ :param _SampleRate: <p>音频采样率:<li>16000:16k(默认)</li><li>8000:8k</li></p>
43
43
  :type SampleRate: int
44
- :param _Codec: 返回音频格式,可取值:mp3(默认),wav,pcm
44
+ :param _Codec: <p>返回音频格式,可取值:mp3(默认),wav,pcm</p>
45
45
  :type Codec: str
46
- :param _CallbackUrl: 回调 URL,用户自行搭建的用于接收识别结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。[回调说明](https://cloud.tencent.com/document/product/1073/55746)
46
+ :param _CallbackUrl: <p>回调 URL,用户自行搭建的用于接收识别结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。<a href="https://cloud.tencent.com/document/product/1073/55746">回调说明</a></p>
47
47
  :type CallbackUrl: str
48
- :param _EnableSubtitle: 是否开启时间戳功能,默认为false。
48
+ :param _EnableSubtitle: <p>是否开启时间戳功能,默认为false。</p>
49
49
  :type EnableSubtitle: bool
50
- :param _VoiceoverDialogueSplit: 旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
50
+ :param _VoiceoverDialogueSplit: <p>旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false</p>
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(解说)
52
+ :param _EmotionCategory: <p>控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)</p>
53
53
  :type EmotionCategory: str
54
- :param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
54
+ :param _EmotionIntensity: <p>控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。</p>
55
55
  :type EmotionIntensity: int
56
56
  """
57
57
  self._Text = None
@@ -71,7 +71,7 @@ class CreateTtsTaskRequest(AbstractModel):
71
71
 
72
72
  @property
73
73
  def Text(self):
74
- r"""合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符
74
+ r"""<p>合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符</p>
75
75
  :rtype: str
76
76
  """
77
77
  return self._Text
@@ -82,7 +82,7 @@ class CreateTtsTaskRequest(AbstractModel):
82
82
 
83
83
  @property
84
84
  def Volume(self):
85
- r"""音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。
85
+ r"""<p>音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。</p>
86
86
  :rtype: float
87
87
  """
88
88
  return self._Volume
@@ -93,7 +93,7 @@ class CreateTtsTaskRequest(AbstractModel):
93
93
 
94
94
  @property
95
95
  def Speed(self):
96
- r"""语速,范围:[-2,6],分别对应不同语速:<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><li>6代表2.5倍</li>如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。<br>参数值与实际语速转换,可参考[代码示例](https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz)
96
+ r"""<p>语速,范围:[-2,6],分别对应不同语速:<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><li>6代表2.5倍</li>如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。<br>参数值与实际语速转换,可参考<a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">代码示例</a></p>
97
97
  :rtype: float
98
98
  """
99
99
  return self._Speed
@@ -104,7 +104,7 @@ class CreateTtsTaskRequest(AbstractModel):
104
104
 
105
105
  @property
106
106
  def ProjectId(self):
107
- r"""项目id,用户自定义,默认为0。
107
+ r"""<p>项目id,用户自定义,默认为0。</p>
108
108
  :rtype: int
109
109
  """
110
110
  return self._ProjectId
@@ -115,7 +115,7 @@ class CreateTtsTaskRequest(AbstractModel):
115
115
 
116
116
  @property
117
117
  def ModelType(self):
118
- r"""模型类型,1-默认模型。
118
+ r"""<p>模型类型,1-默认模型。</p>
119
119
  :rtype: int
120
120
  """
121
121
  return self._ModelType
@@ -126,7 +126,7 @@ class CreateTtsTaskRequest(AbstractModel):
126
126
 
127
127
  @property
128
128
  def VoiceType(self):
129
- r"""音色 ID,价格请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
129
+ r"""<p>音色 ID,价格请参见<a href="https://cloud.tencent.com/document/product/1073/34112">购买指南</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668">音色列表</a>。</p>
130
130
  :rtype: int
131
131
  """
132
132
  return self._VoiceType
@@ -137,7 +137,7 @@ class CreateTtsTaskRequest(AbstractModel):
137
137
 
138
138
  @property
139
139
  def PrimaryLanguage(self):
140
- r"""主语言类型:<li>1-中文(默认)</li><li>2-英文</li>
140
+ r"""<p>主语言类型:<li>1-中文(默认)</li><li>2-英文</li></p>
141
141
  :rtype: int
142
142
  """
143
143
  return self._PrimaryLanguage
@@ -148,7 +148,7 @@ class CreateTtsTaskRequest(AbstractModel):
148
148
 
149
149
  @property
150
150
  def SampleRate(self):
151
- r"""音频采样率:<li>16000:16k(默认)</li><li>8000:8k</li>
151
+ r"""<p>音频采样率:<li>16000:16k(默认)</li><li>8000:8k</li></p>
152
152
  :rtype: int
153
153
  """
154
154
  return self._SampleRate
@@ -159,7 +159,7 @@ class CreateTtsTaskRequest(AbstractModel):
159
159
 
160
160
  @property
161
161
  def Codec(self):
162
- r"""返回音频格式,可取值:mp3(默认),wav,pcm
162
+ r"""<p>返回音频格式,可取值:mp3(默认),wav,pcm</p>
163
163
  :rtype: str
164
164
  """
165
165
  return self._Codec
@@ -170,7 +170,7 @@ class CreateTtsTaskRequest(AbstractModel):
170
170
 
171
171
  @property
172
172
  def CallbackUrl(self):
173
- r"""回调 URL,用户自行搭建的用于接收识别结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。[回调说明](https://cloud.tencent.com/document/product/1073/55746)
173
+ r"""<p>回调 URL,用户自行搭建的用于接收识别结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。<a href="https://cloud.tencent.com/document/product/1073/55746">回调说明</a></p>
174
174
  :rtype: str
175
175
  """
176
176
  return self._CallbackUrl
@@ -181,7 +181,7 @@ class CreateTtsTaskRequest(AbstractModel):
181
181
 
182
182
  @property
183
183
  def EnableSubtitle(self):
184
- r"""是否开启时间戳功能,默认为false。
184
+ r"""<p>是否开启时间戳功能,默认为false。</p>
185
185
  :rtype: bool
186
186
  """
187
187
  return self._EnableSubtitle
@@ -192,7 +192,7 @@ class CreateTtsTaskRequest(AbstractModel):
192
192
 
193
193
  @property
194
194
  def VoiceoverDialogueSplit(self):
195
- r"""旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false
195
+ r"""<p>旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false</p>
196
196
  :rtype: bool
197
197
  """
198
198
  return self._VoiceoverDialogueSplit
@@ -203,7 +203,7 @@ class CreateTtsTaskRequest(AbstractModel):
203
203
 
204
204
  @property
205
205
  def EmotionCategory(self):
206
- r"""控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
206
+ r"""<p>控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)</p>
207
207
  :rtype: str
208
208
  """
209
209
  return self._EmotionCategory
@@ -214,7 +214,7 @@ class CreateTtsTaskRequest(AbstractModel):
214
214
 
215
215
  @property
216
216
  def EmotionIntensity(self):
217
- r"""控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
217
+ r"""<p>控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。</p>
218
218
  :rtype: int
219
219
  """
220
220
  return self._EmotionIntensity
@@ -292,7 +292,7 @@ class CreateTtsTaskResponse(AbstractModel):
292
292
 
293
293
  def __init__(self):
294
294
  r"""
295
- :param _Data: 任务 id
295
+ :param _Data: <p>任务 id</p>
296
296
  :type Data: :class:`tencentcloud.tts.v20190823.models.CreateTtsTaskRespData`
297
297
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
298
298
  :type RequestId: str
@@ -302,7 +302,7 @@ class CreateTtsTaskResponse(AbstractModel):
302
302
 
303
303
  @property
304
304
  def Data(self):
305
- r"""任务 id
305
+ r"""<p>任务 id</p>
306
306
  :rtype: :class:`tencentcloud.tts.v20190823.models.CreateTtsTaskRespData`
307
307
  """
308
308
  return self._Data
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-tts
3
- Version: 3.1.19
3
+ Version: 3.1.42
4
4
  Summary: Tencent Cloud Tts 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.19
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.42
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.42
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.19