windsingai commited on
Commit
9c00a17
·
verified ·
1 Parent(s): ac4b882

Upload ComfyUI_0005·.json

Browse files
Files changed (1) hide show
  1. Kontext_pixel_art/ComfyUI_0005·.json +1168 -0
Kontext_pixel_art/ComfyUI_0005·.json ADDED
@@ -0,0 +1,1168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "7cbcec68-7fa6-47bb-a38a-da689949a001",
3
+ "revision": 0,
4
+ "last_node_id": 192,
5
+ "last_link_id": 301,
6
+ "nodes": [
7
+ {
8
+ "id": 6,
9
+ "type": "CLIPTextEncode",
10
+ "pos": [
11
+ -205.26315307617188,
12
+ 1297.631591796875
13
+ ],
14
+ "size": [
15
+ 400,
16
+ 220
17
+ ],
18
+ "flags": {},
19
+ "order": 14,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "label": "CLIP",
24
+ "name": "clip",
25
+ "type": "CLIP",
26
+ "link": 298
27
+ }
28
+ ],
29
+ "outputs": [
30
+ {
31
+ "label": "条件",
32
+ "name": "CONDITIONING",
33
+ "type": "CONDITIONING",
34
+ "slot_index": 0,
35
+ "links": [
36
+ 237,
37
+ 294
38
+ ]
39
+ }
40
+ ],
41
+ "properties": {
42
+ "Node name for S&R": "CLIPTextEncode",
43
+ "cnr_id": "comfy-core",
44
+ "ver": "0.3.38"
45
+ },
46
+ "widgets_values": [
47
+ "Convert the image to ChatGPT 4o style pixel art",
48
+ true
49
+ ],
50
+ "color": "#232",
51
+ "bgcolor": "#353"
52
+ },
53
+ {
54
+ "id": 8,
55
+ "type": "VAEDecode",
56
+ "pos": [
57
+ 530,
58
+ 350
59
+ ],
60
+ "size": [
61
+ 190,
62
+ 46
63
+ ],
64
+ "flags": {
65
+ "collapsed": false
66
+ },
67
+ "order": 22,
68
+ "mode": 0,
69
+ "inputs": [
70
+ {
71
+ "label": "Latent",
72
+ "name": "samples",
73
+ "type": "LATENT",
74
+ "link": 52
75
+ },
76
+ {
77
+ "label": "VAE",
78
+ "name": "vae",
79
+ "type": "VAE",
80
+ "link": 61
81
+ }
82
+ ],
83
+ "outputs": [
84
+ {
85
+ "label": "图像",
86
+ "name": "IMAGE",
87
+ "type": "IMAGE",
88
+ "slot_index": 0,
89
+ "links": [
90
+ 240
91
+ ]
92
+ }
93
+ ],
94
+ "properties": {
95
+ "Node name for S&R": "VAEDecode",
96
+ "cnr_id": "comfy-core",
97
+ "ver": "0.3.38"
98
+ },
99
+ "widgets_values": []
100
+ },
101
+ {
102
+ "id": 31,
103
+ "type": "KSampler",
104
+ "pos": [
105
+ 555.5087890625,
106
+ -76.59654235839844
107
+ ],
108
+ "size": [
109
+ 320,
110
+ 474
111
+ ],
112
+ "flags": {},
113
+ "order": 21,
114
+ "mode": 0,
115
+ "inputs": [
116
+ {
117
+ "label": "模型",
118
+ "name": "model",
119
+ "type": "MODEL",
120
+ "link": 297
121
+ },
122
+ {
123
+ "label": "正面条件",
124
+ "name": "positive",
125
+ "type": "CONDITIONING",
126
+ "link": 57
127
+ },
128
+ {
129
+ "label": "负面条件",
130
+ "name": "negative",
131
+ "type": "CONDITIONING",
132
+ "link": 238
133
+ },
134
+ {
135
+ "label": "Latent",
136
+ "name": "latent_image",
137
+ "type": "LATENT",
138
+ "link": 291
139
+ }
140
+ ],
141
+ "outputs": [
142
+ {
143
+ "label": "Latent",
144
+ "name": "LATENT",
145
+ "type": "LATENT",
146
+ "slot_index": 0,
147
+ "links": [
148
+ 52
149
+ ]
150
+ }
151
+ ],
152
+ "properties": {
153
+ "Node name for S&R": "KSampler",
154
+ "cnr_id": "comfy-core",
155
+ "ver": "0.3.38"
156
+ },
157
+ "widgets_values": [
158
+ 1012209069576190,
159
+ "randomize",
160
+ 20,
161
+ 1,
162
+ "euler",
163
+ "simple",
164
+ 1
165
+ ]
166
+ },
167
+ {
168
+ "id": 35,
169
+ "type": "FluxGuidance",
170
+ "pos": [
171
+ 250,
172
+ 90
173
+ ],
174
+ "size": [
175
+ 240,
176
+ 58
177
+ ],
178
+ "flags": {
179
+ "collapsed": false
180
+ },
181
+ "order": 20,
182
+ "mode": 0,
183
+ "inputs": [
184
+ {
185
+ "label": "条件",
186
+ "name": "conditioning",
187
+ "type": "CONDITIONING",
188
+ "link": 292
189
+ }
190
+ ],
191
+ "outputs": [
192
+ {
193
+ "label": "条件",
194
+ "name": "CONDITIONING",
195
+ "type": "CONDITIONING",
196
+ "slot_index": 0,
197
+ "links": [
198
+ 57
199
+ ]
200
+ }
201
+ ],
202
+ "properties": {
203
+ "Node name for S&R": "FluxGuidance",
204
+ "cnr_id": "comfy-core",
205
+ "ver": "0.3.38"
206
+ },
207
+ "widgets_values": [
208
+ 2.5
209
+ ]
210
+ },
211
+ {
212
+ "id": 37,
213
+ "type": "UNETLoader",
214
+ "pos": [
215
+ -400,
216
+ 80
217
+ ],
218
+ "size": [
219
+ 337.76861572265625,
220
+ 82
221
+ ],
222
+ "flags": {},
223
+ "order": 0,
224
+ "mode": 0,
225
+ "inputs": [],
226
+ "outputs": [
227
+ {
228
+ "label": "模型",
229
+ "name": "MODEL",
230
+ "type": "MODEL",
231
+ "links": [
232
+ 295
233
+ ]
234
+ }
235
+ ],
236
+ "properties": {
237
+ "Node name for S&R": "UNETLoader",
238
+ "cnr_id": "comfy-core",
239
+ "ver": "0.3.38",
240
+ "models": [
241
+ {
242
+ "name": "flux1-dev-kontext_fp8_scaled.safetensors",
243
+ "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
244
+ "directory": "diffusion_models"
245
+ }
246
+ ]
247
+ },
248
+ "widgets_values": [
249
+ "flux1-dev-kontext_fp8_scaled.safetensors",
250
+ "default"
251
+ ],
252
+ "color": "#322",
253
+ "bgcolor": "#533"
254
+ },
255
+ {
256
+ "id": 38,
257
+ "type": "DualCLIPLoader",
258
+ "pos": [
259
+ -400,
260
+ 210
261
+ ],
262
+ "size": [
263
+ 337.76861572265625,
264
+ 130
265
+ ],
266
+ "flags": {},
267
+ "order": 1,
268
+ "mode": 0,
269
+ "inputs": [],
270
+ "outputs": [
271
+ {
272
+ "label": "CLIP",
273
+ "name": "CLIP",
274
+ "type": "CLIP",
275
+ "links": [
276
+ 296
277
+ ]
278
+ }
279
+ ],
280
+ "properties": {
281
+ "Node name for S&R": "DualCLIPLoader",
282
+ "cnr_id": "comfy-core",
283
+ "ver": "0.3.38",
284
+ "models": [
285
+ {
286
+ "name": "clip_l.safetensors",
287
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
288
+ "directory": "text_encoders"
289
+ },
290
+ {
291
+ "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
292
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
293
+ "directory": "text_encoders"
294
+ }
295
+ ]
296
+ },
297
+ "widgets_values": [
298
+ "clip_l.safetensors",
299
+ "t5xxl_fp8_e4m3fn.safetensors",
300
+ "flux",
301
+ "default"
302
+ ],
303
+ "color": "#322",
304
+ "bgcolor": "#533"
305
+ },
306
+ {
307
+ "id": 39,
308
+ "type": "VAELoader",
309
+ "pos": [
310
+ -400,
311
+ 390
312
+ ],
313
+ "size": [
314
+ 337.76861572265625,
315
+ 58
316
+ ],
317
+ "flags": {},
318
+ "order": 2,
319
+ "mode": 0,
320
+ "inputs": [],
321
+ "outputs": [
322
+ {
323
+ "name": "VAE",
324
+ "type": "VAE",
325
+ "links": [
326
+ 61,
327
+ 223
328
+ ]
329
+ }
330
+ ],
331
+ "properties": {
332
+ "Node name for S&R": "VAELoader",
333
+ "cnr_id": "comfy-core",
334
+ "ver": "0.3.38",
335
+ "models": [
336
+ {
337
+ "name": "ae.safetensors",
338
+ "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
339
+ "directory": "vae"
340
+ }
341
+ ]
342
+ },
343
+ "widgets_values": [
344
+ "ae.safetensors"
345
+ ],
346
+ "color": "#322",
347
+ "bgcolor": "#533"
348
+ },
349
+ {
350
+ "id": 42,
351
+ "type": "FluxKontextImageScale",
352
+ "pos": [
353
+ -50,
354
+ 570
355
+ ],
356
+ "size": [
357
+ 270,
358
+ 30
359
+ ],
360
+ "flags": {
361
+ "collapsed": false
362
+ },
363
+ "order": 15,
364
+ "mode": 0,
365
+ "inputs": [
366
+ {
367
+ "label": "image",
368
+ "name": "image",
369
+ "type": "IMAGE",
370
+ "link": 251
371
+ }
372
+ ],
373
+ "outputs": [
374
+ {
375
+ "label": "IMAGE",
376
+ "name": "IMAGE",
377
+ "type": "IMAGE",
378
+ "links": [
379
+ 222,
380
+ 289
381
+ ]
382
+ }
383
+ ],
384
+ "properties": {
385
+ "Node name for S&R": "FluxKontextImageScale",
386
+ "cnr_id": "comfy-core",
387
+ "ver": "0.3.38"
388
+ },
389
+ "widgets_values": []
390
+ },
391
+ {
392
+ "id": 124,
393
+ "type": "VAEEncode",
394
+ "pos": [
395
+ -20,
396
+ 400
397
+ ],
398
+ "size": [
399
+ 240,
400
+ 50
401
+ ],
402
+ "flags": {
403
+ "collapsed": false
404
+ },
405
+ "order": 17,
406
+ "mode": 0,
407
+ "inputs": [
408
+ {
409
+ "label": "图像",
410
+ "name": "pixels",
411
+ "type": "IMAGE",
412
+ "link": 222
413
+ },
414
+ {
415
+ "label": "VAE",
416
+ "name": "vae",
417
+ "type": "VAE",
418
+ "link": 223
419
+ }
420
+ ],
421
+ "outputs": [
422
+ {
423
+ "label": "Latent",
424
+ "name": "LATENT",
425
+ "type": "LATENT",
426
+ "links": [
427
+ 291,
428
+ 293
429
+ ]
430
+ }
431
+ ],
432
+ "properties": {
433
+ "Node name for S&R": "VAEEncode",
434
+ "cnr_id": "comfy-core",
435
+ "ver": "0.3.39"
436
+ },
437
+ "widgets_values": []
438
+ },
439
+ {
440
+ "id": 135,
441
+ "type": "ConditioningZeroOut",
442
+ "pos": [
443
+ 250,
444
+ 200
445
+ ],
446
+ "size": [
447
+ 240,
448
+ 26
449
+ ],
450
+ "flags": {
451
+ "collapsed": false
452
+ },
453
+ "order": 16,
454
+ "mode": 0,
455
+ "inputs": [
456
+ {
457
+ "label": "条件",
458
+ "name": "conditioning",
459
+ "type": "CONDITIONING",
460
+ "link": 237
461
+ }
462
+ ],
463
+ "outputs": [
464
+ {
465
+ "label": "条件",
466
+ "name": "CONDITIONING",
467
+ "type": "CONDITIONING",
468
+ "links": [
469
+ 238
470
+ ]
471
+ }
472
+ ],
473
+ "properties": {
474
+ "Node name for S&R": "ConditioningZeroOut",
475
+ "cnr_id": "comfy-core",
476
+ "ver": "0.3.39"
477
+ },
478
+ "widgets_values": []
479
+ },
480
+ {
481
+ "id": 136,
482
+ "type": "SaveImage",
483
+ "pos": [
484
+ 780,
485
+ 850
486
+ ],
487
+ "size": [
488
+ 650,
489
+ 660
490
+ ],
491
+ "flags": {},
492
+ "order": 23,
493
+ "mode": 0,
494
+ "inputs": [
495
+ {
496
+ "label": "图像",
497
+ "name": "images",
498
+ "type": "IMAGE",
499
+ "link": 240
500
+ }
501
+ ],
502
+ "outputs": [],
503
+ "properties": {
504
+ "Node name for S&R": "SaveImage",
505
+ "cnr_id": "comfy-core",
506
+ "ver": "0.3.39"
507
+ },
508
+ "widgets_values": [
509
+ "ComfyUI",
510
+ ""
511
+ ]
512
+ },
513
+ {
514
+ "id": 146,
515
+ "type": "ImageStitch",
516
+ "pos": [
517
+ -390,
518
+ 570
519
+ ],
520
+ "size": [
521
+ 270,
522
+ 150
523
+ ],
524
+ "flags": {},
525
+ "order": 13,
526
+ "mode": 0,
527
+ "inputs": [
528
+ {
529
+ "label": "image1",
530
+ "name": "image1",
531
+ "type": "IMAGE",
532
+ "link": 299
533
+ },
534
+ {
535
+ "label": "image2",
536
+ "name": "image2",
537
+ "shape": 7,
538
+ "type": "IMAGE",
539
+ "link": null
540
+ }
541
+ ],
542
+ "outputs": [
543
+ {
544
+ "label": "IMAGE",
545
+ "name": "IMAGE",
546
+ "type": "IMAGE",
547
+ "links": [
548
+ 251
549
+ ]
550
+ }
551
+ ],
552
+ "properties": {
553
+ "Node name for S&R": "ImageStitch",
554
+ "cnr_id": "comfy-core",
555
+ "ver": "0.3.40"
556
+ },
557
+ "widgets_values": [
558
+ "right",
559
+ true,
560
+ 0,
561
+ "white"
562
+ ]
563
+ },
564
+ {
565
+ "id": 173,
566
+ "type": "PreviewImage",
567
+ "pos": [
568
+ 300,
569
+ 850
570
+ ],
571
+ "size": [
572
+ 460,
573
+ 640
574
+ ],
575
+ "flags": {},
576
+ "order": 18,
577
+ "mode": 0,
578
+ "inputs": [
579
+ {
580
+ "label": "图像",
581
+ "name": "images",
582
+ "type": "IMAGE",
583
+ "link": 289
584
+ }
585
+ ],
586
+ "outputs": [],
587
+ "properties": {
588
+ "Node name for S&R": "PreviewImage",
589
+ "cnr_id": "comfy-core",
590
+ "ver": "0.3.40"
591
+ },
592
+ "widgets_values": [
593
+ ""
594
+ ]
595
+ },
596
+ {
597
+ "id": 175,
598
+ "type": "MarkdownNote",
599
+ "pos": [
600
+ -50,
601
+ 640
602
+ ],
603
+ "size": [
604
+ 320,
605
+ 88
606
+ ],
607
+ "flags": {},
608
+ "order": 3,
609
+ "mode": 0,
610
+ "inputs": [],
611
+ "outputs": [],
612
+ "title": "About Flux Kontext Edit",
613
+ "properties": {},
614
+ "widgets_values": [
615
+ "[English] Use Ctrl + B to enable multipule image input.\n\n[中文] 使用 **Ctrl + B** 来启用多张图片输入"
616
+ ],
617
+ "color": "#432",
618
+ "bgcolor": "#653"
619
+ },
620
+ {
621
+ "id": 177,
622
+ "type": "ReferenceLatent",
623
+ "pos": [
624
+ 10,
625
+ 140
626
+ ],
627
+ "size": [
628
+ 211.60000610351562,
629
+ 46
630
+ ],
631
+ "flags": {},
632
+ "order": 19,
633
+ "mode": 0,
634
+ "inputs": [
635
+ {
636
+ "label": "conditioning",
637
+ "name": "conditioning",
638
+ "type": "CONDITIONING",
639
+ "link": 294
640
+ },
641
+ {
642
+ "label": "latent",
643
+ "name": "latent",
644
+ "shape": 7,
645
+ "type": "LATENT",
646
+ "link": 293
647
+ }
648
+ ],
649
+ "outputs": [
650
+ {
651
+ "label": "CONDITIONING",
652
+ "name": "CONDITIONING",
653
+ "type": "CONDITIONING",
654
+ "links": [
655
+ 292
656
+ ]
657
+ }
658
+ ],
659
+ "properties": {
660
+ "Node name for S&R": "ReferenceLatent",
661
+ "cnr_id": "comfy-core",
662
+ "ver": "0.3.41"
663
+ },
664
+ "widgets_values": []
665
+ },
666
+ {
667
+ "id": 178,
668
+ "type": "MarkdownNote",
669
+ "pos": [
670
+ -30,
671
+ -150
672
+ ],
673
+ "size": [
674
+ 540,
675
+ 150
676
+ ],
677
+ "flags": {},
678
+ "order": 4,
679
+ "mode": 0,
680
+ "inputs": [],
681
+ "outputs": [],
682
+ "title": "About multiple images reference",
683
+ "properties": {},
684
+ "widgets_values": [
685
+ "[English] In addition to using **Image Stitch** to combine two images at a time, you can also encode individual images, then concatenate multiple latent conditions using the **ReferenceLatent** node, thus achieving the purpose of referencing multiple images. You can use the **EmptySD3LatentImage** node on the right to connect to **KSamper** and customize the size of the **latent_image**.\n\n[中文] 除了使用 **Image Stitch** 将两个两个图像拼合之外,你同样可以将单独的图像 encode 之后,将多个 latent 条件使用 **ReferenceLatent** 节点串联,从而实现多张图像参考的目的。可以使用右边的 **EmptySD3LatentImage** 节点连接到 **KSamper**来自定义 **latent_image** 的尺寸"
686
+ ],
687
+ "color": "#432",
688
+ "bgcolor": "#653"
689
+ },
690
+ {
691
+ "id": 180,
692
+ "type": "MarkdownNote",
693
+ "pos": [
694
+ -1430,
695
+ 40
696
+ ],
697
+ "size": [
698
+ 450,
699
+ 450
700
+ ],
701
+ "flags": {},
702
+ "order": 5,
703
+ "mode": 0,
704
+ "inputs": [],
705
+ "outputs": [],
706
+ "title": "✨ New ComfyUI feature for Flux.1 Kontext Dev",
707
+ "properties": {},
708
+ "widgets_values": [
709
+ "[English]\nWe have added an **Edit** button to the **Selection Toolbox** of the node for **FLUX.1 Kontext Image Edit** support. When clicked, it quickly adds a **FLUX.1 Kontext Image Edit** group node to the Latent output of your current workflow. This enables an interactive editing experience where you can:\n\n- Create multiple editing iterations, each preserved as a separate node\n- Easily branch off from any previous edit point to explore different creative directions\n- Return to any earlier version and start a new editing branch\n- Modify parameters in earlier nodes and automatically update all downstream edits\n- Execute or re-execute any branch of edits at any time\n- When you want to maintain the effect of the corresponding branch, please set the seed of the corresponding group node to fixed.\n\n\nThis workflow mirrors the iterative nature of LLM conversations, but with the added advantage of visual editing and the ability to maintain multiple parallel editing paths.\n\n---\n\n[中文]\n我们为 **FLUX.1 Kontext Image Edit** 的相关支持在节点的**选择工具箱**上新增了一个**编辑**按钮。点击后,系统会在当前工作流的 Latent 输出上快速添加一个 **FLUX.1 Kontext Image Edit** 的组节点。这种设计带来了灵活的交互式编辑体验:\n\n- 创建多个编辑迭代,每次编辑都会保存为独立节点\n- 可以从任何之前的编辑点分支出新的创作方向\n- 随时返回到早期版本并开始新的编辑分支\n- 修改早期节点的参数,自动更新所有下游编辑\n- 可以随时执行或重新执行任何编辑分支\n- 想要固定对应分支效果时,请将对应的 seed 设置为 fixed\n\n这种工作流程类似于 LLM 对话的迭代特性,但增加了视觉编辑的优势,并能够维护多个并行的编辑路径。"
710
+ ],
711
+ "color": "#322",
712
+ "bgcolor": "#533"
713
+ },
714
+ {
715
+ "id": 184,
716
+ "type": "MarkdownNote",
717
+ "pos": [
718
+ -960,
719
+ 40
720
+ ],
721
+ "size": [
722
+ 510,
723
+ 400
724
+ ],
725
+ "flags": {},
726
+ "order": 6,
727
+ "mode": 0,
728
+ "inputs": [],
729
+ "outputs": [],
730
+ "title": "Model links",
731
+ "properties": {},
732
+ "widgets_values": [
733
+ "[tutorial](http://docs.comfy.org/tutorials/flux/flux-1-kontext-dev) | [教程](http://docs.comfy.org/zh-CN/tutorials/flux/flux-1-kontext-dev)\n\n**diffusion model**\n\n- [flux1-dev-kontext_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/blob/main/split_files/vae/ae.safetensors)\n\n**text encoder**\n\n- [clip_l.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/blob/main/clip_l.safetensors)\n- [t5xxl_fp16.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp16.safetensors) or [t5xxl_fp8_e4m3fn_scaled.safetensors](https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors)\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── flux1-dev-kontext_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── ae.safetensor\n│ └── 📂 text_encoders/\n│ ├── clip_l.safetensors\n│ └── t5xxl_fp16.safetensors 或者 t5xxl_fp8_e4m3fn_scaled.safetensors\n```\n"
734
+ ],
735
+ "color": "#432",
736
+ "bgcolor": "#653"
737
+ },
738
+ {
739
+ "id": 185,
740
+ "type": "MarkdownNote",
741
+ "pos": [
742
+ -960,
743
+ 490
744
+ ],
745
+ "size": [
746
+ 510,
747
+ 170
748
+ ],
749
+ "flags": {},
750
+ "order": 7,
751
+ "mode": 0,
752
+ "inputs": [],
753
+ "outputs": [],
754
+ "title": "About VRAM",
755
+ "properties": {},
756
+ "widgets_values": [
757
+ "For reference:\n- **fp8_scaled**: Requires about 20GB of VRAM.\n- **Original**: Requires about 32GB of VRAM.\n\n---\n\n供参考:\n- **fp8_scaled** : 大概需要 20GB 左右 VRAM \n- **原始权重**: 原始权重,大概需要 32GB 左右 VRAM \n"
758
+ ],
759
+ "color": "#432",
760
+ "bgcolor": "#653"
761
+ },
762
+ {
763
+ "id": 186,
764
+ "type": "MarkdownNote",
765
+ "pos": [
766
+ -960,
767
+ 710
768
+ ],
769
+ "size": [
770
+ 510,
771
+ 170
772
+ ],
773
+ "flags": {},
774
+ "order": 8,
775
+ "mode": 0,
776
+ "inputs": [],
777
+ "outputs": [],
778
+ "title": "Flux Kontext Prompt Techniques",
779
+ "properties": {},
780
+ "widgets_values": [
781
+ "\n## Flux Kontext Prompt Techniques\n\n### 1. Basic Modifications\n- Simple and direct: `\"Change the car color to red\"`\n- Maintain style: `\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. Style Transfer\n**Principles:**\n- Clearly name style: `\"Transform to Bauhaus art style\"`\n- Describe characteristics: `\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- Preserve composition: `\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. Character Consistency\n**Framework:**\n- Specific description: `\"The woman with short black hair\"` instead of \"she\"\n- Preserve features: `\"while maintaining the same facial features, hairstyle, and expression\"`\n- Step-by-step modifications: Change background first, then actions\n\n### 4. Text Editing\n- Use quotes: `\"Replace 'joy' with 'BFL'\"`\n- Maintain format: `\"Replace text while maintaining the same font style\"`\n\n## Common Problem Solutions\n\n### Character Changes Too Much\n❌ Wrong: `\"Transform the person into a Viking\"`\n✅ Correct: `\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### Composition Position Changes\n❌ Wrong: `\"Put him on a beach\"`\n✅ Correct: `\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### Style Application Inaccuracy\n❌ Wrong: `\"Make it a sketch\"`\n✅ Correct: `\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## Core Principles\n\n1. **Be Specific and Clear** - Use precise descriptions, avoid vague terms\n2. **Step-by-step Editing** - Break complex modifications into multiple simple steps\n3. **Explicit Preservation** - State what should remain unchanged\n4. **Verb Selection** - Use \"change\", \"replace\" rather than \"transform\"\n\n## Best Practice Templates\n\n**Object Modification:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**Style Transfer:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**Background Replacement:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**Text Editing:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **Remember:** The more specific, the better. Kontext excels at understanding detailed instructions and maintaining consistency. "
782
+ ],
783
+ "color": "#432",
784
+ "bgcolor": "#653"
785
+ },
786
+ {
787
+ "id": 187,
788
+ "type": "MarkdownNote",
789
+ "pos": [
790
+ -960,
791
+ 930
792
+ ],
793
+ "size": [
794
+ 510,
795
+ 180
796
+ ],
797
+ "flags": {},
798
+ "order": 9,
799
+ "mode": 0,
800
+ "inputs": [],
801
+ "outputs": [],
802
+ "title": "Flux Kontext 提示词技巧",
803
+ "properties": {},
804
+ "widgets_values": [
805
+ "\n## Flux Kontext 提示词技巧\n\n使用英文\n\n### 1. 基础修改\n- 简单直接:`\"Change the car color to red\"`\n- 保持风格:`\"Change to daytime while maintaining the same style of the painting\"`\n\n### 2. 风格转换\n**原则:**\n- 明确命名风格:`\"Transform to Bauhaus art style\"`\n- 描述特征:`\"Transform to oil painting with visible brushstrokes, thick paint texture\"`\n- 保留构图:`\"Change to Bauhaus style while maintaining the original composition\"`\n\n### 3. 角色一致性\n**框架:**\n- 具体描述:`\"The woman with short black hair\"`而非`\"她\"`\n- 保留特征:`\"while maintaining the same facial features, hairstyle, and expression\"`\n- 分步修改:先改背景,再改动作\n\n### 4. 文本编辑\n- 使用引号:`\"Replace 'joy' with 'BFL'\"`\n- 保持格式:`\"Replace text while maintaining the same font style\"`\n\n## 常见问题解决\n\n### 角色变化过大\n❌ 错误:`\"Transform the person into a Viking\"`\n✅ 正确:`\"Change the clothes to be a viking warrior while preserving facial features\"`\n\n### 构图位置改变\n❌ 错误:`\"Put him on a beach\"`\n✅ 正确:`\"Change the background to a beach while keeping the person in the exact same position, scale, and pose\"`\n\n### 风格应用不准确\n❌ 错误:`\"Make it a sketch\"`\n✅ 正确:`\"Convert to pencil sketch with natural graphite lines, cross-hatching, and visible paper texture\"`\n\n## 核心原则\n\n1. **具体明确** - 使用精确描述,避免模糊词汇\n2. **分步编辑** - 复杂修改分为多个简单步骤\n3. **明确保留** - 说明哪些要保持不变\n4. **动词选择** - 用\"更改\"、\"替换\"而非\"转换\"\n\n## 最佳实践模板\n\n**对象修改:**\n`\"Change [object] to [new state], keep [content to preserve] unchanged\"`\n\n**风格转换:**\n`\"Transform to [specific style], while maintaining [composition/character/other] unchanged\"`\n\n**背景替换:**\n`\"Change the background to [new background], keep the subject in the exact same position and pose\"`\n\n**文本编辑:**\n`\"Replace '[original text]' with '[new text]', maintain the same font style\"`\n\n> **记住:** 越具体越好,Kontext 擅长理解详细指令并保持一致性。"
806
+ ],
807
+ "color": "#432",
808
+ "bgcolor": "#653"
809
+ },
810
+ {
811
+ "id": 188,
812
+ "type": "EmptySD3LatentImage",
813
+ "pos": [
814
+ 530,
815
+ -140
816
+ ],
817
+ "size": [
818
+ 310,
819
+ 106
820
+ ],
821
+ "flags": {},
822
+ "order": 10,
823
+ "mode": 4,
824
+ "inputs": [],
825
+ "outputs": [
826
+ {
827
+ "label": "Latent",
828
+ "name": "LATENT",
829
+ "type": "LATENT",
830
+ "links": null
831
+ }
832
+ ],
833
+ "properties": {
834
+ "Node name for S&R": "EmptySD3LatentImage",
835
+ "cnr_id": "comfy-core",
836
+ "ver": "0.3.41"
837
+ },
838
+ "widgets_values": [
839
+ 1024,
840
+ 1024,
841
+ 1
842
+ ]
843
+ },
844
+ {
845
+ "id": 189,
846
+ "type": "LoraLoader",
847
+ "pos": [
848
+ -42.47368621826172,
849
+ 929.9476928710938
850
+ ],
851
+ "size": [
852
+ 270,
853
+ 126
854
+ ],
855
+ "flags": {},
856
+ "order": 12,
857
+ "mode": 0,
858
+ "inputs": [
859
+ {
860
+ "label": "模型",
861
+ "name": "model",
862
+ "type": "MODEL",
863
+ "link": 295
864
+ },
865
+ {
866
+ "label": "CLIP",
867
+ "name": "clip",
868
+ "type": "CLIP",
869
+ "link": 296
870
+ }
871
+ ],
872
+ "outputs": [
873
+ {
874
+ "label": "模型",
875
+ "name": "MODEL",
876
+ "type": "MODEL",
877
+ "links": [
878
+ 297
879
+ ]
880
+ },
881
+ {
882
+ "label": "CLIP",
883
+ "name": "CLIP",
884
+ "type": "CLIP",
885
+ "links": [
886
+ 298
887
+ ]
888
+ }
889
+ ],
890
+ "properties": {
891
+ "Node name for S&R": "LoraLoader",
892
+ "cnr_id": "comfy-core",
893
+ "ver": "0.3.42"
894
+ },
895
+ "widgets_values": [
896
+ "Kontext_pixel_art.safetensors",
897
+ 1.0000000000000002,
898
+ 1
899
+ ]
900
+ },
901
+ {
902
+ "id": 190,
903
+ "type": "LoadImage",
904
+ "pos": [
905
+ -448.37103271484375,
906
+ 850.861572265625
907
+ ],
908
+ "size": [
909
+ 315,
910
+ 314
911
+ ],
912
+ "flags": {},
913
+ "order": 11,
914
+ "mode": 0,
915
+ "inputs": [],
916
+ "outputs": [
917
+ {
918
+ "label": "图像",
919
+ "name": "IMAGE",
920
+ "type": "IMAGE",
921
+ "links": [
922
+ 299
923
+ ]
924
+ },
925
+ {
926
+ "label": "遮罩",
927
+ "name": "MASK",
928
+ "type": "MASK",
929
+ "links": null
930
+ }
931
+ ],
932
+ "properties": {
933
+ "Node name for S&R": "LoadImage"
934
+ },
935
+ "widgets_values": [
936
+ "danbooru_9565133.png",
937
+ "image",
938
+ ""
939
+ ]
940
+ }
941
+ ],
942
+ "links": [
943
+ [
944
+ 52,
945
+ 31,
946
+ 0,
947
+ 8,
948
+ 0,
949
+ "LATENT"
950
+ ],
951
+ [
952
+ 57,
953
+ 35,
954
+ 0,
955
+ 31,
956
+ 1,
957
+ "CONDITIONING"
958
+ ],
959
+ [
960
+ 61,
961
+ 39,
962
+ 0,
963
+ 8,
964
+ 1,
965
+ "VAE"
966
+ ],
967
+ [
968
+ 222,
969
+ 42,
970
+ 0,
971
+ 124,
972
+ 0,
973
+ "IMAGE"
974
+ ],
975
+ [
976
+ 223,
977
+ 39,
978
+ 0,
979
+ 124,
980
+ 1,
981
+ "VAE"
982
+ ],
983
+ [
984
+ 237,
985
+ 6,
986
+ 0,
987
+ 135,
988
+ 0,
989
+ "CONDITIONING"
990
+ ],
991
+ [
992
+ 238,
993
+ 135,
994
+ 0,
995
+ 31,
996
+ 2,
997
+ "CONDITIONING"
998
+ ],
999
+ [
1000
+ 240,
1001
+ 8,
1002
+ 0,
1003
+ 136,
1004
+ 0,
1005
+ "IMAGE"
1006
+ ],
1007
+ [
1008
+ 251,
1009
+ 146,
1010
+ 0,
1011
+ 42,
1012
+ 0,
1013
+ "IMAGE"
1014
+ ],
1015
+ [
1016
+ 289,
1017
+ 42,
1018
+ 0,
1019
+ 173,
1020
+ 0,
1021
+ "IMAGE"
1022
+ ],
1023
+ [
1024
+ 291,
1025
+ 124,
1026
+ 0,
1027
+ 31,
1028
+ 3,
1029
+ "LATENT"
1030
+ ],
1031
+ [
1032
+ 292,
1033
+ 177,
1034
+ 0,
1035
+ 35,
1036
+ 0,
1037
+ "CONDITIONING"
1038
+ ],
1039
+ [
1040
+ 293,
1041
+ 124,
1042
+ 0,
1043
+ 177,
1044
+ 1,
1045
+ "LATENT"
1046
+ ],
1047
+ [
1048
+ 294,
1049
+ 6,
1050
+ 0,
1051
+ 177,
1052
+ 0,
1053
+ "CONDITIONING"
1054
+ ],
1055
+ [
1056
+ 295,
1057
+ 37,
1058
+ 0,
1059
+ 189,
1060
+ 0,
1061
+ "MODEL"
1062
+ ],
1063
+ [
1064
+ 296,
1065
+ 38,
1066
+ 0,
1067
+ 189,
1068
+ 1,
1069
+ "CLIP"
1070
+ ],
1071
+ [
1072
+ 297,
1073
+ 189,
1074
+ 0,
1075
+ 31,
1076
+ 0,
1077
+ "MODEL"
1078
+ ],
1079
+ [
1080
+ 298,
1081
+ 189,
1082
+ 1,
1083
+ 6,
1084
+ 0,
1085
+ "CLIP"
1086
+ ],
1087
+ [
1088
+ 299,
1089
+ 190,
1090
+ 0,
1091
+ 146,
1092
+ 0,
1093
+ "IMAGE"
1094
+ ]
1095
+ ],
1096
+ "groups": [
1097
+ {
1098
+ "id": 1,
1099
+ "title": "Step 1- Load models",
1100
+ "bounding": [
1101
+ -410,
1102
+ 10,
1103
+ 360,
1104
+ 450
1105
+ ],
1106
+ "color": "#3f789e",
1107
+ "font_size": 24,
1108
+ "flags": {}
1109
+ },
1110
+ {
1111
+ "id": 3,
1112
+ "title": "Step 2 - Upload images",
1113
+ "bounding": [
1114
+ -410,
1115
+ 480,
1116
+ 700,
1117
+ 680
1118
+ ],
1119
+ "color": "#3f789e",
1120
+ "font_size": 24,
1121
+ "flags": {}
1122
+ },
1123
+ {
1124
+ "id": 5,
1125
+ "title": "Step 3 - Prompt",
1126
+ "bounding": [
1127
+ 310,
1128
+ 480,
1129
+ 430,
1130
+ 330
1131
+ ],
1132
+ "color": "#3f789e",
1133
+ "font_size": 24,
1134
+ "flags": {}
1135
+ },
1136
+ {
1137
+ "id": 6,
1138
+ "title": "Conditioning",
1139
+ "bounding": [
1140
+ -30,
1141
+ 10,
1142
+ 540,
1143
+ 250
1144
+ ],
1145
+ "color": "#3f789e",
1146
+ "font_size": 24,
1147
+ "flags": {}
1148
+ }
1149
+ ],
1150
+ "config": {},
1151
+ "extra": {
1152
+ "ds": {
1153
+ "scale": 0.7972024500000024,
1154
+ "offset": [
1155
+ 905.289080681635,
1156
+ -531.7754489765379
1157
+ ]
1158
+ },
1159
+ "frontendVersion": "1.23.4",
1160
+ "groupNodes": {},
1161
+ "VHS_latentpreview": false,
1162
+ "VHS_latentpreviewrate": 0,
1163
+ "VHS_MetadataImage": true,
1164
+ "VHS_KeepIntermediate": true,
1165
+ "ue_links": []
1166
+ },
1167
+ "version": 0.4
1168
+ }