tencentcloud-sdk-tts 3.0.1042 → 3.0.1043

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d5b642859857ed7712a46326936adc1256902da
4
- data.tar.gz: 8346629041d39597a74f2214c4132dd61d7c0f1e
3
+ metadata.gz: 46674a672ac16b036002b12b82eed45f845aa76b
4
+ data.tar.gz: 29280924c6c04469817b59de05317ac214380243
5
5
  SHA512:
6
- metadata.gz: b0f3949edb46eb566dbc97d5f477fd6f051dac64dd3e1bfc37bcbfa6367cb765fd30c741e3ed112de63696ac0add7e031c072fc7a84ad4ccc02ec81bb9598da4
7
- data.tar.gz: 23c68d3860b1de81e2ef444d9c34e1c9f3bc47d4e4da15aa4633122fe574a68c4920bc9ac36f98306c8af7316bc3a1cac4f3c52b6c5c323a9f15087ac5bdfc9f
6
+ metadata.gz: 9b865b4a2f7c5559a4783ee137bc572afdc1ca32c86b8f2c7f04f1eaaa3b6701c96e00c7ffdc5e1ad973e9959e0c1346edcdb715315ec088de2991356db842e2
7
+ data.tar.gz: f5bd6359e6a9ec4bdca80fb856e220ade0f3c5543bd5713089257e9c92826b977b7bed4e82df4e3e5caec9caa049ec461fe657ab70bd6cb536e849c35277b40a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1042
1
+ 3.0.1043
@@ -101,9 +101,10 @@ module TencentCloud
101
101
  # 腾讯TTS技术可以应用到很多场景,比如,移动APP语音播报新闻;智能设备语音提醒;依靠网上现有节目或少量录音,快速合成明星语音,降低邀约成本;支持车载导航语音合成的个性化语音播报。
102
102
  # 基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
103
103
  # 默认接口请求频率限制:
104
- # 精品音色和标准音色:20次/秒
105
- # 大模型音色:10次/秒
106
- # 一句话复刻音色:暂不支持
104
+ # 精品音色和标准音色:默认20并发
105
+ # 大模型音色:默认10并发
106
+ # 一句话复刻音色:默认5并发
107
+ # 超自然大模型音色:暂不支持
107
108
 
108
109
  # @param request: Request instance for TextToVoice.
109
110
  # @type request: :class:`Tencentcloud::tts::V20190823::TextToVoiceRequest`
@@ -261,6 +261,8 @@ module TencentCloud
261
261
  # @param VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
262
262
  # 若使用一句话版声音复刻,请填入固定值“200000000”
263
263
  # @type VoiceType: Integer
264
+ # @param FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
265
+ # @type FastVoiceType: String
264
266
  # @param PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
265
267
  # @type PrimaryLanguage: Integer
266
268
  # @param SampleRate: 音频采样率:
@@ -279,12 +281,10 @@ module TencentCloud
279
281
  # @type EmotionCategory: String
280
282
  # @param EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
281
283
  # @type EmotionIntensity: Integer
282
- # @param FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
283
- # @type FastVoiceType: String
284
284
 
285
- attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate, :EmotionCategory, :EmotionIntensity, :FastVoiceType
285
+ attr_accessor :Text, :SessionId, :Volume, :Speed, :ProjectId, :ModelType, :VoiceType, :FastVoiceType, :PrimaryLanguage, :SampleRate, :Codec, :EnableSubtitle, :SegmentRate, :EmotionCategory, :EmotionIntensity
286
286
 
287
- def initialize(text=nil, sessionid=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, enablesubtitle=nil, segmentrate=nil, emotioncategory=nil, emotionintensity=nil, fastvoicetype=nil)
287
+ def initialize(text=nil, sessionid=nil, volume=nil, speed=nil, projectid=nil, modeltype=nil, voicetype=nil, fastvoicetype=nil, primarylanguage=nil, samplerate=nil, codec=nil, enablesubtitle=nil, segmentrate=nil, emotioncategory=nil, emotionintensity=nil)
288
288
  @Text = text
289
289
  @SessionId = sessionid
290
290
  @Volume = volume
@@ -292,6 +292,7 @@ module TencentCloud
292
292
  @ProjectId = projectid
293
293
  @ModelType = modeltype
294
294
  @VoiceType = voicetype
295
+ @FastVoiceType = fastvoicetype
295
296
  @PrimaryLanguage = primarylanguage
296
297
  @SampleRate = samplerate
297
298
  @Codec = codec
@@ -299,7 +300,6 @@ module TencentCloud
299
300
  @SegmentRate = segmentrate
300
301
  @EmotionCategory = emotioncategory
301
302
  @EmotionIntensity = emotionintensity
302
- @FastVoiceType = fastvoicetype
303
303
  end
304
304
 
305
305
  def deserialize(params)
@@ -310,6 +310,7 @@ module TencentCloud
310
310
  @ProjectId = params['ProjectId']
311
311
  @ModelType = params['ModelType']
312
312
  @VoiceType = params['VoiceType']
313
+ @FastVoiceType = params['FastVoiceType']
313
314
  @PrimaryLanguage = params['PrimaryLanguage']
314
315
  @SampleRate = params['SampleRate']
315
316
  @Codec = params['Codec']
@@ -317,7 +318,6 @@ module TencentCloud
317
318
  @SegmentRate = params['SegmentRate']
318
319
  @EmotionCategory = params['EmotionCategory']
319
320
  @EmotionIntensity = params['EmotionIntensity']
320
- @FastVoiceType = params['FastVoiceType']
321
321
  end
322
322
  end
323
323
 
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.1042
4
+ version: 3.0.1043
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-17 00:00:00.000000000 Z
11
+ date: 2025-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common