tencentcloud-sdk-python-tts 3.0.1116__tar.gz → 3.0.1120__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.1116 → tencentcloud-sdk-python-tts-3.0.1120}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/setup.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud/tts/v20190823/models.py +13 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tts-3.0.1120/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tts-3.0.1116/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/README.rst +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud/tts/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud/tts/v20190823/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud/tts/v20190823/tts_client.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1116 → tencentcloud-sdk-python-tts-3.0.1120}/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.1120"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -579,9 +579,12 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
579
579
|
:param _SegmentRate: 断句敏感阈值,默认值为:0,取值范围:[0,1,2]。该值越大越不容易断句,模型会更倾向于仅按照标点符号断句。此参数建议不要随意调整,可能会影响合成效果。
|
|
580
580
|
:type SegmentRate: int
|
|
581
581
|
:param _EmotionCategory: 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、撒娇(sajiao)、厌恶(disgusted)、震惊(amaze)、平静(peaceful)、兴奋(exciting)、傲娇(aojiao)、解说(jieshuo)
|
|
582
|
+
示例值:neutral
|
|
582
583
|
:type EmotionCategory: str
|
|
583
584
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
|
584
585
|
:type EmotionIntensity: int
|
|
586
|
+
:param _FastVoiceType: 一句话复刻音色id,使用一句话复刻音色时需填写。若使用一句话复刻,VoiceType请填入固定值“200000000”
|
|
587
|
+
:type FastVoiceType: str
|
|
585
588
|
"""
|
|
586
589
|
self._Text = None
|
|
587
590
|
self._SessionId = None
|
|
@@ -597,6 +600,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
597
600
|
self._SegmentRate = None
|
|
598
601
|
self._EmotionCategory = None
|
|
599
602
|
self._EmotionIntensity = None
|
|
603
|
+
self._FastVoiceType = None
|
|
600
604
|
|
|
601
605
|
@property
|
|
602
606
|
def Text(self):
|
|
@@ -710,6 +714,14 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
710
714
|
def EmotionIntensity(self, EmotionIntensity):
|
|
711
715
|
self._EmotionIntensity = EmotionIntensity
|
|
712
716
|
|
|
717
|
+
@property
|
|
718
|
+
def FastVoiceType(self):
|
|
719
|
+
return self._FastVoiceType
|
|
720
|
+
|
|
721
|
+
@FastVoiceType.setter
|
|
722
|
+
def FastVoiceType(self, FastVoiceType):
|
|
723
|
+
self._FastVoiceType = FastVoiceType
|
|
724
|
+
|
|
713
725
|
|
|
714
726
|
def _deserialize(self, params):
|
|
715
727
|
self._Text = params.get("Text")
|
|
@@ -726,6 +738,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
726
738
|
self._SegmentRate = params.get("SegmentRate")
|
|
727
739
|
self._EmotionCategory = params.get("EmotionCategory")
|
|
728
740
|
self._EmotionIntensity = params.get("EmotionIntensity")
|
|
741
|
+
self._FastVoiceType = params.get("FastVoiceType")
|
|
729
742
|
memeber_set = set(params.keys())
|
|
730
743
|
for name, value in vars(self).items():
|
|
731
744
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1120
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1116
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|