tencentcloud-sdk-nodejs-ai3d 4.1.192 → 4.1.197
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.
package/package.json
CHANGED
|
@@ -67,7 +67,7 @@ export interface Convert3DFormatResponse {
|
|
|
67
67
|
*/
|
|
68
68
|
export interface QueryHunyuanTo3DProJobRequest {
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* <p>任务ID。</p>
|
|
71
71
|
*/
|
|
72
72
|
JobId: string;
|
|
73
73
|
}
|
|
@@ -126,24 +126,19 @@ export interface QueryHunyuanTo3DRapidJobResponse {
|
|
|
126
126
|
*/
|
|
127
127
|
export interface SubmitTextureTo3DJobRequest {
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
130
|
-
Type可选值:OBJ,GLB
|
|
129
|
+
* <p>源3D模型文件。<br>Type可选值:OBJ,GLB</p>
|
|
131
130
|
*/
|
|
132
131
|
File3D: File3D;
|
|
133
132
|
/**
|
|
134
|
-
*
|
|
135
|
-
最多支持200个 utf-8 字符。
|
|
136
|
-
文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。
|
|
133
|
+
* <p>文生3D,3D内容的描述,中文正向提示词。<br>最多支持200个 utf-8 字符。<br>文生3D, image、image_url和 prompt必填其一,且prompt和image/image_url不能同时存在。</p>
|
|
137
134
|
*/
|
|
138
135
|
Prompt?: string;
|
|
139
136
|
/**
|
|
140
|
-
* 3D模型纹理参考图 Base64
|
|
141
|
-
- Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
142
|
-
- 图片限制:单边分辨率小于4096且大于128,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。
|
|
137
|
+
* <p>3D模型纹理参考图 Base64 数据和参考图 Url。</p><ul><li>Base64 和 Url 必须提供一个,如果都提供以 Url 为准。</li><li>图片限制:单边分辨率小于4096且大于128,转成 Base64 字符串后小于 10MB,格式支持 jpg、jpeg、png。</li></ul>
|
|
143
138
|
*/
|
|
144
139
|
Image?: Image;
|
|
145
140
|
/**
|
|
146
|
-
*
|
|
141
|
+
* <p>是否开启 PBR材质生成,默认 false。</p>
|
|
147
142
|
*/
|
|
148
143
|
EnablePBR?: boolean;
|
|
149
144
|
}
|
|
@@ -426,7 +421,7 @@ export interface SubmitHunyuanTo3DProJobRequest {
|
|
|
426
421
|
*/
|
|
427
422
|
FaceCount?: number;
|
|
428
423
|
/**
|
|
429
|
-
* <p>生成任务类型,默认Normal
|
|
424
|
+
* <p>生成任务类型,默认Normal</p><p>枚举值:</p><ul><li>Normal: 可生成带纹理的几何模型</li><li>LowPoly: 可生成智能拓扑后的模型,FaceCount参数不生效。</li><li>Geometry: 可生成不带纹理的几何模型(白模),EnablePBR参数不生效。</li><li>Sketch: 可输入草图或线稿图生成模型,此模式下prompt和ImageUrl/ImageBase64可一起输入。</li></ul>
|
|
430
425
|
*/
|
|
431
426
|
GenerateType?: string;
|
|
432
427
|
/**
|
|
@@ -558,7 +553,7 @@ export interface SubmitHunyuanTo3DProJobResponse {
|
|
|
558
553
|
*/
|
|
559
554
|
export interface SubmitTextureTo3DJobResponse {
|
|
560
555
|
/**
|
|
561
|
-
*
|
|
556
|
+
* <p>任务ID(有效期24小时)</p>
|
|
562
557
|
*/
|
|
563
558
|
JobId?: string;
|
|
564
559
|
/**
|
|
@@ -584,21 +579,29 @@ export interface Image {
|
|
|
584
579
|
*/
|
|
585
580
|
export interface QueryHunyuanTo3DProJobResponse {
|
|
586
581
|
/**
|
|
587
|
-
*
|
|
582
|
+
* <p>任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功</p>
|
|
588
583
|
*/
|
|
589
584
|
Status?: string;
|
|
590
585
|
/**
|
|
591
|
-
*
|
|
586
|
+
* <p>错误码</p>
|
|
592
587
|
*/
|
|
593
588
|
ErrorCode?: string;
|
|
594
589
|
/**
|
|
595
|
-
*
|
|
590
|
+
* <p>错误信息</p>
|
|
596
591
|
*/
|
|
597
592
|
ErrorMessage?: string;
|
|
598
593
|
/**
|
|
599
|
-
*
|
|
594
|
+
* <p>生成的3D文件数组。</p>
|
|
600
595
|
*/
|
|
601
596
|
ResultFile3Ds?: Array<File3D>;
|
|
597
|
+
/**
|
|
598
|
+
* <p>接口任务功能参数及积分详情,返回形式为字符串。Generate参数返回对应模式及消耗积分,如:Generate-Normal:20<br>附加参数返回参数名称及消耗积分,如:MultiViewImages:10</p>
|
|
599
|
+
*/
|
|
600
|
+
ResultCreditDetails?: string;
|
|
601
|
+
/**
|
|
602
|
+
* <p>任务总消耗积分。</p>
|
|
603
|
+
*/
|
|
604
|
+
ResultCreditConsumed?: number;
|
|
602
605
|
/**
|
|
603
606
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
604
607
|
*/
|