tencentcloud-sdk-vclm 3.0.952 → 3.0.953

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: fff882c92ea58488a76336d71f71c3cb7a8b3dd3
4
- data.tar.gz: 843b15c4e367c18853b96c6d51054d3f1ef40d93
3
+ metadata.gz: 8f0794203bb2f25548004e04d9dbd255f13b12f3
4
+ data.tar.gz: bcce9031bc9e9ee36ba9c377b68c19c1afec6fef
5
5
  SHA512:
6
- metadata.gz: 3d2bf441fde0aa8723367048885f635ea831b3cdef543e6074cd7ca363070a2c989ce4ac07edd5d61fe21d5639a4a4abcdff021dec288201d198428f3b0af96e
7
- data.tar.gz: 882f27249f57984b2e5e3c4709869e796bb75a17c58ccbb24f92a74516a0f6f81ef8813f34bf5775c7f9b9dc2a429851671ca76dc02e6da7ab468ab11759b999
6
+ metadata.gz: f4f581ef89bc7d08cbba60795b4556f38899a556b4087b7b246328cb43a726aeeb00590e1513ab41af7050ea93984a2afd7ac5b1f46fd3b3e553b02210f8a1b7
7
+ data.tar.gz: 838042f3f6de234e2b410a3f0e66e62c2075a366bb7ed6d9b652f313600039a3192df520659c94ca7dff4e9ba9941bae3377f3d4f2f4c949a2043788d666d8f0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.952
1
+ 3.0.953
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 检查图片跳舞输入图
33
+
34
+ # @param request: Request instance for CheckAnimateImageJob.
35
+ # @type request: :class:`Tencentcloud::vclm::V20240523::CheckAnimateImageJobRequest`
36
+ # @rtype: :class:`Tencentcloud::vclm::V20240523::CheckAnimateImageJobResponse`
37
+ def CheckAnimateImageJob(request)
38
+ body = send_request('CheckAnimateImageJob', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CheckAnimateImageJobResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 确认视频转译结果
33
57
 
34
58
  # @param request: Request instance for ConfirmVideoTranslateJob.
@@ -44,6 +44,61 @@ module TencentCloud
44
44
  end
45
45
  end
46
46
 
47
+ # CheckAnimateImageJob请求参数结构体
48
+ class CheckAnimateImageJobRequest < TencentCloud::Common::AbstractModel
49
+ # @param TemplateId: 动作模板ID。
50
+ # @type TemplateId: String
51
+ # @param ImageUrl: 图片格式:支持PNG、JPG、JPEG、BMP、WEBP格式;
52
+ # 图片分辨率:长边分辨率范围【192,4096】;
53
+ # 图片大小:不超过10M;
54
+ # 图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内
55
+ # @type ImageUrl: String
56
+ # @param ImageBase64: 图片base64数据。
57
+ # 图片格式:支持PNG、JPG、JPEG、BMP、WEBP格式;
58
+ # 图片分辨率:长边分辨率范围【192,4096】;
59
+ # 图片大小:不超过10M;
60
+ # 图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内
61
+ # @type ImageBase64: String
62
+ # @param EnableBodyJoins: 是否检测输入图人体12个身体部位(头部、颈部、右肩、右肘、右腕、左肩、左肘、左腕、右髋、左髋,、左膝、右膝)。默认不检测。
63
+ # @type EnableBodyJoins: Boolean
64
+
65
+ attr_accessor :TemplateId, :ImageUrl, :ImageBase64, :EnableBodyJoins
66
+
67
+ def initialize(templateid=nil, imageurl=nil, imagebase64=nil, enablebodyjoins=nil)
68
+ @TemplateId = templateid
69
+ @ImageUrl = imageurl
70
+ @ImageBase64 = imagebase64
71
+ @EnableBodyJoins = enablebodyjoins
72
+ end
73
+
74
+ def deserialize(params)
75
+ @TemplateId = params['TemplateId']
76
+ @ImageUrl = params['ImageUrl']
77
+ @ImageBase64 = params['ImageBase64']
78
+ @EnableBodyJoins = params['EnableBodyJoins']
79
+ end
80
+ end
81
+
82
+ # CheckAnimateImageJob返回参数结构体
83
+ class CheckAnimateImageJobResponse < TencentCloud::Common::AbstractModel
84
+ # @param CheckPass: 输入图是否通过校验。
85
+ # @type CheckPass: Boolean
86
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
87
+ # @type RequestId: String
88
+
89
+ attr_accessor :CheckPass, :RequestId
90
+
91
+ def initialize(checkpass=nil, requestid=nil)
92
+ @CheckPass = checkpass
93
+ @RequestId = requestid
94
+ end
95
+
96
+ def deserialize(params)
97
+ @CheckPass = params['CheckPass']
98
+ @RequestId = params['RequestId']
99
+ end
100
+ end
101
+
47
102
  # ConfirmVideoTranslateJob请求参数结构体
48
103
  class ConfirmVideoTranslateJobRequest < TencentCloud::Common::AbstractModel
49
104
  # @param JobId: 视频转译任务 ID
@@ -433,12 +488,16 @@ module TencentCloud
433
488
 
434
489
  # SubmitImageAnimateJob请求参数结构体
435
490
  class SubmitImageAnimateJobRequest < TencentCloud::Common::AbstractModel
436
- # @param ImageUrl: 图片格式:支持PNG、JPG、JPEG格式;
437
- # 图片分辨率:长边分辨率不超过2056;
491
+ # @param ImageUrl: 图片格式:支持PNG、JPG、JPEG、BMP、WEBP格式;
492
+ # 图片分辨率:长边分辨率范围【192,4096】;
438
493
  # 图片大小:不超过10M;
439
494
  # 图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内
440
495
  # @type ImageUrl: String
441
- # @param ImageBase64: 图片base64数据。图片格式:支持PNG、JPG、JPEG格式;图片分辨率:长边分辨率不超过2056;图片大小:不超过10M;图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内
496
+ # @param ImageBase64: 图片base64数据。
497
+ # 图片格式:支持PNG、JPG、JPEG、BMP、WEBP格式;
498
+ # 图片分辨率:长边分辨率范围【192,4096】;
499
+ # 图片大小:不超过10M;
500
+ # 图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内
442
501
  # @type ImageBase64: String
443
502
  # @param TemplateId: 动作模板ID。取值说明:ke3 科目三;tuziwu 兔子舞;huajiangwu 划桨舞。
444
503
  # @type TemplateId: String
@@ -446,7 +505,7 @@ module TencentCloud
446
505
  # @type EnableAudio: Boolean
447
506
  # @param EnableBodyJoins: 是否检测输入图人体12个身体部位(头部、颈部、右肩、右肘、右腕、左肩、左肘、左腕、右髋、左髋,、左膝、右膝)。默认不检测。
448
507
  # @type EnableBodyJoins: Boolean
449
- # @param EnableSegment: 最终视频是否保留原图的背景(该模式对于tuziwu、huajiangwu不生效)
508
+ # @param EnableSegment: 最终视频是否保留原图的背景,默认不保留。
450
509
  # @type EnableSegment: Boolean
451
510
  # @param LogoAdd: 为生成视频添加标识的开关,默认为0。
452
511
  # 1:添加标识。
@@ -488,7 +547,7 @@ module TencentCloud
488
547
 
489
548
  # SubmitImageAnimateJob返回参数结构体
490
549
  class SubmitImageAnimateJobResponse < TencentCloud::Common::AbstractModel
491
- # @param JobId: 任务ID。
550
+ # @param JobId: 图片跳舞任务ID。
492
551
  # @type JobId: String
493
552
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
494
553
  # @type RequestId: String
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.952
4
+ version: 3.0.953
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-12-01 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common