tencentcloud-sdk-tts 3.0.1177 → 3.0.1212
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190823/client.rb +1 -1
- data/lib/v20190823/models.rb +15 -15
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b3220c2cd2f585e9617bc4286f4271a1b6b2412
|
|
4
|
+
data.tar.gz: 3275f68b7a7a074472d6400d64b27341cfd40ed7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a23f5a9e6fb4f06d3ecc175ac4ca075f6669b06ac18efb4e62954c5e311d2ee9dcb6a6d63144a374165435b1d67207a7f4c6c0536cd1de3bfb0927d8c053b3d8
|
|
7
|
+
data.tar.gz: ec343c25e490307974d751f65756075ada7ff9f1795e1b15b6f6903de1f47ac2e24a527f42148046c8f0303a0525ea26d7aecab23ec3ebc0d33b557b964d5f43
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1212
|
data/lib/v20190823/client.rb
CHANGED
data/lib/v20190823/models.rb
CHANGED
|
@@ -19,33 +19,33 @@ module TencentCloud
|
|
|
19
19
|
module V20190823
|
|
20
20
|
# CreateTtsTask请求参数结构体
|
|
21
21
|
class CreateTtsTaskRequest < TencentCloud::Common::AbstractModel
|
|
22
|
-
# @param Text:
|
|
22
|
+
# @param Text: <p>合成语音的源文本,按UTF-8编码统一计算,最多支持10万字符</p>
|
|
23
23
|
# @type Text: String
|
|
24
|
-
# @param Volume:
|
|
24
|
+
# @param Volume: <p>音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。</p>
|
|
25
25
|
# @type Volume: Float
|
|
26
|
-
# @param Speed:
|
|
26
|
+
# @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>
|
|
27
27
|
# @type Speed: Float
|
|
28
|
-
# @param ProjectId:
|
|
28
|
+
# @param ProjectId: <p>项目id,用户自定义,默认为0。</p>
|
|
29
29
|
# @type ProjectId: Integer
|
|
30
|
-
# @param ModelType:
|
|
30
|
+
# @param ModelType: <p>模型类型,1-默认模型。</p>
|
|
31
31
|
# @type ModelType: Integer
|
|
32
|
-
# @param VoiceType:
|
|
32
|
+
# @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>
|
|
33
33
|
# @type VoiceType: Integer
|
|
34
|
-
# @param PrimaryLanguage:
|
|
34
|
+
# @param PrimaryLanguage: <p>主语言类型:<li>1-中文(默认)</li><li>2-英文</li></p>
|
|
35
35
|
# @type PrimaryLanguage: Integer
|
|
36
|
-
# @param SampleRate:
|
|
36
|
+
# @param SampleRate: <p>音频采样率:<li>16000:16k(默认)</li><li>8000:8k</li></p>
|
|
37
37
|
# @type SampleRate: Integer
|
|
38
|
-
# @param Codec:
|
|
38
|
+
# @param Codec: <p>返回音频格式,可取值:mp3(默认),wav,pcm</p>
|
|
39
39
|
# @type Codec: String
|
|
40
|
-
# @param CallbackUrl:
|
|
40
|
+
# @param CallbackUrl: <p>回调 URL,用户自行搭建的用于接收识别结果的服务URL。如果用户使用轮询方式获取识别结果,则无需提交该参数。<a href="https://cloud.tencent.com/document/product/1073/55746">回调说明</a></p>
|
|
41
41
|
# @type CallbackUrl: String
|
|
42
|
-
# @param EnableSubtitle:
|
|
42
|
+
# @param EnableSubtitle: <p>是否开启时间戳功能,默认为false。</p>
|
|
43
43
|
# @type EnableSubtitle: Boolean
|
|
44
|
-
# @param VoiceoverDialogueSplit:
|
|
44
|
+
# @param VoiceoverDialogueSplit: <p>旁白与对白文本解析,分别合成相应风格(仅适用于旁对白音色10510000、100510000),默认 false</p>
|
|
45
45
|
# @type VoiceoverDialogueSplit: Boolean
|
|
46
|
-
# @param EmotionCategory:
|
|
46
|
+
# @param EmotionCategory: <p>控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)</p>
|
|
47
47
|
# @type EmotionCategory: String
|
|
48
|
-
# @param EmotionIntensity:
|
|
48
|
+
# @param EmotionIntensity: <p>控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效。</p>
|
|
49
49
|
# @type EmotionIntensity: Integer
|
|
50
50
|
|
|
51
51
|
attr_accessor :Text, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :CallbackUrl, :EnableSubtitle, :VoiceoverDialogueSplit, :EmotionCategory, :EmotionIntensity
|
|
@@ -103,7 +103,7 @@ module TencentCloud
|
|
|
103
103
|
|
|
104
104
|
# CreateTtsTask返回参数结构体
|
|
105
105
|
class CreateTtsTaskResponse < TencentCloud::Common::AbstractModel
|
|
106
|
-
# @param Data:
|
|
106
|
+
# @param Data: <p>任务 id</p>
|
|
107
107
|
# @type Data: :class:`Tencentcloud::Tts.v20190823.models.CreateTtsTaskRespData`
|
|
108
108
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
109
109
|
# @type RequestId: String
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-tts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1212
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-02-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
+
- lib/tencentcloud-sdk-tts.rb
|
|
36
37
|
- lib/v20190823/client.rb
|
|
37
38
|
- lib/v20190823/models.rb
|
|
38
|
-
- lib/tencentcloud-sdk-tts.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|