tencentcloud-sdk-mps 3.0.1208 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f30b1cf970005b15f4d3718c017628250f9f533
4
- data.tar.gz: 2bda29b022950a84ea8a1325157b912c613bc4df
3
+ metadata.gz: 6e05b9276bc2d5db98819fc41dfe45afb46e6add
4
+ data.tar.gz: a3c57a5e53e2514dd1ab475f02dc72b7479ed3e5
5
5
  SHA512:
6
- metadata.gz: 2d09ab49875fb15ac982bec771a62b5784793dacb41aefa32f395d11ceaef5bf771b9571c7f034ebe0675f5d22f36681e517fcd1fdf6ca63f5d0efc8a730ad1b
7
- data.tar.gz: 25859be206cba940b60a8f0e07a31665bd7211513e63e0ffbbd4ca5e4cf0facea55960e38efd05e7dde9c8883585a530e3d961cdde33ca756d7b7cd2be0d2d54
6
+ metadata.gz: 6f3e95be4e2370a475958d4ec91843bb4b3c755f933feede11c1c1762ab8decb72692d332a83c5ceaf6eb1608adfc4a94ccbf40b70b93d26cc6d9753a75d695c
7
+ data.tar.gz: f7b096b502b99f2e0d4b396530bb23cd9bbe61f9618e6efcea7c5c680c170333e38aed2f02c1c126f873836e15e40a4b43aeb5f2902b5eef8d8bb368d2430853
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1208
1
+ 3.0.1212
@@ -3704,6 +3704,32 @@ module TencentCloud
3704
3704
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3705
3705
  end
3706
3706
 
3707
+ # # 同步配音接口
3708
+ # ## 音色克隆
3709
+ # ## 语音合成
3710
+
3711
+ # @param request: Request instance for SyncDubbing.
3712
+ # @type request: :class:`Tencentcloud::mps::V20190612::SyncDubbingRequest`
3713
+ # @rtype: :class:`Tencentcloud::mps::V20190612::SyncDubbingResponse`
3714
+ def SyncDubbing(request)
3715
+ body = send_request('SyncDubbing', request.serialize)
3716
+ response = JSON.parse(body)
3717
+ if response['Response'].key?('Error') == false
3718
+ model = SyncDubbingResponse.new
3719
+ model.deserialize(response['Response'])
3720
+ model
3721
+ else
3722
+ code = response['Response']['Error']['Code']
3723
+ message = response['Response']['Error']['Message']
3724
+ reqid = response['Response']['RequestId']
3725
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3726
+ end
3727
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3728
+ raise e
3729
+ rescue StandardError => e
3730
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3731
+ end
3732
+
3707
3733
  # 文本翻译
3708
3734
 
3709
3735
  # @param request: Request instance for TextTranslation.
@@ -9111,13 +9111,16 @@ module TencentCloud
9111
9111
  # @type Name: String
9112
9112
  # @param Comment: 图片处理模板描述信息,长度限制:256个字符。
9113
9113
  # @type Comment: String
9114
+ # @param StdExtInfo: 图片处理模板拓展参数。
9115
+ # @type StdExtInfo: String
9114
9116
 
9115
- attr_accessor :ProcessImageTemplate, :Name, :Comment
9117
+ attr_accessor :ProcessImageTemplate, :Name, :Comment, :StdExtInfo
9116
9118
 
9117
- def initialize(processimagetemplate=nil, name=nil, comment=nil)
9119
+ def initialize(processimagetemplate=nil, name=nil, comment=nil, stdextinfo=nil)
9118
9120
  @ProcessImageTemplate = processimagetemplate
9119
9121
  @Name = name
9120
9122
  @Comment = comment
9123
+ @StdExtInfo = stdextinfo
9121
9124
  end
9122
9125
 
9123
9126
  def deserialize(params)
@@ -9127,6 +9130,7 @@ module TencentCloud
9127
9130
  end
9128
9131
  @Name = params['Name']
9129
9132
  @Comment = params['Comment']
9133
+ @StdExtInfo = params['StdExtInfo']
9130
9134
  end
9131
9135
  end
9132
9136
 
@@ -27113,16 +27117,19 @@ module TencentCloud
27113
27117
  # @param Output: 媒体质检任务的输出。
27114
27118
  # 注意:此字段可能返回 null,表示取不到有效值。
27115
27119
  # @type Output: :class:`Tencentcloud::Mps.v20190612.models.QualityControlData`
27120
+ # @param Progress: 任务执行进度。
27121
+ # @type Progress: Integer
27116
27122
 
27117
- attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output
27123
+ attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
27118
27124
 
27119
- def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil)
27125
+ def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
27120
27126
  @Status = status
27121
27127
  @ErrCodeExt = errcodeext
27122
27128
  @ErrCode = errcode
27123
27129
  @Message = message
27124
27130
  @Input = input
27125
27131
  @Output = output
27132
+ @Progress = progress
27126
27133
  end
27127
27134
 
27128
27135
  def deserialize(params)
@@ -27138,6 +27145,7 @@ module TencentCloud
27138
27145
  @Output = QualityControlData.new
27139
27146
  @Output.deserialize(params['Output'])
27140
27147
  end
27148
+ @Progress = params['Progress']
27141
27149
  end
27142
27150
  end
27143
27151
 
@@ -29556,6 +29564,118 @@ module TencentCloud
29556
29564
  end
29557
29565
  end
29558
29566
 
