tencentcloud-sdk-ai3d 3.0.1202 → 3.0.1207

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: 5ea36776ddd7ba5376f50acce1555c09e9221d00
4
+ data.tar.gz: d4ffd3ab2aa10dbbd6c25ba3c0156c7f4b0801d5
5
5
  SHA512:
6
- metadata.gz: 5a9f79cabbb39c25a52d6b48951f021ca5f7fb592b60b5a0cbc69ba2be5576010bda425315150348d2773488228ea09f05af52dade0b0504b1c40dca9aff059e
7
- data.tar.gz: 473cfa4e68b4b8ff3f4c0f59092bd36b9b1a922524ed91a883f1a4cadb41b2e2d5286d5e951486cede327b8ec5bd5076be7fed73aa9fefd3c3b3caf100a24f38
6
+ metadata.gz: aae3d9aecaf334bed2cf78c024c1fe28bf7fc883d2d71cdf8e6923a3e3a4a0550fa47ad69fda129f292d73c254ba0ff41f06f85a217b158954f4a293c71e9e29
7
+ data.tar.gz: 7f79d42728625abdc18e0636e844e0cce9c205e87a3525cfb6735a60cfb28901ebee39371cb523d448ee6cba9282564be2bc4fdc45b67499ea0fe0be0ca3e6e3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1202
1
+ 3.0.1207
@@ -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。
@@ -455,11 +510,14 @@ module TencentCloud
455
510
  class SubmitHunyuan3DPartJobRequest < TencentCloud::Common::AbstractModel
456
511
  # @param File: 需进行组件生成的3D模型文件,仅支持FBX格式。
457
512
  # @type File: :class:`Tencentcloud::Ai3d.v20250513.models.InputFile3D`
513
+ # @param Model: 组件生成模型版本,默认为1.0,可选项:1.0,1.5;
514
+ # @type Model: String
458
515
 
459
- attr_accessor :File
516
+ attr_accessor :File, :Model
460
517
 
461
- def initialize(file=nil)
518
+ def initialize(file=nil, model=nil)
462
519
  @File = file
520
+ @Model = model
463
521
  end
464
522
 
465
523
  def deserialize(params)
@@ -467,6 +525,7 @@ module TencentCloud
467
525
  @File = InputFile3D.new
468
526
  @File.deserialize(params['File'])
469
527
  end
528
+ @Model = params['Model']
470
529
  end
471
530
  end
472
531
 
@@ -705,6 +764,91 @@ module TencentCloud
705
764
  end
706
765
  end
707
766
 
767
+ # SubmitProfileTo3DJob请求参数结构体
768
+ class SubmitProfileTo3DJobRequest < TencentCloud::Common::AbstractModel
769
+ # @param Profile: 真人头像参考图 Base64 数据和参考图 Url。
770
+ # - Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
771
+ # - 图片限制:单边分辨率小于4096且大于500,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。
772
+ # @type Profile: :class:`Tencentcloud::Ai3d.v20250513.models.Image`
773
+ # @param Template: 生成人物模板,参考值:
774
+
775
+ # basketball: 动感球手;
776
+
777
+ # badminton: 羽扬中华;
778
+
779
+ # pingpong: 国球荣耀;
780
+
781
+ # gymnastics:勇攀巅峰;
782
+
783
+ # pilidance: 舞动青春;
784
+
785
+ # tennis: 网球甜心;
786
+
787
+ # athletics: 东方疾风;
788
+
789
+ # footballboykicking1:激情逐风;
790
+
791
+ # footballboykicking2: 绿茵之星;
792
+
793
+ # guitar:甜酷弦音;
794
+
795
+ # footballboy: 足球小将;
796
+
797
+ # skateboard: 滑跃青春;
798
+
799
+ # futuresoilder: 未来战士;
800
+
801
+ # explorer: 逐梦旷野;
802
+
803
+ # beardollgirl:可爱女孩;
804
+
805
+ # bibpantsboy:都市白领;
806
+
807
+ # womansitpose: 职业丽影;
808
+
809
+ # womanstandpose2: 悠闲时光;
810
+
811
+ # mysteriousprincess: 海洋公主;
812
+
813
+ # manstandpose2: 演讲之星;
814
+ # @type Template: String
815
+
816
+ attr_accessor :Profile, :Template
817
+
818
+ def initialize(profile=nil, template=nil)
819
+ @Profile = profile
820
+ @Template = template
821
+ end
822
+
823
+ def deserialize(params)
824
+ unless params['Profile'].nil?
825
+ @Profile = Image.new
826
+ @Profile.deserialize(params['Profile'])
827
+ end
828
+ @Template = params['Template']
829
+ end
830
+ end
831
+
832
+ # SubmitProfileTo3DJob返回参数结构体
833
+ class SubmitProfileTo3DJobResponse < TencentCloud::Common::AbstractModel
834
+ # @param JobId: 任务ID(有效期24小时)
835
+ # @type JobId: String
836
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
837
+ # @type RequestId: String
838
+
839
+ attr_accessor :JobId, :RequestId
840
+
841
+ def initialize(jobid=nil, requestid=nil)
842
+ @JobId = jobid
843
+ @RequestId = requestid
844
+ end
845
+
846
+ def deserialize(params)
847
+ @JobId = params['JobId']
848
+ @RequestId = params['RequestId']
849
+ end
850
+ end
851
+
708
852
  # SubmitReduceFaceJob请求参数结构体
709
853
  class SubmitReduceFaceJobRequest < TencentCloud::Common::AbstractModel
710
854
  # @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.1207
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-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common