starsfriday commited on
Commit
f2d87ef
·
verified ·
1 Parent(s): 6de598a

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ result/result1.png filter=lfs diff=lfs merge=lfs -text
37
+ result/result2.png filter=lfs diff=lfs merge=lfs -text
38
+ result/result3.png filter=lfs diff=lfs merge=lfs -text
39
+ result/test.jpg filter=lfs diff=lfs merge=lfs -text
FLUX.2-kLEIN.json ADDED
@@ -0,0 +1,1266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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id": 102,
6
+ "nodes": [
7
+ {
8
+ "id": 1,
9
+ "type": "KSamplerSelect",
10
+ "pos": [
11
+ 638.8567485043334,
12
+ 643.847593995366
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 58
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "SAMPLER",
25
+ "type": "SAMPLER",
26
+ "links": [
27
+ 3
28
+ ]
29
+ }
30
+ ],
31
+ "properties": {
32
+ "cnr_id": "comfy-core",
33
+ "ver": "0.8.2",
34
+ "Node name for S&R": "KSamplerSelect",
35
+ "enableTabs": false,
36
+ "tabWidth": 65,
37
+ "tabXOffset": 10,
38
+ "hasSecondTab": false,
39
+ "secondTabText": "Send Back",
40
+ "secondTabOffset": 80,
41
+ "secondTabWidth": 65
42
+ },
43
+ "widgets_values": [
44
+ "euler"
45
+ ]
46
+ },
47
+ {
48
+ "id": 2,
49
+ "type": "SamplerCustomAdvanced",
50
+ "pos": [
51
+ 938.8569201489497,
52
+ 423.84760003492215
53
+ ],
54
+ "size": [
55
+ 212.3638671875,
56
+ 326
57
+ ],
58
+ "flags": {},
59
+ "order": 18,
60
+ "mode": 0,
61
+ "inputs": [
62
+ {
63
+ "name": "noise",
64
+ "type": "NOISE",
65
+ "link": 1
66
+ },
67
+ {
68
+ "name": "guider",
69
+ "type": "GUIDER",
70
+ "link": 2
71
+ },
72
+ {
73
+ "name": "sampler",
74
+ "type": "SAMPLER",
75
+ "link": 3
76
+ },
77
+ {
78
+ "name": "sigmas",
79
+ "type": "SIGMAS",
80
+ "link": 4
81
+ },
82
+ {
83
+ "name": "latent_image",
84
+ "type": "LATENT",
85
+ "link": 5
86
+ }
87
+ ],
88
+ "outputs": [
89
+ {
90
+ "name": "output",
91
+ "type": "LATENT",
92
+ "links": [
93
+ 6
94
+ ]
95
+ },
96
+ {
97
+ "name": "denoised_output",
98
+ "type": "LATENT",
99
+ "links": []
100
+ }
101
+ ],
102
+ "properties": {
103
+ "cnr_id": "comfy-core",
104
+ "ver": "0.8.2",
105
+ "Node name for S&R": "SamplerCustomAdvanced",
106
+ "enableTabs": false,
107
+ "tabWidth": 65,
108
+ "tabXOffset": 10,
109
+ "hasSecondTab": false,
110
+ "secondTabText": "Send Back",
111
+ "secondTabOffset": 80,
112
+ "secondTabWidth": 65
113
+ },
114
+ "widgets_values": []
115
+ },
116
+ {
117
+ "id": 4,
118
+ "type": "RandomNoise",
119
+ "pos": [
120
+ 638.8567485043334,
121
+ 383.84769440432854
122
+ ],
123
+ "size": [
124
+ 270,
125
+ 82
126
+ ],
127
+ "flags": {},
128
+ "order": 1,
129
+ "mode": 0,
130
+ "inputs": [],
131
+ "outputs": [
132
+ {
133
+ "name": "NOISE",
134
+ "type": "NOISE",
135
+ "links": [
136
+ 1
137
+ ]
138
+ }
139
+ ],
140
+ "properties": {
141
+ "cnr_id": "comfy-core",
142
+ "ver": "0.8.2",
143
+ "Node name for S&R": "RandomNoise",
144
+ "enableTabs": false,
145
+ "tabWidth": 65,
146
+ "tabXOffset": 10,
147
+ "hasSecondTab": false,
148
+ "secondTabText": "Send Back",
149
+ "secondTabOffset": 80,
150
+ "secondTabWidth": 65
151
+ },
152
+ "widgets_values": [
153
+ 583732051283781,
154
+ "randomize"
155
+ ]
156
+ },
157
+ {
158
+ "id": 12,
159
+ "type": "CLIPLoader",
160
+ "pos": [
161
+ -287.1430565954972,
162
+ 553.6809971231787
163
+ ],
164
+ "size": [
165
+ 364.42708333333337,
166
+ 106
167
+ ],
168
+ "flags": {},
169
+ "order": 2,
170
+ "mode": 0,
171
+ "inputs": [],
172
+ "outputs": [
173
+ {
174
+ "name": "CLIP",
175
+ "type": "CLIP",
176
+ "links": [
177
+ 19,
178
+ 20
179
+ ]
180
+ }
181
+ ],
182
+ "properties": {
183
+ "cnr_id": "comfy-core",
184
+ "ver": "0.8.2",
185
+ "Node name for S&R": "CLIPLoader",
186
+ "models": [
187
+ {
188
+ "name": "qwen_3_8b_fp8mixed.safetensors",
189
+ "url": "https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors",
190
+ "directory": "text_encoders"
191
+ }
192
+ ],
193
+ "enableTabs": false,
194
+ "tabWidth": 65,
195
+ "tabXOffset": 10,
196
+ "hasSecondTab": false,
197
+ "secondTabText": "Send Back",
198
+ "secondTabOffset": 80,
199
+ "secondTabWidth": 65
200
+ },
201
+ "widgets_values": [
202
+ "qwen_3_8b_fp8mixed.safetensors",
203
+ "flux2",
204
+ "default"
205
+ ]
206
+ },
207
+ {
208
+ "id": 15,
209
+ "type": "CLIPTextEncode",
210
+ "pos": [
211
+ 133.83944685678492,
212
+ 733.0845008682301
213
+ ],
214
+ "size": [
215
+ 420,
216
+ 88
217
+ ],
218
+ "flags": {},
219
+ "order": 8,
220
+ "mode": 0,
221
+ "inputs": [
222
+ {
223
+ "name": "clip",
224
+ "type": "CLIP",
225
+ "link": 20
226
+ }
227
+ ],
228
+ "outputs": [
229
+ {
230
+ "name": "CONDITIONING",
231
+ "type": "CONDITIONING",
232
+ "links": [
233
+ 33
234
+ ]
235
+ }
236
+ ],
237
+ "title": "CLIP Text Encode ( Negative Prompt)",
238
+ "properties": {
239
+ "cnr_id": "comfy-core",
240
+ "ver": "0.9.1",
241
+ "Node name for S&R": "CLIPTextEncode",
242
+ "enableTabs": false,
243
+ "tabWidth": 65,
244
+ "tabXOffset": 10,
245
+ "hasSecondTab": false,
246
+ "secondTabText": "Send Back",
247
+ "secondTabOffset": 80,
248
+ "secondTabWidth": 65
249
+ },
250
+ "widgets_values": [
251
+ ""
252
+ ],
253
+ "color": "#323",
254
+ "bgcolor": "#535"
255
+ },
256
+ {
257
+ "id": 17,
258
+ "type": "Flux2Scheduler",
259
+ "pos": [
260
+ 638.8567485043334,
261
+ 743.8475046410438
262
+ ],
263
+ "size": [
264
+ 270,
265
+ 106
266
+ ],
267
+ "flags": {},
268
+ "order": 15,
269
+ "mode": 0,
270
+ "inputs": [
271
+ {
272
+ "name": "width",
273
+ "type": "INT",
274
+ "widget": {
275
+ "name": "width"
276
+ },
277
+ "link": 72
278
+ },
279
+ {
280
+ "name": "height",
281
+ "type": "INT",
282
+ "widget": {
283
+ "name": "height"
284
+ },
285
+ "link": 73
286
+ }
287
+ ],
288
+ "outputs": [
289
+ {
290
+ "name": "SIGMAS",
291
+ "type": "SIGMAS",
292
+ "links": [
293
+ 4
294
+ ]
295
+ }
296
+ ],
297
+ "properties": {
298
+ "cnr_id": "comfy-core",
299
+ "ver": "0.8.2",
300
+ "Node name for S&R": "Flux2Scheduler",
301
+ "enableTabs": false,
302
+ "tabWidth": 65,
303
+ "tabXOffset": 10,
304
+ "hasSecondTab": false,
305
+ "secondTabText": "Send Back",
306
+ "secondTabOffset": 80,
307
+ "secondTabWidth": 65
308
+ },
309
+ "widgets_values": [
310
+ 4,
311
+ 1024,
312
+ 1024
313
+ ]
314
+ },
315
+ {
316
+ "id": 16,
317
+ "type": "CFGGuider",
318
+ "pos": [
319
+ 638.8567485043334,
320
+ 503.84763114990034
321
+ ],
322
+ "size": [
323
+ 270,
324
+ 98
325
+ ],
326
+ "flags": {},
327
+ "order": 17,
328
+ "mode": 0,
329
+ "inputs": [
330
+ {
331
+ "name": "model",
332
+ "type": "MODEL",
333
+ "link": 98
334
+ },
335
+ {
336
+ "name": "positive",
337
+ "type": "CONDITIONING",
338
+ "link": 95
339
+ },
340
+ {
341
+ "name": "negative",
342
+ "type": "CONDITIONING",
343
+ "link": 96
344
+ }
345
+ ],
346
+ "outputs": [
347
+ {
348
+ "name": "GUIDER",
349
+ "type": "GUIDER",
350
+ "links": [
351
+ 2
352
+ ]
353
+ }
354
+ ],
355
+ "properties": {
356
+ "cnr_id": "comfy-core",
357
+ "ver": "0.8.2",
358
+ "Node name for S&R": "CFGGuider",
359
+ "enableTabs": false,
360
+ "tabWidth": 65,
361
+ "tabXOffset": 10,
362
+ "hasSecondTab": false,
363
+ "secondTabText": "Send Back",
364
+ "secondTabOffset": 80,
365
+ "secondTabWidth": 65
366
+ },
367
+ "widgets_values": [
368
+ 1
369
+ ]
370
+ },
371
+ {
372
+ "id": 28,
373
+ "type": "PreviewImage",
374
+ "pos": [
375
+ 1203.774151881187,
376
+ 488.21053189474804
377
+ ],
378
+ "size": [
379
+ 214.3416331624744,
380
+ 330.7334743572292
381
+ ],
382
+ "flags": {},
383
+ "order": 20,
384
+ "mode": 0,
385
+ "inputs": [
386
+ {
387
+ "name": "images",
388
+ "type": "IMAGE",
389
+ "link": 55
390
+ }
391
+ ],
392
+ "outputs": [],
393
+ "properties": {
394
+ "cnr_id": "comfy-core",
395
+ "ver": "0.9.2",
396
+ "Node name for S&R": "PreviewImage"
397
+ },
398
+ "widgets_values": []
399
+ },
400
+ {
401
+ "id": 31,
402
+ "type": "easy imageSize",
403
+ "pos": [
404
+ -568.1008563173393,
405
+ 896.17057031001
406
+ ],
407
+ "size": [
408
+ 210,
409
+ 108
410
+ ],
411
+ "flags": {},
412
+ "order": 12,
413
+ "mode": 0,
414
+ "inputs": [
415
+ {
416
+ "label": "图像",
417
+ "name": "image",
418
+ "type": "IMAGE",
419
+ "link": 76
420
+ }
421
+ ],
422
+ "outputs": [
423
+ {
424
+ "name": "宽度",
425
+ "type": "INT",
426
+ "links": [
427
+ 72,
428
+ 74
429
+ ]
430
+ },
431
+ {
432
+ "name": "高度",
433
+ "type": "INT",
434
+ "links": [
435
+ 73,
436
+ 75
437
+ ]
438
+ }
439
+ ],
440
+ "properties": {
441
+ "cnr_id": "comfyui-easy-use",
442
+ "ver": "1.3.5",
443
+ "Node name for S&R": "easy imageSize"
444
+ },
445
+ "widgets_values": [
446
+ "Width: 880 , Height: 1184"
447
+ ]
448
+ },
449
+ {
450
+ "id": 22,
451
+ "type": "VAEEncode",
452
+ "pos": [
453
+ -270,
454
+ 947.5383123816825
455
+ ],
456
+ "size": [
457
+ 190,
458
+ 46
459
+ ],
460
+ "flags": {
461
+ "collapsed": false
462
+ },
463
+ "order": 11,
464
+ "mode": 0,
465
+ "inputs": [
466
+ {
467
+ "name": "pixels",
468
+ "type": "IMAGE",
469
+ "link": 63
470
+ },
471
+ {
472
+ "name": "vae",
473
+ "type": "VAE",
474
+ "link": 31
475
+ }
476
+ ],
477
+ "outputs": [
478
+ {
479
+ "name": "LATENT",
480
+ "type": "LATENT",
481
+ "links": [
482
+ 28,
483
+ 29
484
+ ]
485
+ }
486
+ ],
487
+ "properties": {
488
+ "cnr_id": "comfy-core",
489
+ "ver": "0.8.2",
490
+ "Node name for S&R": "VAEEncode",
491
+ "enableTabs": false,
492
+ "tabWidth": 65,
493
+ "tabXOffset": 10,
494
+ "hasSecondTab": false,
495
+ "secondTabText": "Send Back",
496
+ "secondTabOffset": 80,
497
+ "secondTabWidth": 65
498
+ },
499
+ "widgets_values": []
500
+ },
501
+ {
502
+ "id": 18,
503
+ "type": "MarkdownNote",
504
+ "pos": [
505
+ -1542.5165137017684,
506
+ 408.7035091738259
507
+ ],
508
+ "size": [
509
+ 610,
510
+ 650
511
+ ],
512
+ "flags": {},
513
+ "order": 3,
514
+ "mode": 0,
515
+ "inputs": [],
516
+ "outputs": [],
517
+ "properties": {},
518
+ "widgets_values": [
519
+ "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8)\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\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"
520
+ ],
521
+ "color": "#222",
522
+ "bgcolor": "#000"
523
+ },
524
+ {
525
+ "id": 8,
526
+ "type": "EmptyFlux2LatentImage",
527
+ "pos": [
528
+ 200.2442699240379,
529
+ 930.3632293195597
530
+ ],
531
+ "size": [
532
+ 270,
533
+ 106
534
+ ],
535
+ "flags": {},
536
+ "order": 16,
537
+ "mode": 0,
538
+ "inputs": [
539
+ {
540
+ "name": "width",
541
+ "type": "INT",
542
+ "widget": {
543
+ "name": "width"
544
+ },
545
+ "link": 74
546
+ },
547
+ {
548
+ "name": "height",
549
+ "type": "INT",
550
+ "widget": {
551
+ "name": "height"
552
+ },
553
+ "link": 75
554
+ }
555
+ ],
556
+ "outputs": [
557
+ {
558
+ "name": "LATENT",
559
+ "type": "LATENT",
560
+ "links": [
561
+ 5
562
+ ]
563
+ }
564
+ ],
565
+ "properties": {
566
+ "cnr_id": "comfy-core",
567
+ "ver": "0.8.2",
568
+ "Node name for S&R": "EmptyFlux2LatentImage",
569
+ "enableTabs": false,
570
+ "tabWidth": 65,
571
+ "tabXOffset": 10,
572
+ "hasSecondTab": false,
573
+ "secondTabText": "Send Back",
574
+ "secondTabOffset": 80,
575
+ "secondTabWidth": 65
576
+ },
577
+ "widgets_values": [
578
+ 1024,
579
+ 1024,
580
+ 1
581
+ ]
582
+ },
583
+ {
584
+ "id": 6,
585
+ "type": "VAELoader",
586
+ "pos": [
587
+ -287.14305285648703,
588
+ 723.6809026520256
589
+ ],
590
+ "size": [
591
+ 364.42708333333337,
592
+ 58
593
+ ],
594
+ "flags": {},
595
+ "order": 4,
596
+ "mode": 0,
597
+ "inputs": [],
598
+ "outputs": [
599
+ {
600
+ "name": "VAE",
601
+ "type": "VAE",
602
+ "links": [
603
+ 7,
604
+ 31
605
+ ]
606
+ }
607
+ ],
608
+ "properties": {
609
+ "cnr_id": "comfy-core",
610
+ "ver": "0.8.2",
611
+ "Node name for S&R": "VAELoader",
612
+ "models": [
613
+ {
614
+ "name": "flux2-vae.safetensors",
615
+ "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
616
+ "directory": "vae"
617
+ }
618
+ ],
619
+ "enableTabs": false,
620
+ "tabWidth": 65,
621
+ "tabXOffset": 10,
622
+ "hasSecondTab": false,
623
+ "secondTabText": "Send Back",
624
+ "secondTabOffset": 80,
625
+ "secondTabWidth": 65
626
+ },
627
+ "widgets_values": [
628
+ "flux2-vae.safetensors"
629
+ ]
630
+ },
631
+ {
632
+ "id": 23,
633
+ "type": "ReferenceLatent",
634
+ "pos": [
635
+ -60,
636
+ 940
637
+ ],
638
+ "size": [
639
+ 210,
640
+ 46
641
+ ],
642
+ "flags": {
643
+ "collapsed": false
644
+ },
645
+ "order": 14,
646
+ "mode": 0,
647
+ "inputs": [
648
+ {
649
+ "name": "conditioning",
650
+ "type": "CONDITIONING",
651
+ "link": 32
652
+ },
653
+ {
654
+ "name": "latent",
655
+ "shape": 7,
656
+ "type": "LATENT",
657
+ "link": 29
658
+ }
659
+ ],
660
+ "outputs": [
661
+ {
662
+ "name": "CONDITIONING",
663
+ "type": "CONDITIONING",
664
+ "links": [
665
+ 95
666
+ ]
667
+ }
668
+ ],
669
+ "properties": {
670
+ "cnr_id": "comfy-core",
671
+ "ver": "0.8.2",
672
+ "Node name for S&R": "ReferenceLatent",
673
+ "enableTabs": false,
674
+ "tabWidth": 65,
675
+ "tabXOffset": 10,
676
+ "hasSecondTab": false,
677
+ "secondTabText": "Send Back",
678
+ "secondTabOffset": 80,
679
+ "secondTabWidth": 65
680
+ },
681
+ "widgets_values": []
682
+ },
683
+ {
684
+ "id": 21,
685
+ "type": "ReferenceLatent",
686
+ "pos": [
687
+ -56.41762503380495,
688
+ 1046.7911874830975
689
+ ],
690
+ "size": [
691
+ 204.134765625,
692
+ 46
693
+ ],
694
+ "flags": {
695
+ "collapsed": false
696
+ },
697
+ "order": 13,
698
+ "mode": 0,
699
+ "inputs": [
700
+ {
701
+ "name": "conditioning",
702
+ "type": "CONDITIONING",
703
+ "link": 33
704
+ },
705
+ {
706
+ "name": "latent",
707
+ "shape": 7,
708
+ "type": "LATENT",
709
+ "link": 28
710
+ }
711
+ ],
712
+ "outputs": [
713
+ {
714
+ "name": "CONDITIONING",
715
+ "type": "CONDITIONING",
716
+ "links": [
717
+ 96
718
+ ]
719
+ }
720
+ ],
721
+ "properties": {
722
+ "cnr_id": "comfy-core",
723
+ "ver": "0.8.2",
724
+ "Node name for S&R": "ReferenceLatent",
725
+ "enableTabs": false,
726
+ "tabWidth": 65,
727
+ "tabXOffset": 10,
728
+ "hasSecondTab": false,
729
+ "secondTabText": "Send Back",
730
+ "secondTabOffset": 80,
731
+ "secondTabWidth": 65
732
+ },
733
+ "widgets_values": []
734
+ },
735
+ {
736
+ "id": 5,
737
+ "type": "UNETLoader",
738
+ "pos": [
739
+ -287.1430565954972,
740
+ 403.6810509528961
741
+ ],
742
+ "size": [
743
+ 364.42708333333337,
744
+ 82
745
+ ],
746
+ "flags": {},
747
+ "order": 5,
748
+ "mode": 0,
749
+ "inputs": [],
750
+ "outputs": [
751
+ {
752
+ "name": "MODEL",
753
+ "type": "MODEL",
754
+ "links": [
755
+ 97
756
+ ]
757
+ }
758
+ ],
759
+ "properties": {
760
+ "cnr_id": "comfy-core",
761
+ "ver": "0.8.2",
762
+ "Node name for S&R": "UNETLoader",
763
+ "enableTabs": false,
764
+ "tabWidth": 65,
765
+ "tabXOffset": 10,
766
+ "hasSecondTab": false,
767
+ "secondTabText": "Send Back",
768
+ "secondTabOffset": 80,
769
+ "secondTabWidth": 65
770
+ },
771
+ "widgets_values": [
772
+ "flux-2-klein-9b-fp8.safetensors",
773
+ "default"
774
+ ]
775
+ },
776
+ {
777
+ "id": 14,
778
+ "type": "CLIPTextEncode",
779
+ "pos": [
780
+ 138.569969070938,
781
+ 388.9971856517615
782
+ ],
783
+ "size": [
784
+ 424.8219232141098,
785
+ 297.9227974023413
786
+ ],
787
+ "flags": {},
788
+ "order": 7,
789
+ "mode": 0,
790
+ "inputs": [
791
+ {
792
+ "name": "clip",
793
+ "type": "CLIP",
794
+ "link": 19
795
+ }
796
+ ],
797
+ "outputs": [
798
+ {
799
+ "name": "CONDITIONING",
800
+ "type": "CONDITIONING",
801
+ "slot_index": 0,
802
+ "links": [
803
+ 32
804
+ ]
805
+ }
806
+ ],
807
+ "title": "CLIP Text Encode (Positive Prompt)",
808
+ "properties": {
809
+ "cnr_id": "comfy-core",
810
+ "ver": "0.8.2",
811
+ "Node name for S&R": "CLIPTextEncode",
812
+ "enableTabs": false,
813
+ "tabWidth": 65,
814
+ "tabXOffset": 10,
815
+ "hasSecondTab": false,
816
+ "secondTabText": "Send Back",
817
+ "secondTabOffset": 80,
818
+ "secondTabWidth": 65
819
+ },
820
+ "widgets_values": [
821
+ "Transform this picture into an American comic style + Pop Art + cyber neon illustration"
822
+ ],
823
+ "color": "#232",
824
+ "bgcolor": "#353"
825
+ },
826
+ {
827
+ "id": 3,
828
+ "type": "VAEDecode",
829
+ "pos": [
830
+ 1198.5214843642405,
831
+ 372.96554095940763
832
+ ],
833
+ "size": [
834
+ 220,
835
+ 46
836
+ ],
837
+ "flags": {},
838
+ "order": 19,
839
+ "mode": 0,
840
+ "inputs": [
841
+ {
842
+ "name": "samples",
843
+ "type": "LATENT",
844
+ "link": 6
845
+ },
846
+ {
847
+ "name": "vae",
848
+ "type": "VAE",
849
+ "link": 7
850
+ }
851
+ ],
852
+ "outputs": [
853
+ {
854
+ "name": "IMAGE",
855
+ "type": "IMAGE",
856
+ "slot_index": 0,
857
+ "links": [
858
+ 55
859
+ ]
860
+ }
861
+ ],
862
+ "properties": {
863
+ "cnr_id": "comfy-core",
864
+ "ver": "0.8.2",
865
+ "Node name for S&R": "VAEDecode",
866
+ "enableTabs": false,
867
+ "tabWidth": 65,
868
+ "tabXOffset": 10,
869
+ "hasSecondTab": false,
870
+ "secondTabText": "Send Back",
871
+ "secondTabOffset": 80,
872
+ "secondTabWidth": 65
873
+ },
874
+ "widgets_values": []
875
+ },
876
+ {
877
+ "id": 29,
878
+ "type": "FluxKontextImageScale",
879
+ "pos": [
880
+ -556.4962085611216,
881
+ 783.2354158671177
882
+ ],
883
+ "size": [
884
+ 194.9458984375,
885
+ 26
886
+ ],
887
+ "flags": {},
888
+ "order": 10,
889
+ "mode": 0,
890
+ "inputs": [
891
+ {
892
+ "label": "image",
893
+ "name": "image",
894
+ "type": "IMAGE",
895
+ "link": 92
896
+ }
897
+ ],
898
+ "outputs": [
899
+ {
900
+ "label": "IMAGE",
901
+ "name": "IMAGE",
902
+ "type": "IMAGE",
903
+ "links": [
904
+ 63,
905
+ 76
906
+ ]
907
+ }
908
+ ],
909
+ "properties": {
910
+ "cnr_id": "comfy-core",
911
+ "ver": "0.8.2",
912
+ "Node name for S&R": "FluxKontextImageScale",
913
+ "widget_ue_connectable": {}
914
+ },
915
+ "widgets_values": []
916
+ },
917
+ {
918
+ "id": 19,
919
+ "type": "LoadImage",
920
+ "pos": [
921
+ -606.1838895529005,
922
+ 384.93964889708894
923
+ ],
924
+ "size": [
925
+ 270,
926
+ 314.0000000000001
927
+ ],
928
+ "flags": {},
929
+ "order": 6,
930
+ "mode": 0,
931
+ "inputs": [],
932
+ "outputs": [
933
+ {
934
+ "name": "IMAGE",
935
+ "type": "IMAGE",
936
+ "links": [
937
+ 92
938
+ ]
939
+ },
940
+ {
941
+ "name": "MASK",
942
+ "type": "MASK",
943
+ "links": null
944
+ }
945
+ ],
946
+ "properties": {
947
+ "cnr_id": "comfy-core",
948
+ "ver": "0.9.2",
949
+ "Node name for S&R": "LoadImage"
950
+ },
951
+ "widgets_values": [
952
+ "test (9).png",
953
+ "image"
954
+ ]
955
+ },
956
+ {
957
+ "id": 44,
958
+ "type": "LoraLoaderModelOnly",
959
+ "pos": [
960
+ -244.0930063615095,
961
+ 217.10418704356542
962
+ ],
963
+ "size": [
964
+ 270,
965
+ 82
966
+ ],
967
+ "flags": {},
968
+ "order": 9,
969
+ "mode": 0,
970
+ "inputs": [
971
+ {
972
+ "name": "model",
973
+ "type": "MODEL",
974
+ "link": 97
975
+ }
976
+ ],
977
+ "outputs": [
978
+ {
979
+ "name": "MODEL",
980
+ "type": "MODEL",
981
+ "links": [
982
+ 98
983
+ ]
984
+ }
985
+ ],
986
+ "properties": {
987
+ "cnr_id": "comfy-core",
988
+ "ver": "0.9.2",
989
+ "Node name for S&R": "LoraLoaderModelOnly"
990
+ },
991
+ "widgets_values": [
992
+ "train-flux2/flux2_klein_lowres.safetensors",
993
+ 1
994
+ ]
995
+ }
996
+ ],
997
+ "links": [
998
+ [
999
+ 1,
1000
+ 4,
1001
+ 0,
1002
+ 2,
1003
+ 0,
1004
+ "NOISE"
1005
+ ],
1006
+ [
1007
+ 2,
1008
+ 16,
1009
+ 0,
1010
+ 2,
1011
+ 1,
1012
+ "GUIDER"
1013
+ ],
1014
+ [
1015
+ 3,
1016
+ 1,
1017
+ 0,
1018
+ 2,
1019
+ 2,
1020
+ "SAMPLER"
1021
+ ],
1022
+ [
1023
+ 4,
1024
+ 17,
1025
+ 0,
1026
+ 2,
1027
+ 3,
1028
+ "SIGMAS"
1029
+ ],
1030
+ [
1031
+ 5,
1032
+ 8,
1033
+ 0,
1034
+ 2,
1035
+ 4,
1036
+ "LATENT"
1037
+ ],
1038
+ [
1039
+ 6,
1040
+ 2,
1041
+ 0,
1042
+ 3,
1043
+ 0,
1044
+ "LATENT"
1045
+ ],
1046
+ [
1047
+ 7,
1048
+ 6,
1049
+ 0,
1050
+ 3,
1051
+ 1,
1052
+ "VAE"
1053
+ ],
1054
+ [
1055
+ 19,
1056
+ 12,
1057
+ 0,
1058
+ 14,
1059
+ 0,
1060
+ "CLIP"
1061
+ ],
1062
+ [
1063
+ 20,
1064
+ 12,
1065
+ 0,
1066
+ 15,
1067
+ 0,
1068
+ "CLIP"
1069
+ ],
1070
+ [
1071
+ 28,
1072
+ 22,
1073
+ 0,
1074
+ 21,
1075
+ 1,
1076
+ "LATENT"
1077
+ ],
1078
+ [
1079
+ 29,
1080
+ 22,
1081
+ 0,
1082
+ 23,
1083
+ 1,
1084
+ "LATENT"
1085
+ ],
1086
+ [
1087
+ 31,
1088
+ 6,
1089
+ 0,
1090
+ 22,
1091
+ 1,
1092
+ "VAE"
1093
+ ],
1094
+ [
1095
+ 32,
1096
+ 14,
1097
+ 0,
1098
+ 23,
1099
+ 0,
1100
+ "CONDITIONING"
1101
+ ],
1102
+ [
1103
+ 33,
1104
+ 15,
1105
+ 0,
1106
+ 21,
1107
+ 0,
1108
+ "CONDITIONING"
1109
+ ],
1110
+ [
1111
+ 55,
1112
+ 3,
1113
+ 0,
1114
+ 28,
1115
+ 0,
1116
+ "IMAGE"
1117
+ ],
1118
+ [
1119
+ 63,
1120
+ 29,
1121
+ 0,
1122
+ 22,
1123
+ 0,
1124
+ "IMAGE"
1125
+ ],
1126
+ [
1127
+ 72,
1128
+ 31,
1129
+ 0,
1130
+ 17,
1131
+ 0,
1132
+ "INT"
1133
+ ],
1134
+ [
1135
+ 73,
1136
+ 31,
1137
+ 1,
1138
+ 17,
1139
+ 1,
1140
+ "INT"
1141
+ ],
1142
+ [
1143
+ 74,
1144
+ 31,
1145
+ 0,
1146
+ 8,
1147
+ 0,
1148
+ "INT"
1149
+ ],
1150
+ [
1151
+ 75,
1152
+ 31,
1153
+ 1,
1154
+ 8,
1155
+ 1,
1156
+ "INT"
1157
+ ],
1158
+ [
1159
+ 76,
1160
+ 29,
1161
+ 0,
1162
+ 31,
1163
+ 0,
1164
+ "IMAGE"
1165
+ ],
1166
+ [
1167
+ 92,
1168
+ 19,
1169
+ 0,
1170
+ 29,
1171
+ 0,
1172
+ "IMAGE"
1173
+ ],
1174
+ [
1175
+ 95,
1176
+ 23,
1177
+ 0,
1178
+ 16,
1179
+ 1,
1180
+ "CONDITIONING"
1181
+ ],
1182
+ [
1183
+ 96,
1184
+ 21,
1185
+ 0,
1186
+ 16,
1187
+ 2,
1188
+ "CONDITIONING"
1189
+ ],
1190
+ [
1191
+ 97,
1192
+ 5,
1193
+ 0,
1194
+ 44,
1195
+ 0,
1196
+ "MODEL"
1197
+ ],
1198
+ [
1199
+ 98,
1200
+ 44,
1201
+ 0,
1202
+ 16,
1203
+ 0,
1204
+ "MODEL"
1205
+ ]
1206
+ ],
1207
+ "groups": [
1208
+ {
1209
+ "id": 1,
1210
+ "title": "Models",
1211
+ "bounding": [
1212
+ -292.47633665706303,
1213
+ 315.0143393359183,
1214
+ 380,
1215
+ 550
1216
+ ],
1217
+ "color": "#3f789e",
1218
+ "font_size": 24,
1219
+ "flags": {}
1220
+ },
1221
+ {
1222
+ "id": 2,
1223
+ "title": "Prompt",
1224
+ "bounding": [
1225
+ 127.52366334293697,
1226
+ 315.0143393359183,
1227
+ 470,
1228
+ 550
1229
+ ],
1230
+ "color": "#3f789e",
1231
+ "font_size": 24,
1232
+ "flags": {}
1233
+ },
1234
+ {
1235
+ "id": 3,
1236
+ "title": "Sampler",
1237
+ "bounding": [
1238
+ 637.523663342937,
1239
+ 315.0143393359183,
1240
+ 532.3638671875,
1241
+ 550
1242
+ ],
1243
+ "color": "#3f789e",
1244
+ "font_size": 24,
1245
+ "flags": {}
1246
+ }
1247
+ ],
1248
+ "config": {},
1249
+ "extra": {
1250
+ "workflowRendererVersion": "LG",
1251
+ "ue_links": [],
1252
+ "ds": {
1253
+ "scale": 0.8769226950000013,
1254
+ "offset": [
1255
+ 712.3414393140303,
1256
+ 64.92057495682039
1257
+ ]
1258
+ },
1259
+ "frontendVersion": "1.36.14",
1260
+ "VHS_latentpreview": false,
1261
+ "VHS_latentpreviewrate": 0,
1262
+ "VHS_MetadataImage": true,
1263
+ "VHS_KeepIntermediate": true
1264
+ },
1265
+ "version": 0.4
1266
+ }
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - black-forest-labs/FLUX.2-klein-base-9B
7
+ tags:
8
+ - image-generation
9
+ - lora
10
+ - black-forest-labs/FLUX.2-klein-base-9B
11
+ pipeline_tag: image-to-image
12
+ library_name: diffusers
13
+ widget:
14
+ - text: >-
15
+ Transform this picture into an American comic style + Pop Art + cyber neon illustration
16
+ output:
17
+ url: result/result1.png
18
+ - text: >-
19
+ Transform this picture into an American comic style + Pop Art + cyber neon illustration
20
+ output:
21
+ url: result/result2.png
22
+ - text: >-
23
+ Transform this picture into an American comic style + Pop Art + cyber neon illustration
24
+ output:
25
+ url: result/result3.png
26
+
27
+ ---
28
+ # starsfriday FLUX.2-klein LoRA
29
+
30
+ <Gallery />
31
+
32
+ ## Model Card for Model ID
33
+
34
+ <!-- Provide a quick summary of what the model is/does. -->
35
+
36
+ This is a model for High-definition magnification of the picture, trained on ```black-forest-labs/FLUX.2-klein-base-9B```, and it is mainly used for losslessly enlarging images to approximately 2K size.For use in ```ComfyUI```.
37
+
38
+ <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
39
+ <h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2>
40
+ <p>This LoRA works with a modified version of <a href="https://huggingface.co/starsfriday/FLUX.2-klein-AC-Style-LORA/blob/main/FLUX.2-kLEIN.json" style="color: #0366d6; text-decoration: none;">Comfy's black-forest-labs/FLUX.2-klein-base-9B workflow</a>. The main modification is adding a black-forest-labs/FLUX.2-klein-base-9B LoRA node connected to the base model.</p>
41
+ <p>See the Downloads section above for the modified workflow.</p>
42
+ </div>
43
+
44
+
45
+ ## Trigger phrase
46
+
47
+ ```Transform this picture into an American comic style + Pop Art + cyber neon illustration```
48
+
49
+ ## Download model
50
+
51
+ Weights for this model are available in Safetensors format.
52
+
53
+ [Download](https://huggingface.co/starsfriday/FLUX.2-klein-AC-Style-LORA)
54
+
55
+ ## Training at Chongqing Valiant Cat
56
+
57
+ This model was trained by the AI Laboratory of Chongqing Valiant Cat Technology Co., LTD(```https://vvicat.com/```).Business cooperation is welcome
flux2_klein_lowres.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa8ceda459a3052d23ba761e7e201abe670b796c07bda9845798c8b3d7c032f0
3
+ size 165704168
result/result1.png ADDED

Git LFS Details

  • SHA256: b79a187e72e866f6f1ed23b7d725cffcc2488770dc88a5de3ec62a1f68d5e6da
  • Pointer size: 132 Bytes
  • Size of remote file: 3.61 MB
result/result2.png ADDED

Git LFS Details

  • SHA256: dec9934fc4c05f2ec031be7f920fd88bbead4a1e8a67e739c590ad6e10b2edbc
  • Pointer size: 132 Bytes
  • Size of remote file: 3.99 MB
result/result3.png ADDED

Git LFS Details

  • SHA256: a739b07046cf8ace2d7d73412d8a75723f870d9b56687f58c3c751ec7780351e
  • Pointer size: 132 Bytes
  • Size of remote file: 4.33 MB
result/test.jpg ADDED

Git LFS Details

  • SHA256: e4d2a94318f4aabb974d379341cb25662353f2977edcfa4b261e1d99455a2f44
  • Pointer size: 131 Bytes
  • Size of remote file: 542 kB