tencentcloud-sdk-vclm 3.0.926 → 3.0.928
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20240523/models.rb +28 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68e10741cfd8276247ab6c7ea7578b990253b07b
|
4
|
+
data.tar.gz: f444f38fbaca25f16d6f6666b315359dc7c3515b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9688e05fdf40e7e59841ce72bf7c357f944e8268c1befd9a638fb6bddb3a0cd096936505db0070f77a3bfd44d651cc33aa874b371126197a141f535b6831856
|
7
|
+
data.tar.gz: b2b641bb1b42e9420d03ba31f0bedaf29410aecbb740e7b933a965186a767b5d03e57b4fe0fb4978714b31434775ac3384f38f27db4002d64e81ca5d0c7c153f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.928
|
data/lib/v20240523/models.rb
CHANGED
@@ -187,18 +187,24 @@ module TencentCloud
|
|
187
187
|
# @type StatusCode: String
|
188
188
|
# @param StatusMsg: 任务状态信息
|
189
189
|
# @type StatusMsg: String
|
190
|
+
# @param ErrorCode: 错误码
|
191
|
+
# @type ErrorCode: String
|
192
|
+
# @param ErrorMessage: 错误信息
|
193
|
+
# @type ErrorMessage: String
|
190
194
|
# @param ResultVideoUrl: 生成视频的URL地址
|
191
195
|
# 有效期24小时
|
192
196
|
# @type ResultVideoUrl: String
|
193
197
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
194
198
|
# @type RequestId: String
|
195
199
|
|
196
|
-
attr_accessor :JobId, :StatusCode, :StatusMsg, :ResultVideoUrl, :RequestId
|
200
|
+
attr_accessor :JobId, :StatusCode, :StatusMsg, :ErrorCode, :ErrorMessage, :ResultVideoUrl, :RequestId
|
197
201
|
|
198
|
-
def initialize(jobid=nil, statuscode=nil, statusmsg=nil, resultvideourl=nil, requestid=nil)
|
202
|
+
def initialize(jobid=nil, statuscode=nil, statusmsg=nil, errorcode=nil, errormessage=nil, resultvideourl=nil, requestid=nil)
|
199
203
|
@JobId = jobid
|
200
204
|
@StatusCode = statuscode
|
201
205
|
@StatusMsg = statusmsg
|
206
|
+
@ErrorCode = errorcode
|
207
|
+
@ErrorMessage = errormessage
|
202
208
|
@ResultVideoUrl = resultvideourl
|
203
209
|
@RequestId = requestid
|
204
210
|
end
|
@@ -207,6 +213,8 @@ module TencentCloud
|
|
207
213
|
@JobId = params['JobId']
|
208
214
|
@StatusCode = params['StatusCode']
|
209
215
|
@StatusMsg = params['StatusMsg']
|
216
|
+
@ErrorCode = params['ErrorCode']
|
217
|
+
@ErrorMessage = params['ErrorMessage']
|
210
218
|
@ResultVideoUrl = params['ResultVideoUrl']
|
211
219
|
@RequestId = params['RequestId']
|
212
220
|
end
|
@@ -424,32 +432,39 @@ module TencentCloud
|
|
424
432
|
|
425
433
|
# SubmitPortraitSingJob请求参数结构体
|
426
434
|
class SubmitPortraitSingJobRequest < TencentCloud::Common::AbstractModel
|
427
|
-
# @param AudioUrl: 传入音频URL
|
428
|
-
#
|
429
|
-
#
|
435
|
+
# @param AudioUrl: 传入音频URL地址,音频要求:
|
436
|
+
# - 音频时长:2秒 - 60秒
|
437
|
+
# - 音频格式:mp3、wav、m4a
|
430
438
|
# @type AudioUrl: String
|
431
439
|
# @param ImageUrl: 传入图片URL地址,图片要求:
|
432
|
-
#
|
433
|
-
#
|
434
|
-
#
|
435
|
-
#
|
440
|
+
# - 图片格式:jpg、jpeg、png、bmp、webp
|
441
|
+
# - 图片分辨率:192~4096
|
442
|
+
# - 图片大小:不超过10M
|
443
|
+
# - 图片宽高比:图片【宽:高】在1:2到2:1范围内
|
444
|
+
# - 图片内容:避免上传无人脸/宠物脸或脸部过小、不完整、不清晰、偏转角度过大的图片。
|
436
445
|
# @type ImageUrl: String
|
437
|
-
# @param ImageBase64: 传入图片Base64
|
438
|
-
#
|
446
|
+
# @param ImageBase64: 传入图片Base64编码,编码后请求体大小不超过10M。
|
447
|
+
# 图片Base64编码与URL地址必传其一,如果都传以ImageBase64为准。
|
439
448
|
# @type ImageBase64: String
|
449
|
+
# @param Mode: 唱演模式,默认使用人像模式。
|
450
|
+
# Person:人像模式,仅支持上传人像图片,人像生成效果更好,如果图中未检测到有效人脸将被拦截,生成时会将视频短边分辨率放缩至512。
|
451
|
+
# Pet:宠物模式,支持宠物等非人像图片,固定生成512:512分辨率视频。
|
452
|
+
# @type Mode: String
|
440
453
|
|
441
|
-
attr_accessor :AudioUrl, :ImageUrl, :ImageBase64
|
454
|
+
attr_accessor :AudioUrl, :ImageUrl, :ImageBase64, :Mode
|
442
455
|
|
443
|
-
def initialize(audiourl=nil, imageurl=nil, imagebase64=nil)
|
456
|
+
def initialize(audiourl=nil, imageurl=nil, imagebase64=nil, mode=nil)
|
444
457
|
@AudioUrl = audiourl
|
445
458
|
@ImageUrl = imageurl
|
446
459
|
@ImageBase64 = imagebase64
|
460
|
+
@Mode = mode
|
447
461
|
end
|
448
462
|
|
449
463
|
def deserialize(params)
|
450
464
|
@AudioUrl = params['AudioUrl']
|
451
465
|
@ImageUrl = params['ImageUrl']
|
452
466
|
@ImageBase64 = params['ImageBase64']
|
467
|
+
@Mode = params['Mode']
|
453
468
|
end
|
454
469
|
end
|
455
470
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vclm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.928
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|