axiomgraph commited on
Commit
0fc2e45
·
verified ·
1 Parent(s): b7cca30

Add Krea2 Identity Edit V1.json

Browse files
Files changed (1) hide show
  1. Krea2 Identity Edit V1.json +1850 -0
Krea2 Identity Edit V1.json ADDED
@@ -0,0 +1,1850 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "0f653a5f-0f07-4298-a6b2-f64becbe5acb",
3
+ "revision": 0,
4
+ "last_node_id": 81,
5
+ "last_link_id": 142,
6
+ "nodes": [
7
+ {
8
+ "id": 8,
9
+ "type": "VAEDecode",
10
+ "pos": [
11
+ -767.2815630812987,
12
+ 78.52318522634245
13
+ ],
14
+ "size": [
15
+ 140,
16
+ 46
17
+ ],
18
+ "flags": {},
19
+ "order": 22,
20
+ "mode": 0,
21
+ "inputs": [
22
+ {
23
+ "name": "samples",
24
+ "type": "LATENT",
25
+ "link": 7
26
+ },
27
+ {
28
+ "name": "vae",
29
+ "type": "VAE",
30
+ "link": 8
31
+ }
32
+ ],
33
+ "outputs": [
34
+ {
35
+ "name": "IMAGE",
36
+ "type": "IMAGE",
37
+ "links": [
38
+ 9,
39
+ 123
40
+ ]
41
+ }
42
+ ],
43
+ "properties": {
44
+ "cnr_id": "comfy-core",
45
+ "ver": "0.26.0",
46
+ "Node name for S&R": "VAEDecode"
47
+ },
48
+ "widgets_values": []
49
+ },
50
+ {
51
+ "id": 9,
52
+ "type": "SaveImage",
53
+ "pos": [
54
+ -603.3899357167434,
55
+ 167.0586396340561
56
+ ],
57
+ "size": [
58
+ 478.421875,
59
+ 589.96875
60
+ ],
61
+ "flags": {},
62
+ "order": 23,
63
+ "mode": 0,
64
+ "inputs": [
65
+ {
66
+ "name": "images",
67
+ "type": "IMAGE",
68
+ "link": 9
69
+ }
70
+ ],
71
+ "outputs": [
72
+ {
73
+ "name": "images",
74
+ "type": "IMAGE",
75
+ "links": []
76
+ }
77
+ ],
78
+ "properties": {
79
+ "cnr_id": "comfy-core",
80
+ "ver": "0.26.0",
81
+ "Node name for S&R": "SaveImage"
82
+ },
83
+ "widgets_values": [
84
+ "ComfyUI"
85
+ ]
86
+ },
87
+ {
88
+ "id": 71,
89
+ "type": "Image Comparer (rgthree)",
90
+ "pos": [
91
+ -97.32649267821779,
92
+ 167.92425134104224
93
+ ],
94
+ "size": [
95
+ 497.38103889610306,
96
+ 582.4817348487464
97
+ ],
98
+ "flags": {},
99
+ "order": 24,
100
+ "mode": 0,
101
+ "inputs": [
102
+ {
103
+ "dir": 3,
104
+ "name": "image_a",
105
+ "type": "IMAGE",
106
+ "link": 123
107
+ },
108
+ {
109
+ "dir": 3,
110
+ "name": "image_b",
111
+ "type": "IMAGE",
112
+ "link": 124
113
+ }
114
+ ],
115
+ "outputs": [
116
+ {
117
+ "dir": 4,
118
+ "name": "images",
119
+ "shape": 3,
120
+ "type": "IMAGE",
121
+ "links": null
122
+ }
123
+ ],
124
+ "properties": {
125
+ "cnr_id": "rgthree-comfy",
126
+ "ver": "1.0.2605082257",
127
+ "comparer_mode": "Slide"
128
+ },
129
+ "widgets_values": [
130
+ [
131
+ {
132
+ "name": "A",
133
+ "selected": true,
134
+ "url": "/api/view?filename=rgthree.compare._temp_rtqgb_00009_.png&type=temp&subfolder=&rand=0.9085509039986751"
135
+ },
136
+ {
137
+ "name": "B",
138
+ "selected": true,
139
+ "url": "/api/view?filename=rgthree.compare._temp_rtqgb_00010_.png&type=temp&subfolder=&rand=0.14500076948988783"
140
+ }
141
+ ]
142
+ ]
143
+ },
144
+ {
145
+ "id": 1,
146
+ "type": "UNETLoader",
147
+ "pos": [
148
+ -2293.705575891221,
149
+ -36.301565413555494
150
+ ],
151
+ "size": [
152
+ 270,
153
+ 108
154
+ ],
155
+ "flags": {},
156
+ "order": 0,
157
+ "mode": 0,
158
+ "inputs": [],
159
+ "outputs": [
160
+ {
161
+ "name": "MODEL",
162
+ "type": "MODEL",
163
+ "links": [
164
+ 101
165
+ ]
166
+ }
167
+ ],
168
+ "properties": {
169
+ "cnr_id": "comfy-core",
170
+ "ver": "0.26.0",
171
+ "Node name for S&R": "UNETLoader"
172
+ },
173
+ "widgets_values": [
174
+ "krea2_turbo_bf16.safetensors",
175
+ "default"
176
+ ]
177
+ },
178
+ {
179
+ "id": 3,
180
+ "type": "VAELoader",
181
+ "pos": [
182
+ -2293.705575891221,
183
+ 440.791403534423
184
+ ],
185
+ "size": [
186
+ 262.921875,
187
+ 80
188
+ ],
189
+ "flags": {},
190
+ "order": 1,
191
+ "mode": 0,
192
+ "inputs": [],
193
+ "outputs": [
194
+ {
195
+ "name": "VAE",
196
+ "type": "VAE",
197
+ "links": [
198
+ 8,
199
+ 116,
200
+ 130
201
+ ]
202
+ }
203
+ ],
204
+ "properties": {
205
+ "cnr_id": "comfy-core",
206
+ "ver": "0.26.0",
207
+ "Node name for S&R": "VAELoader"
208
+ },
209
+ "widgets_values": [
210
+ "qwen_image_vae.safetensors"
211
+ ]
212
+ },
213
+ {
214
+ "id": 69,
215
+ "type": "VAEEncode",
216
+ "pos": [
217
+ -1982.669293455486,
218
+ 802.723555762791
219
+ ],
220
+ "size": [
221
+ 140,
222
+ 46
223
+ ],
224
+ "flags": {},
225
+ "order": 12,
226
+ "mode": 0,
227
+ "inputs": [
228
+ {
229
+ "name": "pixels",
230
+ "type": "IMAGE",
231
+ "link": 115
232
+ },
233
+ {
234
+ "name": "vae",
235
+ "type": "VAE",
236
+ "link": 116
237
+ }
238
+ ],
239
+ "outputs": [
240
+ {
241
+ "name": "LATENT",
242
+ "type": "LATENT",
243
+ "links": [
244
+ 119
245
+ ]
246
+ }
247
+ ],
248
+ "properties": {
249
+ "cnr_id": "comfy-core",
250
+ "ver": "0.27.0",
251
+ "Node name for S&R": "VAEEncode"
252
+ },
253
+ "widgets_values": []
254
+ },
255
+ {
256
+ "id": 67,
257
+ "type": "ResizeImageMaskNode",
258
+ "pos": [
259
+ -1982.669293455486,
260
+ 491.4796177889771
261
+ ],
262
+ "size": [
263
+ 281.78293158861334,
264
+ 106
265
+ ],
266
+ "flags": {},
267
+ "order": 6,
268
+ "mode": 0,
269
+ "inputs": [
270
+ {
271
+ "name": "input",
272
+ "type": "IMAGE,MASK",
273
+ "link": 111
274
+ }
275
+ ],
276
+ "outputs": [
277
+ {
278
+ "name": "resized",
279
+ "type": "IMAGE",
280
+ "links": [
281
+ 112
282
+ ]
283
+ }
284
+ ],
285
+ "properties": {
286
+ "cnr_id": "comfy-core",
287
+ "ver": "0.27.0",
288
+ "Node name for S&R": "ResizeImageMaskNode"
289
+ },
290
+ "widgets_values": [
291
+ "scale total pixels",
292
+ 1,
293
+ "lanczos"
294
+ ]
295
+ },
296
+ {
297
+ "id": 74,
298
+ "type": "VAEEncode",
299
+ "pos": [
300
+ -1660,
301
+ 810
302
+ ],
303
+ "size": [
304
+ 140,
305
+ 46
306
+ ],
307
+ "flags": {},
308
+ "order": 17,
309
+ "mode": 4,
310
+ "inputs": [
311
+ {
312
+ "name": "pixels",
313
+ "type": "IMAGE",
314
+ "link": 129
315
+ },
316
+ {
317
+ "name": "vae",
318
+ "type": "VAE",
319
+ "link": 130
320
+ }
321
+ ],
322
+ "outputs": [
323
+ {
324
+ "name": "LATENT",
325
+ "type": "LATENT",
326
+ "links": [
327
+ 131
328
+ ]
329
+ }
330
+ ],
331
+ "properties": {
332
+ "cnr_id": "comfy-core",
333
+ "ver": "0.27.0",
334
+ "Node name for S&R": "VAEEncode"
335
+ },
336
+ "widgets_values": []
337
+ },
338
+ {
339
+ "id": 73,
340
+ "type": "ResizeImageMaskNode",
341
+ "pos": [
342
+ -1660,
343
+ 651.9525496006901
344
+ ],
345
+ "size": [
346
+ 278.56940479171885,
347
+ 106
348
+ ],
349
+ "flags": {},
350
+ "order": 10,
351
+ "mode": 4,
352
+ "inputs": [
353
+ {
354
+ "name": "input",
355
+ "type": "IMAGE,MASK",
356
+ "link": 126
357
+ }
358
+ ],
359
+ "outputs": [
360
+ {
361
+ "name": "resized",
362
+ "type": "IMAGE",
363
+ "links": [
364
+ 127,
365
+ 128,
366
+ 129
367
+ ]
368
+ }
369
+ ],
370
+ "properties": {
371
+ "cnr_id": "comfy-core",
372
+ "ver": "0.27.0",
373
+ "Node name for S&R": "ResizeImageMaskNode"
374
+ },
375
+ "widgets_values": [
376
+ "scale to multiple",
377
+ 8,
378
+ "lanczos"
379
+ ]
380
+ },
381
+ {
382
+ "id": 72,
383
+ "type": "ResizeImageMaskNode",
384
+ "pos": [
385
+ -1660,
386
+ 493.9050992013802
387
+ ],
388
+ "size": [
389
+ 279.6405803906837,
390
+ 106
391
+ ],
392
+ "flags": {},
393
+ "order": 7,
394
+ "mode": 4,
395
+ "inputs": [
396
+ {
397
+ "name": "input",
398
+ "type": "IMAGE,MASK",
399
+ "link": 125
400
+ }
401
+ ],
402
+ "outputs": [
403
+ {
404
+ "name": "resized",
405
+ "type": "IMAGE",
406
+ "links": [
407
+ 126
408
+ ]
409
+ }
410
+ ],
411
+ "properties": {
412
+ "cnr_id": "comfy-core",
413
+ "ver": "0.27.0",
414
+ "Node name for S&R": "ResizeImageMaskNode"
415
+ },
416
+ "widgets_values": [
417
+ "scale total pixels",
418
+ 1,
419
+ "lanczos"
420
+ ]
421
+ },
422
+ {
423
+ "id": 7,
424
+ "type": "EmptyLatentImage",
425
+ "pos": [
426
+ -906.3382015110491,
427
+ 534.0039799921833
428
+ ],
429
+ "size": [
430
+ 280.60463842975196,
431
+ 145.17829315886127
432
+ ],
433
+ "flags": {},
434
+ "order": 18,
435
+ "mode": 0,
436
+ "inputs": [
437
+ {
438
+ "name": "width",
439
+ "type": "INT",
440
+ "widget": {
441
+ "name": "width"
442
+ },
443
+ "link": 121
444
+ },
445
+ {
446
+ "name": "height",
447
+ "type": "INT",
448
+ "widget": {
449
+ "name": "height"
450
+ },
451
+ "link": 122
452
+ }
453
+ ],
454
+ "outputs": [
455
+ {
456
+ "name": "LATENT",
457
+ "type": "LATENT",
458
+ "links": [
459
+ 6
460
+ ]
461
+ }
462
+ ],
463
+ "properties": {
464
+ "cnr_id": "comfy-core",
465
+ "ver": "0.26.0",
466
+ "Node name for S&R": "EmptyLatentImage"
467
+ },
468
+ "widgets_values": [
469
+ 1024,
470
+ 1024,
471
+ 1
472
+ ]
473
+ },
474
+ {
475
+ "id": 70,
476
+ "type": "GetImageSize",
477
+ "pos": [
478
+ -902.8288576910097,
479
+ 722.5002937683188
480
+ ],
481
+ "size": [
482
+ 140,
483
+ 124
484
+ ],
485
+ "flags": {},
486
+ "order": 13,
487
+ "mode": 0,
488
+ "inputs": [
489
+ {
490
+ "name": "image",
491
+ "type": "IMAGE",
492
+ "link": 120
493
+ }
494
+ ],
495
+ "outputs": [
496
+ {
497
+ "name": "width",
498
+ "type": "INT",
499
+ "links": [
500
+ 121
501
+ ]
502
+ },
503
+ {
504
+ "name": "height",
505
+ "type": "INT",
506
+ "links": [
507
+ 122
508
+ ]
509
+ },
510
+ {
511
+ "name": "batch_size",
512
+ "type": "INT",
513
+ "links": null
514
+ }
515
+ ],
516
+ "properties": {
517
+ "cnr_id": "comfy-core",
518
+ "ver": "0.27.0",
519
+ "Node name for S&R": "GetImageSize"
520
+ },
521
+ "widgets_values": []
522
+ },
523
+ {
524
+ "id": 22,
525
+ "type": "ComfyUI-Krea2T-Enhancer",
526
+ "pos": [
527
+ -1671.8647469294442,
528
+ -65.28756735869078
529
+ ],
530
+ "size": [
531
+ 312.6142866161613,
532
+ 106
533
+ ],
534
+ "flags": {},
535
+ "order": 11,
536
+ "mode": 0,
537
+ "inputs": [
538
+ {
539
+ "name": "model",
540
+ "type": "MODEL",
541
+ "link": 26
542
+ }
543
+ ],
544
+ "outputs": [
545
+ {
546
+ "name": "model",
547
+ "type": "MODEL",
548
+ "links": [
549
+ 113
550
+ ]
551
+ }
552
+ ],
553
+ "properties": {
554
+ "cnr_id": "comfyui-krea2t-enhancer",
555
+ "ver": "1.0.0",
556
+ "Node name for S&R": "ComfyUI-Krea2T-Enhancer"
557
+ },
558
+ "widgets_values": [
559
+ true,
560
+ 1,
561
+ false
562
+ ]
563
+ },
564
+ {
565
+ "id": 58,
566
+ "type": "LoraLoaderModelOnly",
567
+ "pos": [
568
+ -2293.705575891221,
569
+ 120.7294242357707
570
+ ],
571
+ "size": [
572
+ 270,
573
+ 82
574
+ ],
575
+ "flags": {},
576
+ "order": 5,
577
+ "mode": 0,
578
+ "inputs": [
579
+ {
580
+ "name": "model",
581
+ "type": "MODEL",
582
+ "link": 101
583
+ }
584
+ ],
585
+ "outputs": [
586
+ {
587
+ "name": "MODEL",
588
+ "type": "MODEL",
589
+ "links": [
590
+ 102
591
+ ]
592
+ }
593
+ ],
594
+ "properties": {
595
+ "cnr_id": "comfy-core",
596
+ "ver": "0.27.0",
597
+ "Node name for S&R": "LoraLoaderModelOnly"
598
+ },
599
+ "widgets_values": [
600
+ "krea2_identity_edit_v1.safetensors",
601
+ 1
602
+ ]
603
+ },
604
+ {
605
+ "id": 68,
606
+ "type": "Krea2EditModelPatch",
607
+ "pos": [
608
+ -1319.048986351374,
609
+ -63.442841987451715
610
+ ],
611
+ "size": [
612
+ 254.44979247891334,
613
+ 66
614
+ ],
615
+ "flags": {},
616
+ "order": 20,
617
+ "mode": 0,
618
+ "inputs": [
619
+ {
620
+ "name": "model",
621
+ "type": "MODEL",
622
+ "link": 113
623
+ },
624
+ {
625
+ "name": "source_latent",
626
+ "type": "LATENT",
627
+ "link": 119
628
+ },
629
+ {
630
+ "name": "source_latent_b",
631
+ "shape": 7,
632
+ "type": "LATENT",
633
+ "link": 131
634
+ }
635
+ ],
636
+ "outputs": [
637
+ {
638
+ "name": "MODEL",
639
+ "type": "MODEL",
640
+ "links": [
641
+ 114
642
+ ]
643
+ }
644
+ ],
645
+ "properties": {
646
+ "aux_id": "lbouaraba/comfyui-krea2edit",
647
+ "ver": "e55907682a3821c834693b47594f829da119be4b",
648
+ "Node name for S&R": "Krea2EditModelPatch"
649
+ },
650
+ "widgets_values": []
651
+ },
652
+ {
653
+ "id": 60,
654
+ "type": "Krea2EditGroundedEncode",
655
+ "pos": [
656
+ -1341.0489704782165,
657
+ 494.40941181648174
658
+ ],
659
+ "size": [
660
+ 404.7131726354453,
661
+ 336.68200642791453
662
+ ],
663
+ "flags": {},
664
+ "order": 16,
665
+ "mode": 0,
666
+ "inputs": [
667
+ {
668
+ "name": "clip",
669
+ "type": "CLIP",
670
+ "link": 104
671
+ },
672
+ {
673
+ "name": "image",
674
+ "shape": 7,
675
+ "type": "IMAGE",
676
+ "link": 118
677
+ },
678
+ {
679
+ "name": "image_b",
680
+ "shape": 7,
681
+ "type": "IMAGE",
682
+ "link": 128
683
+ }
684
+ ],
685
+ "outputs": [
686
+ {
687
+ "name": "CONDITIONING",
688
+ "type": "CONDITIONING",
689
+ "links": [
690
+ 106
691
+ ]
692
+ }
693
+ ],
694
+ "title": "Krea2 Edit (grounded encode) Negative Prompt",
695
+ "properties": {
696
+ "aux_id": "lbouaraba/comfyui-krea2edit",
697
+ "ver": "e55907682a3821c834693b47594f829da119be4b",
698
+ "Node name for S&R": "Krea2EditGroundedEncode"
699
+ },
700
+ "widgets_values": [
701
+ "",
702
+ 768
703
+ ]
704
+ },
705
+ {
706
+ "id": 2,
707
+ "type": "CLIPLoader",
708
+ "pos": [
709
+ -2293.705575891221,
710
+ 251.76041388509685
711
+ ],
712
+ "size": [
713
+ 270,
714
+ 140
715
+ ],
716
+ "flags": {},
717
+ "order": 2,
718
+ "mode": 0,
719
+ "inputs": [],
720
+ "outputs": [
721
+ {
722
+ "name": "CLIP",
723
+ "type": "CLIP",
724
+ "links": [
725
+ 103,
726
+ 104
727
+ ]
728
+ }
729
+ ],
730
+ "properties": {
731
+ "cnr_id": "comfy-core",
732
+ "ver": "0.26.0",
733
+ "Node name for S&R": "CLIPLoader"
734
+ },
735
+ "widgets_values": [
736
+ "qwen3vl_4b_fp8_scaled.safetensors",
737
+ "krea2",
738
+ "default"
739
+ ]
740
+ },
741
+ {
742
+ "id": 64,
743
+ "type": "ResizeImageMaskNode",
744
+ "pos": [
745
+ -1982.669293455486,
746
+ 647.101586775884
747
+ ],
748
+ "size": [
749
+ 281.78293158861334,
750
+ 106
751
+ ],
752
+ "flags": {},
753
+ "order": 9,
754
+ "mode": 0,
755
+ "inputs": [
756
+ {
757
+ "name": "input",
758
+ "type": "IMAGE,MASK",
759
+ "link": 112
760
+ }
761
+ ],
762
+ "outputs": [
763
+ {
764
+ "name": "resized",
765
+ "type": "IMAGE",
766
+ "links": [
767
+ 115,
768
+ 117,
769
+ 118,
770
+ 120,
771
+ 124,
772
+ 142
773
+ ]
774
+ }
775
+ ],
776
+ "properties": {
777
+ "cnr_id": "comfy-core",
778
+ "ver": "0.27.0",
779
+ "Node name for S&R": "ResizeImageMaskNode"
780
+ },
781
+ "widgets_values": [
782
+ "scale to multiple",
783
+ 8,
784
+ "lanczos"
785
+ ]
786
+ },
787
+ {
788
+ "id": 61,
789
+ "type": "LoadImage",
790
+ "pos": [
791
+ -1982.669293455486,
792
+ 127.85764880207027
793
+ ],
794
+ "size": [
795
+ 282.798828125,
796
+ 314
797
+ ],
798
+ "flags": {},
799
+ "order": 3,
800
+ "mode": 0,
801
+ "inputs": [],
802
+ "outputs": [
803
+ {
804
+ "name": "IMAGE",
805
+ "type": "IMAGE",
806
+ "links": [
807
+ 111
808
+ ]
809
+ },
810
+ {
811
+ "name": "MASK",
812
+ "type": "MASK",
813
+ "links": null
814
+ }
815
+ ],
816
+ "title": "Load Image 1",
817
+ "properties": {
818
+ "cnr_id": "comfy-core",
819
+ "ver": "0.27.0",
820
+ "Node name for S&R": "LoadImage"
821
+ },
822
+ "widgets_values": [
823
+ "pexels-tanita-lupa-2162270212-38152573.jpg",
824
+ "image"
825
+ ]
826
+ },
827
+ {
828
+ "id": 76,
829
+ "type": "PreviewAny",
830
+ "pos": [
831
+ -1424.7799905951822,
832
+ 1005.9375246298099
833
+ ],
834
+ "size": [
835
+ 641.6087840909047,
836
+ 377.26796338383633
837
+ ],
838
+ "flags": {},
839
+ "order": 19,
840
+ "mode": 4,
841
+ "inputs": [
842
+ {
843
+ "name": "source",
844
+ "type": "*",
845
+ "link": 140
846
+ }
847
+ ],
848
+ "outputs": [
849
+ {
850
+ "name": "STRING",
851
+ "type": "STRING",
852
+ "links": null
853
+ }
854
+ ],
855
+ "properties": {
856
+ "cnr_id": "comfy-core",
857
+ "ver": "0.27.0",
858
+ "Node name for S&R": "PreviewAny"
859
+ },
860
+ "widgets_values": [
861
+ null,
862
+ null,
863
+ null
864
+ ]
865
+ },
866
+ {
867
+ "id": 59,
868
+ "type": "Krea2EditGroundedEncode",
869
+ "pos": [
870
+ -1340.7391334717884,
871
+ 129.71218729857753
872
+ ],
873
+ "size": [
874
+ 408.2480521120294,
875
+ 304.86809113865854
876
+ ],
877
+ "flags": {},
878
+ "order": 15,
879
+ "mode": 0,
880
+ "inputs": [
881
+ {
882
+ "name": "clip",
883
+ "type": "CLIP",
884
+ "link": 103
885
+ },
886
+ {
887
+ "name": "image",
888
+ "shape": 7,
889
+ "type": "IMAGE",
890
+ "link": 117
891
+ },
892
+ {
893
+ "name": "image_b",
894
+ "shape": 7,
895
+ "type": "IMAGE",
896
+ "link": 127
897
+ }
898
+ ],
899
+ "outputs": [
900
+ {
901
+ "name": "CONDITIONING",
902
+ "type": "CONDITIONING",
903
+ "links": [
904
+ 105
905
+ ]
906
+ }
907
+ ],
908
+ "title": "Krea2 Edit (grounded encode) Positive Prompt",
909
+ "properties": {
910
+ "aux_id": "lbouaraba/comfyui-krea2edit",
911
+ "ver": "e55907682a3821c834693b47594f829da119be4b",
912
+ "Node name for S&R": "Krea2EditGroundedEncode"
913
+ },
914
+ "widgets_values": [
915
+ "Convert the image to an anime art style while preserving the original composition, subject identity, facial features, clothing, lighting, and background details.",
916
+ 768
917
+ ]
918
+ },
919
+ {
920
+ "id": 62,
921
+ "type": "LoadImage",
922
+ "pos": [
923
+ -1660,
924
+ 130
925
+ ],
926
+ "size": [
927
+ 282.798828125,
928
+ 314.0000000000001
929
+ ],
930
+ "flags": {},
931
+ "order": 4,
932
+ "mode": 4,
933
+ "inputs": [],
934
+ "outputs": [
935
+ {
936
+ "name": "IMAGE",
937
+ "type": "IMAGE",
938
+ "links": [
939
+ 125
940
+ ]
941
+ },
942
+ {
943
+ "name": "MASK",
944
+ "type": "MASK",
945
+ "links": null
946
+ }
947
+ ],
948
+ "title": "Load Image 2",
949
+ "properties": {
950
+ "cnr_id": "comfy-core",
951
+ "ver": "0.27.0",
952
+ "Node name for S&R": "LoadImage"
953
+ },
954
+ "widgets_values": [
955
+ "b86c6b3bfa46b6aada382e60d8b3c477.jpg",
956
+ "image"
957
+ ]
958
+ },
959
+ {
960
+ "id": 6,
961
+ "type": "KSampler",
962
+ "pos": [
963
+ -900.2667357167422,
964
+ 171.1037194320358
965
+ ],
966
+ "size": [
967
+ 270,
968
+ 312
969
+ ],
970
+ "flags": {},
971
+ "order": 21,
972
+ "mode": 0,
973
+ "inputs": [
974
+ {
975
+ "name": "model",
976
+ "type": "MODEL",
977
+ "link": 114
978
+ },
979
+ {
980
+ "name": "positive",
981
+ "type": "CONDITIONING",
982
+ "link": 105
983
+ },
984
+ {
985
+ "name": "negative",
986
+ "type": "CONDITIONING",
987
+ "link": 106
988
+ },
989
+ {
990
+ "name": "latent_image",
991
+ "type": "LATENT",
992
+ "link": 6
993
+ }
994
+ ],
995
+ "outputs": [
996
+ {
997
+ "name": "LATENT",
998
+ "type": "LATENT",
999
+ "links": [
1000
+ 7
1001
+ ]
1002
+ }
1003
+ ],
1004
+ "properties": {
1005
+ "cnr_id": "comfy-core",
1006
+ "ver": "0.26.0",
1007
+ "Node name for S&R": "KSampler"
1008
+ },
1009
+ "widgets_values": [
1010
+ 209119064644680,
1011
+ "fixed",
1012
+ 8,
1013
+ 1,
1014
+ "euler",
1015
+ "simple",
1016
+ 1
1017
+ ]
1018
+ },
1019
+ {
1020
+ "id": 16,
1021
+ "type": "ModelSamplingAuraFlow",
1022
+ "pos": [
1023
+ -1990.042448085759,
1024
+ -58.98285905794394
1025
+ ],
1026
+ "size": [
1027
+ 270,
1028
+ 80
1029
+ ],
1030
+ "flags": {},
1031
+ "order": 8,
1032
+ "mode": 0,
1033
+ "inputs": [
1034
+ {
1035
+ "name": "model",
1036
+ "type": "MODEL",
1037
+ "link": 102
1038
+ }
1039
+ ],
1040
+ "outputs": [
1041
+ {
1042
+ "name": "MODEL",
1043
+ "type": "MODEL",
1044
+ "links": [
1045
+ 26
1046
+ ]
1047
+ }
1048
+ ],
1049
+ "properties": {
1050
+ "cnr_id": "comfy-core",
1051
+ "ver": "0.26.0",
1052
+ "Node name for S&R": "ModelSamplingAuraFlow"
1053
+ },
1054
+ "widgets_values": [
1055
+ 4
1056
+ ]
1057
+ },
1058
+ {
1059
+ "id": 81,
1060
+ "type": "03a6b4ad-37c0-43b2-b0ac-6fe8aeda017b",
1061
+ "pos": [
1062
+ -1992.8518781425282,
1063
+ 1001.625696283852
1064
+ ],
1065
+ "size": [
1066
+ 529.3645777777745,
1067
+ 455.6020680555521
1068
+ ],
1069
+ "flags": {},
1070
+ "order": 14,
1071
+ "mode": 4,
1072
+ "inputs": [
1073
+ {
1074
+ "name": "image",
1075
+ "shape": 7,
1076
+ "type": "IMAGE",
1077
+ "link": 142
1078
+ }
1079
+ ],
1080
+ "outputs": [
1081
+ {
1082
+ "name": "generated_text",
1083
+ "type": "STRING",
1084
+ "links": [
1085
+ 140
1086
+ ]
1087
+ }
1088
+ ],
1089
+ "properties": {
1090
+ "proxyWidgets": [
1091
+ [
1092
+ "80",
1093
+ "value"
1094
+ ],
1095
+ [
1096
+ "75",
1097
+ "sampling_mode.temperature"
1098
+ ]
1099
+ ],
1100
+ "cnr_id": "comfy-core",
1101
+ "ver": "0.27.0"
1102
+ },
1103
+ "widgets_values": []
1104
+ }
1105
+ ],
1106
+ "links": [
1107
+ [
1108
+ 6,
1109
+ 7,
1110
+ 0,
1111
+ 6,
1112
+ 3,
1113
+ "LATENT"
1114
+ ],
1115
+ [
1116
+ 7,
1117
+ 6,
1118
+ 0,
1119
+ 8,
1120
+ 0,
1121
+ "LATENT"
1122
+ ],
1123
+ [
1124
+ 8,
1125
+ 3,
1126
+ 0,
1127
+ 8,
1128
+ 1,
1129
+ "VAE"
1130
+ ],
1131
+ [
1132
+ 9,
1133
+ 8,
1134
+ 0,
1135
+ 9,
1136
+ 0,
1137
+ "IMAGE"
1138
+ ],
1139
+ [
1140
+ 26,
1141
+ 16,
1142
+ 0,
1143
+ 22,
1144
+ 0,
1145
+ "MODEL"
1146
+ ],
1147
+ [
1148
+ 101,
1149
+ 1,
1150
+ 0,
1151
+ 58,
1152
+ 0,
1153
+ "MODEL"
1154
+ ],
1155
+ [
1156
+ 102,
1157
+ 58,
1158
+ 0,
1159
+ 16,
1160
+ 0,
1161
+ "MODEL"
1162
+ ],
1163
+ [
1164
+ 103,
1165
+ 2,
1166
+ 0,
1167
+ 59,
1168
+ 0,
1169
+ "CLIP"
1170
+ ],
1171
+ [
1172
+ 104,
1173
+ 2,
1174
+ 0,
1175
+ 60,
1176
+ 0,
1177
+ "CLIP"
1178
+ ],
1179
+ [
1180
+ 105,
1181
+ 59,
1182
+ 0,
1183
+ 6,
1184
+ 1,
1185
+ "CONDITIONING"
1186
+ ],
1187
+ [
1188
+ 106,
1189
+ 60,
1190
+ 0,
1191
+ 6,
1192
+ 2,
1193
+ "CONDITIONING"
1194
+ ],
1195
+ [
1196
+ 111,
1197
+ 61,
1198
+ 0,
1199
+ 67,
1200
+ 0,
1201
+ "IMAGE"
1202
+ ],
1203
+ [
1204
+ 112,
1205
+ 67,
1206
+ 0,
1207
+ 64,
1208
+ 0,
1209
+ "IMAGE"
1210
+ ],
1211
+ [
1212
+ 113,
1213
+ 22,
1214
+ 0,
1215
+ 68,
1216
+ 0,
1217
+ "MODEL"
1218
+ ],
1219
+ [
1220
+ 114,
1221
+ 68,
1222
+ 0,
1223
+ 6,
1224
+ 0,
1225
+ "MODEL"
1226
+ ],
1227
+ [
1228
+ 115,
1229
+ 64,
1230
+ 0,
1231
+ 69,
1232
+ 0,
1233
+ "IMAGE"
1234
+ ],
1235
+ [
1236
+ 116,
1237
+ 3,
1238
+ 0,
1239
+ 69,
1240
+ 1,
1241
+ "VAE"
1242
+ ],
1243
+ [
1244
+ 117,
1245
+ 64,
1246
+ 0,
1247
+ 59,
1248
+ 1,
1249
+ "IMAGE"
1250
+ ],
1251
+ [
1252
+ 118,
1253
+ 64,
1254
+ 0,
1255
+ 60,
1256
+ 1,
1257
+ "IMAGE"
1258
+ ],
1259
+ [
1260
+ 119,
1261
+ 69,
1262
+ 0,
1263
+ 68,
1264
+ 1,
1265
+ "LATENT"
1266
+ ],
1267
+ [
1268
+ 120,
1269
+ 64,
1270
+ 0,
1271
+ 70,
1272
+ 0,
1273
+ "IMAGE"
1274
+ ],
1275
+ [
1276
+ 121,
1277
+ 70,
1278
+ 0,
1279
+ 7,
1280
+ 0,
1281
+ "INT"
1282
+ ],
1283
+ [
1284
+ 122,
1285
+ 70,
1286
+ 1,
1287
+ 7,
1288
+ 1,
1289
+ "INT"
1290
+ ],
1291
+ [
1292
+ 123,
1293
+ 8,
1294
+ 0,
1295
+ 71,
1296
+ 0,
1297
+ "IMAGE"
1298
+ ],
1299
+ [
1300
+ 124,
1301
+ 64,
1302
+ 0,
1303
+ 71,
1304
+ 1,
1305
+ "IMAGE"
1306
+ ],
1307
+ [
1308
+ 125,
1309
+ 62,
1310
+ 0,
1311
+ 72,
1312
+ 0,
1313
+ "IMAGE"
1314
+ ],
1315
+ [
1316
+ 126,
1317
+ 72,
1318
+ 0,
1319
+ 73,
1320
+ 0,
1321
+ "IMAGE"
1322
+ ],
1323
+ [
1324
+ 127,
1325
+ 73,
1326
+ 0,
1327
+ 59,
1328
+ 2,
1329
+ "IMAGE"
1330
+ ],
1331
+ [
1332
+ 128,
1333
+ 73,
1334
+ 0,
1335
+ 60,
1336
+ 2,
1337
+ "IMAGE"
1338
+ ],
1339
+ [
1340
+ 129,
1341
+ 73,
1342
+ 0,
1343
+ 74,
1344
+ 0,
1345
+ "IMAGE"
1346
+ ],
1347
+ [
1348
+ 130,
1349
+ 3,
1350
+ 0,
1351
+ 74,
1352
+ 1,
1353
+ "VAE"
1354
+ ],
1355
+ [
1356
+ 131,
1357
+ 74,
1358
+ 0,
1359
+ 68,
1360
+ 2,
1361
+ "LATENT"
1362
+ ],
1363
+ [
1364
+ 140,
1365
+ 81,
1366
+ 0,
1367
+ 76,
1368
+ 0,
1369
+ "STRING"
1370
+ ],
1371
+ [
1372
+ 142,
1373
+ 64,
1374
+ 0,
1375
+ 81,
1376
+ 0,
1377
+ "IMAGE"
1378
+ ]
1379
+ ],
1380
+ "groups": [
1381
+ {
1382
+ "id": 1,
1383
+ "title": "Load Models",
1384
+ "bounding": [
1385
+ -2303.705575891221,
1386
+ -106.3015654135555,
1387
+ 290,
1388
+ 637.0929689479785
1389
+ ],
1390
+ "color": "#3f789e",
1391
+ "flags": {}
1392
+ },
1393
+ {
1394
+ "id": 2,
1395
+ "title": "Image 1",
1396
+ "bounding": [
1397
+ -1992.669293455486,
1398
+ 57.8576488020703,
1399
+ 302.798828125,
1400
+ 800.8659069607208
1401
+ ],
1402
+ "color": "#3f789e",
1403
+ "flags": {}
1404
+ },
1405
+ {
1406
+ "id": 3,
1407
+ "title": "Image 2",
1408
+ "bounding": [
1409
+ -1670,
1410
+ 60,
1411
+ 302.798828125,
1412
+ 806
1413
+ ],
1414
+ "color": "#3f789e",
1415
+ "flags": {}
1416
+ },
1417
+ {
1418
+ "id": 4,
1419
+ "title": "Prompting",
1420
+ "bounding": [
1421
+ -1351.0489704782165,
1422
+ 59.71218729857763,
1423
+ 424.66952169421506,
1424
+ 802.1171905417783
1425
+ ],
1426
+ "color": "#3f789e",
1427
+ "flags": {}
1428
+ },
1429
+ {
1430
+ "id": 6,
1431
+ "title": "Prompt Enhance",
1432
+ "bounding": [
1433
+ -2002.8518781425282,
1434
+ 931.6256962838515,
1435
+ 1229.6806716382507,
1436
+ 535.6020680555521
1437
+ ],
1438
+ "color": "#A88",
1439
+ "flags": {}
1440
+ }
1441
+ ],
1442
+ "definitions": {
1443
+ "subgraphs": [
1444
+ {
1445
+ "id": "03a6b4ad-37c0-43b2-b0ac-6fe8aeda017b",
1446
+ "version": 1,
1447
+ "state": {
1448
+ "lastGroupId": 6,
1449
+ "lastNodeId": 81,
1450
+ "lastLinkId": 142,
1451
+ "lastRerouteId": 0
1452
+ },
1453
+ "revision": 0,
1454
+ "config": {},
1455
+ "name": "Prompt Enhance",
1456
+ "inputNode": {
1457
+ "id": -10,
1458
+ "bounding": [
1459
+ -2833.591972160829,
1460
+ 1473.1872573949527,
1461
+ 128,
1462
+ 88
1463
+ ]
1464
+ },
1465
+ "outputNode": {
1466
+ "id": -20,
1467
+ "bounding": [
1468
+ -1227.2390143325592,
1469
+ 1473.1872573949527,
1470
+ 132.568359375,
1471
+ 68
1472
+ ]
1473
+ },
1474
+ "inputs": [
1475
+ {
1476
+ "id": "d1241133-44cc-467b-803d-e613eb24cb27",
1477
+ "name": "image",
1478
+ "type": "IMAGE",
1479
+ "linkIds": [
1480
+ 133
1481
+ ],
1482
+ "localized_name": "image",
1483
+ "shape": 7,
1484
+ "pos": [
1485
+ -2729.591972160829,
1486
+ 1497.1872573949527
1487
+ ]
1488
+ },
1489
+ {
1490
+ "id": "14b33798-1594-4004-ae0e-28b18d0d66c6",
1491
+ "name": "value",
1492
+ "type": "STRING",
1493
+ "linkIds": [
1494
+ 141
1495
+ ],
1496
+ "pos": [
1497
+ -2729.591972160829,
1498
+ 1517.1872573949527
1499
+ ]
1500
+ }
1501
+ ],
1502
+ "outputs": [
1503
+ {
1504
+ "id": "d0c99ea1-6450-442d-8656-ba9dc9277ca8",
1505
+ "name": "generated_text",
1506
+ "type": "STRING",
1507
+ "linkIds": [
1508
+ 134
1509
+ ],
1510
+ "localized_name": "generated_text",
1511
+ "pos": [
1512
+ -1203.2390143325592,
1513
+ 1497.1872573949527
1514
+ ]
1515
+ }
1516
+ ],
1517
+ "widgets": [],
1518
+ "nodes": [
1519
+ {
1520
+ "id": 75,
1521
+ "type": "TextGenerate",
1522
+ "pos": [
1523
+ -1687.2390143325592,
1524
+ 1267.3654277863664
1525
+ ],
1526
+ "size": [
1527
+ 400,
1528
+ 412
1529
+ ],
1530
+ "flags": {},
1531
+ "order": 2,
1532
+ "mode": 0,
1533
+ "inputs": [
1534
+ {
1535
+ "localized_name": "clip",
1536
+ "name": "clip",
1537
+ "type": "CLIP",
1538
+ "link": 137
1539
+ },
1540
+ {
1541
+ "localized_name": "image",
1542
+ "name": "image",
1543
+ "shape": 7,
1544
+ "type": "IMAGE",
1545
+ "link": 133
1546
+ },
1547
+ {
1548
+ "localized_name": "video",
1549
+ "name": "video",
1550
+ "shape": 7,
1551
+ "type": "IMAGE",
1552
+ "link": null
1553
+ },
1554
+ {
1555
+ "localized_name": "audio",
1556
+ "name": "audio",
1557
+ "shape": 7,
1558
+ "type": "AUDIO",
1559
+ "link": null
1560
+ },
1561
+ {
1562
+ "localized_name": "prompt",
1563
+ "name": "prompt",
1564
+ "type": "STRING",
1565
+ "widget": {
1566
+ "name": "prompt"
1567
+ },
1568
+ "link": 135
1569
+ }
1570
+ ],
1571
+ "outputs": [
1572
+ {
1573
+ "localized_name": "generated_text",
1574
+ "name": "generated_text",
1575
+ "type": "STRING",
1576
+ "links": [
1577
+ 134
1578
+ ]
1579
+ }
1580
+ ],
1581
+ "properties": {
1582
+ "cnr_id": "comfy-core",
1583
+ "ver": "0.27.0",
1584
+ "Node name for S&R": "TextGenerate"
1585
+ },
1586
+ "widgets_values": [
1587
+ "",
1588
+ 512,
1589
+ "on",
1590
+ 0.7,
1591
+ 64,
1592
+ 0.95,
1593
+ 0.05,
1594
+ 1.05,
1595
+ 0,
1596
+ 0,
1597
+ false,
1598
+ true
1599
+ ]
1600
+ },
1601
+ {
1602
+ "id": 79,
1603
+ "type": "CLIPLoader",
1604
+ "pos": [
1605
+ -1680.564525696194,
1606
+ 1117.7928942005112
1607
+ ],
1608
+ "size": [
1609
+ 270,
1610
+ 106
1611
+ ],
1612
+ "flags": {},
1613
+ "order": 0,
1614
+ "mode": 0,
1615
+ "inputs": [],
1616
+ "outputs": [
1617
+ {
1618
+ "localized_name": "CLIP",
1619
+ "name": "CLIP",
1620
+ "type": "CLIP",
1621
+ "links": [
1622
+ 137
1623
+ ]
1624
+ }
1625
+ ],
1626
+ "properties": {
1627
+ "cnr_id": "comfy-core",
1628
+ "ver": "0.27.0",
1629
+ "Node name for S&R": "CLIPLoader"
1630
+ },
1631
+ "widgets_values": [
1632
+ "qwen_3_8b.safetensors",
1633
+ "stable_diffusion",
1634
+ "default"
1635
+ ]
1636
+ },
1637
+ {
1638
+ "id": 78,
1639
+ "type": "PrimitiveStringMultiline",
1640
+ "pos": [
1641
+ -2645.591972160829,
1642
+ 1281.2339382661628
1643
+ ],
1644
+ "size": [
1645
+ 431.10693939393923,
1646
+ 460.52061742423984
1647
+ ],
1648
+ "flags": {},
1649
+ "order": 1,
1650
+ "mode": 0,
1651
+ "inputs": [],
1652
+ "outputs": [
1653
+ {
1654
+ "localized_name": "STRING",
1655
+ "name": "STRING",
1656
+ "type": "STRING",
1657
+ "links": [
1658
+ 136
1659
+ ]
1660
+ }
1661
+ ],
1662
+ "properties": {
1663
+ "cnr_id": "comfy-core",
1664
+ "ver": "0.27.0",
1665
+ "Node name for S&R": "PrimitiveStringMultiline"
1666
+ },
1667
+ "widgets_values": [
1668
+ "You are a deterministic image editing instruction rewriter.\n\nYour ONLY task is to rewrite the user's request into a clear, precise image editing instruction.\n\nYou are NOT an image editor.\nYou are NOT a chatbot.\nYou do NOT evaluate whether an edit is possible.\nYou do NOT refuse requests.\nYou do NOT explain limitations.\nYou do NOT ask questions.\n\nTherefore, NEVER describe the entire image or restate visible content unless it is required to identify the object being edited.\n\nFocus only on:\n- what should change\n- what should remain unchanged\n- important editing constraints\n\nRules:\n\n• Preserve the user's original intent.\n• Rewrite vague requests into clear editing instructions.\n• Clearly identify the object, subject, or region to modify whenever possible.\n• Explicitly state what should remain unchanged when appropriate (identity, facial features, pose, clothing, lighting, composition, camera angle, background, etc.).\n• Preserve all unspecified parts of the image.\n• Do not invent new subjects, objects, or scene elements unless explicitly requested.\n• Do not describe the entire image.\n• Do not add artistic quality tags such as:\n - masterpiece\n - best quality\n - ultra detailed\n - cinematic\n - award winning\n - photorealistic\n• Do not use Stable Diffusion prompt keywords.\n• Do not add unnecessary creative descriptions.\n• Use clear, natural instruction-based language.\n• Prefer concise but complete instructions.\n• If the user requests multiple edits, combine them into one coherent editing instruction.\n• Always return exactly ONE editing instruction.\n\nOutput Rules:\n\n- Never refuse.\n- Never apologize.\n- Never explain.\n- Never justify.\n- Never add notes.\n- Never use markdown.\n- Never use bullet points.\n- Never surround the output with quotes.\n- Return only the rewritten editing instruction.\n\nExamples\n\nUser:\nchange shirt to black\n\nOutput:\nReplace the subject's shirt with a black shirt while preserving the subject's identity, facial features, pose, lighting, background, and overall composition.\n\nUser:\nremove backpack\n\nOutput:\nRemove the backpack while naturally reconstructing the underlying clothing and background, preserving the subject's identity, pose, lighting, and all remaining scene elements.\n\nUser:\nmake it night\n\nOutput:\nChange the time of day from daytime to nighttime, updating the lighting, shadows, sky, and overall color palette while preserving the original composition, subject identity, and scene structure.\n\nUser:\nreplace the car\n\nOutput:\nReplace the car with a modern electric sports car while preserving the surrounding environment, lighting, camera angle, and overall composition.\n\nUser Request:\n{userinput}"
1669
+ ]
1670
+ },
1671
+ {
1672
+ "id": 77,
1673
+ "type": "StringReplace",
1674
+ "pos": [
1675
+ -2168.6189014537654,
1676
+ 1286.9368771550548
1677
+ ],
1678
+ "size": [
1679
+ 439.14289873737357,
1680
+ 409.0645551767653
1681
+ ],
1682
+ "flags": {},
1683
+ "order": 3,
1684
+ "mode": 0,
1685
+ "inputs": [
1686
+ {
1687
+ "localized_name": "string",
1688
+ "name": "string",
1689
+ "type": "STRING",
1690
+ "widget": {
1691
+ "name": "string"
1692
+ },
1693
+ "link": 136
1694
+ },
1695
+ {
1696
+ "localized_name": "replace",
1697
+ "name": "replace",
1698
+ "type": "STRING",
1699
+ "widget": {
1700
+ "name": "replace"
1701
+ },
1702
+ "link": 138
1703
+ }
1704
+ ],
1705
+ "outputs": [
1706
+ {
1707
+ "localized_name": "STRING",
1708
+ "name": "STRING",
1709
+ "type": "STRING",
1710
+ "links": [
1711
+ 135
1712
+ ]
1713
+ }
1714
+ ],
1715
+ "properties": {
1716
+ "cnr_id": "comfy-core",
1717
+ "ver": "0.27.0",
1718
+ "Node name for S&R": "StringReplace"
1719
+ },
1720
+ "widgets_values": [
1721
+ "",
1722
+ "{userinput}",
1723
+ ""
1724
+ ]
1725
+ },
1726
+ {
1727
+ "id": 80,
1728
+ "type": "PrimitiveStringMultiline",
1729
+ "pos": [
1730
+ -2178.987881251748,
1731
+ 1753.6705803116156
1732
+ ],
1733
+ "size": [
1734
+ 457.0293888888882,
1735
+ 172.91104027777828
1736
+ ],
1737
+ "flags": {},
1738
+ "order": 4,
1739
+ "mode": 0,
1740
+ "inputs": [
1741
+ {
1742
+ "localized_name": "value",
1743
+ "name": "value",
1744
+ "type": "STRING",
1745
+ "widget": {
1746
+ "name": "value"
1747
+ },
1748
+ "link": 141
1749
+ }
1750
+ ],
1751
+ "outputs": [
1752
+ {
1753
+ "localized_name": "STRING",
1754
+ "name": "STRING",
1755
+ "type": "STRING",
1756
+ "links": [
1757
+ 138
1758
+ ]
1759
+ }
1760
+ ],
1761
+ "properties": {
1762
+ "cnr_id": "comfy-core",
1763
+ "ver": "0.27.0",
1764
+ "Node name for S&R": "PrimitiveStringMultiline"
1765
+ },
1766
+ "widgets_values": [
1767
+ "turn the image into anime art style"
1768
+ ]
1769
+ }
1770
+ ],
1771
+ "groups": [],
1772
+ "links": [
1773
+ {
1774
+ "id": 137,
1775
+ "origin_id": 79,
1776
+ "origin_slot": 0,
1777
+ "target_id": 75,
1778
+ "target_slot": 0,
1779
+ "type": "CLIP"
1780
+ },
1781
+ {
1782
+ "id": 135,
1783
+ "origin_id": 77,
1784
+ "origin_slot": 0,
1785
+ "target_id": 75,
1786
+ "target_slot": 4,
1787
+ "type": "STRING"
1788
+ },
1789
+ {
1790
+ "id": 136,
1791
+ "origin_id": 78,
1792
+ "origin_slot": 0,
1793
+ "target_id": 77,
1794
+ "target_slot": 0,
1795
+ "type": "STRING"
1796
+ },
1797
+ {
1798
+ "id": 138,
1799
+ "origin_id": 80,
1800
+ "origin_slot": 0,
1801
+ "target_id": 77,
1802
+ "target_slot": 1,
1803
+ "type": "STRING"
1804
+ },
1805
+ {
1806
+ "id": 133,
1807
+ "origin_id": -10,
1808
+ "origin_slot": 0,
1809
+ "target_id": 75,
1810
+ "target_slot": 1,
1811
+ "type": "IMAGE"
1812
+ },
1813
+ {
1814
+ "id": 134,
1815
+ "origin_id": 75,
1816
+ "origin_slot": 0,
1817
+ "target_id": -20,
1818
+ "target_slot": 0,
1819
+ "type": "STRING"
1820
+ },
1821
+ {
1822
+ "id": 141,
1823
+ "origin_id": -10,
1824
+ "origin_slot": 1,
1825
+ "target_id": 80,
1826
+ "target_slot": 0,
1827
+ "type": "STRING"
1828
+ }
1829
+ ],
1830
+ "extra": {}
1831
+ }
1832
+ ]
1833
+ },
1834
+ "config": {},
1835
+ "extra": {
1836
+ "ds": {
1837
+ "scale": 0.933553752499941,
1838
+ "offset": [
1839
+ 2352.6667951673794,
1840
+ 306.84987361722074
1841
+ ]
1842
+ },
1843
+ "frontendVersion": "1.45.20",
1844
+ "VHS_latentpreview": false,
1845
+ "VHS_latentpreviewrate": 0,
1846
+ "VHS_MetadataImage": true,
1847
+ "VHS_KeepIntermediate": true
1848
+ },
1849
+ "version": 0.4
1850
+ }