29567
+ # SyncDubbing请求参数结构体
29568
+ class SyncDubbingRequest < TencentCloud::Common::AbstractModel
29569
+ # @param Text: 合成文本,语音合成时必填,文本长度不超过2000字符
29570
+ # @type Text: String
29571
+ # @param TextLang: 文本语言,不填默认中文。
29572
+ # 当前支持语言:
29573
+ # zh 中文 (Chinese)
29574
+ # en 英语 (English)
29575
+ # ja 日语 (Japanese)
29576
+ # de 德语 (German)
29577
+ # fr 法语 (French)
29578
+ # ko 韩语 (Korean)
29579
+ # ru 俄语 (Russian)
29580
+ # uk 乌克兰语 (Ukrainian)
29581
+ # pt 葡萄牙语 (Portuguese)
29582
+ # it 意大利语 (Italian)
29583
+ # es 西班牙语 (Spanish)
29584
+ # id 印度尼西亚语 (Indonesian)
29585
+ # nl 荷兰语 (Dutch)
29586
+ # tr 土耳其语 (Turkish)
29587
+ # fil 菲律宾语 (Filipino)
29588
+ # ms 马来语 (Malay)
29589
+ # el 希腊语 (Greek)
29590
+ # fi 芬兰语 (Finnish)
29591
+ # hr 克罗地亚语 (Croatian)
29592
+ # sk 斯洛伐克语 (Slovak)
29593
+ # pl 波兰语 (Polish)
29594
+ # sv 瑞典语 (Swedish)
29595
+ # hi 印地语 (Hindi)
29596
+ # bg 保加利亚语 (Bulgarian)
29597
+ # ro 罗马尼亚语 (Romanian)
29598
+ # ar 阿拉伯语 (Arabic)
29599
+ # cs 捷克语 (Czech)
29600
+ # da 丹麦语 (Danish)
29601
+ # ta 泰米尔语 (Tamil)
29602
+ # hun 匈牙利语(Hungarian)
29603
+ # vi 越南语(Vietnamese)
29604
+ # no 挪威语(Norwegian)
29605
+ # yue 粤语(Cantonese)
29606
+ # th 泰语(Thai)
29607
+ # he 希伯来语(Hebrew)
29608
+ # ca 加泰罗尼亚语(Catalan)
29609
+ # nn 尼诺斯克语(Nynorsk)
29610
+ # af 阿非利卡语(Afrikaans)
29611
+ # fa 波斯语(Persian)
29612
+ # sl 斯洛文尼亚语(Slovenian)
29613
+ # @type TextLang: String
29614
+ # @param VoiceId: 音色Id,指定音色合成时填写,支持系统音色和克隆音色。
29615
+ # @type VoiceId: String
29616
+ # @param AudioData: 克隆音频base64编码。
29617
+ # @type AudioData: String
29618
+ # @param AudioLang: 克隆音频语言,默认中文。
29619
+ # 当前支持语言同TextLang
29620
+ # @type AudioLang: String
29621
+ # @param ExtParam: 扩展参数,json字符串
29622
+ # @type ExtParam: String
29623
+
29624
+ attr_accessor :Text, :TextLang, :VoiceId, :AudioData, :AudioLang, :ExtParam
29625
+
29626
+ def initialize(text=nil, textlang=nil, voiceid=nil, audiodata=nil, audiolang=nil, extparam=nil)
29627
+ @Text = text
29628
+ @TextLang = textlang
29629
+ @VoiceId = voiceid
29630
+ @AudioData = audiodata
29631
+ @AudioLang = audiolang
29632
+ @ExtParam = extparam
29633
+ end
29634
+
29635
+ def deserialize(params)
29636
+ @Text = params['Text']
29637
+ @TextLang = params['TextLang']
29638
+ @VoiceId = params['VoiceId']
29639
+ @AudioData = params['AudioData']
29640
+ @AudioLang = params['AudioLang']
29641
+ @ExtParam = params['ExtParam']
29642
+ end
29643
+ end
29644
+
29645
+ # SyncDubbing返回参数结构体
29646
+ class SyncDubbingResponse < TencentCloud::Common::AbstractModel
29647
+ # @param ErrorCode: 错误码,成功时返回0
29648
+ # @type ErrorCode: Integer
29649
+ # @param Msg: 错误信息,成功时返回success
29650
+ # @type Msg: String
29651
+ # @param AudioData: 合成音频的base64编码,wav格式。
29652
+ # 注意:此字段可能返回 null,表示取不到有效值。
29653
+ # @type AudioData: String
29654
+ # @param VoiceId: 克隆的音色Id。
29655
+ # 注意:此字段可能返回 null,表示取不到有效值。
29656
+ # @type VoiceId: String
29657
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
29658
+ # @type RequestId: String
29659
+
29660
+ attr_accessor :ErrorCode, :Msg, :AudioData, :VoiceId, :RequestId
29661
+
29662
+ def initialize(errorcode=nil, msg=nil, audiodata=nil, voiceid=nil, requestid=nil)
29663
+ @ErrorCode = errorcode
29664
+ @Msg = msg
29665
+ @AudioData = audiodata
29666
+ @VoiceId = voiceid
29667
+ @RequestId = requestid
29668
+ end
29669
+
29670
+ def deserialize(params)
29671
+ @ErrorCode = params['ErrorCode']
29672
+ @Msg = params['Msg']
29673
+ @AudioData = params['AudioData']
29674
+ @VoiceId = params['VoiceId']
29675
+ @RequestId = params['RequestId']
29676
+ end
29677
+ end
29678
+
29559
29679
  # 极速高清参数配置。
29560
29680
  class TEHDConfig < TencentCloud::Common::AbstractModel
29561
29681
  # @param Type: 极速高清类型,可选值:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1208
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: 2026-01-26 00:00:00.000000000 Z
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