tencentcloud-sdk-ai3d 3.0.1202 → 3.0.1205

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: 28f9b9da8b0139577f1aff4588b843922c247363
4
- data.tar.gz: 9995e28fbd5dad782c88a066db934dfbd6e7ebef
3
+ metadata.gz: 5ac81820653c72c247616a725847c5c83971a111
4
+ data.tar.gz: b96cfd83795a40536744f834e1f32541fb648172
5
5
  SHA512:
6
- metadata.gz: 5a9f79cabbb39c25a52d6b48951f021ca5f7fb592b60b5a0cbc69ba2be5576010bda425315150348d2773488228ea09f05af52dade0b0504b1c40dca9aff059e
7
- data.tar.gz: 473cfa4e68b4b8ff3f4c0f59092bd36b9b1a922524ed91a883f1a4cadb41b2e2d5286d5e951486cede327b8ec5bd5076be7fed73aa9fefd3c3b3caf100a24f38
6
+ metadata.gz: 877b081e291d559a79ac69610ea4e1cf304a68dcf16e44f97f23586df0b3fc756b36f2fb977959c96c56f0f4fc617b3103859cf2d8b1b59ae5cf170a38df2ca7
7
+ data.tar.gz: 6cacc2f7c318cc59b4abd03c12695253298f349e0a483e9a7dc231ec474ec0ccad99be30e621b3c6daeb1eaa781c1a80c18eaa7ffb4982384a96231645274191
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1202
1
+ 3.0.1205
@@ -77,6 +77,31 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
+ # 混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
81
+ # 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
82
+
83
+ # @param request: Request instance for DescribeProfileTo3DJob.
84
+ # @type request: :class:`Tencentcloud::ai3d::V20250513::DescribeProfileTo3DJobRequest`
85
+ # @rtype: :class:`Tencentcloud::ai3d::V20250513::DescribeProfileTo3DJobResponse`
86
+ def DescribeProfileTo3DJob(request)
87
+ body = send_request('DescribeProfileTo3DJob', request.serialize)
88
+ response = JSON.parse(body)
89
+ if response['Response'].key?('Error') == false
90
+ model = DescribeProfileTo3DJobResponse.new
91
+ model.deserialize(response['Response'])
92
+ model
93
+ else
94
+ code = response['Response']['Error']['Code']
95
+ message = response['Response']['Error']['Message']
96
+ reqid = response['Response']['RequestId']
97
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
98
+ end
99
+ rescue TencentCloud::Common::TencentCloudSDKException => e
100
+ raise e
101
+ rescue StandardError => e
102
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
103
+ end
104
+
80
105
  # 混元生3D接口,采用 Polygon 1.5模型,输入3D 高模后,可生成布线规整,较低面数的3D 模型。
81
106
  # 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
82
107
 
@@ -299,6 +324,31 @@ module TencentCloud
299
324
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
300
325
  end
301
326
 
327
+ # 混元生3D接口,基于混元大模型,根据输入的文本描述/图片智能生成3D。
328
+ # 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
329
+
330
+ # @param request: Request instance for SubmitProfileTo3DJob.
331
+ # @type request: :class:`Tencentcloud::ai3d::V20250513::SubmitProfileTo3DJobRequest`
332
+ # @rtype: :class:`Tencentcloud::ai3d::V20250513::SubmitProfileTo3DJobResponse`
333
+ def SubmitProfileTo3DJob(request)
334
+ body = send_request('SubmitProfileTo3DJob', request.serialize)
335
+ response = JSON.parse(body)
336
+ if response['Response'].key?('Error') == false
337
+ model = SubmitProfileTo3DJobResponse.new
338
+ model.deserialize(response['Response'])
339
+ model
340
+ else
341
+ code = response['Response']['Error']['Code']
342
+ message = response['Response']['Error']['Message']
343
+ reqid = response['Response']['RequestId']
344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
345
+ end
346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
347
+ raise e
348
+ rescue StandardError => e
349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
350
+ end
351
+
302
352
  # 混元生3D接口,采用 Polygon 1.5模型,输入3D 高模后,可生成布线规整,较低面数的3D 模型。
303
353
  # 默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后,才能开始处理下一个任务。
304
354
 
@@ -112,6 +112,61 @@ module TencentCloud
112
112
  end
113
113
  end
114
114
 
