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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "242a6140-7341-49ca-876b-c01366b39b84",
3
+ "revision": 0,
4
+ "last_node_id": 39,
5
+ "last_link_id": 68,
6
+ "nodes": [
7
+ {
8
+ "id": 26,
9
+ "type": "DualCLIPLoader",
10
+ "pos": [
11
+ -70,
12
+ 310
13
+ ],
14
+ "size": [
15
+ 432.8055114746094,
16
+ 130
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "CLIP",
25
+ "type": "CLIP",
26
+ "links": [
27
+ 53,
28
+ 54
29
+ ]
30
+ }
31
+ ],
32
+ "properties": {
33
+ "cnr_id": "comfy-core",
34
+ "ver": "0.3.57",
35
+ "Node name for S&R": "DualCLIPLoader",
36
+ "ue_properties": {
37
+ "widget_ue_connectable": {},
38
+ "version": "7.1",
39
+ "input_ue_unconnectable": {}
40
+ }
41
+ },
42
+ "widgets_values": [
43
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
44
+ "byt5_small_glyphxl_fp16.safetensors",
45
+ "hunyuan_image",
46
+ "default"
47
+ ]
48
+ },
49
+ {
50
+ "id": 13,
51
+ "type": "UNETLoader",
52
+ "pos": [
53
+ -78.069091796875,
54
+ 180
55
+ ],
56
+ "size": [
57
+ 433.9518737792969,
58
+ 82
59
+ ],
60
+ "flags": {},
61
+ "order": 1,
62
+ "mode": 0,
63
+ "inputs": [],
64
+ "outputs": [
65
+ {
66
+ "name": "MODEL",
67
+ "type": "MODEL",
68
+ "links": [
69
+ 24
70
+ ]
71
+ }
72
+ ],
73
+ "properties": {
74
+ "cnr_id": "comfy-core",
75
+ "ver": "0.3.57",
76
+ "Node name for S&R": "UNETLoader",
77
+ "ue_properties": {
78
+ "widget_ue_connectable": {},
79
+ "version": "7.1",
80
+ "input_ue_unconnectable": {}
81
+ }
82
+ },
83
+ "widgets_values": [
84
+ "hunyuanimage2.1-fp8_e4m3fn.safetensors",
85
+ "fp8_e4m3fn_fast"
86
+ ]
87
+ },
88
+ {
89
+ "id": 8,
90
+ "type": "VAEDecode",
91
+ "pos": [
92
+ 1202.1051025390625,
93
+ 262.8580322265625
94
+ ],
95
+ "size": [
96
+ 210,
97
+ 46
98
+ ],
99
+ "flags": {},
100
+ "order": 11,
101
+ "mode": 0,
102
+ "inputs": [
103
+ {
104
+ "name": "samples",
105
+ "type": "LATENT",
106
+ "link": 7
107
+ },
108
+ {
109
+ "name": "vae",
110
+ "type": "VAE",
111
+ "link": 34
112
+ }
113
+ ],
114
+ "outputs": [
115
+ {
116
+ "name": "IMAGE",
117
+ "type": "IMAGE",
118
+ "slot_index": 0,
119
+ "links": [
120
+ 64
121
+ ]
122
+ }
123
+ ],
124
+ "properties": {
125
+ "cnr_id": "comfy-core",
126
+ "ver": "0.3.57",
127
+ "Node name for S&R": "VAEDecode",
128
+ "ue_properties": {
129
+ "widget_ue_connectable": {},
130
+ "version": "7.1",
131
+ "input_ue_unconnectable": {}
132
+ }
133
+ },
134
+ "widgets_values": []
135
+ },
136
+ {
137
+ "id": 34,
138
+ "type": "easy cleanGpuUsed",
139
+ "pos": [
140
+ 1217.314453125,
141
+ 367.8652648925781
142
+ ],
143
+ "size": [
144
+ 157.38925170898438,
145
+ 26
146
+ ],
147
+ "flags": {},
148
+ "order": 12,
149
+ "mode": 0,
150
+ "inputs": [
151
+ {
152
+ "name": "anything",
153
+ "type": "*",
154
+ "link": 64
155
+ }
156
+ ],
157
+ "outputs": [
158
+ {
159
+ "name": "output",
160
+ "type": "*",
161
+ "links": [
162
+ 65
163
+ ]
164
+ }
165
+ ],
166
+ "properties": {
167
+ "cnr_id": "comfyui-easy-use",
168
+ "ver": "1.3.3",
169
+ "Node name for S&R": "easy cleanGpuUsed",
170
+ "ue_properties": {
171
+ "widget_ue_connectable": {},
172
+ "version": "7.1",
173
+ "input_ue_unconnectable": {}
174
+ }
175
+ },
176
+ "widgets_values": []
177
+ },
178
+ {
179
+ "id": 15,
180
+ "type": "VAELoader",
181
+ "pos": [
182
+ -34.24553298950195,
183
+ 495.9590759277344
184
+ ],
185
+ "size": [
186
+ 381.0045166015625,
187
+ 58
188
+ ],
189
+ "flags": {},
190
+ "order": 2,
191
+ "mode": 0,
192
+ "inputs": [],
193
+ "outputs": [
194
+ {
195
+ "name": "VAE",
196
+ "type": "VAE",
197
+ "links": [
198
+ 34
199
+ ]
200
+ }
201
+ ],
202
+ "properties": {
203
+ "cnr_id": "comfy-core",
204
+ "ver": "0.3.57",
205
+ "Node name for S&R": "VAELoader",
206
+ "ue_properties": {
207
+ "widget_ue_connectable": {},
208
+ "version": "7.1",
209
+ "input_ue_unconnectable": {}
210
+ }
211
+ },
212
+ "widgets_values": [
213
+ "hunyuan_image_2.1_vae_fp16.safetensors"
214
+ ]
215
+ },
216
+ {
217
+ "id": 9,
218
+ "type": "SaveImage",
219
+ "pos": [
220
+ 876.399169921875,
221
+ 509.8819580078125
222
+ ],
223
+ "size": [
224
+ 883.3683471679688,
225
+ 930.5321044921875
226
+ ],
227
+ "flags": {},
228
+ "order": 13,
229
+ "mode": 0,
230
+ "inputs": [
231
+ {
232
+ "name": "images",
233
+ "type": "IMAGE",
234
+ "link": 65
235
+ }
236
+ ],
237
+ "outputs": [],
238
+ "properties": {
239
+ "cnr_id": "comfy-core",
240
+ "ver": "0.3.57",
241
+ "Node name for S&R": "SaveImage",
242
+ "ue_properties": {
243
+ "widget_ue_connectable": {},
244
+ "version": "7.1",
245
+ "input_ue_unconnectable": {}
246
+ }
247
+ },
248
+ "widgets_values": [
249
+ "HunyuanIMG/0000"
250
+ ]
251
+ },
252
+ {
253
+ "id": 6,
254
+ "type": "CLIPTextEncode",
255
+ "pos": [
256
+ 404.16534423828125,
257
+ 187.08346557617188
258
+ ],
259
+ "size": [
260
+ 422.84503173828125,
261
+ 164.31304931640625
262
+ ],
263
+ "flags": {},
264
+ "order": 8,
265
+ "mode": 0,
266
+ "inputs": [
267
+ {
268
+ "name": "clip",
269
+ "type": "CLIP",
270
+ "link": 54
271
+ }
272
+ ],
273
+ "outputs": [
274
+ {
275
+ "name": "CONDITIONING",
276
+ "type": "CONDITIONING",
277
+ "slot_index": 0,
278
+ "links": [
279
+ 4
280
+ ]
281
+ }
282
+ ],
283
+ "properties": {
284
+ "cnr_id": "comfy-core",
285
+ "ver": "0.3.57",
286
+ "Node name for S&R": "CLIPTextEncode",
287
+ "ue_properties": {
288
+ "widget_ue_connectable": {},
289
+ "version": "7.1",
290
+ "input_ue_unconnectable": {}
291
+ }
292
+ },
293
+ "widgets_values": [
294
+ "A sleek black cat with rain-slicked fur crouches mid-motion on a cracked stone path, its glowing amber eyes fixed on the viewer while wind-whipped rain streaks diagonally through the frame, each droplet caught in razor-sharp detail by a fast shutter; behind it, a towering Victorian mansion looms under thunderous indigo skies, broken shutters clapping like skeletal hands, warm amber lamplight spilling from a half-open door to cast long, dancing shadows across the wet overgrown yard, the scene shot from a low, slightly Dutch-tilted angle on a 35 mm lens that blurs the foreground weeds into creamy bokeh and leaves the cat’s whiskers and every rain bead in hyper-real focus, color-graded with desaturated cyans and moody teals for a gothic horror aesthetic, subtle volumetric fog rolling in from the sides, the words “Hunyuan Image 2.1 FP8” ghosted into the mist like faint phosphorescent graffiti, the entire frame pulsing with cinematic tension as if the next lightning flash will freeze time forever."
295
+ ],
296
+ "color": "#232",
297
+ "bgcolor": "#353"
298
+ },
299
+ {
300
+ "id": 7,
301
+ "type": "CLIPTextEncode",
302
+ "pos": [
303
+ 405.415771484375,
304
+ 389
305
+ ],
306
+ "size": [
307
+ 425.27801513671875,
308
+ 180.6060791015625
309
+ ],
310
+ "flags": {},
311
+ "order": 7,
312
+ "mode": 0,
313
+ "inputs": [
314
+ {
315
+ "name": "clip",
316
+ "type": "CLIP",
317
+ "link": 53
318
+ }
319
+ ],
320
+ "outputs": [
321
+ {
322
+ "name": "CONDITIONING",
323
+ "type": "CONDITIONING",
324
+ "slot_index": 0,
325
+ "links": [
326
+ 6
327
+ ]
328
+ }
329
+ ],
330
+ "properties": {
331
+ "cnr_id": "comfy-core",
332
+ "ver": "0.3.57",
333
+ "Node name for S&R": "CLIPTextEncode",
334
+ "ue_properties": {
335
+ "widget_ue_connectable": {},
336
+ "version": "7.1",
337
+ "input_ue_unconnectable": {}
338
+ }
339
+ },
340
+ "widgets_values": [
341
+ "low quality, bad anatomy, extra digits, missing digits, extra limbs, missing limbs"
342
+ ],
343
+ "color": "#322",
344
+ "bgcolor": "#533"
345
+ },
346
+ {
347
+ "id": 39,
348
+ "type": "Reroute",
349
+ "pos": [
350
+ 776.8094482421875,
351
+ 724.7313842773438
352
+ ],
353
+ "size": [
354
+ 75,
355
+ 26
356
+ ],
357
+ "flags": {},
358
+ "order": 9,
359
+ "mode": 0,
360
+ "inputs": [
361
+ {
362
+ "name": "",
363
+ "type": "*",
364
+ "link": 68
365
+ }
366
+ ],
367
+ "outputs": [
368
+ {
369
+ "name": "",
370
+ "type": "LATENT",
371
+ "links": [
372
+ 67
373
+ ]
374
+ }
375
+ ],
376
+ "properties": {
377
+ "showOutputText": false,
378
+ "horizontal": false,
379
+ "ue_properties": {
380
+ "widget_ue_connectable": {},
381
+ "version": "7.1",
382
+ "input_ue_unconnectable": {}
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "id": 29,
388
+ "type": "EmptyHunyuanImageLatent",
389
+ "pos": [
390
+ 474.0664367675781,
391
+ 628.437255859375
392
+ ],
393
+ "size": [
394
+ 273.4507751464844,
395
+ 106
396
+ ],
397
+ "flags": {},
398
+ "order": 3,
399
+ "mode": 0,
400
+ "inputs": [],
401
+ "outputs": [
402
+ {
403
+ "name": "LATENT",
404
+ "type": "LATENT",
405
+ "links": [
406
+ 68
407
+ ]
408
+ }
409
+ ],
410
+ "title": "16:9",
411
+ "properties": {
412
+ "cnr_id": "comfy-core",
413
+ "ver": "0.3.57",
414
+ "Node name for S&R": "EmptyHunyuanImageLatent",
415
+ "ue_properties": {
416
+ "widget_ue_connectable": {},
417
+ "version": "7.1",
418
+ "input_ue_unconnectable": {}
419
+ }
420
+ },
421
+ "widgets_values": [
422
+ 2560,
423
+ 1536,
424
+ 1
425
+ ]
426
+ },
427
+ {
428
+ "id": 36,
429
+ "type": "EmptyHunyuanImageLatent",
430
+ "pos": [
431
+ 474.8975830078125,
432
+ 788.07177734375
433
+ ],
434
+ "size": [
435
+ 273.4507751464844,
436
+ 106
437
+ ],
438
+ "flags": {},
439
+ "order": 4,
440
+ "mode": 0,
441
+ "inputs": [],
442
+ "outputs": [
443
+ {
444
+ "name": "LATENT",
445
+ "type": "LATENT",
446
+ "links": []
447
+ }
448
+ ],
449
+ "title": "1:!",
450
+ "properties": {
451
+ "cnr_id": "comfy-core",
452
+ "ver": "0.3.57",
453
+ "Node name for S&R": "EmptyHunyuanImageLatent",
454
+ "ue_properties": {
455
+ "widget_ue_connectable": {},
456
+ "version": "7.1",
457
+ "input_ue_unconnectable": {}
458
+ }
459
+ },
460
+ "widgets_values": [
461
+ 2048,
462
+ 2048,
463
+ 1
464
+ ]
465
+ },
466
+ {
467
+ "id": 37,
468
+ "type": "MarkdownNote",
469
+ "pos": [
470
+ -349.5580139160156,
471
+ 179.86253356933594
472
+ ],
473
+ "size": [
474
+ 244.24050903320312,
475
+ 250.70880126953125
476
+ ],
477
+ "flags": {},
478
+ "order": 5,
479
+ "mode": 0,
480
+ "inputs": [],
481
+ "outputs": [],
482
+ "title": "Models",
483
+ "properties": {
484
+ "ue_properties": {
485
+ "widget_ue_connectable": {},
486
+ "version": "7.1",
487
+ "input_ue_unconnectable": {}
488
+ }
489
+ },
490
+ "widgets_values": [
491
+ "# [FP8 model](https://huggingface.co/drbaph/HunyuanImage-2.1_fp8/resolve/main/hunyuanimage2.1_fp8_e4m3fn.safetensors?download=true) \n## models/diffusion_models\n\n# [text encoders](https://huggingface.co/Comfy-Org/HunyuanImage_2.1_ComfyUI/tree/main/split_files/text_encoders) \n## models/text_encoders\n\n# [vae](https://huggingface.co/Comfy-Org/HunyuanImage_2.1_ComfyUI/resolve/main/split_files/vae/hunyuan_image_2.1_vae_fp16.safetensors?download=true) \n## models/VAE\n\n\n\n"
492
+ ],
493
+ "color": "#432",
494
+ "bgcolor": "#653"
495
+ },
496
+ {
497
+ "id": 38,
498
+ "type": "MarkdownNote",
499
+ "pos": [
500
+ 225.3233642578125,
501
+ 693.1898193359375
502
+ ],
503
+ "size": [
504
+ 216.57080078125,
505
+ 141.0042724609375
506
+ ],
507
+ "flags": {},
508
+ "order": 6,
509
+ "mode": 0,
510
+ "inputs": [],
511
+ "outputs": [],
512
+ "properties": {
513
+ "ue_properties": {
514
+ "widget_ue_connectable": {},
515
+ "version": "7.1",
516
+ "input_ue_unconnectable": {}
517
+ }
518
+ },
519
+ "widgets_values": [
520
+ "# 1:1 2048x2048 \n# 16:9 2560x1536\n# 9:16 1536x2560"
521
+ ],
522
+ "color": "#432",
523
+ "bgcolor": "#653"
524
+ },
525
+ {
526
+ "id": 3,
527
+ "type": "KSampler",
528
+ "pos": [
529
+ 863,
530
+ 186
531
+ ],
532
+ "size": [
533
+ 315,
534
+ 262
535
+ ],
536
+ "flags": {},
537
+ "order": 10,
538
+ "mode": 0,
539
+ "inputs": [
540
+ {
541
+ "name": "model",
542
+ "type": "MODEL",
543
+ "link": 24
544
+ },
545
+ {
546
+ "name": "positive",
547
+ "type": "CONDITIONING",
548
+ "link": 4
549
+ },
550
+ {
551
+ "name": "negative",
552
+ "type": "CONDITIONING",
553
+ "link": 6
554
+ },
555
+ {
556
+ "name": "latent_image",
557
+ "type": "LATENT",
558
+ "link": 67
559
+ }
560
+ ],
561
+ "outputs": [
562
+ {
563
+ "name": "LATENT",
564
+ "type": "LATENT",
565
+ "slot_index": 0,
566
+ "links": [
567
+ 7
568
+ ]
569
+ }
570
+ ],
571
+ "properties": {
572
+ "cnr_id": "comfy-core",
573
+ "ver": "0.3.57",
574
+ "Node name for S&R": "KSampler",
575
+ "ue_properties": {
576
+ "widget_ue_connectable": {},
577
+ "version": "7.1",
578
+ "input_ue_unconnectable": {}
579
+ }
580
+ },
581
+ "widgets_values": [
582
+ 814382105278318,
583
+ "randomize",
584
+ 20,
585
+ 3.5,
586
+ "euler",
587
+ "simple",
588
+ 1
589
+ ]
590
+ }
591
+ ],
592
+ "links": [
593
+ [
594
+ 4,
595
+ 6,
596
+ 0,
597
+ 3,
598
+ 1,
599
+ "CONDITIONING"
600
+ ],
601
+ [
602
+ 6,
603
+ 7,
604
+ 0,
605
+ 3,
606
+ 2,
607
+ "CONDITIONING"
608
+ ],
609
+ [
610
+ 7,
611
+ 3,
612
+ 0,
613
+ 8,
614
+ 0,
615
+ "LATENT"
616
+ ],
617
+ [
618
+ 24,
619
+ 13,
620
+ 0,
621
+ 3,
622
+ 0,
623
+ "MODEL"
624
+ ],
625
+ [
626
+ 34,
627
+ 15,
628
+ 0,
629
+ 8,
630
+ 1,
631
+ "VAE"
632
+ ],
633
+ [
634
+ 53,
635
+ 26,
636
+ 0,
637
+ 7,
638
+ 0,
639
+ "CLIP"
640
+ ],
641
+ [
642
+ 54,
643
+ 26,
644
+ 0,
645
+ 6,
646
+ 0,
647
+ "CLIP"
648
+ ],
649
+ [
650
+ 64,
651
+ 8,
652
+ 0,
653
+ 34,
654
+ 0,
655
+ "*"
656
+ ],
657
+ [
658
+ 65,
659
+ 34,
660
+ 0,
661
+ 9,
662
+ 0,
663
+ "IMAGE"
664
+ ],
665
+ [
666
+ 67,
667
+ 39,
668
+ 0,
669
+ 3,
670
+ 3,
671
+ "LATENT"
672
+ ],
673
+ [
674
+ 68,
675
+ 29,
676
+ 0,
677
+ 39,
678
+ 0,
679
+ "*"
680
+ ]
681
+ ],
682
+ "groups": [],
683
+ "config": {},
684
+ "extra": {
685
+ "ds": {
686
+ "scale": 0.5209868481924665,
687
+ "offset": [
688
+ 132.0800961613071,
689
+ -176.18248430837846
690
+ ]
691
+ },
692
+ "frontendVersion": "1.25.11",
693
+ "ue_links": [],
694
+ "links_added_by_ue": [],
695
+ "VHS_latentpreview": false,
696
+ "VHS_latentpreviewrate": 0,
697
+ "VHS_MetadataImage": true,
698
+ "VHS_KeepIntermediate": true
699
+ },
700
+ "version": 0.4
701
+ }