rzgar commited on
Commit
2d4e6dd
·
verified ·
1 Parent(s): f67fec7

Kontext Workflow

Browse files
Files changed (1) hide show
  1. flux_kontext_noobify_workflow.json +1207 -0
flux_kontext_noobify_workflow.json ADDED
@@ -0,0 +1,1207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "7cbcec68-7fa6-47bb-a38a-da689949a001",
3
+ "revision": 0,
4
+ "last_node_id": 193,
5
+ "last_link_id": 306,
6
+ "nodes": [
7
+ {
8
+ "id": 42,
9
+ "type": "FluxKontextImageScale",
10
+ "pos": [
11
+ 48.03105163574219,
12
+ 508.45477294921875
13
+ ],
14
+ "size": [
15
+ 270,
16
+ 30
17
+ ],
18
+ "flags": {
19
+ "collapsed": false
20
+ },
21
+ "order": 13,
22
+ "mode": 0,
23
+ "inputs": [
24
+ {
25
+ "name": "image",
26
+ "type": "IMAGE",
27
+ "link": 251
28
+ }
29
+ ],
30
+ "outputs": [
31
+ {
32
+ "name": "IMAGE",
33
+ "type": "IMAGE",
34
+ "links": [
35
+ 222,
36
+ 289
37
+ ]
38
+ }
39
+ ],
40
+ "properties": {
41
+ "cnr_id": "comfy-core",
42
+ "ver": "0.3.38",
43
+ "Node name for S&R": "FluxKontextImageScale",
44
+ "widget_ue_connectable": {}
45
+ },
46
+ "widgets_values": []
47
+ },
48
+ {
49
+ "id": 185,
50
+ "type": "MarkdownNote",
51
+ "pos": [
52
+ -1538.1163330078125,
53
+ 537.2955932617188
54
+ ],
55
+ "size": [
56
+ 510,
57
+ 170
58
+ ],
59
+ "flags": {},
60
+ "order": 0,
61
+ "mode": 0,
62
+ "inputs": [],
63
+ "outputs": [],
64
+ "title": "About VRAM",
65
+ "properties": {
66
+ "widget_ue_connectable": {}
67
+ },
68
+ "widgets_values": [
69
+ "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"
70
+ ],
71
+ "color": "#432",
72
+ "bgcolor": "#653"
73
+ },
74
+ {
75
+ "id": 175,
76
+ "type": "MarkdownNote",
77
+ "pos": [
78
+ 48.03105163574219,
79
+ 578.4547729492188
80
+ ],
81
+ "size": [
82
+ 320,
83
+ 88
84
+ ],
85
+ "flags": {},
86
+ "order": 1,
87
+ "mode": 0,
88
+ "inputs": [],
89
+ "outputs": [],
90
+ "title": "How to enable multiple image input",
91
+ "properties": {
92
+ "widget_ue_connectable": {}
93
+ },
94
+ "widgets_values": [
95
+ "Click on the **Load image (from output)** node and use **Ctrl + B** to enable multiple image input support."
96
+ ],
97
+ "color": "#432",
98
+ "bgcolor": "#653"
99
+ },
100
+ {
101
+ "id": 37,
102
+ "type": "UNETLoader",
103
+ "pos": [
104
+ -692.51904296875,
105
+ 101.7772216796875
106
+ ],
107
+ "size": [
108
+ 337.76861572265625,
109
+ 82
110
+ ],
111
+ "flags": {},
112
+ "order": 2,
113
+ "mode": 0,
114
+ "inputs": [],
115
+ "outputs": [
116
+ {
117
+ "name": "MODEL",
118
+ "type": "MODEL",
119
+ "links": [
120
+ 303
121
+ ]
122
+ }
123
+ ],
124
+ "properties": {
125
+ "cnr_id": "comfy-core",
126
+ "ver": "0.3.38",
127
+ "Node name for S&R": "UNETLoader",
128
+ "models": [
129
+ {
130
+ "name": "flux1-dev-kontext_fp8_scaled.safetensors",
131
+ "url": "https://huggingface.co/Comfy-Org/flux1-kontext-dev_ComfyUI/resolve/main/split_files/diffusion_models/flux1-dev-kontext_fp8_scaled.safetensors",
132
+ "directory": "diffusion_models"
133
+ }
134
+ ],
135
+ "widget_ue_connectable": {}
136
+ },
137
+ "widgets_values": [
138
+ "flux1-dev-kontext_fp8_scaled.safetensors",
139
+ "default"
140
+ ],
141
+ "color": "#323",
142
+ "bgcolor": "#535"
143
+ },
144
+ {
145
+ "id": 8,
146
+ "type": "VAEDecode",
147
+ "pos": [
148
+ 823.2332153320312,
149
+ 13.524840354919434
150
+ ],
151
+ "size": [
152
+ 190,
153
+ 46
154
+ ],
155
+ "flags": {
156
+ "collapsed": true
157
+ },
158
+ "order": 21,
159
+ "mode": 0,
160
+ "inputs": [
161
+ {
162
+ "name": "samples",
163
+ "type": "LATENT",
164
+ "link": 52
165
+ },
166
+ {
167
+ "name": "vae",
168
+ "type": "VAE",
169
+ "link": 61
170
+ }
171
+ ],
172
+ "outputs": [
173
+ {
174
+ "name": "IMAGE",
175
+ "type": "IMAGE",
176
+ "slot_index": 0,
177
+ "links": [
178
+ 240
179
+ ]
180
+ }
181
+ ],
182
+ "properties": {
183
+ "cnr_id": "comfy-core",
184
+ "ver": "0.3.38",
185
+ "Node name for S&R": "VAEDecode",
186
+ "widget_ue_connectable": {}
187
+ },
188
+ "widgets_values": []
189
+ },
190
+ {
191
+ "id": 184,
192
+ "type": "MarkdownNote",
193
+ "pos": [
194
+ -1538.1163330078125,
195
+ 87.295654296875
196
+ ],
197
+ "size": [
198
+ 510,
199
+ 400
200
+ ],
201
+ "flags": {},
202
+ "order": 3,
203
+ "mode": 0,
204
+ "inputs": [],
205
+ "outputs": [],
206
+ "title": "Model links",
207
+ "properties": {
208
+ "widget_ue_connectable": {}
209
+ },
210
+ "widgets_values": [
211
+ "[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"
212
+ ],
213
+ "color": "#432",
214
+ "bgcolor": "#653"
215
+ },
216
+ {
217
+ "id": 38,
218
+ "type": "DualCLIPLoader",
219
+ "pos": [
220
+ -692.51904296875,
221
+ 228.12562561035156
222
+ ],
223
+ "size": [
224
+ 337.76861572265625,
225
+ 130
226
+ ],
227
+ "flags": {},
228
+ "order": 4,
229
+ "mode": 0,
230
+ "inputs": [],
231
+ "outputs": [
232
+ {
233
+ "name": "CLIP",
234
+ "type": "CLIP",
235
+ "links": [
236
+ 304
237
+ ]
238
+ }
239
+ ],
240
+ "properties": {
241
+ "cnr_id": "comfy-core",
242
+ "ver": "0.3.38",
243
+ "Node name for S&R": "DualCLIPLoader",
244
+ "models": [
245
+ {
246
+ "name": "clip_l.safetensors",
247
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors",
248
+ "directory": "text_encoders"
249
+ },
250
+ {
251
+ "name": "t5xxl_fp8_e4m3fn_scaled.safetensors",
252
+ "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors",
253
+ "directory": "text_encoders"
254
+ }
255
+ ],
256
+ "widget_ue_connectable": {}
257
+ },
258
+ "widgets_values": [
259
+ "clip_l.safetensors",
260
+ "t5xxl_fp8.safetensors",
261
+ "flux",
262
+ "default"
263
+ ],
264
+ "color": "#323",
265
+ "bgcolor": "#535"
266
+ },
267
+ {
268
+ "id": 146,
269
+ "type": "ImageStitch",
270
+ "pos": [
271
+ -271.6634826660156,
272
+ 508.45477294921875
273
+ ],
274
+ "size": [
275
+ 270,
276
+ 150
277
+ ],
278
+ "flags": {},
279
+ "order": 11,
280
+ "mode": 0,
281
+ "inputs": [
282
+ {
283
+ "name": "image1",
284
+ "type": "IMAGE",
285
+ "link": 249
286
+ },
287
+ {
288
+ "name": "image2",
289
+ "shape": 7,
290
+ "type": "IMAGE",
291
+ "link": 250
292
+ }
293
+ ],
294
+ "outputs": [
295
+ {
296
+ "name": "IMAGE",
297
+ "type": "IMAGE",
298
+ "links": [
299
+ 251
300
+ ]
301
+ }
302
+ ],
303
+ "properties": {
304
+ "cnr_id": "comfy-core",
305
+ "ver": "0.3.40",
306
+ "Node name for S&R": "ImageStitch",
307
+ "widget_ue_connectable": {}
308
+ },
309
+ "widgets_values": [
310
+ "right",
311
+ true,
312
+ 0,
313
+ "white"
314
+ ]
315
+ },
316
+ {
317
+ "id": 35,
318
+ "type": "FluxGuidance",
319
+ "pos": [
320
+ 675.4931640625,
321
+ 127.74691009521484
322
+ ],
323
+ "size": [
324
+ 260.8838195800781,
325
+ 58
326
+ ],
327
+ "flags": {
328
+ "collapsed": false
329
+ },
330
+ "order": 19,
331
+ "mode": 0,
332
+ "inputs": [
333
+ {
334
+ "name": "conditioning",
335
+ "type": "CONDITIONING",
336
+ "link": 292
337
+ }
338
+ ],
339
+ "outputs": [
340
+ {
341
+ "name": "CONDITIONING",
342
+ "type": "CONDITIONING",
343
+ "slot_index": 0,
344
+ "links": [
345
+ 57
346
+ ]
347
+ }
348
+ ],
349
+ "properties": {
350
+ "cnr_id": "comfy-core",
351
+ "ver": "0.3.38",
352
+ "Node name for S&R": "FluxGuidance",
353
+ "widget_ue_connectable": {}
354
+ },
355
+ "widgets_values": [
356
+ 2.5
357
+ ]
358
+ },
359
+ {
360
+ "id": 189,
361
+ "type": "MarkdownNote",
362
+ "pos": [
363
+ -1540.0147705078125,
364
+ 992.39013671875
365
+ ],
366
+ "size": [
367
+ 510.7558898925781,
368
+ 132.99609375
369
+ ],
370
+ "flags": {},
371
+ "order": 5,
372
+ "mode": 0,
373
+ "inputs": [],
374
+ "outputs": [],
375
+ "title": "About multi-round edit",
376
+ "properties": {
377
+ "widget_ue_connectable": {}
378
+ },
379
+ "widgets_values": [
380
+ "The **Load Image (from Outputs)** node allows you to fetch the last image from the output. Click on the **refresh** button to fetch the latest image or manually select an image from the dropdown list."
381
+ ],
382
+ "color": "#432",
383
+ "bgcolor": "#653"
384
+ },
385
+ {
386
+ "id": 136,
387
+ "type": "SaveImage",
388
+ "pos": [
389
+ 981.8594360351562,
390
+ 70.94837951660156
391
+ ],
392
+ "size": [
393
+ 744.5913696289062,
394
+ 1021.1671752929688
395
+ ],
396
+ "flags": {},
397
+ "order": 22,
398
+ "mode": 0,
399
+ "inputs": [
400
+ {
401
+ "name": "images",
402
+ "type": "IMAGE",
403
+ "link": 240
404
+ }
405
+ ],
406
+ "outputs": [],
407
+ "properties": {
408
+ "cnr_id": "comfy-core",
409
+ "ver": "0.3.39",
410
+ "Node name for S&R": "SaveImage",
411
+ "widget_ue_connectable": {}
412
+ },
413
+ "widgets_values": [
414
+ "%date:MM-dd%/Noobify/ComfyUI_"
415
+ ]
416
+ },
417
+ {
418
+ "id": 177,
419
+ "type": "ReferenceLatent",
420
+ "pos": [
421
+ 421.04595947265625,
422
+ 126.03887939453125
423
+ ],
424
+ "size": [
425
+ 240.708984375,
426
+ 52.14229965209961
427
+ ],
428
+ "flags": {
429
+ "collapsed": true
430
+ },
431
+ "order": 17,
432
+ "mode": 0,
433
+ "inputs": [
434
+ {
435
+ "name": "conditioning",
436
+ "type": "CONDITIONING",
437
+ "link": 294
438
+ },
439
+ {
440
+ "name": "latent",
441
+ "shape": 7,
442
+ "type": "LATENT",
443
+ "link": 293
444
+ }
445
+ ],
446
+ "outputs": [
447
+ {
448
+ "name": "CONDITIONING",
449
+ "type": "CONDITIONING",
450
+ "links": [
451
+ 292
452
+ ]
453
+ }
454
+ ],
455
+ "properties": {
456
+ "cnr_id": "comfy-core",
457
+ "ver": "0.3.41",
458
+ "Node name for S&R": "ReferenceLatent",
459
+ "widget_ue_connectable": {}
460
+ },
461
+ "widgets_values": []
462
+ },
463
+ {
464
+ "id": 124,
465
+ "type": "VAEEncode",
466
+ "pos": [
467
+ 425.1010437011719,
468
+ 173.12998962402344
469
+ ],
470
+ "size": [
471
+ 240,
472
+ 50
473
+ ],
474
+ "flags": {
475
+ "collapsed": true
476
+ },
477
+ "order": 15,
478
+ "mode": 0,
479
+ "inputs": [
480
+ {
481
+ "name": "pixels",
482
+ "type": "IMAGE",
483
+ "link": 222
484
+ },
485
+ {
486
+ "name": "vae",
487
+ "type": "VAE",
488
+ "link": 223
489
+ }
490
+ ],
491
+ "outputs": [
492
+ {
493
+ "name": "LATENT",
494
+ "type": "LATENT",
495
+ "links": [
496
+ 293,
497
+ 305
498
+ ]
499
+ }
500
+ ],
501
+ "properties": {
502
+ "cnr_id": "comfy-core",
503
+ "ver": "0.3.39",
504
+ "Node name for S&R": "VAEEncode",
505
+ "widget_ue_connectable": {}
506
+ },
507
+ "widgets_values": []
508
+ },
509
+ {
510
+ "id": 135,
511
+ "type": "ConditioningZeroOut",
512
+ "pos": [
513
+ 413.4072570800781,
514
+ 217.0537567138672
515
+ ],
516
+ "size": [
517
+ 240,
518
+ 26
519
+ ],
520
+ "flags": {
521
+ "collapsed": false
522
+ },
523
+ "order": 14,
524
+ "mode": 0,
525
+ "inputs": [
526
+ {
527
+ "name": "conditioning",
528
+ "type": "CONDITIONING",
529
+ "link": 237
530
+ }
531
+ ],
532
+ "outputs": [
533
+ {
534
+ "name": "CONDITIONING",
535
+ "type": "CONDITIONING",
536
+ "links": [
537
+ 238
538
+ ]
539
+ }
540
+ ],
541
+ "properties": {
542
+ "cnr_id": "comfy-core",
543
+ "ver": "0.3.39",
544
+ "Node name for S&R": "ConditioningZeroOut",
545
+ "widget_ue_connectable": {}
546
+ },
547
+ "widgets_values": []
548
+ },
549
+ {
550
+ "id": 39,
551
+ "type": "VAELoader",
552
+ "pos": [
553
+ 674.9263305664062,
554
+ 219.2698211669922
555
+ ],
556
+ "size": [
557
+ 254.2333526611328,
558
+ 58
559
+ ],
560
+ "flags": {
561
+ "collapsed": false
562
+ },
563
+ "order": 6,
564
+ "mode": 0,
565
+ "inputs": [],
566
+ "outputs": [
567
+ {
568
+ "name": "VAE",
569
+ "type": "VAE",
570
+ "links": [
571
+ 61,
572
+ 223
573
+ ]
574
+ }
575
+ ],
576
+ "properties": {
577
+ "cnr_id": "comfy-core",
578
+ "ver": "0.3.38",
579
+ "Node name for S&R": "VAELoader",
580
+ "models": [
581
+ {
582
+ "name": "ae.safetensors",
583
+ "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors",
584
+ "directory": "vae"
585
+ }
586
+ ],
587
+ "widget_ue_connectable": {}
588
+ },
589
+ "widgets_values": [
590
+ "ae.safetensors"
591
+ ],
592
+ "color": "#322",
593
+ "bgcolor": "#533"
594
+ },
595
+ {
596
+ "id": 31,
597
+ "type": "KSampler",
598
+ "pos": [
599
+ 434.6272277832031,
600
+ 321.3169250488281
601
+ ],
602
+ "size": [
603
+ 496.898193359375,
604
+ 262
605
+ ],
606
+ "flags": {},
607
+ "order": 20,
608
+ "mode": 0,
609
+ "inputs": [
610
+ {
611
+ "name": "model",
612
+ "type": "MODEL",
613
+ "link": 301
614
+ },
615
+ {
616
+ "name": "positive",
617
+ "type": "CONDITIONING",
618
+ "link": 57
619
+ },
620
+ {
621
+ "name": "negative",
622
+ "type": "CONDITIONING",
623
+ "link": 238
624
+ },
625
+ {
626
+ "name": "latent_image",
627
+ "type": "LATENT",
628
+ "link": 306
629
+ }
630
+ ],
631
+ "outputs": [
632
+ {
633
+ "name": "LATENT",
634
+ "type": "LATENT",
635
+ "slot_index": 0,
636
+ "links": [
637
+ 52
638
+ ]
639
+ }
640
+ ],
641
+ "properties": {
642
+ "cnr_id": "comfy-core",
643
+ "ver": "0.3.38",
644
+ "Node name for S&R": "KSampler",
645
+ "widget_ue_connectable": {}
646
+ },
647
+ "widgets_values": [
648
+ 843282458914228,
649
+ "randomize",
650
+ 20,
651
+ 1,
652
+ "euler",
653
+ "simple",
654
+ 1
655
+ ],
656
+ "color": "#323",
657
+ "bgcolor": "#535"
658
+ },
659
+ {
660
+ "id": 173,
661
+ "type": "PreviewImage",
662
+ "pos": [
663
+ 410.59356689453125,
664
+ 854.6057739257812
665
+ ],
666
+ "size": [
667
+ 269.4578857421875,
668
+ 258
669
+ ],
670
+ "flags": {},
671
+ "order": 16,
672
+ "mode": 0,
673
+ "inputs": [
674
+ {
675
+ "name": "images",
676
+ "type": "IMAGE",
677
+ "link": 289
678
+ }
679
+ ],
680
+ "outputs": [],
681
+ "properties": {
682
+ "cnr_id": "comfy-core",
683
+ "ver": "0.3.40",
684
+ "Node name for S&R": "PreviewImage",
685
+ "widget_ue_connectable": {}
686
+ },
687
+ "widgets_values": []
688
+ },
689
+ {
690
+ "id": 192,
691
+ "type": "LatentUpscale",
692
+ "pos": [
693
+ 440.3393249511719,
694
+ 641.6296997070312
695
+ ],
696
+ "size": [
697
+ 471.02069091796875,
698
+ 130
699
+ ],
700
+ "flags": {},
701
+ "order": 18,
702
+ "mode": 4,
703
+ "inputs": [
704
+ {
705
+ "name": "samples",
706
+ "type": "LATENT",
707
+ "link": 305
708
+ }
709
+ ],
710
+ "outputs": [
711
+ {
712
+ "name": "LATENT",
713
+ "type": "LATENT",
714
+ "links": [
715
+ 306
716
+ ]
717
+ }
718
+ ],
719
+ "title": "image size",
720
+ "properties": {
721
+ "cnr_id": "comfy-core",
722
+ "ver": "0.3.45",
723
+ "Node name for S&R": "LatentUpscale",
724
+ "widget_ue_connectable": {}
725
+ },
726
+ "widgets_values": [
727
+ "nearest-exact",
728
+ 512,
729
+ 512,
730
+ "disabled"
731
+ ]
732
+ },
733
+ {
734
+ "id": 147,
735
+ "type": "LoadImageOutput",
736
+ "pos": [
737
+ 48.03105163574219,
738
+ 708.4547729492188
739
+ ],
740
+ "size": [
741
+ 320,
742
+ 374
743
+ ],
744
+ "flags": {},
745
+ "order": 7,
746
+ "mode": 4,
747
+ "inputs": [],
748
+ "outputs": [
749
+ {
750
+ "name": "IMAGE",
751
+ "type": "IMAGE",
752
+ "links": [
753
+ 250
754
+ ]
755
+ },
756
+ {
757
+ "name": "MASK",
758
+ "type": "MASK",
759
+ "links": null
760
+ }
761
+ ],
762
+ "properties": {
763
+ "cnr_id": "comfy-core",
764
+ "ver": "0.3.40",
765
+ "Node name for S&R": "LoadImageOutput",
766
+ "widget_ue_connectable": {}
767
+ },
768
+ "widgets_values": [
769
+ "ComfyUI_00222_.png [output]",
770
+ false,
771
+ "refresh",
772
+ "image"
773
+ ],
774
+ "color": "#322",
775
+ "bgcolor": "#533"
776
+ },
777
+ {
778
+ "id": 186,
779
+ "type": "MarkdownNote",
780
+ "pos": [
781
+ -1538.1163330078125,
782
+ 757.2955932617188
783
+ ],
784
+ "size": [
785
+ 510,
786
+ 170
787
+ ],
788
+ "flags": {},
789
+ "order": 8,
790
+ "mode": 0,
791
+ "inputs": [],
792
+ "outputs": [],
793
+ "title": "Flux Kontext Prompt Techniques",
794
+ "properties": {
795
+ "widget_ue_connectable": {}
796
+ },
797
+ "widgets_values": [
798
+ "\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. "
799
+ ],
800
+ "color": "#432",
801
+ "bgcolor": "#653"
802
+ },
803
+ {
804
+ "id": 191,
805
+ "type": "LoraLoader",
806
+ "pos": [
807
+ -692.51904296875,
808
+ 405.8274230957031
809
+ ],
810
+ "size": [
811
+ 338.802490234375,
812
+ 126
813
+ ],
814
+ "flags": {},
815
+ "order": 10,
816
+ "mode": 0,
817
+ "inputs": [
818
+ {
819
+ "name": "model",
820
+ "type": "MODEL",
821
+ "link": 303
822
+ },
823
+ {
824
+ "name": "clip",
825
+ "type": "CLIP",
826
+ "link": 304
827
+ }
828
+ ],
829
+ "outputs": [
830
+ {
831
+ "name": "MODEL",
832
+ "type": "MODEL",
833
+ "links": [
834
+ 301
835
+ ]
836
+ },
837
+ {
838
+ "name": "CLIP",
839
+ "type": "CLIP",
840
+ "links": [
841
+ 302
842
+ ]
843
+ }
844
+ ],
845
+ "properties": {
846
+ "cnr_id": "comfy-core",
847
+ "ver": "0.3.45",
848
+ "Node name for S&R": "LoraLoader",
849
+ "widget_ue_connectable": {}
850
+ },
851
+ "widgets_values": [
852
+ "Noobify/noobify_v1.safetensors",
853
+ 1.0000000000000002,
854
+ 1.0000000000000002
855
+ ],
856
+ "color": "#323",
857
+ "bgcolor": "#535"
858
+ },
859
+ {
860
+ "id": 6,
861
+ "type": "CLIPTextEncode",
862
+ "pos": [
863
+ -288.80035400390625,
864
+ 123.10784912109375
865
+ ],
866
+ "size": [
867
+ 658.6285400390625,
868
+ 235.9782257080078
869
+ ],
870
+ "flags": {
871
+ "collapsed": false
872
+ },
873
+ "order": 12,
874
+ "mode": 0,
875
+ "inputs": [
876
+ {
877
+ "name": "clip",
878
+ "type": "CLIP",
879
+ "link": 302
880
+ }
881
+ ],
882
+ "outputs": [
883
+ {
884
+ "name": "CONDITIONING",
885
+ "type": "CONDITIONING",
886
+ "slot_index": 0,
887
+ "links": [
888
+ 237,
889
+ 294
890
+ ]
891
+ }
892
+ ],
893
+ "title": "CLIP Text Encode (Positive Prompt)",
894
+ "properties": {
895
+ "cnr_id": "comfy-core",
896
+ "ver": "0.3.38",
897
+ "Node name for S&R": "CLIPTextEncode",
898
+ "widget_ue_connectable": {}
899
+ },
900
+ "widgets_values": [
901
+ "apply the noobify style to the image"
902
+ ],
903
+ "color": "#232",
904
+ "bgcolor": "#353"
905
+ },
906
+ {
907
+ "id": 142,
908
+ "type": "LoadImageOutput",
909
+ "pos": [
910
+ -291.96856689453125,
911
+ 708.4547729492188
912
+ ],
913
+ "size": [
914
+ 320,
915
+ 374
916
+ ],
917
+ "flags": {},
918
+ "order": 9,
919
+ "mode": 0,
920
+ "inputs": [],
921
+ "outputs": [
922
+ {
923
+ "name": "IMAGE",
924
+ "type": "IMAGE",
925
+ "links": [
926
+ 249
927
+ ]
928
+ },
929
+ {
930
+ "name": "MASK",
931
+ "type": "MASK",
932
+ "links": null
933
+ }
934
+ ],
935
+ "properties": {
936
+ "cnr_id": "comfy-core",
937
+ "ver": "0.3.40",
938
+ "Node name for S&R": "LoadImageOutput",
939
+ "widget_ue_connectable": {}
940
+ },
941
+ "widgets_values": [
942
+ "Frukt-3180176258.jpg [output]",
943
+ false,
944
+ "refresh",
945
+ "image"
946
+ ],
947
+ "color": "#322",
948
+ "bgcolor": "#533"
949
+ }
950
+ ],
951
+ "links": [
952
+ [
953
+ 52,
954
+ 31,
955
+ 0,
956
+ 8,
957
+ 0,
958
+ "LATENT"
959
+ ],
960
+ [
961
+ 57,
962
+ 35,
963
+ 0,
964
+ 31,
965
+ 1,
966
+ "CONDITIONING"
967
+ ],
968
+ [
969
+ 61,
970
+ 39,
971
+ 0,
972
+ 8,
973
+ 1,
974
+ "VAE"
975
+ ],
976
+ [
977
+ 222,
978
+ 42,
979
+ 0,
980
+ 124,
981
+ 0,
982
+ "IMAGE"
983
+ ],
984
+ [
985
+ 223,
986
+ 39,
987
+ 0,
988
+ 124,
989
+ 1,
990
+ "VAE"
991
+ ],
992
+ [
993
+ 237,
994
+ 6,
995
+ 0,
996
+ 135,
997
+ 0,
998
+ "CONDITIONING"
999
+ ],
1000
+ [
1001
+ 238,
1002
+ 135,
1003
+ 0,
1004
+ 31,
1005
+ 2,
1006
+ "CONDITIONING"
1007
+ ],
1008
+ [
1009
+ 240,
1010
+ 8,
1011
+ 0,
1012
+ 136,
1013
+ 0,
1014
+ "IMAGE"
1015
+ ],
1016
+ [
1017
+ 249,
1018
+ 142,
1019
+ 0,
1020
+ 146,
1021
+ 0,
1022
+ "IMAGE"
1023
+ ],
1024
+ [
1025
+ 250,
1026
+ 147,
1027
+ 0,
1028
+ 146,
1029
+ 1,
1030
+ "IMAGE"
1031
+ ],
1032
+ [
1033
+ 251,
1034
+ 146,
1035
+ 0,
1036
+ 42,
1037
+ 0,
1038
+ "IMAGE"
1039
+ ],
1040
+ [
1041
+ 289,
1042
+ 42,
1043
+ 0,
1044
+ 173,
1045
+ 0,
1046
+ "IMAGE"
1047
+ ],
1048
+ [
1049
+ 292,
1050
+ 177,
1051
+ 0,
1052
+ 35,
1053
+ 0,
1054
+ "CONDITIONING"
1055
+ ],
1056
+ [
1057
+ 293,
1058
+ 124,
1059
+ 0,
1060
+ 177,
1061
+ 1,
1062
+ "LATENT"
1063
+ ],
1064
+ [
1065
+ 294,
1066
+ 6,
1067
+ 0,
1068
+ 177,
1069
+ 0,
1070
+ "CONDITIONING"
1071
+ ],
1072
+ [
1073
+ 301,
1074
+ 191,
1075
+ 0,
1076
+ 31,
1077
+ 0,
1078
+ "MODEL"
1079
+ ],
1080
+ [
1081
+ 302,
1082
+ 191,
1083
+ 1,
1084
+ 6,
1085
+ 0,
1086
+ "CLIP"
1087
+ ],
1088
+ [
1089
+ 303,
1090
+ 37,
1091
+ 0,
1092
+ 191,
1093
+ 0,
1094
+ "MODEL"
1095
+ ],
1096
+ [
1097
+ 304,
1098
+ 38,
1099
+ 0,
1100
+ 191,
1101
+ 1,
1102
+ "CLIP"
1103
+ ],
1104
+ [
1105
+ 305,
1106
+ 124,
1107
+ 0,
1108
+ 192,
1109
+ 0,
1110
+ "LATENT"
1111
+ ],
1112
+ [
1113
+ 306,
1114
+ 192,
1115
+ 0,
1116
+ 31,
1117
+ 3,
1118
+ "LATENT"
1119
+ ]
1120
+ ],
1121
+ "groups": [
1122
+ {
1123
+ "id": 1,
1124
+ "title": "Step 1- Load models",
1125
+ "bounding": [
1126
+ -712.5701293945312,
1127
+ 40.711483001708984,
1128
+ 386.2890319824219,
1129
+ 1048.01416015625
1130
+ ],
1131
+ "color": "#3f789e",
1132
+ "font_size": 24,
1133
+ "flags": {}
1134
+ },
1135
+ {
1136
+ "id": 3,
1137
+ "title": "Step 2 - Upload images",
1138
+ "bounding": [
1139
+ -311.9685363769531,
1140
+ 418.4547119140625,
1141
+ 700,
1142
+ 680
1143
+ ],
1144
+ "color": "#3f789e",
1145
+ "font_size": 24,
1146
+ "flags": {}
1147
+ },
1148
+ {
1149
+ "id": 5,
1150
+ "title": "Step 3 - Prompt",
1151
+ "bounding": [
1152
+ -308.0375671386719,
1153
+ 44.63368606567383,
1154
+ 692.739501953125,
1155
+ 321.5693664550781
1156
+ ],
1157
+ "color": "#3f789e",
1158
+ "font_size": 24,
1159
+ "flags": {}
1160
+ },
1161
+ {
1162
+ "id": 6,
1163
+ "title": "Conditioning",
1164
+ "bounding": [
1165
+ 406.1029052734375,
1166
+ 41.93994903564453,
1167
+ 557.7568359375,
1168
+ 758.3590087890625
1169
+ ],
1170
+ "color": "#3f789e",
1171
+ "font_size": 24,
1172
+ "flags": {}
1173
+ },
1174
+ {
1175
+ "id": 7,
1176
+ "title": "Downloads & Notes",
1177
+ "bounding": [
1178
+ -1550.0147705078125,
1179
+ 13.69570541381836,
1180
+ 531.8984375,
1181
+ 1121.690673828125
1182
+ ],
1183
+ "color": "#3f789e",
1184
+ "font_size": 24,
1185
+ "flags": {}
1186
+ }
1187
+ ],
1188
+ "config": {},
1189
+ "extra": {
1190
+ "ds": {
1191
+ "scale": 0.7400249944258711,
1192
+ "offset": [
1193
+ 1000.6643302721632,
1194
+ 406.4957206321035
1195
+ ]
1196
+ },
1197
+ "frontendVersion": "1.23.4",
1198
+ "groupNodes": {},
1199
+ "VHS_latentpreview": false,
1200
+ "VHS_latentpreviewrate": 0,
1201
+ "VHS_MetadataImage": true,
1202
+ "VHS_KeepIntermediate": true,
1203
+ "ue_links": [],
1204
+ "links_added_by_ue": []
1205
+ },
1206
+ "version": 0.4
1207
+ }