ChrisColeTech commited on
Commit
8df8efe
·
verified ·
1 Parent(s): c459035

Add workflow_examples/giga_unirig.json (ComfyUI editor workflow, verified on an RTX 5090)

Browse files
Files changed (1) hide show
  1. workflow_examples/giga_unirig.json +735 -0
workflow_examples/giga_unirig.json ADDED
@@ -0,0 +1,735 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "e1cd76fb-fe91-5475-8ff4-2b0d189b9d6b",
3
+ "revision": 0,
4
+ "last_node_id": 252,
5
+ "last_link_id": 15,
6
+ "nodes": [
7
+ {
8
+ "id": 101,
9
+ "type": "LoadImage",
10
+ "pos": [
11
+ 60,
12
+ 60
13
+ ],
14
+ "size": [
15
+ 360,
16
+ 106
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "IMAGE",
25
+ "type": "IMAGE",
26
+ "links": [
27
+ 1
28
+ ],
29
+ "slot_index": 0
30
+ },
31
+ {
32
+ "name": "MASK",
33
+ "type": "MASK",
34
+ "links": [
35
+ 3
36
+ ],
37
+ "slot_index": 1
38
+ }
39
+ ],
40
+ "properties": {
41
+ "Node name for S&R": "LoadImage"
42
+ },
43
+ "widgets_values": [
44
+ "example.png"
45
+ ],
46
+ "title": "Load Image"
47
+ },
48
+ {
49
+ "id": 153,
50
+ "type": "CCTechTripoSGRMBGLoader",
51
+ "pos": [
52
+ 60,
53
+ 206
54
+ ],
55
+ "size": [
56
+ 360,
57
+ 84
58
+ ],
59
+ "flags": {},
60
+ "order": 1,
61
+ "mode": 0,
62
+ "inputs": [],
63
+ "outputs": [
64
+ {
65
+ "name": "rmbg",
66
+ "type": "CCTECH_TRIPOSG_RMBG",
67
+ "links": [
68
+ 2
69
+ ],
70
+ "slot_index": 0
71
+ }
72
+ ],
73
+ "properties": {
74
+ "Node name for S&R": "CCTechTripoSGRMBGLoader"
75
+ },
76
+ "widgets_values": [
77
+ "RMBG-1.4"
78
+ ]
79
+ },
80
+ {
81
+ "id": 154,
82
+ "type": "CCTechTripoSGModelLoader",
83
+ "pos": [
84
+ 60,
85
+ 330
86
+ ],
87
+ "size": [
88
+ 360,
89
+ 110
90
+ ],
91
+ "flags": {},
92
+ "order": 2,
93
+ "mode": 0,
94
+ "inputs": [],
95
+ "outputs": [
96
+ {
97
+ "name": "triposg_model",
98
+ "type": "CCTECH_TRIPOSG_MODEL",
99
+ "links": [
100
+ 4,
101
+ 6
102
+ ],
103
+ "slot_index": 0
104
+ }
105
+ ],
106
+ "properties": {
107
+ "Node name for S&R": "CCTechTripoSGModelLoader"
108
+ },
109
+ "widgets_values": [
110
+ "TripoSG",
111
+ "auto"
112
+ ]
113
+ },
114
+ {
115
+ "id": 159,
116
+ "type": "CCTechUniRigSkeletonModelLoader",
117
+ "pos": [
118
+ 60,
119
+ 480
120
+ ],
121
+ "size": [
122
+ 360,
123
+ 110
124
+ ],
125
+ "flags": {},
126
+ "order": 3,
127
+ "mode": 0,
128
+ "inputs": [],
129
+ "outputs": [
130
+ {
131
+ "name": "skeleton_model",
132
+ "type": "CCTECH_UNIRIG_SKELETON_MODEL",
133
+ "links": [
134
+ 9
135
+ ],
136
+ "slot_index": 0
137
+ }
138
+ ],
139
+ "properties": {
140
+ "Node name for S&R": "CCTechUniRigSkeletonModelLoader"
141
+ },
142
+ "widgets_values": [
143
+ "skeleton.safetensors",
144
+ "fp32"
145
+ ]
146
+ },
147
+ {
148
+ "id": 160,
149
+ "type": "CCTechUniRigSkinModelLoader",
150
+ "pos": [
151
+ 60,
152
+ 630
153
+ ],
154
+ "size": [
155
+ 360,
156
+ 110
157
+ ],
158
+ "flags": {},
159
+ "order": 4,
160
+ "mode": 0,
161
+ "inputs": [],
162
+ "outputs": [
163
+ {
164
+ "name": "skinning_model",
165
+ "type": "CCTECH_UNIRIG_SKINNING_MODEL",
166
+ "links": [
167
+ 11
168
+ ],
169
+ "slot_index": 0
170
+ }
171
+ ],
172
+ "properties": {
173
+ "Node name for S&R": "CCTechUniRigSkinModelLoader"
174
+ },
175
+ "widgets_values": [
176
+ "skin.safetensors",
177
+ "fp32"
178
+ ]
179
+ },
180
+ {
181
+ "id": 155,
182
+ "type": "CCTechTripoSGPrepareImage",
183
+ "pos": [
184
+ 480,
185
+ 60
186
+ ],
187
+ "size": [
188
+ 360,
189
+ 180
190
+ ],
191
+ "flags": {},
192
+ "order": 5,
193
+ "mode": 0,
194
+ "inputs": [
195
+ {
196
+ "name": "image",
197
+ "type": "IMAGE",
198
+ "link": 1
199
+ },
200
+ {
201
+ "name": "rmbg",
202
+ "type": "CCTECH_TRIPOSG_RMBG",
203
+ "link": 2
204
+ },
205
+ {
206
+ "name": "mask",
207
+ "type": "MASK",
208
+ "link": 3
209
+ }
210
+ ],
211
+ "outputs": [
212
+ {
213
+ "name": "image",
214
+ "type": "IMAGE",
215
+ "links": [
216
+ 5
217
+ ],
218
+ "slot_index": 0
219
+ }
220
+ ],
221
+ "properties": {
222
+ "Node name for S&R": "CCTechTripoSGPrepareImage"
223
+ },
224
+ "widgets_values": [
225
+ true,
226
+ 0.1,
227
+ "white"
228
+ ]
229
+ },
230
+ {
231
+ "id": 156,
232
+ "type": "CCTechTripoSGSampler",
233
+ "pos": [
234
+ 900,
235
+ 60
236
+ ],
237
+ "size": [
238
+ 360,
239
+ 210
240
+ ],
241
+ "flags": {},
242
+ "order": 6,
243
+ "mode": 0,
244
+ "inputs": [
245
+ {
246
+ "name": "triposg_model",
247
+ "type": "CCTECH_TRIPOSG_MODEL",
248
+ "link": 4
249
+ },
250
+ {
251
+ "name": "image",
252
+ "type": "IMAGE",
253
+ "link": 5
254
+ }
255
+ ],
256
+ "outputs": [
257
+ {
258
+ "name": "shape_latent",
259
+ "type": "CCTECH_TRIPOSG_LATENT",
260
+ "links": [
261
+ 7
262
+ ],
263
+ "slot_index": 0
264
+ }
265
+ ],
266
+ "properties": {
267
+ "Node name for S&R": "CCTechTripoSGSampler"
268
+ },
269
+ "widgets_values": [
270
+ 42,
271
+ "fixed",
272
+ 50,
273
+ 7.0,
274
+ 2048
275
+ ]
276
+ },
277
+ {
278
+ "id": 157,
279
+ "type": "CCTechTripoSGDecodeMesh",
280
+ "pos": [
281
+ 1320,
282
+ 60
283
+ ],
284
+ "size": [
285
+ 360,
286
+ 158
287
+ ],
288
+ "flags": {},
289
+ "order": 7,
290
+ "mode": 0,
291
+ "inputs": [
292
+ {
293
+ "name": "triposg_model",
294
+ "type": "CCTECH_TRIPOSG_MODEL",
295
+ "link": 6
296
+ },
297
+ {
298
+ "name": "shape_latent",
299
+ "type": "CCTECH_TRIPOSG_LATENT",
300
+ "link": 7
301
+ }
302
+ ],
303
+ "outputs": [
304
+ {
305
+ "name": "mesh",
306
+ "type": "MESH",
307
+ "links": [
308
+ 8
309
+ ],
310
+ "slot_index": 0
311
+ }
312
+ ],
313
+ "properties": {
314
+ "Node name for S&R": "CCTechTripoSGDecodeMesh"
315
+ },
316
+ "widgets_values": [
317
+ 8,
318
+ 9,
319
+ 1.005
320
+ ]
321
+ },
322
+ {
323
+ "id": 161,
324
+ "type": "CCTechUniRigExtractSkeleton",
325
+ "pos": [
326
+ 1740,
327
+ 60
328
+ ],
329
+ "size": [
330
+ 360,
331
+ 284
332
+ ],
333
+ "flags": {},
334
+ "order": 8,
335
+ "mode": 0,
336
+ "inputs": [
337
+ {
338
+ "name": "mesh",
339
+ "type": "MESH",
340
+ "link": 8
341
+ },
342
+ {
343
+ "name": "skeleton_model",
344
+ "type": "CCTECH_UNIRIG_SKELETON_MODEL",
345
+ "link": 9
346
+ }
347
+ ],
348
+ "outputs": [
349
+ {
350
+ "name": "mesh",
351
+ "type": "MESH",
352
+ "links": [
353
+ 12
354
+ ],
355
+ "slot_index": 0
356
+ },
357
+ {
358
+ "name": "skeleton",
359
+ "type": "CCTECH_UNIRIG_SKELETON",
360
+ "links": [
361
+ 10
362
+ ],
363
+ "slot_index": 1
364
+ },
365
+ {
366
+ "name": "skeleton_info",
367
+ "type": "STRING",
368
+ "links": [],
369
+ "slot_index": 2
370
+ }
371
+ ],
372
+ "properties": {
373
+ "Node name for S&R": "CCTechUniRigExtractSkeleton"
374
+ },
375
+ "widgets_values": [
376
+ 42,
377
+ "fixed",
378
+ "mixamo",
379
+ 50000,
380
+ 15,
381
+ 1.5,
382
+ 2048
383
+ ]
384
+ },
385
+ {
386
+ "id": 162,
387
+ "type": "CCTechUniRigApplySkinning",
388
+ "pos": [
389
+ 2160,
390
+ 60
391
+ ],
392
+ "size": [
393
+ 360,
394
+ 132
395
+ ],
396
+ "flags": {},
397
+ "order": 9,
398
+ "mode": 0,
399
+ "inputs": [
400
+ {
401
+ "name": "skeleton",
402
+ "type": "CCTECH_UNIRIG_SKELETON",
403
+ "link": 10
404
+ },
405
+ {
406
+ "name": "skinning_model",
407
+ "type": "CCTECH_UNIRIG_SKINNING_MODEL",
408
+ "link": 11
409
+ }
410
+ ],
411
+ "outputs": [
412
+ {
413
+ "name": "rig",
414
+ "type": "CCTECH_UNIRIG_RIG",
415
+ "links": [
416
+ 13
417
+ ],
418
+ "slot_index": 0
419
+ },
420
+ {
421
+ "name": "rig_info",
422
+ "type": "STRING",
423
+ "links": [],
424
+ "slot_index": 1
425
+ }
426
+ ],
427
+ "properties": {
428
+ "Node name for S&R": "CCTechUniRigApplySkinning"
429
+ },
430
+ "widgets_values": [
431
+ 196,
432
+ 1
433
+ ]
434
+ },
435
+ {
436
+ "id": 251,
437
+ "type": "RenderMesh",
438
+ "pos": [
439
+ 2160,
440
+ 232
441
+ ],
442
+ "size": [
443
+ 360,
444
+ 202
445
+ ],
446
+ "flags": {},
447
+ "order": 10,
448
+ "mode": 0,
449
+ "inputs": [
450
+ {
451
+ "name": "mesh",
452
+ "type": "MESH",
453
+ "link": 12
454
+ },
455
+ {
456
+ "name": "background",
457
+ "type": "COLOR",
458
+ "link": null
459
+ },
460
+ {
461
+ "name": "model_3d_info",
462
+ "type": "LOAD3D_MODEL_INFO",
463
+ "link": null
464
+ },
465
+ {
466
+ "name": "camera_info",
467
+ "type": "LOAD3D_CAMERA",
468
+ "link": null
469
+ }
470
+ ],
471
+ "outputs": [
472
+ {
473
+ "name": "image",
474
+ "type": "IMAGE",
475
+ "links": [
476
+ 14
477
+ ],
478
+ "slot_index": 0
479
+ },
480
+ {
481
+ "name": "mask",
482
+ "type": "MASK",
483
+ "links": [],
484
+ "slot_index": 1
485
+ }
486
+ ],
487
+ "properties": {
488
+ "Node name for S&R": "RenderMesh"
489
+ },
490
+ "widgets_values": [
491
+ "auto",
492
+ 1024,
493
+ 1024
494
+ ]
495
+ },
496
+ {
497
+ "id": 163,
498
+ "type": "CCTechUniRigRigToGLB",
499
+ "pos": [
500
+ 2580,
501
+ 60
502
+ ],
503
+ "size": [
504
+ 360,
505
+ 58
506
+ ],
507
+ "flags": {},
508
+ "order": 11,
509
+ "mode": 0,
510
+ "inputs": [
511
+ {
512
+ "name": "rig",
513
+ "type": "CCTECH_UNIRIG_RIG",
514
+ "link": 13
515
+ }
516
+ ],
517
+ "outputs": [
518
+ {
519
+ "name": "model_3d",
520
+ "type": "FILE_3D_GLB",
521
+ "links": [
522
+ 15
523
+ ],
524
+ "slot_index": 0
525
+ }
526
+ ],
527
+ "properties": {
528
+ "Node name for S&R": "CCTechUniRigRigToGLB"
529
+ },
530
+ "widgets_values": []
531
+ },
532
+ {
533
+ "id": 252,
534
+ "type": "SaveImageAdvanced",
535
+ "pos": [
536
+ 2580,
537
+ 158
538
+ ],
539
+ "size": [
540
+ 360,
541
+ 162
542
+ ],
543
+ "flags": {},
544
+ "order": 12,
545
+ "mode": 0,
546
+ "inputs": [
547
+ {
548
+ "name": "images",
549
+ "type": "IMAGE",
550
+ "link": 14
551
+ }
552
+ ],
553
+ "outputs": [
554
+ {
555
+ "name": "images",
556
+ "type": "IMAGE",
557
+ "links": [],
558
+ "slot_index": 0
559
+ }
560
+ ],
561
+ "properties": {
562
+ "Node name for S&R": "SaveImageAdvanced"
563
+ },
564
+ "widgets_values": [
565
+ "giga/unirig-preview",
566
+ "png",
567
+ "8-bit",
568
+ "sRGB"
569
+ ]
570
+ },
571
+ {
572
+ "id": 164,
573
+ "type": "SaveGLB",
574
+ "pos": [
575
+ 3000,
576
+ 60
577
+ ],
578
+ "size": [
579
+ 360,
580
+ 84
581
+ ],
582
+ "flags": {},
583
+ "order": 13,
584
+ "mode": 0,
585
+ "inputs": [
586
+ {
587
+ "name": "mesh",
588
+ "type": "MESH,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_OBJ,FILE_3D_FBX,FILE_3D_STL,FILE_3D_USDZ,FILE_3D_PLY,FILE_3D_SPLAT,FILE_3D_SPZ,FILE_3D_KSPLAT,FILE_3D_SPLAT_ANY,FILE_3D_POINT_CLOUD_ANY,FILE_3D",
589
+ "link": 15
590
+ }
591
+ ],
592
+ "outputs": [],
593
+ "properties": {
594
+ "Node name for S&R": "SaveGLB"
595
+ },
596
+ "widgets_values": [
597
+ "giga/unirig"
598
+ ]
599
+ }
600
+ ],
601
+ "links": [
602
+ [
603
+ 1,
604
+ 101,
605
+ 0,
606
+ 155,
607
+ 0,
608
+ "IMAGE"
609
+ ],
610
+ [
611
+ 2,
612
+ 153,
613
+ 0,
614
+ 155,
615
+ 1,
616
+ "CCTECH_TRIPOSG_RMBG"
617
+ ],
618
+ [
619
+ 3,
620
+ 101,
621
+ 1,
622
+ 155,
623
+ 2,
624
+ "MASK"
625
+ ],
626
+ [
627
+ 4,
628
+ 154,
629
+ 0,
630
+ 156,
631
+ 0,
632
+ "CCTECH_TRIPOSG_MODEL"
633
+ ],
634
+ [
635
+ 5,
636
+ 155,
637
+ 0,
638
+ 156,
639
+ 1,
640
+ "IMAGE"
641
+ ],
642
+ [
643
+ 6,
644
+ 154,
645
+ 0,
646
+ 157,
647
+ 0,
648
+ "CCTECH_TRIPOSG_MODEL"
649
+ ],
650
+ [
651
+ 7,
652
+ 156,
653
+ 0,
654
+ 157,
655
+ 1,
656
+ "CCTECH_TRIPOSG_LATENT"
657
+ ],
658
+ [
659
+ 8,
660
+ 157,
661
+ 0,
662
+ 161,
663
+ 0,
664
+ "MESH"
665
+ ],
666
+ [
667
+ 9,
668
+ 159,
669
+ 0,
670
+ 161,
671
+ 1,
672
+ "CCTECH_UNIRIG_SKELETON_MODEL"
673
+ ],
674
+ [
675
+ 10,
676
+ 161,
677
+ 1,
678
+ 162,
679
+ 0,
680
+ "CCTECH_UNIRIG_SKELETON"
681
+ ],
682
+ [
683
+ 11,
684
+ 160,
685
+ 0,
686
+ 162,
687
+ 1,
688
+ "CCTECH_UNIRIG_SKINNING_MODEL"
689
+ ],
690
+ [
691
+ 12,
692
+ 161,
693
+ 0,
694
+ 251,
695
+ 0,
696
+ "MESH"
697
+ ],
698
+ [
699
+ 13,
700
+ 162,
701
+ 0,
702
+ 163,
703
+ 0,
704
+ "CCTECH_UNIRIG_RIG"
705
+ ],
706
+ [
707
+ 14,
708
+ 251,
709
+ 0,
710
+ 252,
711
+ 0,
712
+ "IMAGE"
713
+ ],
714
+ [
715
+ 15,
716
+ 163,
717
+ 0,
718
+ 164,
719
+ 0,
720
+ "FILE_3D_GLB"
721
+ ]
722
+ ],
723
+ "groups": [],
724
+ "config": {},
725
+ "extra": {
726
+ "ds": {
727
+ "scale": 0.75,
728
+ "offset": [
729
+ 0,
730
+ 0
731
+ ]
732
+ }
733
+ },
734
+ "version": 0.4
735
+ }