Jaxsavvy peteromallet commited on
Commit
91ccb0c
·
0 Parent(s):

Duplicate from peteromallet/Qwen-Image-Edit-InSubject

Browse files

Co-authored-by: Peter O'Malley <peteromallet@users.noreply.huggingface.co>

Files changed (6) hide show
  1. .gitattributes +37 -0
  2. InSubject-0.5.safetensors +3 -0
  3. README.md +72 -0
  4. sample.mp4 +3 -0
  5. workflow.json +2532 -0
  6. workflow.png +3 -0
.gitattributes ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ sample.mp4 filter=lfs diff=lfs merge=lfs -text
37
+ workflow.png filter=lfs diff=lfs merge=lfs -text
InSubject-0.5.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4625cec72a7cef67fe844eae744b68144d03ac53b353fd3c0690fe024f084bdd
3
+ size 147687248
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - peteromallet/InSubject-Dataset
5
+ base_model:
6
+ - Qwen/Qwen-Image-Edit
7
+ tags:
8
+ - image
9
+ - editing
10
+ - lora
11
+ - style-transfer
12
+ - qwen
13
+ pipeline_tag: image-to-image
14
+ library_name: diffusers
15
+ ---
16
+
17
+ # QwenEdit InSubject LoRA
18
+
19
+ ## Model Description
20
+
21
+ **QwenEdit InSubject** is a LoRA fine-tune for QwenEdit that significantly improves its ability to preserve subjects while making edits to images. It works effectively with both single subjects and multiple subjects in the same image. While the base model can perform various image edits, it often loses important subject characteristics or distorts the main subjects during the editing process. This LoRA addresses these limitations to provide more accurate subject-preserving image editing.
22
+
23
+ <video controls>
24
+ <source src="sample.mp4" type="video/mp4">
25
+ Your browser does not support the video tag.
26
+ </video>
27
+
28
+ ## How to Use
29
+
30
+ To get the best results, use this prompt format:
31
+
32
+ `Make an image of [subject description] in the same scene [new pose/action/details]`
33
+
34
+ You can include "in the same scene" to preserve the original scene and background while modifying the subject's pose, clothing, or other details.
35
+
36
+ For example:
37
+ `Make an image of the horned woman in the same scene seated on a low pink ottoman, adjusting the buckle on one of her matching blue heels while her other leg is delicately crossed, wearing a blue and gold dress with a ruffled collar, red lips and freckles, the vibrant pink background still filling the frame behind her.`
38
+
39
+ ### use with diffusers
40
+
41
+ ```
42
+ import torch
43
+ from diffusers import QwenImageEditPipeline
44
+
45
+ pipe = QwenImageEditPipeline.from_pretrained("Qwen/Qwen-Image-Edit", torch_dtype=torch.bfloat16)
46
+ pipe.to("cuda")
47
+
48
+ pipe.load_lora_weights("peteromallet/Qwen-Image-Edit-InSubject", weight_name="InSubject-0.5.safetensors")
49
+ ```
50
+
51
+ ### Strengths & Weaknesses
52
+
53
+ The model excels at:
54
+ - Preserving subject identity and key characteristics during edits
55
+ - Maintaining subject proportions and anatomical accuracy
56
+ - Making targeted edits without affecting the main subject
57
+ - Strong subject-aware prompt adherence
58
+
59
+ The model may struggle with:
60
+ - Complex multi-subject scenes where subject boundaries are unclear
61
+ - Very dramatic lighting changes that fundamentally alter subject appearance
62
+ - Edits that require significant subject pose or orientation changes
63
+
64
+ ## Training Data
65
+
66
+ The QwenEdit InSubject LoRA was trained on a curated dataset of high-quality image editing pairs that focus on subject preservation. You can find this data [here](https://huggingface.co/datasets/peteromallet/InSubject-Dataset).
67
+
68
+
69
+ ## Links
70
+
71
+ - Model: [https://huggingface.co/peteromallet/Qwen-Image-Edit-InSubject](https://huggingface.co/peteromallet/Qwen-Image-Edit-InSubject)
72
+ - Dataset: [https://huggingface.co/datasets/peteromallet/high-quality-midjouney-srefs](https://huggingface.co/datasets/peteromallet/high-quality-midjouney-srefs)
sample.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfdca9298a3b589f95576dbe2fe32b0e1fc1afc3d7e1643d934761992bd95aff
3
+ size 19191631
workflow.json ADDED
@@ -0,0 +1,2532 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
3
+ "revision": 0,
4
+ "last_node_id": 394,
5
+ "last_link_id": 623,
6
+ "nodes": [
7
+ {
8
+ "id": 377,
9
+ "type": "VAEEncode",
10
+ "pos": [
11
+ -121.45683288574219,
12
+ 2561.767822265625
13
+ ],
14
+ "size": [
15
+ 140,
16
+ 46
17
+ ],
18
+ "flags": {},
19
+ "order": 13,
20
+ "mode": 4,
21
+ "inputs": [
22
+ {
23
+ "label": "pixels",
24
+ "localized_name": "pixels",
25
+ "name": "pixels",
26
+ "type": "IMAGE",
27
+ "link": 597
28
+ },
29
+ {
30
+ "label": "vae",
31
+ "localized_name": "vae",
32
+ "name": "vae",
33
+ "type": "VAE",
34
+ "link": 595
35
+ }
36
+ ],
37
+ "outputs": [
38
+ {
39
+ "label": "LATENT",
40
+ "localized_name": "LATENT",
41
+ "name": "LATENT",
42
+ "type": "LATENT",
43
+ "links": [
44
+ 608
45
+ ]
46
+ }
47
+ ],
48
+ "properties": {
49
+ "Node name for S&R": "VAEEncode",
50
+ "cnr_id": "comfy-core",
51
+ "ver": "0.3.50",
52
+ "enableTabs": false,
53
+ "tabWidth": 65,
54
+ "tabXOffset": 10,
55
+ "hasSecondTab": false,
56
+ "secondTabText": "Send Back",
57
+ "secondTabOffset": 80,
58
+ "secondTabWidth": 65,
59
+ "ue_properties": {
60
+ "widget_ue_connectable": {},
61
+ "version": "7.3",
62
+ "input_ue_unconnectable": {}
63
+ }
64
+ },
65
+ "widgets_values": []
66
+ },
67
+ {
68
+ "id": 343,
69
+ "type": "LoadImage",
70
+ "pos": [
71
+ -551.4566040039062,
72
+ 2191.76806640625
73
+ ],
74
+ "size": [
75
+ 274.080078125,
76
+ 314.0000305175781
77
+ ],
78
+ "flags": {},
79
+ "order": 0,
80
+ "mode": 4,
81
+ "inputs": [
82
+ {
83
+ "localized_name": "image",
84
+ "name": "image",
85
+ "type": "COMBO",
86
+ "widget": {
87
+ "name": "image"
88
+ },
89
+ "link": null
90
+ },
91
+ {
92
+ "localized_name": "choose file to upload",
93
+ "name": "upload",
94
+ "type": "IMAGEUPLOAD",
95
+ "widget": {
96
+ "name": "upload"
97
+ },
98
+ "link": null
99
+ }
100
+ ],
101
+ "outputs": [
102
+ {
103
+ "label": "IMAGE",
104
+ "localized_name": "IMAGE",
105
+ "name": "IMAGE",
106
+ "type": "IMAGE",
107
+ "links": [
108
+ 596
109
+ ]
110
+ },
111
+ {
112
+ "label": "MASK",
113
+ "localized_name": "MASK",
114
+ "name": "MASK",
115
+ "type": "MASK",
116
+ "links": null
117
+ }
118
+ ],
119
+ "properties": {
120
+ "Node name for S&R": "LoadImage",
121
+ "cnr_id": "comfy-core",
122
+ "ver": "0.3.50",
123
+ "enableTabs": false,
124
+ "tabWidth": 65,
125
+ "tabXOffset": 10,
126
+ "hasSecondTab": false,
127
+ "secondTabText": "Send Back",
128
+ "secondTabOffset": 80,
129
+ "secondTabWidth": 65,
130
+ "ue_properties": {
131
+ "widget_ue_connectable": {
132
+ "image": true,
133
+ "upload": true
134
+ },
135
+ "version": "7.3",
136
+ "input_ue_unconnectable": {}
137
+ }
138
+ },
139
+ "widgets_values": [
140
+ "0_1 (5).png",
141
+ "image"
142
+ ]
143
+ },
144
+ {
145
+ "id": 344,
146
+ "type": "LoadImage",
147
+ "pos": [
148
+ -261.4567565917969,
149
+ 2191.76806640625
150
+ ],
151
+ "size": [
152
+ 274.080078125,
153
+ 314.0000305175781
154
+ ],
155
+ "flags": {},
156
+ "order": 1,
157
+ "mode": 4,
158
+ "inputs": [
159
+ {
160
+ "localized_name": "image",
161
+ "name": "image",
162
+ "type": "COMBO",
163
+ "widget": {
164
+ "name": "image"
165
+ },
166
+ "link": null
167
+ },
168
+ {
169
+ "localized_name": "choose file to upload",
170
+ "name": "upload",
171
+ "type": "IMAGEUPLOAD",
172
+ "widget": {
173
+ "name": "upload"
174
+ },
175
+ "link": null
176
+ }
177
+ ],
178
+ "outputs": [
179
+ {
180
+ "label": "IMAGE",
181
+ "localized_name": "IMAGE",
182
+ "name": "IMAGE",
183
+ "type": "IMAGE",
184
+ "links": [
185
+ 597
186
+ ]
187
+ },
188
+ {
189
+ "label": "MASK",
190
+ "localized_name": "MASK",
191
+ "name": "MASK",
192
+ "type": "MASK",
193
+ "links": null
194
+ }
195
+ ],
196
+ "properties": {
197
+ "Node name for S&R": "LoadImage",
198
+ "cnr_id": "comfy-core",
199
+ "ver": "0.3.50",
200
+ "enableTabs": false,
201
+ "tabWidth": 65,
202
+ "tabXOffset": 10,
203
+ "hasSecondTab": false,
204
+ "secondTabText": "Send Back",
205
+ "secondTabOffset": 80,
206
+ "secondTabWidth": 65,
207
+ "ue_properties": {
208
+ "widget_ue_connectable": {
209
+ "image": true,
210
+ "upload": true
211
+ },
212
+ "version": "7.3",
213
+ "input_ue_unconnectable": {}
214
+ }
215
+ },
216
+ "widgets_values": [
217
+ "pose.png",
218
+ "image"
219
+ ]
220
+ },
221
+ {
222
+ "id": 337,
223
+ "type": "VAELoader",
224
+ "pos": [
225
+ -867.2044677734375,
226
+ 1992.507568359375
227
+ ],
228
+ "size": [
229
+ 330,
230
+ 60
231
+ ],
232
+ "flags": {},
233
+ "order": 2,
234
+ "mode": 0,
235
+ "inputs": [
236
+ {
237
+ "localized_name": "vae_name",
238
+ "name": "vae_name",
239
+ "type": "COMBO",
240
+ "widget": {
241
+ "name": "vae_name"
242
+ },
243
+ "link": null
244
+ }
245
+ ],
246
+ "outputs": [
247
+ {
248
+ "label": "VAE",
249
+ "localized_name": "VAE",
250
+ "name": "VAE",
251
+ "type": "VAE",
252
+ "slot_index": 0,
253
+ "links": [
254
+ 501,
255
+ 593,
256
+ 594,
257
+ 595
258
+ ]
259
+ }
260
+ ],
261
+ "properties": {
262
+ "Node name for S&R": "VAELoader",
263
+ "cnr_id": "comfy-core",
264
+ "ver": "0.3.48",
265
+ "models": [
266
+ {
267
+ "name": "qwen_image_vae.safetensors",
268
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
269
+ "directory": "vae"
270
+ }
271
+ ],
272
+ "enableTabs": false,
273
+ "tabWidth": 65,
274
+ "tabXOffset": 10,
275
+ "hasSecondTab": false,
276
+ "secondTabText": "Send Back",
277
+ "secondTabOffset": 80,
278
+ "secondTabWidth": 65,
279
+ "ue_properties": {
280
+ "version": "7.3",
281
+ "widget_ue_connectable": {},
282
+ "input_ue_unconnectable": {}
283
+ }
284
+ },
285
+ "widgets_values": [
286
+ "qwen_image_vae.safetensors"
287
+ ]
288
+ },
289
+ {
290
+ "id": 339,
291
+ "type": "ModelSamplingAuraFlow",
292
+ "pos": [
293
+ 142.7958221435547,
294
+ 1532.5076904296875
295
+ ],
296
+ "size": [
297
+ 290,
298
+ 60
299
+ ],
300
+ "flags": {},
301
+ "order": 20,
302
+ "mode": 0,
303
+ "inputs": [
304
+ {
305
+ "label": "model",
306
+ "localized_name": "model",
307
+ "name": "model",
308
+ "type": "MODEL",
309
+ "link": 615
310
+ },
311
+ {
312
+ "localized_name": "shift",
313
+ "name": "shift",
314
+ "type": "FLOAT",
315
+ "widget": {
316
+ "name": "shift"
317
+ },
318
+ "link": null
319
+ }
320
+ ],
321
+ "outputs": [
322
+ {
323
+ "label": "MODEL",
324
+ "localized_name": "MODEL",
325
+ "name": "MODEL",
326
+ "type": "MODEL",
327
+ "links": [
328
+ 499
329
+ ]
330
+ }
331
+ ],
332
+ "properties": {
333
+ "Node name for S&R": "ModelSamplingAuraFlow",
334
+ "cnr_id": "comfy-core",
335
+ "ver": "0.3.48",
336
+ "enableTabs": false,
337
+ "tabWidth": 65,
338
+ "tabXOffset": 10,
339
+ "hasSecondTab": false,
340
+ "secondTabText": "Send Back",
341
+ "secondTabOffset": 80,
342
+ "secondTabWidth": 65,
343
+ "ue_properties": {
344
+ "version": "7.3",
345
+ "widget_ue_connectable": {},
346
+ "input_ue_unconnectable": {}
347
+ }
348
+ },
349
+ "widgets_values": [
350
+ 3
351
+ ]
352
+ },
353
+ {
354
+ "id": 335,
355
+ "type": "CFGNorm",
356
+ "pos": [
357
+ 142.7958221435547,
358
+ 1642.5076904296875
359
+ ],
360
+ "size": [
361
+ 290,
362
+ 60
363
+ ],
364
+ "flags": {},
365
+ "order": 21,
366
+ "mode": 0,
367
+ "inputs": [
368
+ {
369
+ "label": "model",
370
+ "localized_name": "model",
371
+ "name": "model",
372
+ "type": "MODEL",
373
+ "link": 499
374
+ },
375
+ {
376
+ "localized_name": "strength",
377
+ "name": "strength",
378
+ "type": "FLOAT",
379
+ "widget": {
380
+ "name": "strength"
381
+ },
382
+ "link": null
383
+ }
384
+ ],
385
+ "outputs": [
386
+ {
387
+ "label": "patched_model",
388
+ "localized_name": "patched_model",
389
+ "name": "patched_model",
390
+ "type": "MODEL",
391
+ "links": [
392
+ 503
393
+ ]
394
+ }
395
+ ],
396
+ "properties": {
397
+ "Node name for S&R": "CFGNorm",
398
+ "cnr_id": "comfy-core",
399
+ "ver": "0.3.50",
400
+ "enableTabs": false,
401
+ "tabWidth": 65,
402
+ "tabXOffset": 10,
403
+ "hasSecondTab": false,
404
+ "secondTabText": "Send Back",
405
+ "secondTabOffset": 80,
406
+ "secondTabWidth": 65,
407
+ "ue_properties": {
408
+ "widget_ue_connectable": {
409
+ "strength": true
410
+ },
411
+ "version": "7.3",
412
+ "input_ue_unconnectable": {}
413
+ }
414
+ },
415
+ "widgets_values": [
416
+ 1
417
+ ]
418
+ },
419
+ {
420
+ "id": 336,
421
+ "type": "VAEDecode",
422
+ "pos": [
423
+ 482.795654296875,
424
+ 1532.5076904296875
425
+ ],
426
+ "size": [
427
+ 210,
428
+ 46
429
+ ],
430
+ "flags": {
431
+ "collapsed": false
432
+ },
433
+ "order": 23,
434
+ "mode": 0,
435
+ "inputs": [
436
+ {
437
+ "label": "samples",
438
+ "localized_name": "samples",
439
+ "name": "samples",
440
+ "type": "LATENT",
441
+ "link": 500
442
+ },
443
+ {
444
+ "label": "vae",
445
+ "localized_name": "vae",
446
+ "name": "vae",
447
+ "type": "VAE",
448
+ "link": 501
449
+ }
450
+ ],
451
+ "outputs": [
452
+ {
453
+ "label": "IMAGE",
454
+ "localized_name": "IMAGE",
455
+ "name": "IMAGE",
456
+ "type": "IMAGE",
457
+ "slot_index": 0,
458
+ "links": [
459
+ 507
460
+ ]
461
+ }
462
+ ],
463
+ "properties": {
464
+ "Node name for S&R": "VAEDecode",
465
+ "cnr_id": "comfy-core",
466
+ "ver": "0.3.48",
467
+ "enableTabs": false,
468
+ "tabWidth": 65,
469
+ "tabXOffset": 10,
470
+ "hasSecondTab": false,
471
+ "secondTabText": "Send Back",
472
+ "secondTabOffset": 80,
473
+ "secondTabWidth": 65,
474
+ "ue_properties": {
475
+ "version": "7.3",
476
+ "widget_ue_connectable": {},
477
+ "input_ue_unconnectable": {}
478
+ }
479
+ },
480
+ "widgets_values": []
481
+ },
482
+ {
483
+ "id": 352,
484
+ "type": "MarkdownNote",
485
+ "pos": [
486
+ 142.7958221435547,
487
+ 2272.5068359375
488
+ ],
489
+ "size": [
490
+ 300,
491
+ 160
492
+ ],
493
+ "flags": {},
494
+ "order": 3,
495
+ "mode": 0,
496
+ "inputs": [],
497
+ "outputs": [],
498
+ "title": "Note: KSampler settings",
499
+ "properties": {
500
+ "ue_properties": {
501
+ "widget_ue_connectable": {},
502
+ "version": "7.3",
503
+ "input_ue_unconnectable": {}
504
+ }
505
+ },
506
+ "widgets_values": [
507
+ "You can test and find the best setting by yourself. The following table is for reference.\n\n| Model | Steps | CFG |\n|--------------------------|-------|-----|\n| Official | 50 | 4.0 |\n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4steps LoRA | 4 | 1.0 |"
508
+ ],
509
+ "color": "#432",
510
+ "bgcolor": "#653"
511
+ },
512
+ {
513
+ "id": 351,
514
+ "type": "MarkdownNote",
515
+ "pos": [
516
+ 132.7958221435547,
517
+ 2692.5068359375
518
+ ],
519
+ "size": [
520
+ 330,
521
+ 90
522
+ ],
523
+ "flags": {},
524
+ "order": 4,
525
+ "mode": 0,
526
+ "inputs": [],
527
+ "outputs": [],
528
+ "title": "Note: About image size",
529
+ "properties": {
530
+ "ue_properties": {
531
+ "widget_ue_connectable": {},
532
+ "version": "7.3",
533
+ "input_ue_unconnectable": {}
534
+ }
535
+ },
536
+ "widgets_values": [
537
+ "You can use the latent from **EmptySD3LatentImage** to replace **VAE Encode** to customize the image size."
538
+ ],
539
+ "color": "#432",
540
+ "bgcolor": "#653"
541
+ },
542
+ {
543
+ "id": 383,
544
+ "type": "c46c74c1-cfc4-41eb-81a8-9c6701737ef6",
545
+ "pos": [
546
+ -217.20423889160156,
547
+ 2702.5068359375
548
+ ],
549
+ "size": [
550
+ 243.58987426757812,
551
+ 110
552
+ ],
553
+ "flags": {},
554
+ "order": 18,
555
+ "mode": 0,
556
+ "inputs": [
557
+ {
558
+ "label": "latent_2",
559
+ "localized_name": "latent_2",
560
+ "name": "latent_2",
561
+ "type": "LATENT",
562
+ "link": 604
563
+ },
564
+ {
565
+ "label": "latent",
566
+ "name": "latent",
567
+ "type": "LATENT",
568
+ "link": 609
569
+ },
570
+ {
571
+ "label": "latent_1",
572
+ "name": "latent_1",
573
+ "type": "LATENT",
574
+ "link": 608
575
+ },
576
+ {
577
+ "label": "conditioning",
578
+ "name": "conditioning",
579
+ "type": "CONDITIONING",
580
+ "link": 610
581
+ },
582
+ {
583
+ "label": "conditioning_1",
584
+ "name": "conditioning_1",
585
+ "type": "CONDITIONING",
586
+ "link": 611
587
+ }
588
+ ],
589
+ "outputs": [
590
+ {
591
+ "label": "CONDITIONING_1",
592
+ "localized_name": "CONDITIONING_1",
593
+ "name": "CONDITIONING_1",
594
+ "type": "CONDITIONING",
595
+ "links": [
596
+ 607
597
+ ]
598
+ },
599
+ {
600
+ "label": "CONDITIONING",
601
+ "name": "CONDITIONING",
602
+ "type": "CONDITIONING",
603
+ "links": [
604
+ 612
605
+ ]
606
+ }
607
+ ],
608
+ "properties": {
609
+ "cnr_id": "comfy-core",
610
+ "ver": "0.3.63",
611
+ "proxyWidgets": [],
612
+ "ue_properties": {
613
+ "widget_ue_connectable": {},
614
+ "version": "7.3",
615
+ "input_ue_unconnectable": {}
616
+ }
617
+ },
618
+ "widgets_values": []
619
+ },
620
+ {
621
+ "id": 376,
622
+ "type": "VAEEncode",
623
+ "pos": [
624
+ -411.45660400390625,
625
+ 2561.767822265625
626
+ ],
627
+ "size": [
628
+ 140,
629
+ 46
630
+ ],
631
+ "flags": {},
632
+ "order": 12,
633
+ "mode": 4,
634
+ "inputs": [
635
+ {
636
+ "label": "pixels",
637
+ "localized_name": "pixels",
638
+ "name": "pixels",
639
+ "type": "IMAGE",
640
+ "link": 596
641
+ },
642
+ {
643
+ "label": "vae",
644
+ "localized_name": "vae",
645
+ "name": "vae",
646
+ "type": "VAE",
647
+ "link": 594
648
+ }
649
+ ],
650
+ "outputs": [
651
+ {
652
+ "label": "LATENT",
653
+ "localized_name": "LATENT",
654
+ "name": "LATENT",
655
+ "type": "LATENT",
656
+ "links": [
657
+ 609
658
+ ]
659
+ }
660
+ ],
661
+ "properties": {
662
+ "Node name for S&R": "VAEEncode",
663
+ "cnr_id": "comfy-core",
664
+ "ver": "0.3.50",
665
+ "enableTabs": false,
666
+ "tabWidth": 65,
667
+ "tabXOffset": 10,
668
+ "hasSecondTab": false,
669
+ "secondTabText": "Send Back",
670
+ "secondTabOffset": 80,
671
+ "secondTabWidth": 65,
672
+ "ue_properties": {
673
+ "widget_ue_connectable": {},
674
+ "version": "7.3",
675
+ "input_ue_unconnectable": {}
676
+ }
677
+ },
678
+ "widgets_values": []
679
+ },
680
+ {
681
+ "id": 338,
682
+ "type": "CLIPLoader",
683
+ "pos": [
684
+ -867.2044677734375,
685
+ 1832.5076904296875
686
+ ],
687
+ "size": [
688
+ 330,
689
+ 110
690
+ ],
691
+ "flags": {},
692
+ "order": 5,
693
+ "mode": 0,
694
+ "inputs": [
695
+ {
696
+ "localized_name": "clip_name",
697
+ "name": "clip_name",
698
+ "type": "COMBO",
699
+ "widget": {
700
+ "name": "clip_name"
701
+ },
702
+ "link": null
703
+ },
704
+ {
705
+ "localized_name": "type",
706
+ "name": "type",
707
+ "type": "COMBO",
708
+ "widget": {
709
+ "name": "type"
710
+ },
711
+ "link": null
712
+ },
713
+ {
714
+ "localized_name": "device",
715
+ "name": "device",
716
+ "shape": 7,
717
+ "type": "COMBO",
718
+ "widget": {
719
+ "name": "device"
720
+ },
721
+ "link": null
722
+ }
723
+ ],
724
+ "outputs": [
725
+ {
726
+ "label": "CLIP",
727
+ "localized_name": "CLIP",
728
+ "name": "CLIP",
729
+ "type": "CLIP",
730
+ "slot_index": 0,
731
+ "links": [
732
+ 510,
733
+ 515
734
+ ]
735
+ }
736
+ ],
737
+ "properties": {
738
+ "Node name for S&R": "CLIPLoader",
739
+ "cnr_id": "comfy-core",
740
+ "ver": "0.3.48",
741
+ "models": [
742
+ {
743
+ "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
744
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
745
+ "directory": "text_encoders"
746
+ }
747
+ ],
748
+ "enableTabs": false,
749
+ "tabWidth": 65,
750
+ "tabXOffset": 10,
751
+ "hasSecondTab": false,
752
+ "secondTabText": "Send Back",
753
+ "secondTabOffset": 80,
754
+ "secondTabWidth": 65,
755
+ "ue_properties": {
756
+ "version": "7.3",
757
+ "widget_ue_connectable": {},
758
+ "input_ue_unconnectable": {}
759
+ }
760
+ },
761
+ "widgets_values": [
762
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
763
+ "qwen_image",
764
+ "default"
765
+ ]
766
+ },
767
+ {
768
+ "id": 341,
769
+ "type": "UNETLoader",
770
+ "pos": [
771
+ -950.315673828125,
772
+ 1204.138916015625
773
+ ],
774
+ "size": [
775
+ 330,
776
+ 90
777
+ ],
778
+ "flags": {},
779
+ "order": 6,
780
+ "mode": 4,
781
+ "inputs": [
782
+ {
783
+ "localized_name": "unet_name",
784
+ "name": "unet_name",
785
+ "type": "COMBO",
786
+ "widget": {
787
+ "name": "unet_name"
788
+ },
789
+ "link": null
790
+ },
791
+ {
792
+ "localized_name": "weight_dtype",
793
+ "name": "weight_dtype",
794
+ "type": "COMBO",
795
+ "widget": {
796
+ "name": "weight_dtype"
797
+ },
798
+ "link": null
799
+ }
800
+ ],
801
+ "outputs": [
802
+ {
803
+ "label": "MODEL",
804
+ "localized_name": "MODEL",
805
+ "name": "MODEL",
806
+ "type": "MODEL",
807
+ "slot_index": 0,
808
+ "links": []
809
+ }
810
+ ],
811
+ "properties": {
812
+ "Node name for S&R": "UNETLoader",
813
+ "cnr_id": "comfy-core",
814
+ "ver": "0.3.48",
815
+ "models": [
816
+ {
817
+ "name": "qwen_image_edit_fp16.safetensors",
818
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp16.safetensors",
819
+ "directory": "diffusion_models"
820
+ }
821
+ ],
822
+ "enableTabs": false,
823
+ "tabWidth": 65,
824
+ "tabXOffset": 10,
825
+ "hasSecondTab": false,
826
+ "secondTabText": "Send Back",
827
+ "secondTabOffset": 80,
828
+ "secondTabWidth": 65,
829
+ "ue_properties": {
830
+ "version": "7.3",
831
+ "widget_ue_connectable": {},
832
+ "input_ue_unconnectable": {}
833
+ }
834
+ },
835
+ "widgets_values": [
836
+ "qwen_image_edit_fp16.safetensors",
837
+ "default"
838
+ ]
839
+ },
840
+ {
841
+ "id": 345,
842
+ "type": "EmptySD3LatentImage",
843
+ "pos": [
844
+ 152.79580688476562,
845
+ 2522.5068359375
846
+ ],
847
+ "size": [
848
+ 270,
849
+ 106
850
+ ],
851
+ "flags": {},
852
+ "order": 7,
853
+ "mode": 0,
854
+ "inputs": [
855
+ {
856
+ "localized_name": "width",
857
+ "name": "width",
858
+ "type": "INT",
859
+ "widget": {
860
+ "name": "width"
861
+ },
862
+ "link": null
863
+ },
864
+ {
865
+ "localized_name": "height",
866
+ "name": "height",
867
+ "type": "INT",
868
+ "widget": {
869
+ "name": "height"
870
+ },
871
+ "link": null
872
+ },
873
+ {
874
+ "localized_name": "batch_size",
875
+ "name": "batch_size",
876
+ "type": "INT",
877
+ "widget": {
878
+ "name": "batch_size"
879
+ },
880
+ "link": null
881
+ }
882
+ ],
883
+ "outputs": [
884
+ {
885
+ "label": "LATENT",
886
+ "localized_name": "LATENT",
887
+ "name": "LATENT",
888
+ "type": "LATENT",
889
+ "links": []
890
+ }
891
+ ],
892
+ "properties": {
893
+ "Node name for S&R": "EmptySD3LatentImage",
894
+ "cnr_id": "comfy-core",
895
+ "ver": "0.3.59",
896
+ "ue_properties": {
897
+ "widget_ue_connectable": {},
898
+ "version": "7.3",
899
+ "input_ue_unconnectable": {}
900
+ }
901
+ },
902
+ "widgets_values": [
903
+ 1024,
904
+ 640,
905
+ 1
906
+ ]
907
+ },
908
+ {
909
+ "id": 342,
910
+ "type": "SaveImage",
911
+ "pos": [
912
+ 469.2864990234375,
913
+ 1665.0369873046875
914
+ ],
915
+ "size": [
916
+ 950,
917
+ 1040
918
+ ],
919
+ "flags": {},
920
+ "order": 24,
921
+ "mode": 0,
922
+ "inputs": [
923
+ {
924
+ "label": "images",
925
+ "localized_name": "images",
926
+ "name": "images",
927
+ "type": "IMAGE",
928
+ "link": 507
929
+ },
930
+ {
931
+ "localized_name": "filename_prefix",
932
+ "name": "filename_prefix",
933
+ "type": "STRING",
934
+ "widget": {
935
+ "name": "filename_prefix"
936
+ },
937
+ "link": null
938
+ }
939
+ ],
940
+ "outputs": [],
941
+ "properties": {
942
+ "Node name for S&R": "SaveImage",
943
+ "cnr_id": "comfy-core",
944
+ "ver": "0.3.48",
945
+ "enableTabs": false,
946
+ "tabWidth": 65,
947
+ "tabXOffset": 10,
948
+ "hasSecondTab": false,
949
+ "secondTabText": "Send Back",
950
+ "secondTabOffset": 80,
951
+ "secondTabWidth": 65,
952
+ "ue_properties": {
953
+ "version": "7.3",
954
+ "widget_ue_connectable": {},
955
+ "input_ue_unconnectable": {}
956
+ }
957
+ },
958
+ "widgets_values": [
959
+ "ComfyUI"
960
+ ]
961
+ },
962
+ {
963
+ "id": 347,
964
+ "type": "TextEncodeQwenImageEditPlus",
965
+ "pos": [
966
+ -397.20404052734375,
967
+ 1852.507568359375
968
+ ],
969
+ "size": [
970
+ 400,
971
+ 200
972
+ ],
973
+ "flags": {},
974
+ "order": 14,
975
+ "mode": 0,
976
+ "inputs": [
977
+ {
978
+ "label": "clip",
979
+ "localized_name": "clip",
980
+ "name": "clip",
981
+ "type": "CLIP",
982
+ "link": 510
983
+ },
984
+ {
985
+ "label": "vae",
986
+ "localized_name": "vae",
987
+ "name": "vae",
988
+ "shape": 7,
989
+ "type": "VAE",
990
+ "link": null
991
+ },
992
+ {
993
+ "label": "image1",
994
+ "localized_name": "image1",
995
+ "name": "image1",
996
+ "shape": 7,
997
+ "type": "IMAGE",
998
+ "link": null
999
+ },
1000
+ {
1001
+ "label": "image2",
1002
+ "localized_name": "image2",
1003
+ "name": "image2",
1004
+ "shape": 7,
1005
+ "type": "IMAGE",
1006
+ "link": null
1007
+ },
1008
+ {
1009
+ "label": "image3",
1010
+ "localized_name": "image3",
1011
+ "name": "image3",
1012
+ "shape": 7,
1013
+ "type": "IMAGE",
1014
+ "link": null
1015
+ },
1016
+ {
1017
+ "localized_name": "prompt",
1018
+ "name": "prompt",
1019
+ "type": "STRING",
1020
+ "widget": {
1021
+ "name": "prompt"
1022
+ },
1023
+ "link": null
1024
+ }
1025
+ ],
1026
+ "outputs": [
1027
+ {
1028
+ "label": "CONDITIONING",
1029
+ "localized_name": "CONDITIONING",
1030
+ "name": "CONDITIONING",
1031
+ "type": "CONDITIONING",
1032
+ "links": [
1033
+ 611
1034
+ ]
1035
+ }
1036
+ ],
1037
+ "properties": {
1038
+ "Node name for S&R": "TextEncodeQwenImageEditPlus",
1039
+ "cnr_id": "comfy-core",
1040
+ "ver": "0.3.59",
1041
+ "ue_properties": {
1042
+ "widget_ue_connectable": {},
1043
+ "version": "7.3",
1044
+ "input_ue_unconnectable": {}
1045
+ }
1046
+ },
1047
+ "widgets_values": [
1048
+ ""
1049
+ ],
1050
+ "color": "#223",
1051
+ "bgcolor": "#335"
1052
+ },
1053
+ {
1054
+ "id": 375,
1055
+ "type": "VAEEncode",
1056
+ "pos": [
1057
+ -711.456787109375,
1058
+ 2561.767822265625
1059
+ ],
1060
+ "size": [
1061
+ 140,
1062
+ 46
1063
+ ],
1064
+ "flags": {},
1065
+ "order": 16,
1066
+ "mode": 0,
1067
+ "inputs": [
1068
+ {
1069
+ "label": "pixels",
1070
+ "localized_name": "pixels",
1071
+ "name": "pixels",
1072
+ "type": "IMAGE",
1073
+ "link": 592
1074
+ },
1075
+ {
1076
+ "label": "vae",
1077
+ "localized_name": "vae",
1078
+ "name": "vae",
1079
+ "type": "VAE",
1080
+ "link": 593
1081
+ }
1082
+ ],
1083
+ "outputs": [
1084
+ {
1085
+ "label": "LATENT",
1086
+ "localized_name": "LATENT",
1087
+ "name": "LATENT",
1088
+ "type": "LATENT",
1089
+ "links": [
1090
+ 604,
1091
+ 621
1092
+ ]
1093
+ }
1094
+ ],
1095
+ "properties": {
1096
+ "Node name for S&R": "VAEEncode",
1097
+ "cnr_id": "comfy-core",
1098
+ "ver": "0.3.50",
1099
+ "enableTabs": false,
1100
+ "tabWidth": 65,
1101
+ "tabXOffset": 10,
1102
+ "hasSecondTab": false,
1103
+ "secondTabText": "Send Back",
1104
+ "secondTabOffset": 80,
1105
+ "secondTabWidth": 65,
1106
+ "ue_properties": {
1107
+ "widget_ue_connectable": {},
1108
+ "version": "7.3",
1109
+ "input_ue_unconnectable": {}
1110
+ }
1111
+ },
1112
+ "widgets_values": []
1113
+ },
1114
+ {
1115
+ "id": 348,
1116
+ "type": "TextEncodeQwenImageEditPlus",
1117
+ "pos": [
1118
+ -397.20404052734375,
1119
+ 1582.5076904296875
1120
+ ],
1121
+ "size": [
1122
+ 400,
1123
+ 200
1124
+ ],
1125
+ "flags": {},
1126
+ "order": 15,
1127
+ "mode": 0,
1128
+ "inputs": [
1129
+ {
1130
+ "label": "clip",
1131
+ "localized_name": "clip",
1132
+ "name": "clip",
1133
+ "type": "CLIP",
1134
+ "link": 515
1135
+ },
1136
+ {
1137
+ "label": "vae",
1138
+ "localized_name": "vae",
1139
+ "name": "vae",
1140
+ "shape": 7,
1141
+ "type": "VAE",
1142
+ "link": null
1143
+ },
1144
+ {
1145
+ "label": "image1",
1146
+ "localized_name": "image1",
1147
+ "name": "image1",
1148
+ "shape": 7,
1149
+ "type": "IMAGE",
1150
+ "link": null
1151
+ },
1152
+ {
1153
+ "label": "image2",
1154
+ "localized_name": "image2",
1155
+ "name": "image2",
1156
+ "shape": 7,
1157
+ "type": "IMAGE",
1158
+ "link": null
1159
+ },
1160
+ {
1161
+ "label": "image3",
1162
+ "localized_name": "image3",
1163
+ "name": "image3",
1164
+ "shape": 7,
1165
+ "type": "IMAGE",
1166
+ "link": null
1167
+ },
1168
+ {
1169
+ "localized_name": "prompt",
1170
+ "name": "prompt",
1171
+ "type": "STRING",
1172
+ "widget": {
1173
+ "name": "prompt"
1174
+ },
1175
+ "link": null
1176
+ }
1177
+ ],
1178
+ "outputs": [
1179
+ {
1180
+ "label": "CONDITIONING",
1181
+ "localized_name": "CONDITIONING",
1182
+ "name": "CONDITIONING",
1183
+ "type": "CONDITIONING",
1184
+ "links": [
1185
+ 610
1186
+ ]
1187
+ }
1188
+ ],
1189
+ "properties": {
1190
+ "Node name for S&R": "TextEncodeQwenImageEditPlus",
1191
+ "cnr_id": "comfy-core",
1192
+ "ver": "0.3.59",
1193
+ "ue_properties": {
1194
+ "widget_ue_connectable": {},
1195
+ "version": "7.3",
1196
+ "input_ue_unconnectable": {}
1197
+ }
1198
+ },
1199
+ "widgets_values": [
1200
+ "make an image of the woman in a different pose and wearing a top hot"
1201
+ ],
1202
+ "color": "#232",
1203
+ "bgcolor": "#353"
1204
+ },
1205
+ {
1206
+ "id": 388,
1207
+ "type": "MarkdownNote",
1208
+ "pos": [
1209
+ -969.6990356445312,
1210
+ 1439.517822265625
1211
+ ],
1212
+ "size": [
1213
+ 310,
1214
+ 150
1215
+ ],
1216
+ "flags": {},
1217
+ "order": 10,
1218
+ "mode": 0,
1219
+ "inputs": [],
1220
+ "outputs": [],
1221
+ "title": "Note: Raw latent version",
1222
+ "properties": {
1223
+ "ue_properties": {
1224
+ "widget_ue_connectable": {},
1225
+ "version": "7.3",
1226
+ "input_ue_unconnectable": {}
1227
+ }
1228
+ },
1229
+ "widgets_values": [
1230
+ "Since the **TextEncodeQwenImageEditPlus** node will scale the image to 1M pixels, you might find that the output has a pixel-shifting issue.\n\nThe **Raw latent version** is to provide the raw latent to the sampler. This is the way you can provide the raw latent as an input condition."
1231
+ ],
1232
+ "color": "#432",
1233
+ "bgcolor": "#653"
1234
+ },
1235
+ {
1236
+ "id": 340,
1237
+ "type": "KSampler",
1238
+ "pos": [
1239
+ 142.7958221435547,
1240
+ 1752.5076904296875
1241
+ ],
1242
+ "size": [
1243
+ 300,
1244
+ 474
1245
+ ],
1246
+ "flags": {},
1247
+ "order": 22,
1248
+ "mode": 0,
1249
+ "inputs": [
1250
+ {
1251
+ "label": "model",
1252
+ "localized_name": "model",
1253
+ "name": "model",
1254
+ "type": "MODEL",
1255
+ "link": 503
1256
+ },
1257
+ {
1258
+ "label": "positive",
1259
+ "localized_name": "positive",
1260
+ "name": "positive",
1261
+ "type": "CONDITIONING",
1262
+ "link": 607
1263
+ },
1264
+ {
1265
+ "label": "negative",
1266
+ "localized_name": "negative",
1267
+ "name": "negative",
1268
+ "type": "CONDITIONING",
1269
+ "link": 612
1270
+ },
1271
+ {
1272
+ "label": "latent_image",
1273
+ "localized_name": "latent_image",
1274
+ "name": "latent_image",
1275
+ "type": "LATENT",
1276
+ "link": 621
1277
+ },
1278
+ {
1279
+ "localized_name": "seed",
1280
+ "name": "seed",
1281
+ "type": "INT",
1282
+ "widget": {
1283
+ "name": "seed"
1284
+ },
1285
+ "link": null
1286
+ },
1287
+ {
1288
+ "localized_name": "steps",
1289
+ "name": "steps",
1290
+ "type": "INT",
1291
+ "widget": {
1292
+ "name": "steps"
1293
+ },
1294
+ "link": null
1295
+ },
1296
+ {
1297
+ "localized_name": "cfg",
1298
+ "name": "cfg",
1299
+ "type": "FLOAT",
1300
+ "widget": {
1301
+ "name": "cfg"
1302
+ },
1303
+ "link": null
1304
+ },
1305
+ {
1306
+ "localized_name": "sampler_name",
1307
+ "name": "sampler_name",
1308
+ "type": "COMBO",
1309
+ "widget": {
1310
+ "name": "sampler_name"
1311
+ },
1312
+ "link": null
1313
+ },
1314
+ {
1315
+ "localized_name": "scheduler",
1316
+ "name": "scheduler",
1317
+ "type": "COMBO",
1318
+ "widget": {
1319
+ "name": "scheduler"
1320
+ },
1321
+ "link": null
1322
+ },
1323
+ {
1324
+ "localized_name": "denoise",
1325
+ "name": "denoise",
1326
+ "type": "FLOAT",
1327
+ "widget": {
1328
+ "name": "denoise"
1329
+ },
1330
+ "link": null
1331
+ }
1332
+ ],
1333
+ "outputs": [
1334
+ {
1335
+ "label": "LATENT",
1336
+ "localized_name": "LATENT",
1337
+ "name": "LATENT",
1338
+ "type": "LATENT",
1339
+ "slot_index": 0,
1340
+ "links": [
1341
+ 500
1342
+ ]
1343
+ }
1344
+ ],
1345
+ "properties": {
1346
+ "Node name for S&R": "KSampler",
1347
+ "cnr_id": "comfy-core",
1348
+ "ver": "0.3.48",
1349
+ "enableTabs": false,
1350
+ "tabWidth": 65,
1351
+ "tabXOffset": 10,
1352
+ "hasSecondTab": false,
1353
+ "secondTabText": "Send Back",
1354
+ "secondTabOffset": 80,
1355
+ "secondTabWidth": 65,
1356
+ "ue_properties": {
1357
+ "version": "7.3",
1358
+ "widget_ue_connectable": {},
1359
+ "input_ue_unconnectable": {}
1360
+ }
1361
+ },
1362
+ "widgets_values": [
1363
+ 441110359394508,
1364
+ "randomize",
1365
+ 5,
1366
+ 1,
1367
+ "euler",
1368
+ "simple",
1369
+ 1
1370
+ ]
1371
+ },
1372
+ {
1373
+ "id": 349,
1374
+ "type": "LoadImage",
1375
+ "pos": [
1376
+ -860.4247436523438,
1377
+ 2169.579345703125
1378
+ ],
1379
+ "size": [
1380
+ 274.080078125,
1381
+ 314.0000305175781
1382
+ ],
1383
+ "flags": {},
1384
+ "order": 8,
1385
+ "mode": 0,
1386
+ "inputs": [
1387
+ {
1388
+ "localized_name": "image",
1389
+ "name": "image",
1390
+ "type": "COMBO",
1391
+ "widget": {
1392
+ "name": "image"
1393
+ },
1394
+ "link": null
1395
+ },
1396
+ {
1397
+ "localized_name": "choose file to upload",
1398
+ "name": "upload",
1399
+ "type": "IMAGEUPLOAD",
1400
+ "widget": {
1401
+ "name": "upload"
1402
+ },
1403
+ "link": null
1404
+ }
1405
+ ],
1406
+ "outputs": [
1407
+ {
1408
+ "label": "IMAGE",
1409
+ "localized_name": "IMAGE",
1410
+ "name": "IMAGE",
1411
+ "type": "IMAGE",
1412
+ "links": [
1413
+ 592
1414
+ ]
1415
+ },
1416
+ {
1417
+ "label": "MASK",
1418
+ "localized_name": "MASK",
1419
+ "name": "MASK",
1420
+ "type": "MASK",
1421
+ "links": null
1422
+ }
1423
+ ],
1424
+ "properties": {
1425
+ "Node name for S&R": "LoadImage",
1426
+ "cnr_id": "comfy-core",
1427
+ "ver": "0.3.50",
1428
+ "enableTabs": false,
1429
+ "tabWidth": 65,
1430
+ "tabXOffset": 10,
1431
+ "hasSecondTab": false,
1432
+ "secondTabText": "Send Back",
1433
+ "secondTabOffset": 80,
1434
+ "secondTabWidth": 65,
1435
+ "ue_properties": {
1436
+ "widget_ue_connectable": {
1437
+ "image": true,
1438
+ "upload": true
1439
+ },
1440
+ "version": "7.3",
1441
+ "input_ue_unconnectable": {}
1442
+ }
1443
+ },
1444
+ "widgets_values": [
1445
+ "buffy.png",
1446
+ "image"
1447
+ ]
1448
+ },
1449
+ {
1450
+ "id": 390,
1451
+ "type": "LoraLoaderModelOnly",
1452
+ "pos": [
1453
+ -408.7357482910156,
1454
+ 2955.51806640625
1455
+ ],
1456
+ "size": [
1457
+ 270,
1458
+ 82
1459
+ ],
1460
+ "flags": {},
1461
+ "order": 19,
1462
+ "mode": 0,
1463
+ "inputs": [
1464
+ {
1465
+ "label": "model",
1466
+ "localized_name": "model",
1467
+ "name": "model",
1468
+ "type": "MODEL",
1469
+ "link": 622
1470
+ },
1471
+ {
1472
+ "localized_name": "lora_name",
1473
+ "name": "lora_name",
1474
+ "type": "COMBO",
1475
+ "widget": {
1476
+ "name": "lora_name"
1477
+ },
1478
+ "link": null
1479
+ },
1480
+ {
1481
+ "localized_name": "strength_model",
1482
+ "name": "strength_model",
1483
+ "type": "FLOAT",
1484
+ "widget": {
1485
+ "name": "strength_model"
1486
+ },
1487
+ "link": null
1488
+ }
1489
+ ],
1490
+ "outputs": [
1491
+ {
1492
+ "label": "MODEL",
1493
+ "localized_name": "MODEL",
1494
+ "name": "MODEL",
1495
+ "type": "MODEL",
1496
+ "links": [
1497
+ 615
1498
+ ]
1499
+ }
1500
+ ],
1501
+ "properties": {
1502
+ "Node name for S&R": "LoraLoaderModelOnly",
1503
+ "cnr_id": "comfy-core",
1504
+ "ver": "0.3.65",
1505
+ "ue_properties": {
1506
+ "widget_ue_connectable": {},
1507
+ "input_ue_unconnectable": {},
1508
+ "version": "7.3"
1509
+ }
1510
+ },
1511
+ "widgets_values": [
1512
+ "QWEN_InSubject-0.5.safetensors",
1513
+ 1
1514
+ ]
1515
+ },
1516
+ {
1517
+ "id": 394,
1518
+ "type": "UNETLoader",
1519
+ "pos": [
1520
+ -849.7191162109375,
1521
+ 1565.225341796875
1522
+ ],
1523
+ "size": [
1524
+ 270,
1525
+ 82
1526
+ ],
1527
+ "flags": {},
1528
+ "order": 9,
1529
+ "mode": 0,
1530
+ "inputs": [
1531
+ {
1532
+ "localized_name": "unet_name",
1533
+ "name": "unet_name",
1534
+ "type": "COMBO",
1535
+ "widget": {
1536
+ "name": "unet_name"
1537
+ },
1538
+ "link": null
1539
+ },
1540
+ {
1541
+ "localized_name": "weight_dtype",
1542
+ "name": "weight_dtype",
1543
+ "type": "COMBO",
1544
+ "widget": {
1545
+ "name": "weight_dtype"
1546
+ },
1547
+ "link": null
1548
+ }
1549
+ ],
1550
+ "outputs": [
1551
+ {
1552
+ "localized_name": "MODEL",
1553
+ "name": "MODEL",
1554
+ "type": "MODEL",
1555
+ "links": [
1556
+ 623
1557
+ ]
1558
+ }
1559
+ ],
1560
+ "properties": {
1561
+ "Node name for S&R": "UNETLoader"
1562
+ },
1563
+ "widgets_values": [
1564
+ "qwen_image_edit_fp16.safetensors",
1565
+ "default"
1566
+ ]
1567
+ },
1568
+ {
1569
+ "id": 354,
1570
+ "type": "LoraLoaderModelOnly",
1571
+ "pos": [
1572
+ -866.3267822265625,
1573
+ 1702.9407958984375
1574
+ ],
1575
+ "size": [
1576
+ 310,
1577
+ 82
1578
+ ],
1579
+ "flags": {},
1580
+ "order": 17,
1581
+ "mode": 0,
1582
+ "inputs": [
1583
+ {
1584
+ "label": "model",
1585
+ "localized_name": "model",
1586
+ "name": "model",
1587
+ "type": "MODEL",
1588
+ "link": 623
1589
+ },
1590
+ {
1591
+ "localized_name": "lora_name",
1592
+ "name": "lora_name",
1593
+ "type": "COMBO",
1594
+ "widget": {
1595
+ "name": "lora_name"
1596
+ },
1597
+ "link": null
1598
+ },
1599
+ {
1600
+ "localized_name": "strength_model",
1601
+ "name": "strength_model",
1602
+ "type": "FLOAT",
1603
+ "widget": {
1604
+ "name": "strength_model"
1605
+ },
1606
+ "link": null
1607
+ }
1608
+ ],
1609
+ "outputs": [
1610
+ {
1611
+ "label": "MODEL",
1612
+ "localized_name": "MODEL",
1613
+ "name": "MODEL",
1614
+ "type": "MODEL",
1615
+ "links": [
1616
+ 622
1617
+ ]
1618
+ }
1619
+ ],
1620
+ "properties": {
1621
+ "Node name for S&R": "LoraLoaderModelOnly",
1622
+ "cnr_id": "comfy-core",
1623
+ "ver": "0.3.50",
1624
+ "models": [
1625
+ {
1626
+ "name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
1627
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
1628
+ "directory": "loras"
1629
+ }
1630
+ ],
1631
+ "enableTabs": false,
1632
+ "tabWidth": 65,
1633
+ "tabXOffset": 10,
1634
+ "hasSecondTab": false,
1635
+ "secondTabText": "Send Back",
1636
+ "secondTabOffset": 80,
1637
+ "secondTabWidth": 65,
1638
+ "ue_properties": {
1639
+ "widget_ue_connectable": {
1640
+ "lora_name": true,
1641
+ "strength_model": true
1642
+ },
1643
+ "version": "7.3",
1644
+ "input_ue_unconnectable": {}
1645
+ }
1646
+ },
1647
+ "widgets_values": [
1648
+ "Qwen-Image-Lightning-4steps-V1.0.safetensors",
1649
+ 1
1650
+ ]
1651
+ },
1652
+ {
1653
+ "id": 99,
1654
+ "type": "MarkdownNote",
1655
+ "pos": [
1656
+ -1650.139892578125,
1657
+ 1351.55615234375
1658
+ ],
1659
+ "size": [
1660
+ 550,
1661
+ 550
1662
+ ],
1663
+ "flags": {},
1664
+ "order": 11,
1665
+ "mode": 0,
1666
+ "inputs": [],
1667
+ "outputs": [],
1668
+ "title": "Model links",
1669
+ "properties": {
1670
+ "ue_properties": {
1671
+ "version": "7.3",
1672
+ "widget_ue_connectable": {},
1673
+ "input_ue_unconnectable": {}
1674
+ }
1675
+ },
1676
+ "widgets_values": [
1677
+ "## QwenEdit Model links\n\nYou can find all the models on [Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) and [Comfy-Org/Qwen-Image-Edit_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI)\n\n**Diffusion model**\n\n- [qwen_image_edit_fp16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp16.safetensors)\n\n**Lightning LoRA (4-step)**\n\n- [Qwen-Image-Lightning-4steps-V1.0.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors)\n\n**Text encoder**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n\n**VAE**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\n## InSeries LoRAs\n\n- [InStyle](https://huggingface.co/peteromallet/Qwen-Image-Edit-InStyle)\n- [InSubject](https://huggingface.co/peteromallet/Qwen-Image-Edit-InSubject)\n- [InScene](https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene)"
1678
+ ],
1679
+ "color": "#432",
1680
+ "bgcolor": "#653"
1681
+ }
1682
+ ],
1683
+ "links": [
1684
+ [
1685
+ 499,
1686
+ 339,
1687
+ 0,
1688
+ 335,
1689
+ 0,
1690
+ "MODEL"
1691
+ ],
1692
+ [
1693
+ 500,
1694
+ 340,
1695
+ 0,
1696
+ 336,
1697
+ 0,
1698
+ "LATENT"
1699
+ ],
1700
+ [
1701
+ 501,
1702
+ 337,
1703
+ 0,
1704
+ 336,
1705
+ 1,
1706
+ "VAE"
1707
+ ],
1708
+ [
1709
+ 503,
1710
+ 335,
1711
+ 0,
1712
+ 340,
1713
+ 0,
1714
+ "MODEL"
1715
+ ],
1716
+ [
1717
+ 507,
1718
+ 336,
1719
+ 0,
1720
+ 342,
1721
+ 0,
1722
+ "IMAGE"
1723
+ ],
1724
+ [
1725
+ 510,
1726
+ 338,
1727
+ 0,
1728
+ 347,
1729
+ 0,
1730
+ "CLIP"
1731
+ ],
1732
+ [
1733
+ 515,
1734
+ 338,
1735
+ 0,
1736
+ 348,
1737
+ 0,
1738
+ "CLIP"
1739
+ ],
1740
+ [
1741
+ 592,
1742
+ 349,
1743
+ 0,
1744
+ 375,
1745
+ 0,
1746
+ "IMAGE"
1747
+ ],
1748
+ [
1749
+ 593,
1750
+ 337,
1751
+ 0,
1752
+ 375,
1753
+ 1,
1754
+ "VAE"
1755
+ ],
1756
+ [
1757
+ 594,
1758
+ 337,
1759
+ 0,
1760
+ 376,
1761
+ 1,
1762
+ "VAE"
1763
+ ],
1764
+ [
1765
+ 595,
1766
+ 337,
1767
+ 0,
1768
+ 377,
1769
+ 1,
1770
+ "VAE"
1771
+ ],
1772
+ [
1773
+ 596,
1774
+ 343,
1775
+ 0,
1776
+ 376,
1777
+ 0,
1778
+ "IMAGE"
1779
+ ],
1780
+ [
1781
+ 597,
1782
+ 344,
1783
+ 0,
1784
+ 377,
1785
+ 0,
1786
+ "IMAGE"
1787
+ ],
1788
+ [
1789
+ 604,
1790
+ 375,
1791
+ 0,
1792
+ 383,
1793
+ 0,
1794
+ "LATENT"
1795
+ ],
1796
+ [
1797
+ 607,
1798
+ 383,
1799
+ 0,
1800
+ 340,
1801
+ 1,
1802
+ "CONDITIONING"
1803
+ ],
1804
+ [
1805
+ 608,
1806
+ 377,
1807
+ 0,
1808
+ 383,
1809
+ 2,
1810
+ "LATENT"
1811
+ ],
1812
+ [
1813
+ 609,
1814
+ 376,
1815
+ 0,
1816
+ 383,
1817
+ 1,
1818
+ "LATENT"
1819
+ ],
1820
+ [
1821
+ 610,
1822
+ 348,
1823
+ 0,
1824
+ 383,
1825
+ 3,
1826
+ "CONDITIONING"
1827
+ ],
1828
+ [
1829
+ 611,
1830
+ 347,
1831
+ 0,
1832
+ 383,
1833
+ 4,
1834
+ "CONDITIONING"
1835
+ ],
1836
+ [
1837
+ 612,
1838
+ 383,
1839
+ 1,
1840
+ 340,
1841
+ 2,
1842
+ "CONDITIONING"
1843
+ ],
1844
+ [
1845
+ 615,
1846
+ 390,
1847
+ 0,
1848
+ 339,
1849
+ 0,
1850
+ "MODEL"
1851
+ ],
1852
+ [
1853
+ 621,
1854
+ 375,
1855
+ 0,
1856
+ 340,
1857
+ 3,
1858
+ "LATENT"
1859
+ ],
1860
+ [
1861
+ 622,
1862
+ 354,
1863
+ 0,
1864
+ 390,
1865
+ 0,
1866
+ "MODEL"
1867
+ ],
1868
+ [
1869
+ 623,
1870
+ 394,
1871
+ 0,
1872
+ 354,
1873
+ 0,
1874
+ "MODEL"
1875
+ ]
1876
+ ],
1877
+ "groups": [
1878
+ {
1879
+ "id": 49,
1880
+ "title": "Raw latent version",
1881
+ "bounding": [
1882
+ -897.204345703125,
1883
+ 1462.5076904296875,
1884
+ 2330,
1885
+ 1363.5999755859375
1886
+ ],
1887
+ "color": "#3f789e",
1888
+ "font_size": 24,
1889
+ "flags": {}
1890
+ },
1891
+ {
1892
+ "id": 45,
1893
+ "title": "Step1 - Load models",
1894
+ "bounding": [
1895
+ -887.204345703125,
1896
+ 1502.5076904296875,
1897
+ 370,
1898
+ 570
1899
+ ],
1900
+ "color": "#3f789e",
1901
+ "font_size": 24,
1902
+ "flags": {}
1903
+ },
1904
+ {
1905
+ "id": 46,
1906
+ "title": "Step 2 - Upload image for editing",
1907
+ "bounding": [
1908
+ -881.4567260742188,
1909
+ 2091.767822265625,
1910
+ 970,
1911
+ 550
1912
+ ],
1913
+ "color": "#3f789e",
1914
+ "font_size": 24,
1915
+ "flags": {}
1916
+ },
1917
+ {
1918
+ "id": 47,
1919
+ "title": "Step 4 - Prompt",
1920
+ "bounding": [
1921
+ -487.20416259765625,
1922
+ 1502.5076904296875,
1923
+ 570,
1924
+ 570
1925
+ ],
1926
+ "color": "#3f789e",
1927
+ "font_size": 24,
1928
+ "flags": {}
1929
+ },
1930
+ {
1931
+ "id": 48,
1932
+ "title": "Step3 - Image Size",
1933
+ "bounding": [
1934
+ 132.7958221435547,
1935
+ 2452.5068359375,
1936
+ 310,
1937
+ 200
1938
+ ],
1939
+ "color": "#3f789e",
1940
+ "font_size": 24,
1941
+ "flags": {}
1942
+ },
1943
+ {
1944
+ "id": 50,
1945
+ "title": "Group",
1946
+ "bounding": [
1947
+ -876.38671875,
1948
+ 2854.67041015625,
1949
+ 898.1263427734375,
1950
+ 490.8988342285156
1951
+ ],
1952
+ "color": "#3f789e",
1953
+ "font_size": 24,
1954
+ "flags": {}
1955
+ }
1956
+ ],
1957
+ "definitions": {
1958
+ "subgraphs": [
1959
+ {
1960
+ "id": "c46c74c1-cfc4-41eb-81a8-9c6701737ef6",
1961
+ "version": 1,
1962
+ "state": {
1963
+ "lastGroupId": 48,
1964
+ "lastNodeId": 382,
1965
+ "lastLinkId": 615,
1966
+ "lastRerouteId": 0
1967
+ },
1968
+ "revision": 0,
1969
+ "config": {},
1970
+ "name": "Reference_lantent(Subgraph)",
1971
+ "inputNode": {
1972
+ "id": -10,
1973
+ "bounding": [
1974
+ 910,
1975
+ 3061,
1976
+ 120,
1977
+ 140
1978
+ ]
1979
+ },
1980
+ "outputNode": {
1981
+ "id": -20,
1982
+ "bounding": [
1983
+ 1350,
1984
+ 3091,
1985
+ 120,
1986
+ 80
1987
+ ]
1988
+ },
1989
+ "inputs": [
1990
+ {
1991
+ "id": "55a61535-c57a-4100-8c12-f150ea9fbd3e",
1992
+ "name": "latent_2",
1993
+ "type": "LATENT",
1994
+ "linkIds": [
1995
+ 585,
1996
+ 580
1997
+ ],
1998
+ "localized_name": "latent_2",
1999
+ "label": "image1_latent",
2000
+ "shape": 7,
2001
+ "pos": {
2002
+ "0": 1010,
2003
+ "1": 3081
2004
+ }
2005
+ },
2006
+ {
2007
+ "id": "77c58bb5-ff18-42da-998f-9c6dd32ba314",
2008
+ "name": "latent",
2009
+ "type": "LATENT",
2010
+ "linkIds": [
2011
+ 602,
2012
+ 603
2013
+ ],
2014
+ "label": "image2_latent",
2015
+ "pos": {
2016
+ "0": 1010,
2017
+ "1": 3101
2018
+ }
2019
+ },
2020
+ {
2021
+ "id": "4c787c91-a6db-4015-8f8a-e53ca592b8af",
2022
+ "name": "latent_1",
2023
+ "type": "LATENT",
2024
+ "linkIds": [
2025
+ 604,
2026
+ 605
2027
+ ],
2028
+ "label": "image3_latent",
2029
+ "pos": {
2030
+ "0": 1010,
2031
+ "1": 3121
2032
+ }
2033
+ },
2034
+ {
2035
+ "id": "d468a361-7bd5-4684-b7d5-1839f74049ab",
2036
+ "name": "conditioning",
2037
+ "type": "CONDITIONING",
2038
+ "linkIds": [
2039
+ 606
2040
+ ],
2041
+ "label": "positive",
2042
+ "pos": {
2043
+ "0": 1010,
2044
+ "1": 3141
2045
+ }
2046
+ },
2047
+ {
2048
+ "id": "d9e2ab28-0900-4d02-9da2-2f5c54767c56",
2049
+ "name": "conditioning_1",
2050
+ "type": "CONDITIONING",
2051
+ "linkIds": [
2052
+ 609
2053
+ ],
2054
+ "label": "negative",
2055
+ "pos": {
2056
+ "0": 1010,
2057
+ "1": 3161
2058
+ }
2059
+ }
2060
+ ],
2061
+ "outputs": [
2062
+ {
2063
+ "id": "341bc124-e5aa-4ef3-9d08-44b2c3e1f9d5",
2064
+ "name": "CONDITIONING_1",
2065
+ "type": "CONDITIONING",
2066
+ "linkIds": [
2067
+ 598
2068
+ ],
2069
+ "localized_name": "CONDITIONING_1",
2070
+ "label": "positive",
2071
+ "pos": {
2072
+ "0": 1370,
2073
+ "1": 3111
2074
+ }
2075
+ },
2076
+ {
2077
+ "id": "51726711-cbe7-4b1a-8c61-8828efd94366",
2078
+ "name": "CONDITIONING",
2079
+ "type": "CONDITIONING",
2080
+ "linkIds": [
2081
+ 601
2082
+ ],
2083
+ "label": "negative",
2084
+ "pos": {
2085
+ "0": 1370,
2086
+ "1": 3131
2087
+ }
2088
+ }
2089
+ ],
2090
+ "widgets": [],
2091
+ "nodes": [
2092
+ {
2093
+ "id": 382,
2094
+ "type": "ReferenceLatent",
2095
+ "pos": [
2096
+ 1090,
2097
+ 3278
2098
+ ],
2099
+ "size": [
2100
+ 197.712890625,
2101
+ 46
2102
+ ],
2103
+ "flags": {},
2104
+ "order": 5,
2105
+ "mode": 0,
2106
+ "inputs": [
2107
+ {
2108
+ "localized_name": "conditioning",
2109
+ "name": "conditioning",
2110
+ "type": "CONDITIONING",
2111
+ "link": 612
2112
+ },
2113
+ {
2114
+ "localized_name": "latent",
2115
+ "name": "latent",
2116
+ "shape": 7,
2117
+ "type": "LATENT",
2118
+ "link": 603
2119
+ }
2120
+ ],
2121
+ "outputs": [
2122
+ {
2123
+ "localized_name": "CONDITIONING",
2124
+ "name": "CONDITIONING",
2125
+ "type": "CONDITIONING",
2126
+ "links": [
2127
+ 588
2128
+ ]
2129
+ }
2130
+ ],
2131
+ "properties": {
2132
+ "Node name for S&R": "ReferenceLatent",
2133
+ "cnr_id": "comfy-core",
2134
+ "ver": "0.3.63",
2135
+ "ue_properties": {
2136
+ "widget_ue_connectable": {}
2137
+ }
2138
+ },
2139
+ "widgets_values": []
2140
+ },
2141
+ {
2142
+ "id": 374,
2143
+ "type": "ReferenceLatent",
2144
+ "pos": [
2145
+ 1090,
2146
+ 3366
2147
+ ],
2148
+ "size": [
2149
+ 197.712890625,
2150
+ 46
2151
+ ],
2152
+ "flags": {},
2153
+ "order": 0,
2154
+ "mode": 0,
2155
+ "inputs": [
2156
+ {
2157
+ "localized_name": "conditioning",
2158
+ "name": "conditioning",
2159
+ "type": "CONDITIONING",
2160
+ "link": 613
2161
+ },
2162
+ {
2163
+ "localized_name": "latent",
2164
+ "name": "latent",
2165
+ "shape": 7,
2166
+ "type": "LATENT",
2167
+ "link": 605
2168
+ }
2169
+ ],
2170
+ "outputs": [
2171
+ {
2172
+ "localized_name": "CONDITIONING",
2173
+ "name": "CONDITIONING",
2174
+ "type": "CONDITIONING",
2175
+ "links": [
2176
+ 599,
2177
+ 601
2178
+ ]
2179
+ }
2180
+ ],
2181
+ "properties": {
2182
+ "Node name for S&R": "ReferenceLatent",
2183
+ "cnr_id": "comfy-core",
2184
+ "ver": "0.3.63",
2185
+ "ue_properties": {
2186
+ "widget_ue_connectable": {}
2187
+ }
2188
+ },
2189
+ "widgets_values": []
2190
+ },
2191
+ {
2192
+ "id": 380,
2193
+ "type": "ReferenceLatent",
2194
+ "pos": [
2195
+ 1090,
2196
+ 3060
2197
+ ],
2198
+ "size": [
2199
+ 197.712890625,
2200
+ 46
2201
+ ],
2202
+ "flags": {},
2203
+ "order": 3,
2204
+ "mode": 0,
2205
+ "inputs": [
2206
+ {
2207
+ "localized_name": "conditioning",
2208
+ "name": "conditioning",
2209
+ "type": "CONDITIONING",
2210
+ "link": 615
2211
+ },
2212
+ {
2213
+ "localized_name": "latent",
2214
+ "name": "latent",
2215
+ "shape": 7,
2216
+ "type": "LATENT",
2217
+ "link": 604
2218
+ }
2219
+ ],
2220
+ "outputs": [
2221
+ {
2222
+ "localized_name": "CONDITIONING",
2223
+ "name": "CONDITIONING",
2224
+ "type": "CONDITIONING",
2225
+ "links": [
2226
+ 598
2227
+ ]
2228
+ }
2229
+ ],
2230
+ "properties": {
2231
+ "Node name for S&R": "ReferenceLatent",
2232
+ "cnr_id": "comfy-core",
2233
+ "ver": "0.3.63",
2234
+ "ue_properties": {
2235
+ "widget_ue_connectable": {}
2236
+ }
2237
+ },
2238
+ "widgets_values": []
2239
+ },
2240
+ {
2241
+ "id": 381,
2242
+ "type": "ReferenceLatent",
2243
+ "pos": [
2244
+ 1090,
2245
+ 3190
2246
+ ],
2247
+ "size": [
2248
+ 197.712890625,
2249
+ 46
2250
+ ],
2251
+ "flags": {},
2252
+ "order": 4,
2253
+ "mode": 0,
2254
+ "inputs": [
2255
+ {
2256
+ "localized_name": "conditioning",
2257
+ "name": "conditioning",
2258
+ "type": "CONDITIONING",
2259
+ "link": 609
2260
+ },
2261
+ {
2262
+ "localized_name": "latent",
2263
+ "name": "latent",
2264
+ "shape": 7,
2265
+ "type": "LATENT",
2266
+ "link": 585
2267
+ }
2268
+ ],
2269
+ "outputs": [
2270
+ {
2271
+ "localized_name": "CONDITIONING",
2272
+ "name": "CONDITIONING",
2273
+ "type": "CONDITIONING",
2274
+ "links": [
2275
+ 586,
2276
+ 612,
2277
+ 613
2278
+ ]
2279
+ }
2280
+ ],
2281
+ "properties": {
2282
+ "Node name for S&R": "ReferenceLatent",
2283
+ "cnr_id": "comfy-core",
2284
+ "ver": "0.3.63",
2285
+ "ue_properties": {
2286
+ "widget_ue_connectable": {}
2287
+ }
2288
+ },
2289
+ "widgets_values": []
2290
+ },
2291
+ {
2292
+ "id": 379,
2293
+ "type": "ReferenceLatent",
2294
+ "pos": [
2295
+ 1090,
2296
+ 2880
2297
+ ],
2298
+ "size": [
2299
+ 200,
2300
+ 50
2301
+ ],
2302
+ "flags": {},
2303
+ "order": 2,
2304
+ "mode": 0,
2305
+ "inputs": [
2306
+ {
2307
+ "localized_name": "conditioning",
2308
+ "name": "conditioning",
2309
+ "type": "CONDITIONING",
2310
+ "link": 606
2311
+ },
2312
+ {
2313
+ "localized_name": "latent",
2314
+ "name": "latent",
2315
+ "shape": 7,
2316
+ "type": "LATENT",
2317
+ "link": 580
2318
+ }
2319
+ ],
2320
+ "outputs": [
2321
+ {
2322
+ "localized_name": "CONDITIONING",
2323
+ "name": "CONDITIONING",
2324
+ "type": "CONDITIONING",
2325
+ "links": [
2326
+ 581,
2327
+ 614
2328
+ ]
2329
+ }
2330
+ ],
2331
+ "properties": {
2332
+ "Node name for S&R": "ReferenceLatent",
2333
+ "cnr_id": "comfy-core",
2334
+ "ver": "0.3.63",
2335
+ "ue_properties": {
2336
+ "widget_ue_connectable": {}
2337
+ }
2338
+ },
2339
+ "widgets_values": []
2340
+ },
2341
+ {
2342
+ "id": 378,
2343
+ "type": "ReferenceLatent",
2344
+ "pos": [
2345
+ 1090,
2346
+ 2970
2347
+ ],
2348
+ "size": [
2349
+ 197.712890625,
2350
+ 46
2351
+ ],
2352
+ "flags": {},
2353
+ "order": 1,
2354
+ "mode": 0,
2355
+ "inputs": [
2356
+ {
2357
+ "localized_name": "conditioning",
2358
+ "name": "conditioning",
2359
+ "type": "CONDITIONING",
2360
+ "link": 614
2361
+ },
2362
+ {
2363
+ "localized_name": "latent",
2364
+ "name": "latent",
2365
+ "shape": 7,
2366
+ "type": "LATENT",
2367
+ "link": 602
2368
+ }
2369
+ ],
2370
+ "outputs": [
2371
+ {
2372
+ "localized_name": "CONDITIONING",
2373
+ "name": "CONDITIONING",
2374
+ "type": "CONDITIONING",
2375
+ "links": [
2376
+ 583,
2377
+ 615
2378
+ ]
2379
+ }
2380
+ ],
2381
+ "properties": {
2382
+ "Node name for S&R": "ReferenceLatent",
2383
+ "cnr_id": "comfy-core",
2384
+ "ver": "0.3.63",
2385
+ "ue_properties": {
2386
+ "widget_ue_connectable": {}
2387
+ }
2388
+ },
2389
+ "widgets_values": []
2390
+ }
2391
+ ],
2392
+ "groups": [],
2393
+ "links": [
2394
+ {
2395
+ "id": 585,
2396
+ "origin_id": -10,
2397
+ "origin_slot": 0,
2398
+ "target_id": 381,
2399
+ "target_slot": 1,
2400
+ "type": "LATENT"
2401
+ },
2402
+ {
2403
+ "id": 580,
2404
+ "origin_id": -10,
2405
+ "origin_slot": 0,
2406
+ "target_id": 379,
2407
+ "target_slot": 1,
2408
+ "type": "LATENT"
2409
+ },
2410
+ {
2411
+ "id": 598,
2412
+ "origin_id": 380,
2413
+ "origin_slot": 0,
2414
+ "target_id": -20,
2415
+ "target_slot": 0,
2416
+ "type": "CONDITIONING"
2417
+ },
2418
+ {
2419
+ "id": 601,
2420
+ "origin_id": 374,
2421
+ "origin_slot": 0,
2422
+ "target_id": -20,
2423
+ "target_slot": 1,
2424
+ "type": "CONDITIONING"
2425
+ },
2426
+ {
2427
+ "id": 602,
2428
+ "origin_id": -10,
2429
+ "origin_slot": 1,
2430
+ "target_id": 378,
2431
+ "target_slot": 1,
2432
+ "type": "LATENT"
2433
+ },
2434
+ {
2435
+ "id": 603,
2436
+ "origin_id": -10,
2437
+ "origin_slot": 1,
2438
+ "target_id": 382,
2439
+ "target_slot": 1,
2440
+ "type": "LATENT"
2441
+ },
2442
+ {
2443
+ "id": 604,
2444
+ "origin_id": -10,
2445
+ "origin_slot": 2,
2446
+ "target_id": 380,
2447
+ "target_slot": 1,
2448
+ "type": "LATENT"
2449
+ },
2450
+ {
2451
+ "id": 605,
2452
+ "origin_id": -10,
2453
+ "origin_slot": 2,
2454
+ "target_id": 374,
2455
+ "target_slot": 1,
2456
+ "type": "LATENT"
2457
+ },
2458
+ {
2459
+ "id": 606,
2460
+ "origin_id": -10,
2461
+ "origin_slot": 3,
2462
+ "target_id": 379,
2463
+ "target_slot": 0,
2464
+ "type": "CONDITIONING"
2465
+ },
2466
+ {
2467
+ "id": 609,
2468
+ "origin_id": -10,
2469
+ "origin_slot": 4,
2470
+ "target_id": 381,
2471
+ "target_slot": 0,
2472
+ "type": "CONDITIONING"
2473
+ },
2474
+ {
2475
+ "id": 612,
2476
+ "origin_id": 381,
2477
+ "origin_slot": 0,
2478
+ "target_id": 382,
2479
+ "target_slot": 0,
2480
+ "type": "CONDITIONING"
2481
+ },
2482
+ {
2483
+ "id": 613,
2484
+ "origin_id": 381,
2485
+ "origin_slot": 0,
2486
+ "target_id": 374,
2487
+ "target_slot": 0,
2488
+ "type": "CONDITIONING"
2489
+ },
2490
+ {
2491
+ "id": 614,
2492
+ "origin_id": 379,
2493
+ "origin_slot": 0,
2494
+ "target_id": 378,
2495
+ "target_slot": 0,
2496
+ "type": "CONDITIONING"
2497
+ },
2498
+ {
2499
+ "id": 615,
2500
+ "origin_id": 378,
2501
+ "origin_slot": 0,
2502
+ "target_id": 380,
2503
+ "target_slot": 0,
2504
+ "type": "CONDITIONING"
2505
+ }
2506
+ ],
2507
+ "extra": {
2508
+ "ue_links": [],
2509
+ "links_added_by_ue": []
2510
+ }
2511
+ }
2512
+ ]
2513
+ },
2514
+ "config": {},
2515
+ "extra": {
2516
+ "ds": {
2517
+ "scale": 1,
2518
+ "offset": [
2519
+ 1750.139892578125,
2520
+ -1104.138916015625
2521
+ ]
2522
+ },
2523
+ "frontendVersion": "1.28.7",
2524
+ "ue_links": [],
2525
+ "links_added_by_ue": [],
2526
+ "VHS_latentpreview": false,
2527
+ "VHS_latentpreviewrate": 0,
2528
+ "VHS_MetadataImage": true,
2529
+ "VHS_KeepIntermediate": true
2530
+ },
2531
+ "version": 0.4
2532
+ }
workflow.png ADDED

Git LFS Details

  • SHA256: a6ce62b3479564a3a52dd8ee915cf5d3231411b74e182cf103bed069743c4284
  • Pointer size: 131 Bytes
  • Size of remote file: 821 kB