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82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "localized_name": "model_name",
24
+ "name": "model_name",
25
+ "type": "COMBO",
26
+ "link": null,
27
+ "widget": {
28
+ "name": "model_name"
29
+ }
30
+ },
31
+ {
32
+ "localized_name": "weight_dtype",
33
+ "name": "weight_dtype",
34
+ "type": "COMBO",
35
+ "link": null,
36
+ "widget": {
37
+ "name": "weight_dtype"
38
+ }
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "localized_name": "MODEL",
44
+ "name": "MODEL",
45
+ "type": "MODEL",
46
+ "links": [
47
+ 5
48
+ ]
49
+ }
50
+ ],
51
+ "properties": {
52
+ "Node name for S&R": "p-h3-image_model_loader",
53
+ "cnr_id": "p-h3-image",
54
+ "ver": "0.1.0",
55
+ "models": [
56
+ {
57
+ "name": "p-h3-image_bf16.safetensors",
58
+ "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/diffusion_models/p-h3-image_bf16.safetensors",
59
+ "directory": "diffusion_models"
60
+ }
61
+ ]
62
+ },
63
+ "widgets_values": [
64
+ "p-h3-image_bf16.safetensors",
65
+ "default"
66
+ ]
67
+ },
68
+ {
69
+ "id": 2,
70
+ "type": "p-h3-image_text_encoder_loader",
71
+ "pos": [
72
+ 0,
73
+ 240
74
+ ],
75
+ "size": [
76
+ 320,
77
+ 58
78
+ ],
79
+ "flags": {},
80
+ "order": 1,
81
+ "mode": 0,
82
+ "inputs": [
83
+ {
84
+ "localized_name": "text_encoder_name",
85
+ "name": "text_encoder_name",
86
+ "type": "COMBO",
87
+ "link": null,
88
+ "widget": {
89
+ "name": "text_encoder_name"
90
+ }
91
+ }
92
+ ],
93
+ "outputs": [
94
+ {
95
+ "localized_name": "CLIP",
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 1
100
+ ]
101
+ }
102
+ ],
103
+ "properties": {
104
+ "Node name for S&R": "p-h3-image_text_encoder_loader",
105
+ "cnr_id": "p-h3-image",
106
+ "ver": "0.1.0",
107
+ "models": [
108
+ {
109
+ "name": "p-h3-image_text_encoder_bf16.safetensors",
110
+ "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors",
111
+ "directory": "text_encoders"
112
+ }
113
+ ]
114
+ },
115
+ "widgets_values": [
116
+ "p-h3-image_text_encoder_bf16.safetensors"
117
+ ]
118
+ },
119
+ {
120
+ "id": 3,
121
+ "type": "p-h3-image_vae_loader",
122
+ "pos": [
123
+ 0,
124
+ 360
125
+ ],
126
+ "size": [
127
+ 320,
128
+ 58
129
+ ],
130
+ "flags": {},
131
+ "order": 2,
132
+ "mode": 0,
133
+ "inputs": [
134
+ {
135
+ "localized_name": "vae_name",
136
+ "name": "vae_name",
137
+ "type": "COMBO",
138
+ "link": null,
139
+ "widget": {
140
+ "name": "vae_name"
141
+ }
142
+ }
143
+ ],
144
+ "outputs": [
145
+ {
146
+ "localized_name": "VAE",
147
+ "name": "VAE",
148
+ "type": "VAE",
149
+ "links": [
150
+ 2,
151
+ 13
152
+ ]
153
+ }
154
+ ],
155
+ "properties": {
156
+ "Node name for S&R": "p-h3-image_vae_loader",
157
+ "cnr_id": "p-h3-image",
158
+ "ver": "0.1.0",
159
+ "models": [
160
+ {
161
+ "name": "p-h3-image_vae_bf16.safetensors",
162
+ "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors",
163
+ "directory": "vae"
164
+ }
165
+ ]
166
+ },
167
+ "widgets_values": [
168
+ "p-h3-image_vae_bf16.safetensors"
169
+ ]
170
+ },
171
+ {
172
+ "id": 4,
173
+ "type": "LoadImage",
174
+ "pos": [
175
+ 0,
176
+ 480
177
+ ],
178
+ "size": [
179
+ 320,
180
+ 360
181
+ ],
182
+ "flags": {},
183
+ "order": 3,
184
+ "mode": 0,
185
+ "inputs": [
186
+ {
187
+ "localized_name": "image",
188
+ "name": "image",
189
+ "type": "COMBO",
190
+ "link": null,
191
+ "widget": {
192
+ "name": "image"
193
+ }
194
+ },
195
+ {
196
+ "localized_name": "choose file to upload",
197
+ "name": "upload",
198
+ "type": "IMAGEUPLOAD",
199
+ "link": null,
200
+ "widget": {
201
+ "name": "upload"
202
+ }
203
+ }
204
+ ],
205
+ "outputs": [
206
+ {
207
+ "localized_name": "IMAGE",
208
+ "name": "IMAGE",
209
+ "type": "IMAGE",
210
+ "links": [
211
+ 3
212
+ ]
213
+ },
214
+ {
215
+ "localized_name": "MASK",
216
+ "name": "MASK",
217
+ "type": "MASK",
218
+ "links": null
219
+ }
220
+ ],
221
+ "properties": {
222
+ "Node name for S&R": "LoadImage",
223
+ "cnr_id": "comfy-core",
224
+ "ver": "0.43.0"
225
+ },
226
+ "widgets_values": [
227
+ "example.png",
228
+ "image"
229
+ ],
230
+ "title": "image_1 (edited)"
231
+ },
232
+ {
233
+ "id": 5,
234
+ "type": "LoadImage",
235
+ "pos": [
236
+ 0,
237
+ 880
238
+ ],
239
+ "size": [
240
+ 320,
241
+ 360
242
+ ],
243
+ "flags": {},
244
+ "order": 4,
245
+ "mode": 0,
246
+ "inputs": [
247
+ {
248
+ "localized_name": "image",
249
+ "name": "image",
250
+ "type": "COMBO",
251
+ "link": null,
252
+ "widget": {
253
+ "name": "image"
254
+ }
255
+ },
256
+ {
257
+ "localized_name": "choose file to upload",
258
+ "name": "upload",
259
+ "type": "IMAGEUPLOAD",
260
+ "link": null,
261
+ "widget": {
262
+ "name": "upload"
263
+ }
264
+ }
265
+ ],
266
+ "outputs": [
267
+ {
268
+ "localized_name": "IMAGE",
269
+ "name": "IMAGE",
270
+ "type": "IMAGE",
271
+ "links": [
272
+ 4
273
+ ]
274
+ },
275
+ {
276
+ "localized_name": "MASK",
277
+ "name": "MASK",
278
+ "type": "MASK",
279
+ "links": null
280
+ }
281
+ ],
282
+ "properties": {
283
+ "Node name for S&R": "LoadImage",
284
+ "cnr_id": "comfy-core",
285
+ "ver": "0.43.0"
286
+ },
287
+ "widgets_values": [
288
+ "example.png",
289
+ "image"
290
+ ],
291
+ "title": "image_2 (reference)"
292
+ },
293
+ {
294
+ "id": 6,
295
+ "type": "p-h3-image_edit",
296
+ "pos": [
297
+ 380,
298
+ 100
299
+ ],
300
+ "size": [
301
+ 420,
302
+ 480
303
+ ],
304
+ "flags": {},
305
+ "order": 5,
306
+ "mode": 0,
307
+ "inputs": [
308
+ {
309
+ "localized_name": "clip",
310
+ "name": "clip",
311
+ "type": "CLIP",
312
+ "link": 1
313
+ },
314
+ {
315
+ "localized_name": "vae",
316
+ "name": "vae",
317
+ "type": "VAE",
318
+ "link": 2
319
+ },
320
+ {
321
+ "localized_name": "images.image_1",
322
+ "name": "images.image_1",
323
+ "type": "IMAGE",
324
+ "link": 3,
325
+ "label": "image_1"
326
+ },
327
+ {
328
+ "localized_name": "images.image_2",
329
+ "name": "images.image_2",
330
+ "type": "IMAGE",
331
+ "link": 4,
332
+ "label": "image_2",
333
+ "shape": 7
334
+ },
335
+ {
336
+ "localized_name": "images.image_3",
337
+ "name": "images.image_3",
338
+ "type": "IMAGE",
339
+ "link": null,
340
+ "label": "image_3",
341
+ "shape": 7
342
+ },
343
+ {
344
+ "localized_name": "prompt",
345
+ "name": "prompt",
346
+ "type": "STRING",
347
+ "link": null,
348
+ "widget": {
349
+ "name": "prompt"
350
+ }
351
+ },
352
+ {
353
+ "localized_name": "min_megapixels",
354
+ "name": "min_megapixels",
355
+ "type": "FLOAT",
356
+ "link": null,
357
+ "widget": {
358
+ "name": "min_megapixels"
359
+ }
360
+ },
361
+ {
362
+ "localized_name": "max_megapixels",
363
+ "name": "max_megapixels",
364
+ "type": "FLOAT",
365
+ "link": null,
366
+ "widget": {
367
+ "name": "max_megapixels"
368
+ }
369
+ },
370
+ {
371
+ "localized_name": "width",
372
+ "name": "width",
373
+ "type": "INT",
374
+ "link": null,
375
+ "widget": {
376
+ "name": "width"
377
+ }
378
+ },
379
+ {
380
+ "localized_name": "height",
381
+ "name": "height",
382
+ "type": "INT",
383
+ "link": null,
384
+ "widget": {
385
+ "name": "height"
386
+ }
387
+ },
388
+ {
389
+ "localized_name": "vision_megapixels",
390
+ "name": "vision_megapixels",
391
+ "type": "FLOAT",
392
+ "link": null,
393
+ "widget": {
394
+ "name": "vision_megapixels"
395
+ }
396
+ }
397
+ ],
398
+ "outputs": [
399
+ {
400
+ "localized_name": "CONDITIONING",
401
+ "name": "CONDITIONING",
402
+ "type": "CONDITIONING",
403
+ "links": [
404
+ 6
405
+ ]
406
+ },
407
+ {
408
+ "localized_name": "LATENT",
409
+ "name": "LATENT",
410
+ "type": "LATENT",
411
+ "links": [
412
+ 11
413
+ ]
414
+ }
415
+ ],
416
+ "properties": {
417
+ "Node name for S&R": "p-h3-image_edit",
418
+ "cnr_id": "p-h3-image",
419
+ "ver": "0.1.0"
420
+ },
421
+ "widgets_values": [
422
+ "Put the hat from <Picture 2> on the person in <Picture 1>.",
423
+ 1.0,
424
+ 8.0,
425
+ 0,
426
+ 0,
427
+ 1.0
428
+ ]
429
+ },
430
+ {
431
+ "id": 7,
432
+ "type": "p-h3-image_sigmas",
433
+ "pos": [
434
+ 860,
435
+ 560
436
+ ],
437
+ "size": [
438
+ 320,
439
+ 82
440
+ ],
441
+ "flags": {},
442
+ "order": 6,
443
+ "mode": 0,
444
+ "inputs": [
445
+ {
446
+ "localized_name": "sigmas",
447
+ "name": "sigmas",
448
+ "type": "STRING",
449
+ "link": null,
450
+ "widget": {
451
+ "name": "sigmas"
452
+ }
453
+ }
454
+ ],
455
+ "outputs": [
456
+ {
457
+ "localized_name": "SIGMAS",
458
+ "name": "SIGMAS",
459
+ "type": "SIGMAS",
460
+ "links": [
461
+ 10
462
+ ]
463
+ }
464
+ ],
465
+ "properties": {
466
+ "Node name for S&R": "p-h3-image_sigmas",
467
+ "cnr_id": "p-h3-image",
468
+ "ver": "0.1.0"
469
+ },
470
+ "widgets_values": [
471
+ "1.0, 0.994168, 0.989138, 0.978136, 0.951688, 0.925372, 0.810083, 0.528718, 0.0"
472
+ ]
473
+ },
474
+ {
475
+ "id": 8,
476
+ "type": "BasicGuider",
477
+ "pos": [
478
+ 860,
479
+ 100
480
+ ],
481
+ "size": [
482
+ 240,
483
+ 46
484
+ ],
485
+ "flags": {},
486
+ "order": 7,
487
+ "mode": 0,
488
+ "inputs": [
489
+ {
490
+ "localized_name": "model",
491
+ "name": "model",
492
+ "type": "MODEL",
493
+ "link": 5
494
+ },
495
+ {
496
+ "localized_name": "conditioning",
497
+ "name": "conditioning",
498
+ "type": "CONDITIONING",
499
+ "link": 6
500
+ }
501
+ ],
502
+ "outputs": [
503
+ {
504
+ "localized_name": "GUIDER",
505
+ "name": "GUIDER",
506
+ "type": "GUIDER",
507
+ "links": [
508
+ 8
509
+ ]
510
+ }
511
+ ],
512
+ "properties": {
513
+ "Node name for S&R": "BasicGuider",
514
+ "cnr_id": "comfy-core",
515
+ "ver": "0.43.0"
516
+ },
517
+ "widgets_values": []
518
+ },
519
+ {
520
+ "id": 9,
521
+ "type": "KSamplerSelect",
522
+ "pos": [
523
+ 860,
524
+ 220
525
+ ],
526
+ "size": [
527
+ 270,
528
+ 58
529
+ ],
530
+ "flags": {},
531
+ "order": 8,
532
+ "mode": 0,
533
+ "inputs": [
534
+ {
535
+ "localized_name": "sampler_name",
536
+ "name": "sampler_name",
537
+ "type": "COMBO",
538
+ "link": null,
539
+ "widget": {
540
+ "name": "sampler_name"
541
+ }
542
+ }
543
+ ],
544
+ "outputs": [
545
+ {
546
+ "localized_name": "SAMPLER",
547
+ "name": "SAMPLER",
548
+ "type": "SAMPLER",
549
+ "links": [
550
+ 9
551
+ ]
552
+ }
553
+ ],
554
+ "properties": {
555
+ "Node name for S&R": "KSamplerSelect",
556
+ "cnr_id": "comfy-core",
557
+ "ver": "0.43.0"
558
+ },
559
+ "widgets_values": [
560
+ "euler"
561
+ ]
562
+ },
563
+ {
564
+ "id": 10,
565
+ "type": "RandomNoise",
566
+ "pos": [
567
+ 860,
568
+ 340
569
+ ],
570
+ "size": [
571
+ 270,
572
+ 82
573
+ ],
574
+ "flags": {},
575
+ "order": 9,
576
+ "mode": 0,
577
+ "inputs": [
578
+ {
579
+ "localized_name": "noise_seed",
580
+ "name": "noise_seed",
581
+ "type": "INT",
582
+ "link": null,
583
+ "widget": {
584
+ "name": "noise_seed"
585
+ }
586
+ }
587
+ ],
588
+ "outputs": [
589
+ {
590
+ "localized_name": "NOISE",
591
+ "name": "NOISE",
592
+ "type": "NOISE",
593
+ "links": [
594
+ 7
595
+ ]
596
+ }
597
+ ],
598
+ "properties": {
599
+ "Node name for S&R": "RandomNoise",
600
+ "cnr_id": "comfy-core",
601
+ "ver": "0.43.0"
602
+ },
603
+ "widgets_values": [
604
+ 0,
605
+ "randomize"
606
+ ]
607
+ },
608
+ {
609
+ "id": 11,
610
+ "type": "SamplerCustomAdvanced",
611
+ "pos": [
612
+ 1220,
613
+ 100
614
+ ],
615
+ "size": [
616
+ 270,
617
+ 330
618
+ ],
619
+ "flags": {},
620
+ "order": 10,
621
+ "mode": 0,
622
+ "inputs": [
623
+ {
624
+ "localized_name": "noise",
625
+ "name": "noise",
626
+ "type": "NOISE",
627
+ "link": 7
628
+ },
629
+ {
630
+ "localized_name": "guider",
631
+ "name": "guider",
632
+ "type": "GUIDER",
633
+ "link": 8
634
+ },
635
+ {
636
+ "localized_name": "sampler",
637
+ "name": "sampler",
638
+ "type": "SAMPLER",
639
+ "link": 9
640
+ },
641
+ {
642
+ "localized_name": "sigmas",
643
+ "name": "sigmas",
644
+ "type": "SIGMAS",
645
+ "link": 10
646
+ },
647
+ {
648
+ "localized_name": "latent_image",
649
+ "name": "latent_image",
650
+ "type": "LATENT",
651
+ "link": 11
652
+ }
653
+ ],
654
+ "outputs": [
655
+ {
656
+ "localized_name": "output",
657
+ "name": "output",
658
+ "type": "LATENT",
659
+ "links": [
660
+ 12
661
+ ]
662
+ },
663
+ {
664
+ "localized_name": "denoised_output",
665
+ "name": "denoised_output",
666
+ "type": "LATENT",
667
+ "links": []
668
+ }
669
+ ],
670
+ "properties": {
671
+ "Node name for S&R": "SamplerCustomAdvanced",
672
+ "cnr_id": "comfy-core",
673
+ "ver": "0.43.0"
674
+ },
675
+ "widgets_values": []
676
+ },
677
+ {
678
+ "id": 12,
679
+ "type": "VAEDecode",
680
+ "pos": [
681
+ 1540,
682
+ 100
683
+ ],
684
+ "size": [
685
+ 210,
686
+ 46
687
+ ],
688
+ "flags": {},
689
+ "order": 11,
690
+ "mode": 0,
691
+ "inputs": [
692
+ {
693
+ "localized_name": "samples",
694
+ "name": "samples",
695
+ "type": "LATENT",
696
+ "link": 12
697
+ },
698
+ {
699
+ "localized_name": "vae",
700
+ "name": "vae",
701
+ "type": "VAE",
702
+ "link": 13
703
+ }
704
+ ],
705
+ "outputs": [
706
+ {
707
+ "localized_name": "IMAGE",
708
+ "name": "IMAGE",
709
+ "type": "IMAGE",
710
+ "links": [
711
+ 14
712
+ ]
713
+ }
714
+ ],
715
+ "properties": {
716
+ "Node name for S&R": "VAEDecode",
717
+ "cnr_id": "comfy-core",
718
+ "ver": "0.43.0"
719
+ },
720
+ "widgets_values": []
721
+ },
722
+ {
723
+ "id": 13,
724
+ "type": "SaveImage",
725
+ "pos": [
726
+ 1800,
727
+ 100
728
+ ],
729
+ "size": [
730
+ 520,
731
+ 560
732
+ ],
733
+ "flags": {},
734
+ "order": 12,
735
+ "mode": 0,
736
+ "inputs": [
737
+ {
738
+ "localized_name": "images",
739
+ "name": "images",
740
+ "type": "IMAGE",
741
+ "link": 14
742
+ },
743
+ {
744
+ "localized_name": "filename_prefix",
745
+ "name": "filename_prefix",
746
+ "type": "STRING",
747
+ "link": null,
748
+ "widget": {
749
+ "name": "filename_prefix"
750
+ }
751
+ }
752
+ ],
753
+ "outputs": [],
754
+ "properties": {
755
+ "Node name for S&R": "SaveImage",
756
+ "cnr_id": "comfy-core",
757
+ "ver": "0.43.0"
758
+ },
759
+ "widgets_values": [
760
+ "p-h3-image"
761
+ ]
762
+ }
763
+ ],
764
+ "links": [
765
+ [
766
+ 1,
767
+ 2,
768
+ 0,
769
+ 6,
770
+ 0,
771
+ "CLIP"
772
+ ],
773
+ [
774
+ 2,
775
+ 3,
776
+ 0,
777
+ 6,
778
+ 1,
779
+ "VAE"
780
+ ],
781
+ [
782
+ 3,
783
+ 4,
784
+ 0,
785
+ 6,
786
+ 2,
787
+ "IMAGE"
788
+ ],
789
+ [
790
+ 4,
791
+ 5,
792
+ 0,
793
+ 6,
794
+ 3,
795
+ "IMAGE"
796
+ ],
797
+ [
798
+ 5,
799
+ 1,
800
+ 0,
801
+ 8,
802
+ 0,
803
+ "MODEL"
804
+ ],
805
+ [
806
+ 6,
807
+ 6,
808
+ 0,
809
+ 8,
810
+ 1,
811
+ "CONDITIONING"
812
+ ],
813
+ [
814
+ 7,
815
+ 10,
816
+ 0,
817
+ 11,
818
+ 0,
819
+ "NOISE"
820
+ ],
821
+ [
822
+ 8,
823
+ 8,
824
+ 0,
825
+ 11,
826
+ 1,
827
+ "GUIDER"
828
+ ],
829
+ [
830
+ 9,
831
+ 9,
832
+ 0,
833
+ 11,
834
+ 2,
835
+ "SAMPLER"
836
+ ],
837
+ [
838
+ 10,
839
+ 7,
840
+ 0,
841
+ 11,
842
+ 3,
843
+ "SIGMAS"
844
+ ],
845
+ [
846
+ 11,
847
+ 6,
848
+ 1,
849
+ 11,
850
+ 4,
851
+ "LATENT"
852
+ ],
853
+ [
854
+ 12,
855
+ 11,
856
+ 0,
857
+ 12,
858
+ 0,
859
+ "LATENT"
860
+ ],
861
+ [
862
+ 13,
863
+ 3,
864
+ 0,
865
+ 12,
866
+ 1,
867
+ "VAE"
868
+ ],
869
+ [
870
+ 14,
871
+ 12,
872
+ 0,
873
+ 13,
874
+ 0,
875
+ "IMAGE"
876
+ ]
877
+ ],
878
+ "groups": [],
879
+ "config": {},
880
+ "extra": {
881
+ "ds": {
882
+ "scale": 0.8,
883
+ "offset": [
884
+ 0,
885
+ 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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "00000000-0000-0000-0000-000000000000",
3
+ "revision": 0,
4
+ "last_node_id": 12,
5
+ "last_link_id": 11,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "p-h3-image_model_loader",
10
+ "pos": [
11
+ 0,
12
+ 100
13
+ ],
14
+ "size": [
15
+ 320,
16
+ 82
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "localized_name": "model_name",
24
+ "name": "model_name",
25
+ "type": "COMBO",
26
+ "link": null,
27
+ "widget": {
28
+ "name": "model_name"
29
+ }
30
+ },
31
+ {
32
+ "localized_name": "weight_dtype",
33
+ "name": "weight_dtype",
34
+ "type": "COMBO",
35
+ "link": null,
36
+ "widget": {
37
+ "name": "weight_dtype"
38
+ }
39
+ }
40
+ ],
41
+ "outputs": [
42
+ {
43
+ "localized_name": "MODEL",
44
+ "name": "MODEL",
45
+ "type": "MODEL",
46
+ "links": [
47
+ 2
48
+ ]
49
+ }
50
+ ],
51
+ "properties": {
52
+ "Node name for S&R": "p-h3-image_model_loader",
53
+ "cnr_id": "p-h3-image",
54
+ "ver": "0.1.0",
55
+ "models": [
56
+ {
57
+ "name": "p-h3-image_bf16.safetensors",
58
+ "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/diffusion_models/p-h3-image_bf16.safetensors",
59
+ "directory": "diffusion_models"
60
+ }
61
+ ]
62
+ },
63
+ "widgets_values": [
64
+ "p-h3-image_bf16.safetensors",
65
+ "default"
66
+ ]
67
+ },
68
+ {
69
+ "id": 2,
70
+ "type": "p-h3-image_text_encoder_loader",
71
+ "pos": [
72
+ 0,
73
+ 240
74
+ ],
75
+ "size": [
76
+ 320,
77
+ 58
78
+ ],
79
+ "flags": {},
80
+ "order": 1,
81
+ "mode": 0,
82
+ "inputs": [
83
+ {
84
+ "localized_name": "text_encoder_name",
85
+ "name": "text_encoder_name",
86
+ "type": "COMBO",
87
+ "link": null,
88
+ "widget": {
89
+ "name": "text_encoder_name"
90
+ }
91
+ }
92
+ ],
93
+ "outputs": [
94
+ {
95
+ "localized_name": "CLIP",
96
+ "name": "CLIP",
97
+ "type": "CLIP",
98
+ "links": [
99
+ 1
100
+ ]
101
+ }
102
+ ],
103
+ "properties": {
104
+ "Node name for S&R": "p-h3-image_text_encoder_loader",
105
+ "cnr_id": "p-h3-image",
106
+ "ver": "0.1.0",
107
+ "models": [
108
+ {
109
+ "name": "p-h3-image_text_encoder_bf16.safetensors",
110
+ "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/text_encoders/p-h3-image_text_encoder_bf16.safetensors",
111
+ "directory": "text_encoders"
112
+ }
113
+ ]
114
+ },
115
+ "widgets_values": [
116
+ "p-h3-image_text_encoder_bf16.safetensors"
117
+ ]
118
+ },
119
+ {
120
+ "id": 3,
121
+ "type": "p-h3-image_vae_loader",
122
+ "pos": [
123
+ 0,
124
+ 360
125
+ ],
126
+ "size": [
127
+ 320,
128
+ 58
129
+ ],
130
+ "flags": {},
131
+ "order": 2,
132
+ "mode": 0,
133
+ "inputs": [
134
+ {
135
+ "localized_name": "vae_name",
136
+ "name": "vae_name",
137
+ "type": "COMBO",
138
+ "link": null,
139
+ "widget": {
140
+ "name": "vae_name"
141
+ }
142
+ }
143
+ ],
144
+ "outputs": [
145
+ {
146
+ "localized_name": "VAE",
147
+ "name": "VAE",
148
+ "type": "VAE",
149
+ "links": [
150
+ 10
151
+ ]
152
+ }
153
+ ],
154
+ "properties": {
155
+ "Node name for S&R": "p-h3-image_vae_loader",
156
+ "cnr_id": "p-h3-image",
157
+ "ver": "0.1.0",
158
+ "models": [
159
+ {
160
+ "name": "p-h3-image_vae_bf16.safetensors",
161
+ "url": "https://huggingface.co/PrunaAI/p-h3-image-comfy/resolve/main/vae/p-h3-image_vae_bf16.safetensors",
162
+ "directory": "vae"
163
+ }
164
+ ]
165
+ },
166
+ "widgets_values": [
167
+ "p-h3-image_vae_bf16.safetensors"
168
+ ]
169
+ },
170
+ {
171
+ "id": 4,
172
+ "type": "CLIPTextEncode",
173
+ "pos": [
174
+ 380,
175
+ 100
176
+ ],
177
+ "size": [
178
+ 420,
179
+ 200
180
+ ],
181
+ "flags": {},
182
+ "order": 3,
183
+ "mode": 0,
184
+ "inputs": [
185
+ {
186
+ "localized_name": "clip",
187
+ "name": "clip",
188
+ "type": "CLIP",
189
+ "link": 1
190
+ },
191
+ {
192
+ "localized_name": "text",
193
+ "name": "text",
194
+ "type": "STRING",
195
+ "link": null,
196
+ "widget": {
197
+ "name": "text"
198
+ }
199
+ }
200
+ ],
201
+ "outputs": [
202
+ {
203
+ "localized_name": "CONDITIONING",
204
+ "name": "CONDITIONING",
205
+ "type": "CONDITIONING",
206
+ "links": [
207
+ 3
208
+ ]
209
+ }
210
+ ],
211
+ "properties": {
212
+ "Node name for S&R": "CLIPTextEncode",
213
+ "cnr_id": "comfy-core",
214
+ "ver": "0.43.0"
215
+ },
216
+ "widgets_values": [
217
+ "A neon sign that says \"OPEN 24/7\" above a ramen shop at night in the rain, cinematic photo"
218
+ ]
219
+ },
220
+ {
221
+ "id": 5,
222
+ "type": "p-h3-image_empty_latent",
223
+ "pos": [
224
+ 380,
225
+ 360
226
+ ],
227
+ "size": [
228
+ 320,
229
+ 82
230
+ ],
231
+ "flags": {},
232
+ "order": 4,
233
+ "mode": 0,
234
+ "inputs": [
235
+ {
236
+ "localized_name": "width",
237
+ "name": "width",
238
+ "type": "INT",
239
+ "link": null,
240
+ "widget": {
241
+ "name": "width"
242
+ }
243
+ },
244
+ {
245
+ "localized_name": "height",
246
+ "name": "height",
247
+ "type": "INT",
248
+ "link": null,
249
+ "widget": {
250
+ "name": "height"
251
+ }
252
+ }
253
+ ],
254
+ "outputs": [
255
+ {
256
+ "localized_name": "LATENT",
257
+ "name": "LATENT",
258
+ "type": "LATENT",
259
+ "links": [
260
+ 8
261
+ ]
262
+ }
263
+ ],
264
+ "properties": {
265
+ "Node name for S&R": "p-h3-image_empty_latent",
266
+ "cnr_id": "p-h3-image",
267
+ "ver": "0.1.0"
268
+ },
269
+ "widgets_values": [
270
+ 2048,
271
+ 2048
272
+ ]
273
+ },
274
+ {
275
+ "id": 6,
276
+ "type": "p-h3-image_sigmas",
277
+ "pos": [
278
+ 860,
279
+ 560
280
+ ],
281
+ "size": [
282
+ 320,
283
+ 82
284
+ ],
285
+ "flags": {},
286
+ "order": 5,
287
+ "mode": 0,
288
+ "inputs": [
289
+ {
290
+ "localized_name": "sigmas",
291
+ "name": "sigmas",
292
+ "type": "STRING",
293
+ "link": null,
294
+ "widget": {
295
+ "name": "sigmas"
296
+ }
297
+ }
298
+ ],
299
+ "outputs": [
300
+ {
301
+ "localized_name": "SIGMAS",
302
+ "name": "SIGMAS",
303
+ "type": "SIGMAS",
304
+ "links": [
305
+ 7
306
+ ]
307
+ }
308
+ ],
309
+ "properties": {
310
+ "Node name for S&R": "p-h3-image_sigmas",
311
+ "cnr_id": "p-h3-image",
312
+ "ver": "0.1.0"
313
+ },
314
+ "widgets_values": [
315
+ "1.0, 0.994168, 0.989138, 0.978136, 0.951688, 0.925372, 0.810083, 0.528718, 0.0"
316
+ ]
317
+ },
318
+ {
319
+ "id": 7,
320
+ "type": "BasicGuider",
321
+ "pos": [
322
+ 860,
323
+ 100
324
+ ],
325
+ "size": [
326
+ 240,
327
+ 46
328
+ ],
329
+ "flags": {},
330
+ "order": 6,
331
+ "mode": 0,
332
+ "inputs": [
333
+ {
334
+ "localized_name": "model",
335
+ "name": "model",
336
+ "type": "MODEL",
337
+ "link": 2
338
+ },
339
+ {
340
+ "localized_name": "conditioning",
341
+ "name": "conditioning",
342
+ "type": "CONDITIONING",
343
+ "link": 3
344
+ }
345
+ ],
346
+ "outputs": [
347
+ {
348
+ "localized_name": "GUIDER",
349
+ "name": "GUIDER",
350
+ "type": "GUIDER",
351
+ "links": [
352
+ 5
353
+ ]
354
+ }
355
+ ],
356
+ "properties": {
357
+ "Node name for S&R": "BasicGuider",
358
+ "cnr_id": "comfy-core",
359
+ "ver": "0.43.0"
360
+ },
361
+ "widgets_values": []
362
+ },
363
+ {
364
+ "id": 8,
365
+ "type": "KSamplerSelect",
366
+ "pos": [
367
+ 860,
368
+ 220
369
+ ],
370
+ "size": [
371
+ 270,
372
+ 58
373
+ ],
374
+ "flags": {},
375
+ "order": 7,
376
+ "mode": 0,
377
+ "inputs": [
378
+ {
379
+ "localized_name": "sampler_name",
380
+ "name": "sampler_name",
381
+ "type": "COMBO",
382
+ "link": null,
383
+ "widget": {
384
+ "name": "sampler_name"
385
+ }
386
+ }
387
+ ],
388
+ "outputs": [
389
+ {
390
+ "localized_name": "SAMPLER",
391
+ "name": "SAMPLER",
392
+ "type": "SAMPLER",
393
+ "links": [
394
+ 6
395
+ ]
396
+ }
397
+ ],
398
+ "properties": {
399
+ "Node name for S&R": "KSamplerSelect",
400
+ "cnr_id": "comfy-core",
401
+ "ver": "0.43.0"
402
+ },
403
+ "widgets_values": [
404
+ "euler"
405
+ ]
406
+ },
407
+ {
408
+ "id": 9,
409
+ "type": "RandomNoise",
410
+ "pos": [
411
+ 860,
412
+ 340
413
+ ],
414
+ "size": [
415
+ 270,
416
+ 82
417
+ ],
418
+ "flags": {},
419
+ "order": 8,
420
+ "mode": 0,
421
+ "inputs": [
422
+ {
423
+ "localized_name": "noise_seed",
424
+ "name": "noise_seed",
425
+ "type": "INT",
426
+ "link": null,
427
+ "widget": {
428
+ "name": "noise_seed"
429
+ }
430
+ }
431
+ ],
432
+ "outputs": [
433
+ {
434
+ "localized_name": "NOISE",
435
+ "name": "NOISE",
436
+ "type": "NOISE",
437
+ "links": [
438
+ 4
439
+ ]
440
+ }
441
+ ],
442
+ "properties": {
443
+ "Node name for S&R": "RandomNoise",
444
+ "cnr_id": "comfy-core",
445
+ "ver": "0.43.0"
446
+ },
447
+ "widgets_values": [
448
+ 0,
449
+ "randomize"
450
+ ]
451
+ },
452
+ {
453
+ "id": 10,
454
+ "type": "SamplerCustomAdvanced",
455
+ "pos": [
456
+ 1220,
457
+ 100
458
+ ],
459
+ "size": [
460
+ 270,
461
+ 330
462
+ ],
463
+ "flags": {},
464
+ "order": 9,
465
+ "mode": 0,
466
+ "inputs": [
467
+ {
468
+ "localized_name": "noise",
469
+ "name": "noise",
470
+ "type": "NOISE",
471
+ "link": 4
472
+ },
473
+ {
474
+ "localized_name": "guider",
475
+ "name": "guider",
476
+ "type": "GUIDER",
477
+ "link": 5
478
+ },
479
+ {
480
+ "localized_name": "sampler",
481
+ "name": "sampler",
482
+ "type": "SAMPLER",
483
+ "link": 6
484
+ },
485
+ {
486
+ "localized_name": "sigmas",
487
+ "name": "sigmas",
488
+ "type": "SIGMAS",
489
+ "link": 7
490
+ },
491
+ {
492
+ "localized_name": "latent_image",
493
+ "name": "latent_image",
494
+ "type": "LATENT",
495
+ "link": 8
496
+ }
497
+ ],
498
+ "outputs": [
499
+ {
500
+ "localized_name": "output",
501
+ "name": "output",
502
+ "type": "LATENT",
503
+ "links": [
504
+ 9
505
+ ]
506
+ },
507
+ {
508
+ "localized_name": "denoised_output",
509
+ "name": "denoised_output",
510
+ "type": "LATENT",
511
+ "links": []
512
+ }
513
+ ],
514
+ "properties": {
515
+ "Node name for S&R": "SamplerCustomAdvanced",
516
+ "cnr_id": "comfy-core",
517
+ "ver": "0.43.0"
518
+ },
519
+ "widgets_values": []
520
+ },
521
+ {
522
+ "id": 11,
523
+ "type": "VAEDecode",
524
+ "pos": [
525
+ 1540,
526
+ 100
527
+ ],
528
+ "size": [
529
+ 210,
530
+ 46
531
+ ],
532
+ "flags": {},
533
+ "order": 10,
534
+ "mode": 0,
535
+ "inputs": [
536
+ {
537
+ "localized_name": "samples",
538
+ "name": "samples",
539
+ "type": "LATENT",
540
+ "link": 9
541
+ },
542
+ {
543
+ "localized_name": "vae",
544
+ "name": "vae",
545
+ "type": "VAE",
546
+ "link": 10
547
+ }
548
+ ],
549
+ "outputs": [
550
+ {
551
+ "localized_name": "IMAGE",
552
+ "name": "IMAGE",
553
+ "type": "IMAGE",
554
+ "links": [
555
+ 11
556
+ ]
557
+ }
558
+ ],
559
+ "properties": {
560
+ "Node name for S&R": "VAEDecode",
561
+ "cnr_id": "comfy-core",
562
+ "ver": "0.43.0"
563
+ },
564
+ "widgets_values": []
565
+ },
566
+ {
567
+ "id": 12,
568
+ "type": "SaveImage",
569
+ "pos": [
570
+ 1800,
571
+ 100
572
+ ],
573
+ "size": [
574
+ 520,
575
+ 560
576
+ ],
577
+ "flags": {},
578
+ "order": 11,
579
+ "mode": 0,
580
+ "inputs": [
581
+ {
582
+ "localized_name": "images",
583
+ "name": "images",
584
+ "type": "IMAGE",
585
+ "link": 11
586
+ },
587
+ {
588
+ "localized_name": "filename_prefix",
589
+ "name": "filename_prefix",
590
+ "type": "STRING",
591
+ "link": null,
592
+ "widget": {
593
+ "name": "filename_prefix"
594
+ }
595
+ }
596
+ ],
597
+ "outputs": [],
598
+ "properties": {
599
+ "Node name for S&R": "SaveImage",
600
+ "cnr_id": "comfy-core",
601
+ "ver": "0.43.0"
602
+ },
603
+ "widgets_values": [
604
+ "p-h3-image"
605
+ ]
606
+ }
607
+ ],
608
+ "links": [
609
+ [
610
+ 1,
611
+ 2,
612
+ 0,
613
+ 4,
614
+ 0,
615
+ "CLIP"
616
+ ],
617
+ [
618
+ 2,
619
+ 1,
620
+ 0,
621
+ 7,
622
+ 0,
623
+ "MODEL"
624
+ ],
625
+ [
626
+ 3,
627
+ 4,
628
+ 0,
629
+ 7,
630
+ 1,
631
+ "CONDITIONING"
632
+ ],
633
+ [
634
+ 4,
635
+ 9,
636
+ 0,
637
+ 10,
638
+ 0,
639
+ "NOISE"
640
+ ],
641
+ [
642
+ 5,
643
+ 7,
644
+ 0,
645
+ 10,
646
+ 1,
647
+ "GUIDER"
648
+ ],
649
+ [
650
+ 6,
651
+ 8,
652
+ 0,
653
+ 10,
654
+ 2,
655
+ "SAMPLER"
656
+ ],
657
+ [
658
+ 7,
659
+ 6,
660
+ 0,
661
+ 10,
662
+ 3,
663
+ "SIGMAS"
664
+ ],
665
+ [
666
+ 8,
667
+ 5,
668
+ 0,
669
+ 10,
670
+ 4,
671
+ "LATENT"
672
+ ],
673
+ [
674
+ 9,
675
+ 10,
676
+ 0,
677
+ 11,
678
+ 0,
679
+ "LATENT"
680
+ ],
681
+ [
682
+ 10,
683
+ 3,
684
+ 0,
685
+ 11,
686
+ 1,
687
+ "VAE"
688
+ ],
689
+ [
690
+ 11,
691
+ 11,
692
+ 0,
693
+ 12,
694
+ 0,
695
+ "IMAGE"
696
+ ]
697
+ ],
698
+ "groups": [],
699
+ "config": {},
700
+ "extra": {
701
+ "ds": {
702
+ "scale": 0.8,
703
+ "offset": [
704
+ 0,
705
+ 0
706
+ ]
707
+ }
708
+ },
709
+ "version": 0.4
710
+ }