tencentcloud-sdk-python-tts 3.0.1204__tar.gz → 3.0.1250__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.1204 → tencentcloud-sdk-python-tts-3.0.1250}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/setup.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud/tts/v20190823/models.py +4 -3
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud/tts/v20190823/tts_client.py +4 -1
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tts-3.0.1250/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tts-3.0.1204/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/README.rst +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud/tts/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud/tts/v20190823/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1204 → tencentcloud-sdk-python-tts-3.0.1250}/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.1250"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -49,7 +49,7 @@ 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(客服)
|
|
52
|
+
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
|
|
53
53
|
:type EmotionCategory: str
|
|
54
54
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。
|
|
55
55
|
:type EmotionIntensity: int
|
|
@@ -564,6 +564,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
564
564
|
:param _ModelType: 模型类型,1-默认模型。
|
|
565
565
|
:type ModelType: int
|
|
566
566
|
:param _VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
|
567
|
+
若使用一句话版声音复刻,请填入固定值“200000000”
|
|
567
568
|
:type VoiceType: int
|
|
568
569
|
:param _PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
|
569
570
|
:type PrimaryLanguage: int
|
|
@@ -578,12 +579,12 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
578
579
|
:type EnableSubtitle: bool
|
|
579
580
|
:param _SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
|
|
580
581
|
:type SegmentRate: int
|
|
581
|
-
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)
|
|
582
|
+
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)
|
|
582
583
|
示例值:neutral
|
|
583
584
|
:type EmotionCategory: str
|
|
584
585
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
|
585
586
|
:type EmotionIntensity: int
|
|
586
|
-
:param _FastVoiceType:
|
|
587
|
+
:param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。
|
|
587
588
|
:type FastVoiceType: str
|
|
588
589
|
"""
|
|
589
590
|
self._Text = None
|
|
@@ -96,7 +96,10 @@ class TtsClient(AbstractClient):
|
|
|
96
96
|
"""腾讯云语音合成技术(TTS)可以将任意文本转化为语音,实现让机器和应用张口说话。
|
|
97
97
|
腾讯TTS技术可以应用到很多场景,比如,移动APP语音播报新闻;智能设备语音提醒;依靠网上现有节目或少量录音,快速合成明星语音,降低邀约成本;支持车载导航语音合成的个性化语音播报。
|
|
98
98
|
基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
|
|
99
|
-
默认接口请求频率限制:
|
|
99
|
+
默认接口请求频率限制:
|
|
100
|
+
精品音色和标准音色:20次/秒
|
|
101
|
+
大模型音色:10次/秒
|
|
102
|
+
一句话复刻音色:5次/秒
|
|
100
103
|
|
|
101
104
|
:param request: Request instance for TextToVoice.
|
|
102
105
|
:type request: :class:`tencentcloud.tts.v20190823.models.TextToVoiceRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1250
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1204
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|