tccli-intl-en 3.1.11.1__py2.py3-none-any.whl → 3.1.12.1__py2.py3-none-any.whl

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.
Files changed (28) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +6 -0
  3. tccli/services/ai3d/__init__.py +4 -0
  4. tccli/services/ai3d/ai3d_client.py +266 -0
  5. tccli/services/ai3d/v20250513/api.json +264 -0
  6. tccli/services/ai3d/v20250513/examples.json +20 -0
  7. tccli/services/cvm/v20170312/api.json +3 -3
  8. tccli/services/cvm/v20170312/examples.json +31 -31
  9. tccli/services/faceid/v20180301/api.json +2 -2
  10. tccli/services/hunyuan/__init__.py +4 -0
  11. tccli/services/hunyuan/hunyuan_client.py +266 -0
  12. tccli/services/hunyuan/v20230901/api.json +270 -0
  13. tccli/services/hunyuan/v20230901/examples.json +20 -0
  14. tccli/services/mdl/mdl_client.py +192 -24
  15. tccli/services/mdl/v20200326/api.json +418 -5
  16. tccli/services/mdl/v20200326/examples.json +24 -0
  17. tccli/services/mps/mps_client.py +56 -0
  18. tccli/services/mps/v20190612/api.json +208 -9
  19. tccli/services/mps/v20190612/examples.json +36 -22
  20. tccli/services/teo/teo_client.py +56 -0
  21. tccli/services/teo/v20220901/api.json +101 -2
  22. tccli/services/teo/v20220901/examples.json +8 -0
  23. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/METADATA +2 -2
  24. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/RECORD +28 -20
  25. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/LICENSE +0 -0
  26. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/WHEEL +0 -0
  27. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/entry_points.txt +0 -0
  28. {tccli_intl_en-3.1.11.1.dist-info → tccli_intl_en-3.1.12.1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,270 @@
1
+ {
2
+ "actions": {
3
+ "QueryHunyuanTo3DProJob": {
4
+ "document": "This API is used to intelligently generate 3D content based on the HunYuan Large Model and input text descriptions/images.\nThis API is used to provide 3 concurrent tasks by default, which can process 3 submitted tasks simultaneously. The next task can be processed only after the previous task is completed.",
5
+ "input": "QueryHunyuanTo3DProJobRequest",
6
+ "name": "Query a hunyuan 3D pro edition task",
7
+ "output": "QueryHunyuanTo3DProJobResponse",
8
+ "status": "online"
9
+ },
10
+ "SubmitHunyuanTo3DProJob": {
11
+ "document": "This API is used to intelligently generate 3D content based on the HunYuan Large Model and input text descriptions/images.\nThis API is used to provide 3 concurrent tasks by default. Up to 3 submitted tasks can be processed simultaneously. A new task can be processed only after the previous one is completed.",
12
+ "input": "SubmitHunyuanTo3DProJobRequest",
13
+ "name": "Submit hunyuan 3D pro edition task",
14
+ "output": "SubmitHunyuanTo3DProJobResponse",
15
+ "status": "online"
16
+ }
17
+ },
18
+ "metadata": {
19
+ "apiVersion": "2023-09-01",
20
+ "serviceNameCN": "腾讯混元大模型",
21
+ "serviceShortName": "hunyuan"
22
+ },
23
+ "objects": {
24
+ "File3D": {
25
+ "document": "3D file.",
26
+ "members": [
27
+ {
28
+ "disabled": false,
29
+ "document": "3D file format. valid values: GIF, OBJ.",
30
+ "example": "GIF",
31
+ "member": "string",
32
+ "name": "Type",
33
+ "output_required": false,
34
+ "required": false,
35
+ "type": "string",
36
+ "value_allowed_null": false
37
+ },
38
+ {
39
+ "disabled": false,
40
+ "document": "Specifies the file Url (valid for 24 hours).",
41
+ "example": "https://cos.ap-guangzhou.myqcloud.com/gif.gif",
42
+ "member": "string",
43
+ "name": "Url",
44
+ "output_required": false,
45
+ "required": false,
46
+ "type": "string",
47
+ "value_allowed_null": false
48
+ },
49
+ {
50
+ "disabled": false,
51
+ "document": "Preview image Url.",
52
+ "example": "https://cos.ap-guangzhou.myqcloud.com/image.png",
53
+ "member": "string",
54
+ "name": "PreviewImageUrl",
55
+ "output_required": false,
56
+ "required": false,
57
+ "type": "string",
58
+ "value_allowed_null": false
59
+ }
60
+ ],
61
+ "usage": "both"
62
+ },
63
+ "QueryHunyuanTo3DProJobRequest": {
64
+ "document": "QueryHunyuanTo3DProJob request structure.",
65
+ "members": [
66
+ {
67
+ "disabled": false,
68
+ "document": "Task ID.",
69
+ "example": "1357237233311637504",
70
+ "member": "string",
71
+ "name": "JobId",
72
+ "required": true,
73
+ "type": "string"
74
+ }
75
+ ],
76
+ "type": "object"
77
+ },
78
+ "QueryHunyuanTo3DProJobResponse": {
79
+ "document": "QueryHunyuanTo3DProJob response structure.",
80
+ "members": [
81
+ {
82
+ "disabled": false,
83
+ "document": "Task status. WAIT: waiting; RUN: running; FAIL: failed; DONE: successful.",
84
+ "example": "DONE",
85
+ "member": "string",
86
+ "name": "Status",
87
+ "output_required": false,
88
+ "type": "string",
89
+ "value_allowed_null": false
90
+ },
91
+ {
92
+ "disabled": false,
93
+ "document": "Error code",
94
+ "example": "InvalidParameter",
95
+ "member": "string",
96
+ "name": "ErrorCode",
97
+ "output_required": false,
98
+ "type": "string",
99
+ "value_allowed_null": false
100
+ },
101
+ {
102
+ "disabled": false,
103
+ "document": "Error message",
104
+ "example": "参数错误。",
105
+ "member": "string",
106
+ "name": "ErrorMessage",
107
+ "output_required": false,
108
+ "type": "string",
109
+ "value_allowed_null": false
110
+ },
111
+ {
112
+ "disabled": false,
113
+ "document": "Describes the generated 3d file array.",
114
+ "example": "无",
115
+ "member": "File3D",
116
+ "name": "ResultFile3Ds",
117
+ "output_required": false,
118
+ "type": "list",
119
+ "value_allowed_null": false
120
+ },
121
+ {
122
+ "document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
123
+ "member": "string",
124
+ "name": "RequestId",
125
+ "type": "string"
126
+ }
127
+ ],
128
+ "type": "object"
129
+ },
130
+ "SubmitHunyuanTo3DProJobRequest": {
131
+ "document": "SubmitHunyuanTo3DProJob request structure.",
132
+ "members": [
133
+ {
134
+ "disabled": false,
135
+ "document": "Generates 3D content, describes 3D content.\nSupports up to 1024 utf-8 characters.\nText-To-3D. Specifies either ImageBase64/ImageUrl or Prompt is required. Prompt and ImageBase64/ImageUrl cannot coexist.",
136
+ "example": "1",
137
+ "member": "string",
138
+ "name": "Prompt",
139
+ "required": false,
140
+ "type": "string"
141
+ },
142
+ {
143
+ "disabled": false,
144
+ "document": "Enter the Base64 code of the image.\nSize: specifies the unilateral resolution requirement, not less than 128 and not greater than 5000. size should not exceed 8m (after encoding, it increases by about 30%, recommend actual input image size no more than 6m).\nInput image suggestion:\n1.Simple background (solid-color background) \n2.No text or blended colors\n3.Single object\n4.The object occupies over 50% of the frame\nValid values: jpg, png, jpeg, webp.\nSpecifies either ImageBase64/ImageUrl or Prompt is required. Prompt and ImageBase64/ImageUrl cannot coexist.",
145
+ "example": "1",
146
+ "member": "string",
147
+ "name": "ImageBase64",
148
+ "required": false,
149
+ "type": "string"
150
+ },
151
+ {
152
+ "disabled": false,
153
+ "document": "Input image Url.\nSize: specifies the unilateral resolution requirement, not less than 128 and not greater than 5000. size should not exceed 8m (after encoding, it increases by about 30%, recommend actual input image size no more than 6m).\nInput image suggestion:\n1.Simple background (solid-color background) \n2.No text or blended colors\n3.Single object\n4.The object occupies over 50% of the frame\nValid values: jpg, png, jpeg, webp.\nSpecifies either ImageBase64/ImageUrl or Prompt is required. Prompt and ImageBase64/ImageUrl cannot coexist.",
154
+ "example": "1",
155
+ "member": "string",
156
+ "name": "ImageUrl",
157
+ "required": false,
158
+ "type": "string"
159
+ },
160
+ {
161
+ "disabled": false,
162
+ "document": "Multi-Perspective model image. reference value for viewing angle:.\nleft view.\nright view.\nback view.\n\nEach perspective is limited to one image.\nImage size limit. the value must not exceed 8 mb after encoding.\nImage resolution limitation: the unilateral resolution should be less than 5000 and greater than 128.\nSupported image format: JPG or PNG",
163
+ "example": "无",
164
+ "member": "ViewImage",
165
+ "name": "MultiViewImages",
166
+ "required": false,
167
+ "type": "list"
168
+ },
169
+ {
170
+ "disabled": false,
171
+ "document": "Specifies whether PBR material generation is enabled. default false.",
172
+ "example": "true",
173
+ "member": "bool",
174
+ "name": "EnablePBR",
175
+ "required": false,
176
+ "type": "bool"
177
+ },
178
+ {
179
+ "disabled": false,
180
+ "document": "Specifies the face count for 3D model generation. default value is 500000.\nSpecifies the supported face count generation range. value range: 40000-1500000.",
181
+ "example": "400000",
182
+ "member": "int64",
183
+ "name": "FaceCount",
184
+ "required": false,
185
+ "type": "int"
186
+ },
187
+ {
188
+ "disabled": false,
189
+ "document": "Generation task type. default: Normal. valid values:.\nNormal: generates a geometric model with textures.\nLowPoly: specifies the model generated after intelligent polygon reduction.\nGeometry: specifies whether to generate a Geometry model without textures (white model). when this task is selected, the EnablePBR parameter does not take effect.\nSpecifies the Sketch for the generative model, allowing input of a Sketch or line drawing. in this mode, both prompt and ImageUrl/ImageBase64 can be entered together.",
190
+ "example": "Normal",
191
+ "member": "string",
192
+ "name": "GenerateType",
193
+ "required": false,
194
+ "type": "string"
195
+ },
196
+ {
197
+ "disabled": false,
198
+ "document": "This parameter only takes effect when LowPoly mode is selected from GenerateType.\n\nPolygon type, indicates the number of sides in the model's surface grid, defaults to triangle. valid values:.\ntriangle. specifies the triangular face.\nquadrilateral: mix quadrangle and triangle faces to generate.",
199
+ "example": "triangle",
200
+ "member": "string",
201
+ "name": "PolygonType",
202
+ "required": false,
203
+ "type": "string"
204
+ }
205
+ ],
206
+ "type": "object"
207
+ },
208
+ "SubmitHunyuanTo3DProJobResponse": {
209
+ "document": "SubmitHunyuanTo3DProJob response structure.",
210
+ "members": [
211
+ {
212
+ "disabled": false,
213
+ "document": "Task ID (valid period: 24 hours).",
214
+ "example": "1357237233311637504",
215
+ "member": "string",
216
+ "name": "JobId",
217
+ "output_required": false,
218
+ "type": "string",
219
+ "value_allowed_null": false
220
+ },
221
+ {
222
+ "document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
223
+ "member": "string",
224
+ "name": "RequestId",
225
+ "type": "string"
226
+ }
227
+ ],
228
+ "type": "object"
229
+ },
230
+ "ViewImage": {
231
+ "document": "Multi-Perspective images.",
232
+ "members": [
233
+ {
234
+ "disabled": false,
235
+ "document": "Specifies the viewing angle type.\nValid values: back, left, right.",
236
+ "example": "back",
237
+ "member": "string",
238
+ "name": "ViewType",
239
+ "output_required": false,
240
+ "required": false,
241
+ "type": "string",
242
+ "value_allowed_null": false
243
+ },
244
+ {
245
+ "disabled": false,
246
+ "document": "Image Url.",
247
+ "example": "https://cos.ap-guangzhou.myqcloud.com/image.jpg",
248
+ "member": "string",
249
+ "name": "ViewImageUrl",
250
+ "output_required": false,
251
+ "required": false,
252
+ "type": "string",
253
+ "value_allowed_null": false
254
+ },
255
+ {
256
+ "disabled": false,
257
+ "document": "base64 address of the image.",
258
+ "example": "/9j/4QlQaHR0c...N6a2M5ZCI",
259
+ "member": "string",
260
+ "name": "ViewImageBase64",
261
+ "output_required": false,
262
+ "required": false,
263
+ "type": "string",
264
+ "value_allowed_null": false
265
+ }
266
+ ],
267
+ "usage": "both"
268
+ }
269
+ }
270
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "actions": {
3
+ "QueryHunyuanTo3DProJob": [
4
+ {
5
+ "document": "",
6
+ "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryHunyuanTo3DProJob\n<Common request parameters>\n\n{\n \"JobId\": \"1375367755519696896\"\n}",
7
+ "output": "{\n \"Response\": {\n \"ErrorCode\": \"\",\n \"ErrorMessage\": \"\",\n \"RequestId\": \"e7c1aa24-7bcc-405e-9dce-c6047b9f6688\",\n \"ResultFile3Ds\": [],\n \"Status\": \"RUN\"\n }\n}",
8
+ "title": "Querying a 3D Task"
9
+ }
10
+ ],
11
+ "SubmitHunyuanTo3DProJob": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitHunyuanTo3DProJob\n<Common request parameters>\n\n{\n \"Prompt\": \"A cat\"\n}",
15
+ "output": "{\n \"Response\": {\n \"JobId\": \"1375367755519696896\",\n \"RequestId\": \"13f47dd0-1af9-4383-b401-dae18d6e99fc\"\n }\n}",
16
+ "title": "Submitting a 3D Task"
17
+ }
18
+ ]
19
+ }
20
+ }