115
+ # DescribeProfileTo3DJob请求参数结构体
116
+ class DescribeProfileTo3DJobRequest < TencentCloud::Common::AbstractModel
117
+ # @param JobId: 任务ID。
118
+ # @type JobId: String
119
+
120
+ attr_accessor :JobId
121
+
122
+ def initialize(jobid=nil)
123
+ @JobId = jobid
124
+ end
125
+
126
+ def deserialize(params)
127
+ @JobId = params['JobId']
128
+ end
129
+ end
130
+
131
+ # DescribeProfileTo3DJob返回参数结构体
132
+ class DescribeProfileTo3DJobResponse < TencentCloud::Common::AbstractModel
133
+ # @param Status: 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功
134
+ # @type Status: String
135
+ # @param ErrorCode: 错误码
136
+ # @type ErrorCode: String
137
+ # @param ErrorMessage: 错误信息
138
+ # @type ErrorMessage: String
139
+ # @param ResultFile3Ds: 生成的3D文件数组。
140
+ # @type ResultFile3Ds: Array
141
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
142
+ # @type RequestId: String
143
+
144
+ attr_accessor :Status, :ErrorCode, :ErrorMessage, :ResultFile3Ds, :RequestId
145
+
146
+ def initialize(status=nil, errorcode=nil, errormessage=nil, resultfile3ds=nil, requestid=nil)
147
+ @Status = status
148
+ @ErrorCode = errorcode
149
+ @ErrorMessage = errormessage
150
+ @ResultFile3Ds = resultfile3ds
151
+ @RequestId = requestid
152
+ end
153
+
154
+ def deserialize(params)
155
+ @Status = params['Status']
156
+ @ErrorCode = params['ErrorCode']
157
+ @ErrorMessage = params['ErrorMessage']
158
+ unless params['ResultFile3Ds'].nil?
159
+ @ResultFile3Ds = []
160
+ params['ResultFile3Ds'].each do |i|
161
+ file3d_tmp = File3D.new
162
+ file3d_tmp.deserialize(i)
163
+ @ResultFile3Ds << file3d_tmp
164
+ end
165
+ end
166
+ @RequestId = params['RequestId']
167
+ end
168
+ end
169
+
115
170
  # DescribeReduceFaceJob请求参数结构体
116
171
  class DescribeReduceFaceJobRequest < TencentCloud::Common::AbstractModel
117
172
  # @param JobId: 任务ID。
@@ -705,6 +760,91 @@ module TencentCloud
705
760
  end
706
761
  end
707
762
 
763
+ # SubmitProfileTo3DJob请求参数结构体
764
+ class SubmitProfileTo3DJobRequest < TencentCloud::Common::AbstractModel
765
+ # @param Profile: 真人头像参考图 Base64 数据和参考图 Url。
766
+ # - Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
767
+ # - 图片限制:单边分辨率小于4096且大于500,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。
768
+ # @type Profile: :class:`Tencentcloud::Ai3d.v20250513.models.Image`
769
+ # @param Template: 生成人物模板,参考值:
770
+
771
+ # basketball: 动感球手;
772
+
773
+ # badminton: 羽扬中华;
774
+
775
+ # pingpong: 国球荣耀;
776
+
777
+ # gymnastics:勇攀巅峰;
778
+
779
+ # pilidance: 舞动青春;
780
+
781
+ # tennis: 网球甜心;
782
+
783
+ # athletics: 东方疾风;
784
+
785
+ # footballboykicking1:激情逐风;
786
+
787
+ # footballboykicking2: 绿茵之星;
788
+
789
+ # guitar:甜酷弦音;
790
+
791
+ # footballboy: 足球小将;
792
+
793
+ # skateboard: 滑跃青春;
794
+
795
+ # futuresoilder: 未来战士;
796
+
797
+ # explorer: 逐梦旷野;
798
+
799
+ # beardollgirl:可爱女孩;
800
+
801
+ # bibpantsboy:都市白领;
802
+
803
+ # womansitpose: 职业丽影;
804
+
805
+ # womanstandpose2: 悠闲时光;
806
+
807
+ # mysteriousprincess: 海洋公主;
808
+
809
+ # manstandpose2: 演讲之星;
810
+ # @type Template: String
811
+
812
+ attr_accessor :Profile, :Template
813
+
814
+ def initialize(profile=nil, template=nil)
815
+ @Profile = profile
816
+ @Template = template
817
+ end
818
+
819
+ def deserialize(params)
820
+ unless params['Profile'].nil?
821
+ @Profile = Image.new
822
+ @Profile.deserialize(params['Profile'])
823
+ end
824
+ @Template = params['Template']
825
+ end
826
+ end
827
+
828
+ # SubmitProfileTo3DJob返回参数结构体
829
+ class SubmitProfileTo3DJobResponse < TencentCloud::Common::AbstractModel
830
+ # @param JobId: 任务ID(有效期24小时)
831
+ # @type JobId: String
832
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
833
+ # @type RequestId: String
834
+
835
+ attr_accessor :JobId, :RequestId
836
+
837
+ def initialize(jobid=nil, requestid=nil)
838
+ @JobId = jobid
839
+ @RequestId = requestid
840
+ end
841
+
842
+ def deserialize(params)
843
+ @JobId = params['JobId']
844
+ @RequestId = params['RequestId']
845
+ end
846
+ end
847
+
708
848
  # SubmitReduceFaceJob请求参数结构体
709
849
  class SubmitReduceFaceJobRequest < TencentCloud::Common::AbstractModel
710
850
  # @param File3D: 源3D模型文件。其中参数 Type 和 Url 必填,参数 PreviewImageUrl 无意义,可忽略。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ai3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1202
4
+ version: 3.0.1205
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-14 00:00:00.000000000 Z
11
+ date: 2026-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common