tencentcloud-sdk-python-ai3d 3.1.52__tar.gz → 3.1.57__tar.gz
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.
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/setup.py +1 -1
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/ai3d/v20250513/models.py +52 -32
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud_sdk_python_ai3d.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ai3d-3.1.57/tencentcloud_sdk_python_ai3d.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ai3d-3.1.52/tencentcloud_sdk_python_ai3d.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/README.rst +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/ai3d/__init__.py +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/ai3d/v20250513/__init__.py +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/ai3d/v20250513/ai3d_client.py +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/ai3d/v20250513/ai3d_client_async.py +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud/ai3d/v20250513/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud_sdk_python_ai3d.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud_sdk_python_ai3d.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ai3d-3.1.52 → tencentcloud_sdk_python_ai3d-3.1.57}/tencentcloud_sdk_python_ai3d.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ai3d
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.57
|
|
4
4
|
Summary: Tencent Cloud Ai3d SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.57
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ai3d',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.57,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ai3d SDK for Python',
|
|
@@ -932,14 +932,14 @@ class QueryHunyuanTo3DProJobRequest(AbstractModel):
|
|
|
932
932
|
|
|
933
933
|
def __init__(self):
|
|
934
934
|
r"""
|
|
935
|
-
:param _JobId:
|
|
935
|
+
:param _JobId: <p>任务ID。</p>
|
|
936
936
|
:type JobId: str
|
|
937
937
|
"""
|
|
938
938
|
self._JobId = None
|
|
939
939
|
|
|
940
940
|
@property
|
|
941
941
|
def JobId(self):
|
|
942
|
-
r"""
|
|
942
|
+
r"""<p>任务ID。</p>
|
|
943
943
|
:rtype: str
|
|
944
944
|
"""
|
|
945
945
|
return self._JobId
|
|
@@ -968,14 +968,18 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
968
968
|
|
|
969
969
|
def __init__(self):
|
|
970
970
|
r"""
|
|
971
|
-
:param _Status:
|
|
971
|
+
:param _Status: <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
972
972
|
:type Status: str
|
|
973
|
-
:param _ErrorCode:
|
|
973
|
+
:param _ErrorCode: <p>错误码</p>
|
|
974
974
|
:type ErrorCode: str
|
|
975
|
-
:param _ErrorMessage:
|
|
975
|
+
:param _ErrorMessage: <p>错误信息</p>
|
|
976
976
|
:type ErrorMessage: str
|
|
977
|
-
:param _ResultFile3Ds:
|
|
977
|
+
:param _ResultFile3Ds: <p>生成的3D文件数组。</p>
|
|
978
978
|
:type ResultFile3Ds: list of File3D
|
|
979
|
+
:param _ResultCreditDetails: <p>接口任务功能参数及积分详情,返回形式为字符串。Generate参数返回对应模式及消耗积分,如:Generate-Normal:20<br>附加参数返回参数名称及消耗积分,如:MultiViewImages:10</p>
|
|
980
|
+
:type ResultCreditDetails: str
|
|
981
|
+
:param _ResultCreditConsumed: <p>任务总消耗积分。</p>
|
|
982
|
+
:type ResultCreditConsumed: float
|
|
979
983
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
980
984
|
:type RequestId: str
|
|
981
985
|
"""
|
|
@@ -983,11 +987,13 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
983
987
|
self._ErrorCode = None
|
|
984
988
|
self._ErrorMessage = None
|
|
985
989
|
self._ResultFile3Ds = None
|
|
990
|
+
self._ResultCreditDetails = None
|
|
991
|
+
self._ResultCreditConsumed = None
|
|
986
992
|
self._RequestId = None
|
|
987
993
|
|
|
988
994
|
@property
|
|
989
995
|
def Status(self):
|
|
990
|
-
r"""
|
|
996
|
+
r"""<p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
991
997
|
:rtype: str
|
|
992
998
|
"""
|
|
993
999
|
return self._Status
|
|
@@ -998,7 +1004,7 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
998
1004
|
|
|
999
1005
|
@property
|
|
1000
1006
|
def ErrorCode(self):
|
|
1001
|
-
r"""
|
|
1007
|
+
r"""<p>错误码</p>
|
|
1002
1008
|
:rtype: str
|
|
1003
1009
|
"""
|
|
1004
1010
|
return self._ErrorCode
|
|
@@ -1009,7 +1015,7 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
1009
1015
|
|
|
1010
1016
|
@property
|
|
1011
1017
|
def ErrorMessage(self):
|
|
1012
|
-
r"""
|
|
1018
|
+
r"""<p>错误信息</p>
|
|
1013
1019
|
:rtype: str
|
|
1014
1020
|
"""
|
|
1015
1021
|
return self._ErrorMessage
|
|
@@ -1020,7 +1026,7 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
1020
1026
|
|
|
1021
1027
|
@property
|
|
1022
1028
|
def ResultFile3Ds(self):
|
|
1023
|
-
r"""
|
|
1029
|
+
r"""<p>生成的3D文件数组。</p>
|
|
1024
1030
|
:rtype: list of File3D
|
|
1025
1031
|
"""
|
|
1026
1032
|
return self._ResultFile3Ds
|
|
@@ -1029,6 +1035,28 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
1029
1035
|
def ResultFile3Ds(self, ResultFile3Ds):
|
|
1030
1036
|
self._ResultFile3Ds = ResultFile3Ds
|
|
1031
1037
|
|
|
1038
|
+
@property
|
|
1039
|
+
def ResultCreditDetails(self):
|
|
1040
|
+
r"""<p>接口任务功能参数及积分详情,返回形式为字符串。Generate参数返回对应模式及消耗积分,如:Generate-Normal:20<br>附加参数返回参数名称及消耗积分,如:MultiViewImages:10</p>
|
|
1041
|
+
:rtype: str
|
|
1042
|
+
"""
|
|
1043
|
+
return self._ResultCreditDetails
|
|
1044
|
+
|
|
1045
|
+
@ResultCreditDetails.setter
|
|
1046
|
+
def ResultCreditDetails(self, ResultCreditDetails):
|
|
1047
|
+
self._ResultCreditDetails = ResultCreditDetails
|
|
1048
|
+
|
|
1049
|
+
@property
|
|
1050
|
+
def ResultCreditConsumed(self):
|
|
1051
|
+
r"""<p>任务总消耗积分。</p>
|
|
1052
|
+
:rtype: float
|
|
1053
|
+
"""
|
|
1054
|
+
return self._ResultCreditConsumed
|
|
1055
|
+
|
|
1056
|
+
@ResultCreditConsumed.setter
|
|
1057
|
+
def ResultCreditConsumed(self, ResultCreditConsumed):
|
|
1058
|
+
self._ResultCreditConsumed = ResultCreditConsumed
|
|
1059
|
+
|
|
1032
1060
|
@property
|
|
1033
1061
|
def RequestId(self):
|
|
1034
1062
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1051,6 +1079,8 @@ class QueryHunyuanTo3DProJobResponse(AbstractModel):
|
|
|
1051
1079
|
obj = File3D()
|
|
1052
1080
|
obj._deserialize(item)
|
|
1053
1081
|
self._ResultFile3Ds.append(obj)
|
|
1082
|
+
self._ResultCreditDetails = params.get("ResultCreditDetails")
|
|
1083
|
+
self._ResultCreditConsumed = params.get("ResultCreditConsumed")
|
|
1054
1084
|
self._RequestId = params.get("RequestId")
|
|
1055
1085
|
|
|
1056
1086
|
|
|
@@ -1300,7 +1330,7 @@ class SubmitHunyuanTo3DProJobRequest(AbstractModel):
|
|
|
1300
1330
|
:type EnablePBR: bool
|
|
1301
1331
|
:param _FaceCount: <p>生成3D模型的面数,默认值为500000。可支持生成面数范围,参考值:3000-1500000。GenerateType中选择LowPoly时,此参数不生效。</p><p>取值范围:[3000, 1500000]</p>
|
|
1302
1332
|
:type FaceCount: int
|
|
1303
|
-
:param _GenerateType: <p>生成任务类型,默认Normal
|
|
1333
|
+
:param _GenerateType: <p>生成任务类型,默认Normal</p><p>枚举值:</p><ul><li>Normal: 可生成带纹理的几何模型</li><li>LowPoly: 可生成智能拓扑后的模型,FaceCount参数不生效。</li><li>Geometry: 可生成不带纹理的几何模型(白模),EnablePBR参数不生效。</li><li>Sketch: 可输入草图或线稿图生成模型,此模式下prompt和ImageUrl/ImageBase64可一起输入。</li></ul>
|
|
1304
1334
|
:type GenerateType: str
|
|
1305
1335
|
:param _PolygonType: <p>该参数仅在GenerateType中选择LowPoly模式可生效。</p><p>多边形类型,表示模型的表面由几边形网格构成,默认为triangle,参考值:<br>triangle: 三角形面。<br>quadrilateral: 四边形面与三角形面混合生成。</p>
|
|
1306
1336
|
:type PolygonType: str
|
|
@@ -1397,7 +1427,7 @@ class SubmitHunyuanTo3DProJobRequest(AbstractModel):
|
|
|
1397
1427
|
|
|
1398
1428
|
@property
|
|
1399
1429
|
def GenerateType(self):
|
|
1400
|
-
r"""<p>生成任务类型,默认Normal
|
|
1430
|
+
r"""<p>生成任务类型,默认Normal</p><p>枚举值:</p><ul><li>Normal: 可生成带纹理的几何模型</li><li>LowPoly: 可生成智能拓扑后的模型,FaceCount参数不生效。</li><li>Geometry: 可生成不带纹理的几何模型(白模),EnablePBR参数不生效。</li><li>Sketch: 可输入草图或线稿图生成模型,此模式下prompt和ImageUrl/ImageBase64可一起输入。</li></ul>
|
|
1401
1431
|
:rtype: str
|
|
1402
1432
|
"""
|
|
1403
1433
|
return self._GenerateType
|
|
@@ -2059,18 +2089,13 @@ class SubmitTextureTo3DJobRequest(AbstractModel):
|
|
|
2059
2089
|
|
|
2060
2090
|
def __init__(self):
|
|
2061
2091
|
r"""
|
|
2062
|
-
:param _File3D:
|
|
2063
|
-
Type可选值:OBJ,GLB
|
|
2092
|
+
:param _File3D: <p>源3D模型文件。<br>Type可选值:OBJ,GLB</p>
|
|
2064
2093
|
:type File3D: :class:`tencentcloud.ai3d.v20250513.models.File3D`
|
|
2065
|
-
:param _Prompt:
|
|
2066
|
-
最多支持200个 utf-8 字符。
|
|
2067
|
-
文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。
|
|
2094
|
+
:param _Prompt: <p>文生3D,3D内容的描述,中文正向提示词。<br>最多支持200个 utf-8 字符。<br>文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。</p>
|
|
2068
2095
|
:type Prompt: str
|
|
2069
|
-
:param _Image: 3D模型纹理参考图 Base64
|
|
2070
|
-
- Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
2071
|
-
- 图片限制:单边分辨率小于4096且大于128,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。
|
|
2096
|
+
:param _Image: <p>3D模型纹理参考图 Base64 数据和参考图 Url。</p><ul><li>Base64 和 Url 必须提供一个,如果都提供以 Url 为准。</li><li>图片限制:单边分辨率小于4096且大于128,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。</li></ul>
|
|
2072
2097
|
:type Image: :class:`tencentcloud.ai3d.v20250513.models.Image`
|
|
2073
|
-
:param _EnablePBR:
|
|
2098
|
+
:param _EnablePBR: <p>是否开启 PBR材质生成,默认 false。</p>
|
|
2074
2099
|
:type EnablePBR: bool
|
|
2075
2100
|
"""
|
|
2076
2101
|
self._File3D = None
|
|
@@ -2080,8 +2105,7 @@ Type可选值:OBJ,GLB
|
|
|
2080
2105
|
|
|
2081
2106
|
@property
|
|
2082
2107
|
def File3D(self):
|
|
2083
|
-
r"""
|
|
2084
|
-
Type可选值:OBJ,GLB
|
|
2108
|
+
r"""<p>源3D模型文件。<br>Type可选值:OBJ,GLB</p>
|
|
2085
2109
|
:rtype: :class:`tencentcloud.ai3d.v20250513.models.File3D`
|
|
2086
2110
|
"""
|
|
2087
2111
|
return self._File3D
|
|
@@ -2092,9 +2116,7 @@ Type可选值:OBJ,GLB
|
|
|
2092
2116
|
|
|
2093
2117
|
@property
|
|
2094
2118
|
def Prompt(self):
|
|
2095
|
-
r"""
|
|
2096
|
-
最多支持200个 utf-8 字符。
|
|
2097
|
-
文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。
|
|
2119
|
+
r"""<p>文生3D,3D内容的描述,中文正向提示词。<br>最多支持200个 utf-8 字符。<br>文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。</p>
|
|
2098
2120
|
:rtype: str
|
|
2099
2121
|
"""
|
|
2100
2122
|
return self._Prompt
|
|
@@ -2105,9 +2127,7 @@ Type可选值:OBJ,GLB
|
|
|
2105
2127
|
|
|
2106
2128
|
@property
|
|
2107
2129
|
def Image(self):
|
|
2108
|
-
r"""3D模型纹理参考图 Base64
|
|
2109
|
-
- Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
2110
|
-
- 图片限制:单边分辨率小于4096且大于128,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。
|
|
2130
|
+
r"""<p>3D模型纹理参考图 Base64 数据和参考图 Url。</p><ul><li>Base64 和 Url 必须提供一个,如果都提供以 Url 为准。</li><li>图片限制:单边分辨率小于4096且大于128,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。</li></ul>
|
|
2111
2131
|
:rtype: :class:`tencentcloud.ai3d.v20250513.models.Image`
|
|
2112
2132
|
"""
|
|
2113
2133
|
return self._Image
|
|
@@ -2118,7 +2138,7 @@ Type可选值:OBJ,GLB
|
|
|
2118
2138
|
|
|
2119
2139
|
@property
|
|
2120
2140
|
def EnablePBR(self):
|
|
2121
|
-
r"""
|
|
2141
|
+
r"""<p>是否开启 PBR材质生成,默认 false。</p>
|
|
2122
2142
|
:rtype: bool
|
|
2123
2143
|
"""
|
|
2124
2144
|
return self._EnablePBR
|
|
@@ -2154,7 +2174,7 @@ class SubmitTextureTo3DJobResponse(AbstractModel):
|
|
|
2154
2174
|
|
|
2155
2175
|
def __init__(self):
|
|
2156
2176
|
r"""
|
|
2157
|
-
:param _JobId:
|
|
2177
|
+
:param _JobId: <p>任务ID(有效期24小时)</p>
|
|
2158
2178
|
:type JobId: str
|
|
2159
2179
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2160
2180
|
:type RequestId: str
|
|
@@ -2164,7 +2184,7 @@ class SubmitTextureTo3DJobResponse(AbstractModel):
|
|
|
2164
2184
|
|
|
2165
2185
|
@property
|
|
2166
2186
|
def JobId(self):
|
|
2167
|
-
r"""
|
|
2187
|
+
r"""<p>任务ID(有效期24小时)</p>
|
|
2168
2188
|
:rtype: str
|
|
2169
2189
|
"""
|
|
2170
2190
|
return self._JobId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ai3d
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.57
|
|
4
4
|
Summary: Tencent Cloud Ai3d SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.57
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.57
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.52
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|