tencentcloud-sdk-python-tts 3.0.1362__tar.gz → 3.0.1363__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.1362 → tencentcloud-sdk-python-tts-3.0.1363}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/setup.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud/tts/v20190823/models.py +15 -15
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud/tts/v20190823/tts_client.py +4 -3
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tts-3.0.1363/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tts-3.0.1362/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/README.rst +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud/tts/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud/tts/v20190823/__init__.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tts-3.0.1362 → tencentcloud-sdk-python-tts-3.0.1363}/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.1363"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tts SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -663,6 +663,8 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
663
663
|
:param _VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
|
664
664
|
若使用一句话版声音复刻,请填入固定值“200000000”
|
|
665
665
|
:type VoiceType: int
|
|
666
|
+
:param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
|
667
|
+
:type FastVoiceType: str
|
|
666
668
|
:param _PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
|
667
669
|
:type PrimaryLanguage: int
|
|
668
670
|
:param _SampleRate: 音频采样率:
|
|
@@ -681,8 +683,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
681
683
|
:type EmotionCategory: str
|
|
682
684
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
|
683
685
|
:type EmotionIntensity: int
|
|
684
|
-
:param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
|
685
|
-
:type FastVoiceType: str
|
|
686
686
|
"""
|
|
687
687
|
self._Text = None
|
|
688
688
|
self._SessionId = None
|
|
@@ -691,6 +691,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
691
691
|
self._ProjectId = None
|
|
692
692
|
self._ModelType = None
|
|
693
693
|
self._VoiceType = None
|
|
694
|
+
self._FastVoiceType = None
|
|
694
695
|
self._PrimaryLanguage = None
|
|
695
696
|
self._SampleRate = None
|
|
696
697
|
self._Codec = None
|
|
@@ -698,7 +699,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
698
699
|
self._SegmentRate = None
|
|
699
700
|
self._EmotionCategory = None
|
|
700
701
|
self._EmotionIntensity = None
|
|
701
|
-
self._FastVoiceType = None
|
|
702
702
|
|
|
703
703
|
@property
|
|
704
704
|
def Text(self):
|
|
@@ -779,6 +779,17 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
779
779
|
def VoiceType(self, VoiceType):
|
|
780
780
|
self._VoiceType = VoiceType
|
|
781
781
|
|
|
782
|
+
@property
|
|
783
|
+
def FastVoiceType(self):
|
|
784
|
+
"""一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
|
785
|
+
:rtype: str
|
|
786
|
+
"""
|
|
787
|
+
return self._FastVoiceType
|
|
788
|
+
|
|
789
|
+
@FastVoiceType.setter
|
|
790
|
+
def FastVoiceType(self, FastVoiceType):
|
|
791
|
+
self._FastVoiceType = FastVoiceType
|
|
792
|
+
|
|
782
793
|
@property
|
|
783
794
|
def PrimaryLanguage(self):
|
|
784
795
|
"""主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
|
@@ -860,17 +871,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
860
871
|
def EmotionIntensity(self, EmotionIntensity):
|
|
861
872
|
self._EmotionIntensity = EmotionIntensity
|
|
862
873
|
|
|
863
|
-
@property
|
|
864
|
-
def FastVoiceType(self):
|
|
865
|
-
"""一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
|
866
|
-
:rtype: str
|
|
867
|
-
"""
|
|
868
|
-
return self._FastVoiceType
|
|
869
|
-
|
|
870
|
-
@FastVoiceType.setter
|
|
871
|
-
def FastVoiceType(self, FastVoiceType):
|
|
872
|
-
self._FastVoiceType = FastVoiceType
|
|
873
|
-
|
|
874
874
|
|
|
875
875
|
def _deserialize(self, params):
|
|
876
876
|
self._Text = params.get("Text")
|
|
@@ -880,6 +880,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
880
880
|
self._ProjectId = params.get("ProjectId")
|
|
881
881
|
self._ModelType = params.get("ModelType")
|
|
882
882
|
self._VoiceType = params.get("VoiceType")
|
|
883
|
+
self._FastVoiceType = params.get("FastVoiceType")
|
|
883
884
|
self._PrimaryLanguage = params.get("PrimaryLanguage")
|
|
884
885
|
self._SampleRate = params.get("SampleRate")
|
|
885
886
|
self._Codec = params.get("Codec")
|
|
@@ -887,7 +888,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
887
888
|
self._SegmentRate = params.get("SegmentRate")
|
|
888
889
|
self._EmotionCategory = params.get("EmotionCategory")
|
|
889
890
|
self._EmotionIntensity = params.get("EmotionIntensity")
|
|
890
|
-
self._FastVoiceType = params.get("FastVoiceType")
|
|
891
891
|
memeber_set = set(params.keys())
|
|
892
892
|
for name, value in vars(self).items():
|
|
893
893
|
property_name = name[1:]
|
|
@@ -97,9 +97,10 @@ class TtsClient(AbstractClient):
|
|
|
97
97
|
腾讯TTS技术可以应用到很多场景,比如,移动APP语音播报新闻;智能设备语音提醒;依靠网上现有节目或少量录音,快速合成明星语音,降低邀约成本;支持车载导航语音合成的个性化语音播报。
|
|
98
98
|
基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
|
|
99
99
|
默认接口请求频率限制:
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
精品音色和标准音色:默认20并发
|
|
101
|
+
大模型音色:默认10并发
|
|
102
|
+
一句话复刻音色:默认5并发
|
|
103
|
+
超自然大模型音色:暂不支持
|
|
103
104
|
|
|
104
105
|
:param request: Request instance for TextToVoice.
|
|
105
106
|
:type request: :class:`tencentcloud.tts.v20190823.models.TextToVoiceRequest`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1363
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1362
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|