ComfyPilotComfyPilot
工作流 / 3D 模型 / Rodin:图像到模型
Rodin:图像到模型

Rodin:图像到模型

Rodin: Image to Model

使用Rodin AI从单张照片生成详细的3D模型。

3D 模型 11 个节点 1 个输入 4 次使用 ComfyUI ≥ 0.23.0 ComfyUI 13 KB

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

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

节点构成

Preview3D × 4
Rodin3D_Detail × 1
Rodin3D_Sketch × 1
Rodin3D_Smooth × 1
Note × 1
BatchImagesNode × 1
LoadImage × 1
Rodin3D_Regular × 1

官方标注的模型

Rodin

工作流 JSON

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

1{
2 "id": "cb4a348c-918b-42f8-b0a9-ff75063a3171",
3 "revision": 0,
4 "last_node_id": 62,
5 "last_link_id": 54,
6 "nodes": [
7 {
8 "id": 56,
9 "type": "Preview3D",
10 "pos": [
11 -1450,
12 990
13 ],
14 "size": [
15 880,
16 750
17 ],
18 "flags": [],
19 "order": 10,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "camera_info",
24 "shape": 7,
25 "type": "LOAD3D_CAMERA",
26 "link": null
27 },
28 {
29 "name": "bg_image",
30 "shape": 7,
31 "type": "IMAGE",
32 "link": null
33 },
34 {
35 "name": "model_file",
36 "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
37 "widget": {
38 "name": "model_file"
39 },
40 "link": 46
41 }
42 ],
43 "outputs": [],
44 "properties": {
45 "cnr_id": "comfy-core",
46 "ver": "0.3.65",
47 "Node name for S&R": "Preview3D",
48 "Camera Info": {
49 "position": {
50 "x": 9.034263190219997,
51 "y": 9.034263190219999,
52 "z": 9.034263190219999
53 },
54 "target": {
55 "x": 0,
56 "y": 0,
57 "z": 0
58 },
59 "zoom": 1,
60 "cameraType": "perspective"
61 },
62 "Camera Config": {
63 "cameraType": "perspective",
64 "fov": 75,
65 "state": {
66 "position": {
67 "x": 10.327742780764442,
68 "y": 10.327742780764442,
69 "z": 10.327742780764444
70 },
71 "target": {
72 "x": 0,
73 "y": 0,
74 "z": 0
75 },
76 "zoom": 1,
77 "cameraType": "perspective"
78 }
79 }
80 },
81 "widgets_values": [
82 "",
83 ""
84 ]
85 },
86 {
87 "id": 29,
88 "type": "Rodin3D_Detail",
89 "pos": [
90 410,
91 740
92 ],
93 "size": [
94 350.0273742675781,
95 126
96 ],
97 "flags": [],
98 "order": 3,
99 "mode": 4,
100 "inputs": [
101 {
102 "name": "Images",
103 "type": "IMAGE",
104 "link": 41
105 }
106 ],
107 "outputs": [
108 {
109 "name": "3D Model Path",
110 "type": "STRING",
111 "links": [
112 48
113 ]
114 },
115 {
116 "name": "GLB",
117 "type": "FILE_3D_GLB",
118 "links": null
119 }
120 ],
121 "properties": {
122 "cnr_id": "comfy-core",
123 "ver": "0.3.65",
124 "Node name for S&R": "Rodin3D_Detail"
125 },
126 "widgets_values": [
127 0,
128 "PBR",
129 "18K-Quad"
130 ],
131 "color": "#432",
132 "bgcolor": "#653"
133 },
134 {
135 "id": 61,
136 "type": "Preview3D",
137 "pos": [
138 1340,
139 990
140 ],
141 "size": [
142 880,
143 750
144 ],
145 "flags": [],
146 "order": 8,
147 "mode": 4,
148 "inputs": [
149 {
150 "name": "camera_info",
151 "shape": 7,
152 "type": "LOAD3D_CAMERA",
153 "link": null
154 },
155 {
156 "name": "bg_image",
157 "shape": 7,
158 "type": "IMAGE",
159 "link": null
160 },
161 {
162 "name": "model_file",
163 "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
164 "widget": {
165 "name": "model_file"
166 },
167 "link": 49
168 }
169 ],
170 "outputs": [],
171 "properties": {
172 "cnr_id": "comfy-core",
173 "ver": "0.3.65",
174 "Node name for S&R": "Preview3D",
175 "Camera Info": {
176 "position": {
177 "x": 9.933540543639973,
178 "y": 9.933540543639975,
179 "z": 9.933540543639975
180 },
181 "target": {
182 "x": 0,
183 "y": 0,
184 "z": 0
185 },
186 "zoom": 1,
187 "cameraType": "perspective"
188 }
189 },
190 "widgets_values": [
191 "",
192 ""
193 ]
194 },
195 {
196 "id": 59,
197 "type": "Preview3D",
198 "pos": [
199 410,
200 990
201 ],
202 "size": [
203 880,
204 750
205 ],
206 "flags": [],
207 "order": 7,
208 "mode": 4,
209 "inputs": [
210 {
211 "name": "camera_info",
212 "shape": 7,
213 "type": "LOAD3D_CAMERA",
214 "link": null
215 },
216 {
217 "name": "bg_image",
218 "shape": 7,
219 "type": "IMAGE",
220 "link": null
221 },
222 {
223 "name": "model_file",
224 "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
225 "widget": {
226 "name": "model_file"
227 },
228 "link": 48
229 }
230 ],
231 "outputs": [],
232 "properties": {
233 "cnr_id": "comfy-core",
234 "ver": "0.3.65",
235 "Node name for S&R": "Preview3D",
236 "Camera Info": {
237 "position": {
238 "x": 9.933540543639973,
239 "y": 9.933540543639975,
240 "z": 9.933540543639975
241 },
242 "target": {
243 "x": 0,
244 "y": 0,
245 "z": 0
246 },
247 "zoom": 1,
248 "cameraType": "perspective"
249 }
250 },
251 "widgets_values": [
252 "",
253 ""
254 ]
255 },
256 {
257 "id": 60,
258 "type": "Preview3D",
259 "pos": [
260 -510,
261 990
262 ],
263 "size": [
264 880,
265 750
266 ],
267 "flags": [],
268 "order": 6,
269 "mode": 4,
270 "inputs": [
271 {
272 "name": "camera_info",
273 "shape": 7,
274 "type": "LOAD3D_CAMERA",
275 "link": null
276 },
277 {
278 "name": "bg_image",
279 "shape": 7,
280 "type": "IMAGE",
281 "link": null
282 },
283 {
284 "name": "model_file",
285 "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
286 "widget": {
287 "name": "model_file"
288 },
289 "link": 47
290 }
291 ],
292 "outputs": [],
293 "properties": {
294 "cnr_id": "comfy-core",
295 "ver": "0.3.65",
296 "Node name for S&R": "Preview3D",
297 "Camera Info": {
298 "position": {
299 "x": 6.912099131936989,
300 "y": 6.912099131936989,
301 "z": 6.91209913193699
302 },
303 "target": {
304 "x": 0,
305 "y": 0,
306 "z": 0
307 },
308 "zoom": 1,
309 "cameraType": "perspective"
310 },
311 "Camera Config": {
312 "cameraType": "perspective",
313 "fov": 75,
314 "state": {
315 "position": {
316 "x": 9.81100179570245,
317 "y": 9.81100179570245,
318 "z": 9.811001795702452
319 },
320 "target": {
321 "x": 0,
322 "y": 0,
323 "z": 0
324 },
325 "zoom": 1,
326 "cameraType": "perspective"
327 }
328 }
329 },
330 "widgets_values": [
331 "",
332 ""
333 ]
334 },
335 {
336 "id": 31,
337 "type": "Rodin3D_Sketch",
338 "pos": [
339 -520,
340 740
341 ],
342 "size": [
343 354.0360107421875,
344 78
345 ],
346 "flags": [],
347 "order": 2,
348 "mode": 4,
349 "inputs": [
350 {
351 "name": "Images",
352 "type": "IMAGE",
353 "link": 40
354 }
355 ],
356 "outputs": [
357 {
358 "name": "3D Model Path",
359 "type": "STRING",
360 "links": [
361 47
362 ]
363 },
364 {
365 "name": "GLB",
366 "type": "FILE_3D_GLB",
367 "links": null
368 }
369 ],
370 "properties": {
371 "cnr_id": "comfy-core",
372 "ver": "0.3.65",
373 "Node name for S&R": "Rodin3D_Sketch"
374 },
375 "widgets_values": [
376 0
377 ],
378 "color": "#432",
379 "bgcolor": "#653"
380 },
381 {
382 "id": 30,
383 "type": "Rodin3D_Smooth",
384 "pos": [
385 1320,
386 740
387 ],
388 "size": [
389 343.4781188964844,
390 126
391 ],
392 "flags": [],
393 "order": 4,
394 "mode": 4,
395 "inputs": [
396 {
397 "name": "Images",
398 "type": "IMAGE",
399 "link": 42
400 }
401 ],
402 "outputs": [
403 {
404 "name": "3D Model Path",
405 "type": "STRING",
406 "links": [
407 49
408 ]
409 },
410 {
411 "name": "GLB",
412 "type": "FILE_3D_GLB",
413 "links": null
414 }
415 ],
416 "properties": {
417 "cnr_id": "comfy-core",
418 "ver": "0.3.65",
419 "Node name for S&R": "Rodin3D_Smooth"
420 },
421 "widgets_values": [
422 0,
423 "PBR",
424 "18K-Quad"
425 ],
426 "color": "#432",
427 "bgcolor": "#653"
428 },
429 {
430 "id": 54,
431 "type": "Note",
432 "pos": [
433 -2660,
434 750
435 ],
436 "size": [
437 236.6021270751953,
438 309.6337890625
439 ],
440 "flags": [],
441 "order": 0,
442 "mode": 0,
443 "inputs": [],
444 "outputs": [],
445 "title": "Tips",
446 "properties": [],
447 "widgets_values": [
448 "Try to provide the following types of images:\n- Provide images from multiple angles.\n- Images with a solid color background.\n\nThis helps to generate a model that better meets the requirements. Of course, thanks to Rodin's excellent product capabilities, the subject in the unprocessed image can also achieve a good model output. \n"
449 ],
450 "color": "#222",
451 "bgcolor": "#000"
452 },
453 {
454 "id": 62,
455 "type": "BatchImagesNode",
456 "pos": [
457 -1800,
458 790
459 ],
460 "size": [
461 200,
462 50
463 ],
464 "flags": [],
465 "order": 5,
466 "mode": 4,
467 "inputs": [
468 {
469 "label": "image0",
470 "name": "images.image0",
471 "type": "IMAGE",
472 "link": 53
473 },
474 {
475 "label": "image1",
476 "name": "images.image1",
477 "type": "IMAGE",
478 "link": null
479 }
480 ],
481 "outputs": [
482 {
483 "name": "IMAGE",
484 "type": "IMAGE",
485 "links": [
486 54
487 ]
488 }
489 ],
490 "properties": {
491 "cnr_id": "comfy-core",
492 "ver": "0.16.3",
493 "Node name for S&R": "BatchImagesNode"
494 }
495 },
496 {
497 "id": 49,
498 "type": "LoadImage",
499 "pos": [
500 -2210,
501 740
502 ],
503 "size": [
504 266.3306884765625,
505 326
506 ],
507 "flags": [],
508 "order": 1,
509 "mode": 0,
510 "inputs": [],
511 "outputs": [
512 {
513 "name": "IMAGE",
514 "type": "IMAGE",
515 "links": [
516 40,
517 41,
518 42,
519 53
520 ]
521 },
522 {
523 "name": "MASK",
524 "type": "MASK",
525 "links": null
526 }
527 ],
528 "properties": {
529 "cnr_id": "comfy-core",
530 "ver": "0.3.65",
531 "Node name for S&R": "LoadImage"
532 },
533 "widgets_values": [
534 "api_rodin_image_to_model_input_image.png",
535 "image"
536 ]
537 },
538 {
539 "id": 28,
540 "type": "Rodin3D_Regular",
541 "pos": [
542 -1460,
543 740
544 ],
545 "size": [
546 344.2574157714844,
547 126
548 ],
549 "flags": [],
550 "order": 9,
551 "mode": 0,
552 "inputs": [
553 {
554 "name": "Images",
555 "type": "IMAGE",
556 "link": 54
557 }
558 ],
559 "outputs": [
560 {
561 "name": "3D Model Path",
562 "type": "STRING",
563 "links": [
564 46
565 ]
566 },
567 {
568 "name": "GLB",
569 "type": "FILE_3D_GLB",
570 "links": null
571 }
572 ],
573 "properties": {
574 "cnr_id": "comfy-core",
575 "ver": "0.3.65",
576 "Node name for S&R": "Rodin3D_Regular"
577 },
578 "widgets_values": [
579 0,
580 "PBR",
581 "200K-Triangle"
582 ],
583 "color": "#432",
584 "bgcolor": "#653"
585 }
586 ],
587 "links": [
588 [
589 40,
590 49,
591 0,
592 31,
593 0,
594 "IMAGE"
595 ],
596 [
597 41,
598 49,
599 0,
600 29,
601 0,
602 "IMAGE"
603 ],
604 [
605 42,
606 49,
607 0,
608 30,
609 0,
610 "IMAGE"
611 ],
612 [
613 46,
614 28,
615 0,
616 56,
617 2,
618 "STRING"
619 ],
620 [
621 47,
622 31,
623 0,
624 60,
625 2,
626 "STRING"
627 ],
628 [
629 48,
630 29,
631 0,
632 59,
633 2,
634 "STRING"
635 ],
636 [
637 49,
638 30,
639 0,
640 61,
641 2,
642 "STRING"
643 ],
644 [
645 53,
646 49,
647 0,
648 62,
649 0,
650 "IMAGE"
651 ],
652 [
653 54,
654 62,
655 0,
656 28,
657 0,
658 "IMAGE"
659 ]
660 ],
661 "groups": [
662 {
663 "id": 2,
664 "title": "Select and Ctrl-B to enable",
665 "bounding": [
666 -1890,
667 710,
668 360,
669 140
670 ],
671 "color": "#3f789e",
672 "font_size": 24,
673 "flags": []
674 }
675 ],
676 "config": [],
677 "extra": {
678 "ds": {
679 "scale": 0.2364778281860694,
680 "offset": [
681 4739.976346926808,
682 756.6061172621053
683 ]
684 },
685 "frontendVersion": "1.39.19",
686 "VHS_latentpreview": false,
687 "VHS_latentpreviewrate": 0,
688 "VHS_MetadataImage": true,
689 "VHS_KeepIntermediate": true,
690 "workflowRendererVersion": "LG"
691 },
692 "version": 0.4
693}