ComfyPilotComfyPilot
工作流 / 3D 模型 / Tripo P2:图像转模型
Tripo P2:图像转模型

Tripo P2:图像转模型

Tripo P2: Image to Model

使用 Tripo P2.0 Preview 从单张参考图生成可用于生产的 3D 模型,构建原生四边形拓扑,边缘流干净,适合绑定和动画。它接收 1 张输入图像,可选多视图参考以提高侧面和背面精度。非常适合游戏角色和道具、硬表面机械资产以及大批量实时管线。

3D 模型 9 个节点 1 个输入 132 次使用 ComfyUI ≥ 0.36.0 ComfyUI 16 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

MarkdownNote × 2
TripoRetargetNode × 1
TripoTextureNodeV2 × 1
TripoRigNode × 1
TripoConversionNode × 1
Save3DAdvanced × 1
TripoPSeriesImageToModelNode × 1
LoadImage × 1

官方标注的模型

Tripo P2

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "e65fc6f8-e52c-4440-9bb8-bca99d6f29c9",
3 "revision": 0,
4 "last_node_id": 17,
5 "last_link_id": 7,
6 "nodes": [
7 {
8 "id": 4,
9 "type": "MarkdownNote",
10 "pos": [
11 -160,
12 5250
13 ],
14 "size": [
15 290,
16 194.65625
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [],
23 "title": "⚠️ Output format",
24 "properties": [],
25 "widgets_values": [
26 "Please plug the Save 3D to the right slot when you have enabled the `quad` option\n| Condition | Output Format |\n| --------- | ------------- |\n| `quad` enabled | FBX |\n| `quad` disabled | GLB |\n"
27 ],
28 "widgets_values_named": {
29 "text": "Please plug the Save 3D to the right slot when you have enabled the `quad` option\n| Condition | Output Format |\n| --------- | ------------- |\n| `quad` enabled | FBX |\n| `quad` disabled | GLB |\n"
30 },
31 "color": "#222",
32 "bgcolor": "#000"
33 },
34 {
35 "id": 5,
36 "type": "TripoRetargetNode",
37 "pos": [
38 -1500,
39 5910
40 ],
41 "size": [
42 330,
43 197.921875
44 ],
45 "flags": [],
46 "order": 1,
47 "mode": 4,
48 "inputs": [
49 {
50 "name": "original_model_task_id",
51 "type": "RIG_TASK_ID",
52 "link": null
53 }
54 ],
55 "outputs": [
56 {
57 "name": "model_file",
58 "type": "STRING",
59 "links": []
60 },
61 {
62 "name": "retarget task_id",
63 "type": "RETARGET_TASK_ID",
64 "links": []
65 },
66 {
67 "name": "GLB",
68 "type": "FILE_3D_GLB",
69 "links": []
70 },
71 {
72 "name": "FBX",
73 "type": "FILE_3D_FBX",
74 "links": []
75 }
76 ],
77 "properties": {
78 "Node name for S&R": "TripoRetargetNode",
79 "cnr_id": "comfy-core",
80 "ver": "0.16.3",
81 "enableTabs": false,
82 "tabWidth": 65,
83 "tabXOffset": 10,
84 "hasSecondTab": false,
85 "secondTabText": "Send Back",
86 "secondTabOffset": 80,
87 "secondTabWidth": 65
88 },
89 "widgets_values": [
90 "preset:idle",
91 "glb",
92 true,
93 false
94 ],
95 "widgets_values_named": {
96 "animation": "preset:idle",
97 "out_format": "glb",
98 "export_with_geometry": true,
99 "animate_in_place": false
100 },
101 "color": "#432",
102 "bgcolor": "#653"
103 },
104 {
105 "id": 6,
106 "type": "TripoTextureNodeV2",
107 "pos": [
108 -1500,
109 5550
110 ],
111 "size": [
112 400,
113 300
114 ],
115 "flags": [],
116 "order": 2,
117 "mode": 4,
118 "inputs": [
119 {
120 "name": "model_task_id",
121 "type": "MODEL_TASK_ID,SEGMENT_TASK_ID",
122 "link": null
123 },
124 {
125 "name": "style_image",
126 "shape": 7,
127 "type": "IMAGE",
128 "link": null
129 }
130 ],
131 "outputs": [
132 {
133 "name": "model task_id",
134 "type": "MODEL_TASK_ID",
135 "links": []
136 },
137 {
138 "name": "GLB",
139 "type": "FILE_3D_GLB",
140 "links": []
141 },
142 {
143 "name": "FBX",
144 "type": "FILE_3D_FBX",
145 "links": []
146 }
147 ],
148 "properties": {
149 "Node name for S&R": "TripoTextureNodeV2"
150 },
151 "widgets_values": [
152 true,
153 42,
154 "standard",
155 "original_image",
156 "",
157 "v3.0-20250812",
158 "none",
159 ""
160 ],
161 "widgets_values_named": {
162 "pbr": true,
163 "texture_seed": 42,
164 "texture_quality": "standard",
165 "texture_alignment": "original_image",
166 "texture_prompt": "",
167 "model_version": "v3.0-20250812",
168 "reference": "none",
169 "part_names": ""
170 },
171 "color": "#432",
172 "bgcolor": "#653"
173 },
174 {
175 "id": 7,
176 "type": "TripoRigNode",
177 "pos": [
178 -1500,
179 6160
180 ],
181 "size": [
182 330,
183 229.90625
184 ],
185 "flags": [],
186 "order": 3,
187 "mode": 4,
188 "inputs": [
189 {
190 "name": "original_model_task_id",
191 "type": "MODEL_TASK_ID",
192 "link": null
193 }
194 ],
195 "outputs": [
196 {
197 "name": "model_file",
198 "type": "STRING",
199 "links": []
200 },
201 {
202 "name": "rig task_id",
203 "type": "RIG_TASK_ID",
204 "links": []
205 },
206 {
207 "name": "GLB",
208 "type": "FILE_3D_GLB",
209 "links": []
210 },
211 {
212 "name": "FBX",
213 "type": "FILE_3D_FBX",
214 "links": []
215 }
216 ],
217 "properties": {
218 "Node name for S&R": "TripoRigNode",
219 "cnr_id": "comfy-core",
220 "ver": "0.16.3",
221 "enableTabs": false,
222 "tabWidth": 65,
223 "tabXOffset": 10,
224 "hasSecondTab": false,
225 "secondTabText": "Send Back",
226 "secondTabOffset": 80,
227 "secondTabWidth": 65
228 },
229 "widgets_values": [
230 "v1.0-20240301",
231 "auto",
232 "tripo",
233 "glb"
234 ],
235 "widgets_values_named": {
236 "model_version": "v1.0-20240301",
237 "rig_type": "auto",
238 "spec": "tripo",
239 "out_format": "glb"
240 },
241 "color": "#432",
242 "bgcolor": "#653"
243 },
244 {
245 "id": 8,
246 "type": "TripoConversionNode",
247 "pos": [
248 -1500,
249 6430
250 ],
251 "size": [
252 330,
253 470
254 ],
255 "flags": [],
256 "order": 4,
257 "mode": 4,
258 "inputs": [
259 {
260 "name": "original_model_task_id",
261 "type": "MODEL_TASK_ID,RIG_TASK_ID,RETARGET_TASK_ID,SEGMENT_TASK_ID",
262 "link": null
263 }
264 ],
265 "outputs": [
266 {
267 "name": "model_3d",
268 "type": "FILE_3D",
269 "links": []
270 }
271 ],
272 "properties": {
273 "Node name for S&R": "TripoConversionNode",
274 "cnr_id": "comfy-core",
275 "ver": "0.16.3",
276 "enableTabs": false,
277 "tabWidth": 65,
278 "tabXOffset": 10,
279 "hasSecondTab": false,
280 "secondTabText": "Send Back",
281 "secondTabOffset": 80,
282 "secondTabWidth": 65
283 },
284 "widgets_values": [
285 "GLTF",
286 false,
287 -1,
288 4096,
289 "JPEG",
290 false,
291 false,
292 0,
293 false,
294 1,
295 false,
296 false,
297 false,
298 "",
299 "blender",
300 false,
301 "default",
302 false
303 ],
304 "widgets_values_named": {
305 "format": "GLTF",
306 "quad": false,
307 "face_limit": -1,
308 "texture_size": 4096,
309 "texture_format": "JPEG",
310 "force_symmetry": false,
311 "flatten_bottom": false,
312 "flatten_bottom_threshold": 0,
313 "pivot_to_center_bottom": false,
314 "scale_factor": 1,
315 "with_animation": false,
316 "pack_uv": false,
317 "bake": false,
318 "part_names": "",
319 "fbx_preset": "blender",
320 "export_vertex_colors": false,
321 "export_orientation": "default",
322 "animate_in_place": false
323 },
324 "color": "#432",
325 "bgcolor": "#653"
326 },
327 {
328 "id": 14,
329 "type": "Save3DAdvanced",
330 "pos": [
331 -160,
332 5510
333 ],
334 "size": [
335 1260,
336 1100
337 ],
338 "flags": [],
339 "order": 8,
340 "mode": 0,
341 "inputs": [
342 {
343 "name": "model_3d",
344 "type": "FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
345 "link": 6
346 },
347 {
348 "name": "model_3d_info",
349 "shape": 7,
350 "type": "LOAD3D_MODEL_INFO",
351 "link": null
352 },
353 {
354 "name": "camera_info",
355 "shape": 7,
356 "type": "LOAD3D_CAMERA",
357 "link": null
358 }
359 ],
360 "outputs": [
361 {
362 "name": "model_3d",
363 "type": "FILE_3D",
364 "links": null
365 },
366 {
367 "name": "model_3d_info",
368 "type": "LOAD3D_MODEL_INFO",
369 "links": null
370 },
371 {
372 "name": "camera_info",
373 "type": "LOAD3D_CAMERA",
374 "links": null
375 },
376 {
377 "name": "width",
378 "type": "INT",
379 "links": null
380 },
381 {
382 "name": "height",
383 "type": "INT",
384 "links": null
385 }
386 ],
387 "properties": {
388 "Camera Config": {
389 "cameraType": "perspective",
390 "fov": 35,
391 "state": {
392 "position": {
393 "x": 9.71728194843007,
394 "y": 9.827892177506522,
395 "z": -0.8046718115035845
396 },
397 "target": {
398 "x": 0,
399 "y": 2.5,
400 "z": 0
401 },
402 "zoom": 1,
403 "cameraType": "perspective",
404 "quaternion": {
405 "x": -0.21449723624156072,
406 "y": 0.6978373218203593,
407 "z": 0.23299356315665887,
408 "w": 0.6424391079681282
409 },
410 "fov": 35,
411 "aspect": 1,
412 "near": 0.01,
413 "far": 10000,
414 "frustum": {
415 "left": -5,
416 "right": 5,
417 "top": 5,
418 "bottom": -5
419 }
420 }
421 },
422 "Last Time Model File": "3d/Tripo_p2_00001.glb",
423 "Light Config": {
424 "intensity": 3,
425 "hdri": {
426 "enabled": false,
427 "hdriPath": "",
428 "showAsBackground": false,
429 "intensity": 1
430 }
431 },
432 "Scene Config": {
433 "showGrid": true,
434 "backgroundColor": "#000000",
435 "backgroundImage": "",
436 "backgroundRenderMode": "tiled",
437 "models": [
438 {
439 "position": {
440 "x": 0,
441 "y": 2.5,
442 "z": 0
443 },
444 "quaternion": {
445 "x": 0,
446 "y": 0,
447 "z": 0,
448 "w": 1
449 },
450 "scale": {
451 "x": 5.002442598925256,
452 "y": 5.002442598925256,
453 "z": 5.002442598925256
454 }
455 }
456 ]
457 },
458 "Model Config": {
459 "upDirection": "original",
460 "materialMode": "original",
461 "showSkeleton": false,
462 "gizmo": {
463 "enabled": false,
464 "mode": "translate",
465 "position": {
466 "x": 0,
467 "y": 2.5,
468 "z": 0
469 },
470 "rotation": {
471 "x": 0,
472 "y": 0,
473 "z": 0
474 },
475 "scale": {
476 "x": 5.002442598925256,
477 "y": 5.002442598925256,
478 "z": 5.002442598925256
479 }
480 }
481 }
482 },
483 "widgets_values": [
484 "3d/Tripo_p2",
485 "",
486 1024,
487 1024
488 ],
489 "widgets_values_named": {
490 "filename_prefix": "3d/Tripo_p2",
491 "viewport_state": "",
492 "width": 1024,
493 "height": 1024
494 }
495 },
496 {
497 "id": 15,
498 "type": "TripoPSeriesImageToModelNode",
499 "pos": [
500 -520,
501 5520
502 ],
503 "size": [
504 286.640625,
505 410
506 ],
507 "flags": [],
508 "order": 7,
509 "mode": 0,
510 "inputs": [
511 {
512 "name": "model.image",
513 "type": "IMAGE",
514 "link": 7
515 }
516 ],
517 "outputs": [
518 {
519 "name": "model task_id",
520 "type": "MODEL_TASK_ID",
521 "links": null
522 },
523 {
524 "name": "GLB",
525 "type": "FILE_3D_GLB",
526 "links": [
527 6
528 ]
529 },
530 {
531 "name": "FBX",
532 "type": "FILE_3D_FBX",
533 "links": null
534 }
535 ],
536 "properties": {
537 "Node name for S&R": "TripoPSeriesImageToModelNode"
538 },
539 "widgets_values": [
540 "P2",
541 false,
542 -1,
543 "standard",
544 true,
545 81426036,
546 "randomize",
547 "original_image",
548 "default",
549 false,
550 42,
551 false,
552 true,
553 false
554 ],
555 "widgets_values_named": {
556 "model": "P2",
557 "model.quad": false,
558 "model.face_limit": -1,
559 "model.texture": "standard",
560 "model.pbr": true,
561 "model.model_seed": 81426036,
562 "control_after_generate": "randomize",
563 "model.texture_alignment": "original_image",
564 "model.orientation": "default",
565 "model.enable_image_autofix": false,
566 "model.texture_seed": 42,
567 "model.auto_size": false,
568 "model.export_uv": true,
569 "model.compress_geometry": false
570 },
571 "color": "#432",
572 "bgcolor": "#653"
573 },
574 {
575 "id": 16,
576 "type": "LoadImage",
577 "pos": [
578 -860,
579 5520
580 ],
581 "size": [
582 300,
583 410
584 ],
585 "flags": [],
586 "order": 5,
587 "mode": 0,
588 "inputs": [],
589 "outputs": [
590 {
591 "name": "IMAGE",
592 "type": "IMAGE",
593 "links": [
594 7
595 ]
596 },
597 {
598 "name": "MASK",
599 "type": "MASK",
600 "links": null
601 }
602 ],
603 "properties": {
604 "Node name for S&R": "LoadImage"
605 },
606 "widgets_values": [
607 "designer_toy_3d.png",
608 "image"
609 ],
610 "widgets_values_named": {
611 "image": "designer_toy_3d.png",
612 "upload": "image"
613 }
614 },
615 {
616 "id": 17,
617 "type": "MarkdownNote",
618 "pos": [
619 -2040,
620 5490
621 ],
622 "size": [
623 390,
624 430
625 ],
626 "flags": [],
627 "order": 6,
628 "mode": 0,
629 "inputs": [],
630 "outputs": [],
631 "properties": [],
632 "widgets_values": [
633 "## Input Asset\n\n- [designer_toy_3d.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/designer_toy_3d.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
634 ],
635 "widgets_values_named": {
636 "text": "## Input Asset\n\n- [designer_toy_3d.png](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/input/designer_toy_3d.png)\n\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
637 },
638 "color": "#222",
639 "bgcolor": "#000"
640 }
641 ],
642 "links": [
643 [
644 6,
645 15,
646 1,
647 14,
648 0,
649 "FILE_3D_GLB"
650 ],
651 [
652 7,
653 16,
654 0,
655 15,
656 0,
657 "IMAGE"
658 ]
659 ],
660 "groups": [
661 {
662 "id": 1,
663 "title": "Tripo Toolset (select and ctrl-b to enable)",
664 "bounding": [
665 -1610,
666 5460,
667 630,
668 1500
669 ],
670 "color": "#3f789e",
671 "flags": []
672 }
673 ],
674 "config": [],
675 "extra": {
676 "ds": {
677 "scale": 0.36122211512551744,
678 "offset": [
679 2728.550334319294,
680 -4534.511378481742
681 ]
682 },
683 "frontendVersion": "1.51.10",
684 "VHS_latentpreview": false,
685 "VHS_latentpreviewrate": 0,
686 "VHS_MetadataImage": true,
687 "VHS_KeepIntermediate": true
688 },
689 "version": 0.4
690}