tencentcloud-sdk-python-tts 3.1.101__tar.gz → 3.1.213__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.1.101 → tencentcloud_sdk_python_tts-3.1.213}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/setup.py +1 -1
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/tts/v20190823/models.py +17 -2
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud_sdk_python_tts.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tts-3.1.213/tencentcloud_sdk_python_tts.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tts-3.1.101/tencentcloud_sdk_python_tts.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/README.rst +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/tts/__init__.py +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/tts/v20190823/__init__.py +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/tts/v20190823/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/tts/v20190823/tts_client.py +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud/tts/v20190823/tts_client_async.py +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud_sdk_python_tts.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/tencentcloud_sdk_python_tts.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tts-3.1.101 → tencentcloud_sdk_python_tts-3.1.213}/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.
|
|
3
|
+
Version: 3.1.213
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.213
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.213,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tts SDK for Python',
|
|
@@ -659,7 +659,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
659
659
|
:type ProjectId: int
|
|
660
660
|
:param _ModelType: <p>模型类型,1-默认模型。</p>
|
|
661
661
|
:type ModelType: int
|
|
662
|
-
: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>。<br
|
|
662
|
+
: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>。<br>若使用一句话版声音复刻1.0(EngineType=WXZL),请填入固定值“200000000”;<br>若使用一句话版声音复刻2.0(EngineType=YTLX_V2),请填入固定值“200000400”。</p>
|
|
663
663
|
:type VoiceType: int
|
|
664
664
|
:param _FastVoiceType: <p>一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。</p>
|
|
665
665
|
:type FastVoiceType: str
|
|
@@ -677,6 +677,8 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
677
677
|
:type EmotionCategory: str
|
|
678
678
|
:param _EmotionIntensity: <p>控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;</p>
|
|
679
679
|
:type EmotionIntensity: int
|
|
680
|
+
:param _EnableLatex: <p>是否开启LaTeX文本朗读功能,默认为false。<br>注:</p><ul><li>该参数适用于K12教育场景,启用后,会增加一定的时延</li><li>仅支持中文文本中使用LaTeX公式</li><li>仅支持部分超自然大模型2.0音色,详情见<a href="https://cloud.tencent.com/document/product/1073/92668">音色列表</a>。</li><li>公式使用需添加定界符,支持 $...$、$$...$$<br>例:同学们看这道题,$1 + 2 = 3$,这是最基础的加法。</li></ul>
|
|
681
|
+
:type EnableLatex: bool
|
|
680
682
|
"""
|
|
681
683
|
self._Text = None
|
|
682
684
|
self._SessionId = None
|
|
@@ -693,6 +695,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
693
695
|
self._SegmentRate = None
|
|
694
696
|
self._EmotionCategory = None
|
|
695
697
|
self._EmotionIntensity = None
|
|
698
|
+
self._EnableLatex = None
|
|
696
699
|
|
|
697
700
|
@property
|
|
698
701
|
def Text(self):
|
|
@@ -762,7 +765,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
762
765
|
|
|
763
766
|
@property
|
|
764
767
|
def VoiceType(self):
|
|
765
|
-
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>。<br
|
|
768
|
+
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>。<br>若使用一句话版声音复刻1.0(EngineType=WXZL),请填入固定值“200000000”;<br>若使用一句话版声音复刻2.0(EngineType=YTLX_V2),请填入固定值“200000400”。</p>
|
|
766
769
|
:rtype: int
|
|
767
770
|
"""
|
|
768
771
|
return self._VoiceType
|
|
@@ -859,6 +862,17 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
859
862
|
def EmotionIntensity(self, EmotionIntensity):
|
|
860
863
|
self._EmotionIntensity = EmotionIntensity
|
|
861
864
|
|
|
865
|
+
@property
|
|
866
|
+
def EnableLatex(self):
|
|
867
|
+
r"""<p>是否开启LaTeX文本朗读功能,默认为false。<br>注:</p><ul><li>该参数适用于K12教育场景,启用后,会增加一定的时延</li><li>仅支持中文文本中使用LaTeX公式</li><li>仅支持部分超自然大模型2.0音色,详情见<a href="https://cloud.tencent.com/document/product/1073/92668">音色列表</a>。</li><li>公式使用需添加定界符,支持 $...$、$$...$$<br>例:同学们看这道题,$1 + 2 = 3$,这是最基础的加法。</li></ul>
|
|
868
|
+
:rtype: bool
|
|
869
|
+
"""
|
|
870
|
+
return self._EnableLatex
|
|
871
|
+
|
|
872
|
+
@EnableLatex.setter
|
|
873
|
+
def EnableLatex(self, EnableLatex):
|
|
874
|
+
self._EnableLatex = EnableLatex
|
|
875
|
+
|
|
862
876
|
|
|
863
877
|
def _deserialize(self, params):
|
|
864
878
|
self._Text = params.get("Text")
|
|
@@ -876,6 +890,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
|
876
890
|
self._SegmentRate = params.get("SegmentRate")
|
|
877
891
|
self._EmotionCategory = params.get("EmotionCategory")
|
|
878
892
|
self._EmotionIntensity = params.get("EmotionIntensity")
|
|
893
|
+
self._EnableLatex = params.get("EnableLatex")
|
|
879
894
|
memeber_set = set(params.keys())
|
|
880
895
|
for name, value in vars(self).items():
|
|
881
896
|
property_name = name[1:]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tts
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.213
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.213
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.213
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|