comfyui-workflow-templates-media-image 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. comfyui_workflow_templates_media_image/__init__.py +6 -0
  2. comfyui_workflow_templates_media_image/templates/01_qwen_t2i_subgraphed-1.webp +0 -0
  3. comfyui_workflow_templates_media_image/templates/01_qwen_t2i_subgraphed.json +1287 -0
  4. comfyui_workflow_templates_media_image/templates/02_qwen_Image_edit_subgraphed-1.webp +0 -0
  5. comfyui_workflow_templates_media_image/templates/02_qwen_Image_edit_subgraphed.json +1780 -0
  6. comfyui_workflow_templates_media_image/templates/3d_hunyuan3d_image_to_model-1.webp +0 -0
  7. comfyui_workflow_templates_media_image/templates/3d_hunyuan3d_image_to_model.json +678 -0
  8. comfyui_workflow_templates_media_image/templates/controlnet_example-1.webp +0 -0
  9. comfyui_workflow_templates_media_image/templates/controlnet_example-2.webp +0 -0
  10. comfyui_workflow_templates_media_image/templates/controlnet_example.json +848 -0
  11. comfyui_workflow_templates_media_image/templates/depth_controlnet-1.webp +0 -0
  12. comfyui_workflow_templates_media_image/templates/depth_controlnet-2.webp +0 -0
  13. comfyui_workflow_templates_media_image/templates/depth_controlnet.json +678 -0
  14. comfyui_workflow_templates_media_image/templates/depth_t2i_adapter-1.webp +0 -0
  15. comfyui_workflow_templates_media_image/templates/depth_t2i_adapter-2.webp +0 -0
  16. comfyui_workflow_templates_media_image/templates/depth_t2i_adapter.json +1708 -0
  17. comfyui_workflow_templates_media_image/templates/flux1_dev_uso_reference_image_gen-1.webp +0 -0
  18. comfyui_workflow_templates_media_image/templates/flux1_dev_uso_reference_image_gen-2.webp +0 -0
  19. comfyui_workflow_templates_media_image/templates/flux1_dev_uso_reference_image_gen.json +3572 -0
  20. comfyui_workflow_templates_media_image/templates/flux1_krea_dev-1.webp +0 -0
  21. comfyui_workflow_templates_media_image/templates/flux1_krea_dev.json +543 -0
  22. comfyui_workflow_templates_media_image/templates/flux_canny_model_example-1.webp +0 -0
  23. comfyui_workflow_templates_media_image/templates/flux_canny_model_example-2.webp +0 -0
  24. comfyui_workflow_templates_media_image/templates/flux_canny_model_example.json +786 -0
  25. comfyui_workflow_templates_media_image/templates/flux_depth_lora_example-1.webp +0 -0
  26. comfyui_workflow_templates_media_image/templates/flux_depth_lora_example-2.webp +0 -0
  27. comfyui_workflow_templates_media_image/templates/flux_depth_lora_example.json +1824 -0
  28. comfyui_workflow_templates_media_image/templates/flux_dev_checkpoint_example-1.webp +0 -0
  29. comfyui_workflow_templates_media_image/templates/flux_dev_checkpoint_example.json +332 -0
  30. comfyui_workflow_templates_media_image/templates/flux_dev_full_text_to_image-1.webp +0 -0
  31. comfyui_workflow_templates_media_image/templates/flux_dev_full_text_to_image.json +552 -0
  32. comfyui_workflow_templates_media_image/templates/flux_fill_inpaint_example-1.webp +0 -0
  33. comfyui_workflow_templates_media_image/templates/flux_fill_inpaint_example-2.webp +0 -0
  34. comfyui_workflow_templates_media_image/templates/flux_fill_inpaint_example.json +765 -0
  35. comfyui_workflow_templates_media_image/templates/flux_fill_outpaint_example-1.webp +0 -0
  36. comfyui_workflow_templates_media_image/templates/flux_fill_outpaint_example-2.webp +0 -0
  37. comfyui_workflow_templates_media_image/templates/flux_fill_outpaint_example.json +823 -0
  38. comfyui_workflow_templates_media_image/templates/flux_kontext_dev_basic-1.webp +0 -0
  39. comfyui_workflow_templates_media_image/templates/flux_kontext_dev_basic-2.webp +0 -0
  40. comfyui_workflow_templates_media_image/templates/flux_kontext_dev_basic.json +1053 -0
  41. comfyui_workflow_templates_media_image/templates/flux_redux_model_example-1.webp +0 -0
  42. comfyui_workflow_templates_media_image/templates/flux_redux_model_example.json +1494 -0
  43. comfyui_workflow_templates_media_image/templates/flux_schnell-1.webp +0 -0
  44. comfyui_workflow_templates_media_image/templates/flux_schnell.json +302 -0
  45. comfyui_workflow_templates_media_image/templates/flux_schnell_full_text_to_image-1.webp +0 -0
  46. comfyui_workflow_templates_media_image/templates/flux_schnell_full_text_to_image.json +544 -0
  47. comfyui_workflow_templates_media_image/templates/image2image-1.webp +0 -0
  48. comfyui_workflow_templates_media_image/templates/image2image-2.webp +0 -0
  49. comfyui_workflow_templates_media_image/templates/image2image.json +633 -0
  50. comfyui_workflow_templates_media_image/templates/image_chroma1_radiance_text_to_image-1.webp +0 -0
  51. comfyui_workflow_templates_media_image/templates/image_chroma1_radiance_text_to_image.json +1126 -0
  52. comfyui_workflow_templates_media_image/templates/image_chroma_text_to_image-1.webp +0 -0
  53. comfyui_workflow_templates_media_image/templates/image_chroma_text_to_image.json +1025 -0
  54. comfyui_workflow_templates_media_image/templates/image_flux.1_fill_dev_OneReward-1.webp +0 -0
  55. comfyui_workflow_templates_media_image/templates/image_flux.1_fill_dev_OneReward-2.webp +0 -0
  56. comfyui_workflow_templates_media_image/templates/image_flux.1_fill_dev_OneReward.json +2596 -0
  57. comfyui_workflow_templates_media_image/templates/image_lotus_depth_v1_1-1.webp +0 -0
  58. comfyui_workflow_templates_media_image/templates/image_lotus_depth_v1_1-2.webp +0 -0
  59. comfyui_workflow_templates_media_image/templates/image_lotus_depth_v1_1.json +796 -0
  60. comfyui_workflow_templates_media_image/templates/image_netayume_lumina_t2i-1.webp +0 -0
  61. comfyui_workflow_templates_media_image/templates/image_netayume_lumina_t2i.json +597 -0
  62. comfyui_workflow_templates_media_image/templates/image_omnigen2_image_edit-1.webp +0 -0
  63. comfyui_workflow_templates_media_image/templates/image_omnigen2_image_edit-2.webp +0 -0
  64. comfyui_workflow_templates_media_image/templates/image_omnigen2_image_edit.json +1496 -0
  65. comfyui_workflow_templates_media_image/templates/image_omnigen2_t2i-1.webp +0 -0
  66. comfyui_workflow_templates_media_image/templates/image_omnigen2_t2i.json +767 -0
  67. comfyui_workflow_templates_media_image/templates/image_qwen_image-1.webp +0 -0
  68. comfyui_workflow_templates_media_image/templates/image_qwen_image.json +844 -0
  69. comfyui_workflow_templates_media_image/templates/image_qwen_image_controlnet_patch-1.webp +0 -0
  70. comfyui_workflow_templates_media_image/templates/image_qwen_image_controlnet_patch-2.webp +0 -0
  71. comfyui_workflow_templates_media_image/templates/image_qwen_image_controlnet_patch.json +1054 -0
  72. comfyui_workflow_templates_media_image/templates/image_qwen_image_edit-1.webp +0 -0
  73. comfyui_workflow_templates_media_image/templates/image_qwen_image_edit-2.webp +0 -0
  74. comfyui_workflow_templates_media_image/templates/image_qwen_image_edit.json +1056 -0
  75. comfyui_workflow_templates_media_image/templates/image_qwen_image_edit_2509-1.webp +0 -0
  76. comfyui_workflow_templates_media_image/templates/image_qwen_image_edit_2509-2.webp +0 -0
  77. comfyui_workflow_templates_media_image/templates/image_qwen_image_edit_2509.json +3141 -0
  78. comfyui_workflow_templates_media_image/templates/image_qwen_image_instantx_controlnet-1.webp +0 -0
  79. comfyui_workflow_templates_media_image/templates/image_qwen_image_instantx_controlnet-2.webp +0 -0
  80. comfyui_workflow_templates_media_image/templates/image_qwen_image_instantx_controlnet.json +2050 -0
  81. comfyui_workflow_templates_media_image/templates/image_qwen_image_instantx_inpainting_controlnet-1.webp +0 -0
  82. comfyui_workflow_templates_media_image/templates/image_qwen_image_instantx_inpainting_controlnet-2.webp +0 -0
  83. comfyui_workflow_templates_media_image/templates/image_qwen_image_instantx_inpainting_controlnet.json +3693 -0
  84. comfyui_workflow_templates_media_image/templates/image_qwen_image_union_control_lora-1.webp +0 -0
  85. comfyui_workflow_templates_media_image/templates/image_qwen_image_union_control_lora-3.webp +0 -0
  86. comfyui_workflow_templates_media_image/templates/image_qwen_image_union_control_lora.json +1098 -0
  87. comfyui_workflow_templates_media_image/templates/inpaint_example-1.webp +0 -0
  88. comfyui_workflow_templates_media_image/templates/inpaint_example-2.webp +0 -0
  89. comfyui_workflow_templates_media_image/templates/inpaint_example.json +650 -0
  90. comfyui_workflow_templates_media_image/templates/inpaint_model_outpainting-1.webp +0 -0
  91. comfyui_workflow_templates_media_image/templates/inpaint_model_outpainting-2.webp +0 -0
  92. comfyui_workflow_templates_media_image/templates/inpaint_model_outpainting.json +710 -0
  93. comfyui_workflow_templates_media_image/templates/mixing_controlnets-1.webp +0 -0
  94. comfyui_workflow_templates_media_image/templates/mixing_controlnets-2.webp +0 -0
  95. comfyui_workflow_templates_media_image/templates/mixing_controlnets.json +913 -0
  96. comfyui_workflow_templates_media_image/templates/sd3.5_large_canny_controlnet_example-1.webp +0 -0
  97. comfyui_workflow_templates_media_image/templates/sd3.5_large_canny_controlnet_example-2.webp +0 -0
  98. comfyui_workflow_templates_media_image/templates/sd3.5_large_canny_controlnet_example.json +829 -0
  99. comfyui_workflow_templates_media_image/templates/sdxl_refiner_prompt_example-1.webp +0 -0
  100. comfyui_workflow_templates_media_image/templates/sdxl_refiner_prompt_example.json +758 -0
  101. comfyui_workflow_templates_media_image/templates/sdxl_revision_text_prompts-1.webp +0 -0
  102. comfyui_workflow_templates_media_image/templates/sdxl_revision_text_prompts.json +855 -0
  103. comfyui_workflow_templates_media_image/templates/sdxl_simple_example-1.webp +0 -0
  104. comfyui_workflow_templates_media_image/templates/sdxl_simple_example.json +1346 -0
  105. comfyui_workflow_templates_media_image/templates/sdxlturbo_example-1.webp +0 -0
  106. comfyui_workflow_templates_media_image/templates/sdxlturbo_example.json +518 -0
  107. comfyui_workflow_templates_media_image-0.3.0.dist-info/METADATA +9 -0
  108. comfyui_workflow_templates_media_image-0.3.0.dist-info/RECORD +110 -0
  109. comfyui_workflow_templates_media_image-0.3.0.dist-info/WHEEL +5 -0
  110. comfyui_workflow_templates_media_image-0.3.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,3693 @@
1
+ {
2
+ "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
3
+ "revision": 0,
4
+ "last_node_id": 222,
5
+ "last_link_id": 387,
6
+ "nodes": [
7
+ {
8
+ "id": 38,
9
+ "type": "CLIPLoader",
10
+ "pos": [
11
+ -90,
12
+ 70
13
+ ],
14
+ "size": [
15
+ 380,
16
+ 106
17
+ ],
18
+ "flags": {},
19
+ "order": 0,
20
+ "mode": 0,
21
+ "inputs": [],
22
+ "outputs": [
23
+ {
24
+ "name": "CLIP",
25
+ "type": "CLIP",
26
+ "slot_index": 0,
27
+ "links": [
28
+ 74,
29
+ 75
30
+ ]
31
+ }
32
+ ],
33
+ "properties": {
34
+ "cnr_id": "comfy-core",
35
+ "ver": "0.3.51",
36
+ "Node name for S&R": "CLIPLoader",
37
+ "models": [
38
+ {
39
+ "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
40
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
41
+ "directory": "text_encoders"
42
+ }
43
+ ]
44
+ },
45
+ "widgets_values": [
46
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
47
+ "qwen_image",
48
+ "default"
49
+ ]
50
+ },
51
+ {
52
+ "id": 37,
53
+ "type": "UNETLoader",
54
+ "pos": [
55
+ -90,
56
+ -60
57
+ ],
58
+ "size": [
59
+ 380,
60
+ 82
61
+ ],
62
+ "flags": {},
63
+ "order": 1,
64
+ "mode": 0,
65
+ "inputs": [],
66
+ "outputs": [
67
+ {
68
+ "name": "MODEL",
69
+ "type": "MODEL",
70
+ "slot_index": 0,
71
+ "links": [
72
+ 145
73
+ ]
74
+ }
75
+ ],
76
+ "properties": {
77
+ "cnr_id": "comfy-core",
78
+ "ver": "0.3.51",
79
+ "Node name for S&R": "UNETLoader",
80
+ "models": [
81
+ {
82
+ "name": "qwen_image_fp8_e4m3fn.safetensors",
83
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors",
84
+ "directory": "diffusion_models"
85
+ }
86
+ ]
87
+ },
88
+ "widgets_values": [
89
+ "qwen_image_fp8_e4m3fn.safetensors",
90
+ "default"
91
+ ]
92
+ },
93
+ {
94
+ "id": 7,
95
+ "type": "CLIPTextEncode",
96
+ "pos": [
97
+ 330,
98
+ 320
99
+ ],
100
+ "size": [
101
+ 460,
102
+ 140
103
+ ],
104
+ "flags": {},
105
+ "order": 18,
106
+ "mode": 0,
107
+ "inputs": [
108
+ {
109
+ "name": "clip",
110
+ "type": "CLIP",
111
+ "link": 75
112
+ }
113
+ ],
114
+ "outputs": [
115
+ {
116
+ "name": "CONDITIONING",
117
+ "type": "CONDITIONING",
118
+ "slot_index": 0,
119
+ "links": [
120
+ 191
121
+ ]
122
+ }
123
+ ],
124
+ "title": "CLIP Text Encode (Negative Prompt)",
125
+ "properties": {
126
+ "cnr_id": "comfy-core",
127
+ "ver": "0.3.51",
128
+ "Node name for S&R": "CLIPTextEncode"
129
+ },
130
+ "widgets_values": [
131
+ " "
132
+ ],
133
+ "color": "#223",
134
+ "bgcolor": "#335"
135
+ },
136
+ {
137
+ "id": 84,
138
+ "type": "ControlNetLoader",
139
+ "pos": [
140
+ -90,
141
+ 340
142
+ ],
143
+ "size": [
144
+ 380,
145
+ 58
146
+ ],
147
+ "flags": {},
148
+ "order": 2,
149
+ "mode": 0,
150
+ "inputs": [],
151
+ "outputs": [
152
+ {
153
+ "name": "CONTROL_NET",
154
+ "type": "CONTROL_NET",
155
+ "links": [
156
+ 192
157
+ ]
158
+ }
159
+ ],
160
+ "properties": {
161
+ "cnr_id": "comfy-core",
162
+ "ver": "0.3.51",
163
+ "Node name for S&R": "ControlNetLoader",
164
+ "models": [
165
+ {
166
+ "name": "Qwen-Image-InstantX-ControlNet-Inpainting.safetensors",
167
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-InstantX-ControlNets/resolve/main/split_files/controlnet/Qwen-Image-InstantX-ControlNet-Inpainting.safetensors",
168
+ "directory": "controlnet"
169
+ }
170
+ ]
171
+ },
172
+ "widgets_values": [
173
+ "Qwen-Image-InstantX-ControlNet-Inpainting.safetensors"
174
+ ]
175
+ },
176
+ {
177
+ "id": 39,
178
+ "type": "VAELoader",
179
+ "pos": [
180
+ -90,
181
+ 230
182
+ ],
183
+ "size": [
184
+ 380,
185
+ 58
186
+ ],
187
+ "flags": {},
188
+ "order": 3,
189
+ "mode": 0,
190
+ "inputs": [],
191
+ "outputs": [
192
+ {
193
+ "name": "VAE",
194
+ "type": "VAE",
195
+ "slot_index": 0,
196
+ "links": [
197
+ 76,
198
+ 144,
199
+ 193
200
+ ]
201
+ }
202
+ ],
203
+ "properties": {
204
+ "cnr_id": "comfy-core",
205
+ "ver": "0.3.51",
206
+ "Node name for S&R": "VAELoader",
207
+ "models": [
208
+ {
209
+ "name": "qwen_image_vae.safetensors",
210
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
211
+ "directory": "vae"
212
+ }
213
+ ]
214
+ },
215
+ "widgets_values": [
216
+ "qwen_image_vae.safetensors"
217
+ ]
218
+ },
219
+ {
220
+ "id": 66,
221
+ "type": "ModelSamplingAuraFlow",
222
+ "pos": [
223
+ 860,
224
+ -100
225
+ ],
226
+ "size": [
227
+ 310,
228
+ 58
229
+ ],
230
+ "flags": {},
231
+ "order": 26,
232
+ "mode": 0,
233
+ "inputs": [
234
+ {
235
+ "name": "model",
236
+ "type": "MODEL",
237
+ "link": 149
238
+ }
239
+ ],
240
+ "outputs": [
241
+ {
242
+ "name": "MODEL",
243
+ "type": "MODEL",
244
+ "links": [
245
+ 156
246
+ ]
247
+ }
248
+ ],
249
+ "properties": {
250
+ "cnr_id": "comfy-core",
251
+ "ver": "0.3.51",
252
+ "Node name for S&R": "ModelSamplingAuraFlow"
253
+ },
254
+ "widgets_values": [
255
+ 3.1000000000000005
256
+ ]
257
+ },
258
+ {
259
+ "id": 108,
260
+ "type": "ControlNetInpaintingAliMamaApply",
261
+ "pos": [
262
+ 430,
263
+ 560
264
+ ],
265
+ "size": [
266
+ 317.0093688964844,
267
+ 206
268
+ ],
269
+ "flags": {},
270
+ "order": 30,
271
+ "mode": 0,
272
+ "inputs": [
273
+ {
274
+ "name": "positive",
275
+ "type": "CONDITIONING",
276
+ "link": 190
277
+ },
278
+ {
279
+ "name": "negative",
280
+ "type": "CONDITIONING",
281
+ "link": 191
282
+ },
283
+ {
284
+ "name": "control_net",
285
+ "type": "CONTROL_NET",
286
+ "link": 192
287
+ },
288
+ {
289
+ "name": "vae",
290
+ "type": "VAE",
291
+ "link": 193
292
+ },
293
+ {
294
+ "name": "image",
295
+ "type": "IMAGE",
296
+ "link": 294
297
+ },
298
+ {
299
+ "name": "mask",
300
+ "type": "MASK",
301
+ "link": 220
302
+ }
303
+ ],
304
+ "outputs": [
305
+ {
306
+ "name": "positive",
307
+ "type": "CONDITIONING",
308
+ "links": [
309
+ 188
310
+ ]
311
+ },
312
+ {
313
+ "name": "negative",
314
+ "type": "CONDITIONING",
315
+ "links": [
316
+ 189
317
+ ]
318
+ }
319
+ ],
320
+ "properties": {
321
+ "cnr_id": "comfy-core",
322
+ "ver": "0.3.59",
323
+ "Node name for S&R": "ControlNetInpaintingAliMamaApply"
324
+ },
325
+ "widgets_values": [
326
+ 1,
327
+ 0,
328
+ 1
329
+ ]
330
+ },
331
+ {
332
+ "id": 115,
333
+ "type": "MarkdownNote",
334
+ "pos": [
335
+ -470,
336
+ 560
337
+ ],
338
+ "size": [
339
+ 307.56927490234375,
340
+ 169.79689025878906
341
+ ],
342
+ "flags": {},
343
+ "order": 4,
344
+ "mode": 0,
345
+ "inputs": [],
346
+ "outputs": [],
347
+ "title": "About how to create mask",
348
+ "properties": {},
349
+ "widgets_values": [
350
+ "Right-click on the Load Image node, then click \"Open in MaskEditor\" to open it and paint the area you want to inpaint.\n\nYou can learn more about MaskEditor in the [MaskEditor Document](https://docs.comfy.org/interface/maskeditor)"
351
+ ],
352
+ "color": "#432",
353
+ "bgcolor": "#653"
354
+ },
355
+ {
356
+ "id": 86,
357
+ "type": "Note",
358
+ "pos": [
359
+ 860,
360
+ 500
361
+ ],
362
+ "size": [
363
+ 307.4002380371094,
364
+ 127.38092803955078
365
+ ],
366
+ "flags": {},
367
+ "order": 5,
368
+ "mode": 0,
369
+ "inputs": [],
370
+ "outputs": [],
371
+ "properties": {},
372
+ "widgets_values": [
373
+ "Set cfg to 1.0 for a speed boost at the cost of consistency. Samplers like res_multistep work pretty well at cfg 1.0\n\nThe official number of steps is 50 but I think that's too much. Even just 10 steps seems to work."
374
+ ],
375
+ "color": "#432",
376
+ "bgcolor": "#653"
377
+ },
378
+ {
379
+ "id": 79,
380
+ "type": "MarkdownNote",
381
+ "pos": [
382
+ 860,
383
+ 680
384
+ ],
385
+ "size": [
386
+ 310,
387
+ 140
388
+ ],
389
+ "flags": {},
390
+ "order": 6,
391
+ "mode": 0,
392
+ "inputs": [],
393
+ "outputs": [],
394
+ "title": "KSampler settings",
395
+ "properties": {},
396
+ "widgets_values": [
397
+ "You can test and find the best setting by yourself. The following table is for reference.\n\n| model | steps | cfg |\n|---------------------|---------------|---------------|\n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4 Steps lightning LoRA | 4 | 1.0 |\n"
398
+ ],
399
+ "color": "#432",
400
+ "bgcolor": "#653"
401
+ },
402
+ {
403
+ "id": 76,
404
+ "type": "VAEEncode",
405
+ "pos": [
406
+ 430,
407
+ 830
408
+ ],
409
+ "size": [
410
+ 140,
411
+ 46
412
+ ],
413
+ "flags": {
414
+ "collapsed": true
415
+ },
416
+ "order": 28,
417
+ "mode": 0,
418
+ "inputs": [
419
+ {
420
+ "name": "pixels",
421
+ "type": "IMAGE",
422
+ "link": 293
423
+ },
424
+ {
425
+ "name": "vae",
426
+ "type": "VAE",
427
+ "link": 144
428
+ }
429
+ ],
430
+ "outputs": [
431
+ {
432
+ "name": "LATENT",
433
+ "type": "LATENT",
434
+ "links": [
435
+ 208
436
+ ]
437
+ }
438
+ ],
439
+ "properties": {
440
+ "cnr_id": "comfy-core",
441
+ "ver": "0.3.51",
442
+ "Node name for S&R": "VAEEncode"
443
+ },
444
+ "widgets_values": []
445
+ },
446
+ {
447
+ "id": 122,
448
+ "type": "SetLatentNoiseMask",
449
+ "pos": [
450
+ 430,
451
+ 890
452
+ ],
453
+ "size": [
454
+ 230,
455
+ 50
456
+ ],
457
+ "flags": {
458
+ "collapsed": true
459
+ },
460
+ "order": 32,
461
+ "mode": 0,
462
+ "inputs": [
463
+ {
464
+ "name": "samples",
465
+ "type": "LATENT",
466
+ "link": 208
467
+ },
468
+ {
469
+ "name": "mask",
470
+ "type": "MASK",
471
+ "link": 219
472
+ }
473
+ ],
474
+ "outputs": [
475
+ {
476
+ "name": "LATENT",
477
+ "type": "LATENT",
478
+ "links": [
479
+ 210
480
+ ]
481
+ }
482
+ ],
483
+ "properties": {
484
+ "cnr_id": "comfy-core",
485
+ "ver": "0.3.59",
486
+ "Node name for S&R": "SetLatentNoiseMask"
487
+ },
488
+ "widgets_values": []
489
+ },
490
+ {
491
+ "id": 124,
492
+ "type": "MaskPreview",
493
+ "pos": [
494
+ 440,
495
+ 1100
496
+ ],
497
+ "size": [
498
+ 320,
499
+ 340
500
+ ],
501
+ "flags": {},
502
+ "order": 29,
503
+ "mode": 0,
504
+ "inputs": [
505
+ {
506
+ "name": "mask",
507
+ "type": "MASK",
508
+ "link": 215
509
+ }
510
+ ],
511
+ "outputs": [],
512
+ "properties": {
513
+ "cnr_id": "comfy-core",
514
+ "ver": "0.3.59",
515
+ "Node name for S&R": "MaskPreview"
516
+ },
517
+ "widgets_values": []
518
+ },
519
+ {
520
+ "id": 173,
521
+ "type": "MarkdownNote",
522
+ "pos": [
523
+ 880,
524
+ 1210
525
+ ],
526
+ "size": [
527
+ 260,
528
+ 130
529
+ ],
530
+ "flags": {},
531
+ "order": 7,
532
+ "mode": 0,
533
+ "inputs": [],
534
+ "outputs": [],
535
+ "title": "About ImageCompositeMasked",
536
+ "properties": {},
537
+ "widgets_values": [
538
+ "Some users might want to keep the unmasked area unchanged, though with ImageCompositeMasked, we can paste the original pixels back."
539
+ ],
540
+ "color": "#432",
541
+ "bgcolor": "#653"
542
+ },
543
+ {
544
+ "id": 174,
545
+ "type": "CLIPLoader",
546
+ "pos": [
547
+ 2430,
548
+ 60
549
+ ],
550
+ "size": [
551
+ 380,
552
+ 106
553
+ ],
554
+ "flags": {},
555
+ "order": 8,
556
+ "mode": 4,
557
+ "inputs": [],
558
+ "outputs": [
559
+ {
560
+ "name": "CLIP",
561
+ "type": "CLIP",
562
+ "slot_index": 0,
563
+ "links": [
564
+ 296,
565
+ 305
566
+ ]
567
+ }
568
+ ],
569
+ "properties": {
570
+ "cnr_id": "comfy-core",
571
+ "ver": "0.3.51",
572
+ "Node name for S&R": "CLIPLoader",
573
+ "models": [
574
+ {
575
+ "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
576
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
577
+ "directory": "text_encoders"
578
+ }
579
+ ]
580
+ },
581
+ "widgets_values": [
582
+ "qwen_2.5_vl_7b_fp8_scaled.safetensors",
583
+ "qwen_image",
584
+ "default"
585
+ ]
586
+ },
587
+ {
588
+ "id": 175,
589
+ "type": "UNETLoader",
590
+ "pos": [
591
+ 2430,
592
+ -70
593
+ ],
594
+ "size": [
595
+ 380,
596
+ 82
597
+ ],
598
+ "flags": {},
599
+ "order": 9,
600
+ "mode": 4,
601
+ "inputs": [],
602
+ "outputs": [
603
+ {
604
+ "name": "MODEL",
605
+ "type": "MODEL",
606
+ "slot_index": 0,
607
+ "links": [
608
+ 306
609
+ ]
610
+ }
611
+ ],
612
+ "properties": {
613
+ "cnr_id": "comfy-core",
614
+ "ver": "0.3.51",
615
+ "Node name for S&R": "UNETLoader",
616
+ "models": [
617
+ {
618
+ "name": "qwen_image_fp8_e4m3fn.safetensors",
619
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors",
620
+ "directory": "diffusion_models"
621
+ }
622
+ ]
623
+ },
624
+ "widgets_values": [
625
+ "qwen_image_fp8_e4m3fn.safetensors",
626
+ "default"
627
+ ]
628
+ },
629
+ {
630
+ "id": 177,
631
+ "type": "ControlNetLoader",
632
+ "pos": [
633
+ 2430,
634
+ 330
635
+ ],
636
+ "size": [
637
+ 380,
638
+ 58
639
+ ],
640
+ "flags": {},
641
+ "order": 10,
642
+ "mode": 4,
643
+ "inputs": [],
644
+ "outputs": [
645
+ {
646
+ "name": "CONTROL_NET",
647
+ "type": "CONTROL_NET",
648
+ "links": [
649
+ 301
650
+ ]
651
+ }
652
+ ],
653
+ "properties": {
654
+ "cnr_id": "comfy-core",
655
+ "ver": "0.3.51",
656
+ "Node name for S&R": "ControlNetLoader",
657
+ "models": [
658
+ {
659
+ "name": "Qwen-Image-InstantX-ControlNet-Inpainting.safetensors",
660
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image-InstantX-ControlNets/resolve/main/split_files/controlnet/Qwen-Image-InstantX-ControlNet-Inpainting.safetensors",
661
+ "directory": "controlnet"
662
+ }
663
+ ]
664
+ },
665
+ "widgets_values": [
666
+ "Qwen-Image-InstantX-ControlNet-Inpainting.safetensors"
667
+ ]
668
+ },
669
+ {
670
+ "id": 180,
671
+ "type": "ModelSamplingAuraFlow",
672
+ "pos": [
673
+ 3400,
674
+ -110
675
+ ],
676
+ "size": [
677
+ 310,
678
+ 58
679
+ ],
680
+ "flags": {},
681
+ "order": 27,
682
+ "mode": 4,
683
+ "inputs": [
684
+ {
685
+ "name": "model",
686
+ "type": "MODEL",
687
+ "link": 298
688
+ }
689
+ ],
690
+ "outputs": [
691
+ {
692
+ "name": "MODEL",
693
+ "type": "MODEL",
694
+ "links": [
695
+ 308
696
+ ]
697
+ }
698
+ ],
699
+ "properties": {
700
+ "cnr_id": "comfy-core",
701
+ "ver": "0.3.51",
702
+ "Node name for S&R": "ModelSamplingAuraFlow"
703
+ },
704
+ "widgets_values": [
705
+ 3.1000000000000005
706
+ ]
707
+ },
708
+ {
709
+ "id": 191,
710
+ "type": "VAEDecode",
711
+ "pos": [
712
+ 3440,
713
+ 500
714
+ ],
715
+ "size": [
716
+ 250,
717
+ 46
718
+ ],
719
+ "flags": {},
720
+ "order": 43,
721
+ "mode": 4,
722
+ "inputs": [
723
+ {
724
+ "name": "samples",
725
+ "type": "LATENT",
726
+ "link": 312
727
+ },
728
+ {
729
+ "name": "vae",
730
+ "type": "VAE",
731
+ "link": 313
732
+ }
733
+ ],
734
+ "outputs": [
735
+ {
736
+ "name": "IMAGE",
737
+ "type": "IMAGE",
738
+ "slot_index": 0,
739
+ "links": [
740
+ 314,
741
+ 323
742
+ ]
743
+ }
744
+ ],
745
+ "properties": {
746
+ "cnr_id": "comfy-core",
747
+ "ver": "0.3.51",
748
+ "Node name for S&R": "VAEDecode"
749
+ },
750
+ "widgets_values": []
751
+ },
752
+ {
753
+ "id": 172,
754
+ "type": "ImageScaleToMaxDimension",
755
+ "pos": [
756
+ -20,
757
+ 1060
758
+ ],
759
+ "size": [
760
+ 281.2027282714844,
761
+ 82
762
+ ],
763
+ "flags": {},
764
+ "order": 23,
765
+ "mode": 0,
766
+ "inputs": [
767
+ {
768
+ "name": "image",
769
+ "type": "IMAGE",
770
+ "link": 292
771
+ }
772
+ ],
773
+ "outputs": [
774
+ {
775
+ "name": "IMAGE",
776
+ "type": "IMAGE",
777
+ "links": [
778
+ 293,
779
+ 294,
780
+ 295
781
+ ]
782
+ }
783
+ ],
784
+ "properties": {
785
+ "cnr_id": "comfy-core",
786
+ "ver": "0.3.59",
787
+ "Node name for S&R": "ImageScaleToMaxDimension"
788
+ },
789
+ "widgets_values": [
790
+ "area",
791
+ 1536
792
+ ]
793
+ },
794
+ {
795
+ "id": 185,
796
+ "type": "LoraLoaderModelOnly",
797
+ "pos": [
798
+ 2870,
799
+ -80
800
+ ],
801
+ "size": [
802
+ 430,
803
+ 82
804
+ ],
805
+ "flags": {},
806
+ "order": 22,
807
+ "mode": 4,
808
+ "inputs": [
809
+ {
810
+ "name": "model",
811
+ "type": "MODEL",
812
+ "link": 306
813
+ }
814
+ ],
815
+ "outputs": [
816
+ {
817
+ "name": "MODEL",
818
+ "type": "MODEL",
819
+ "links": [
820
+ 298
821
+ ]
822
+ }
823
+ ],
824
+ "properties": {
825
+ "cnr_id": "comfy-core",
826
+ "ver": "0.3.51",
827
+ "Node name for S&R": "LoraLoaderModelOnly",
828
+ "models": [
829
+ {
830
+ "name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
831
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
832
+ "directory": "loras"
833
+ }
834
+ ]
835
+ },
836
+ "widgets_values": [
837
+ "Qwen-Image-Lightning-4steps-V1.0.safetensors",
838
+ 1
839
+ ]
840
+ },
841
+ {
842
+ "id": 80,
843
+ "type": "LoraLoaderModelOnly",
844
+ "pos": [
845
+ 350,
846
+ -70
847
+ ],
848
+ "size": [
849
+ 430,
850
+ 82
851
+ ],
852
+ "flags": {},
853
+ "order": 19,
854
+ "mode": 0,
855
+ "inputs": [
856
+ {
857
+ "name": "model",
858
+ "type": "MODEL",
859
+ "link": 145
860
+ }
861
+ ],
862
+ "outputs": [
863
+ {
864
+ "name": "MODEL",
865
+ "type": "MODEL",
866
+ "links": [
867
+ 149
868
+ ]
869
+ }
870
+ ],
871
+ "properties": {
872
+ "cnr_id": "comfy-core",
873
+ "ver": "0.3.51",
874
+ "Node name for S&R": "LoraLoaderModelOnly",
875
+ "models": [
876
+ {
877
+ "name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
878
+ "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
879
+ "directory": "loras"
880
+ }
881
+ ]
882
+ },
883
+ "widgets_values": [
884
+ "Qwen-Image-Lightning-4steps-V1.0.safetensors",
885
+ 1
886
+ ]
887
+ },
888
+ {
889
+ "id": 8,
890
+ "type": "VAEDecode",
891
+ "pos": [
892
+ 900,
893
+ 880
894
+ ],
895
+ "size": [
896
+ 250,
897
+ 46
898
+ ],
899
+ "flags": {},
900
+ "order": 39,
901
+ "mode": 0,
902
+ "inputs": [
903
+ {
904
+ "name": "samples",
905
+ "type": "LATENT",
906
+ "link": 128
907
+ },
908
+ {
909
+ "name": "vae",
910
+ "type": "VAE",
911
+ "link": 76
912
+ }
913
+ ],
914
+ "outputs": [
915
+ {
916
+ "name": "IMAGE",
917
+ "type": "IMAGE",
918
+ "slot_index": 0,
919
+ "links": [
920
+ 110,
921
+ 224
922
+ ]
923
+ }
924
+ ],
925
+ "properties": {
926
+ "cnr_id": "comfy-core",
927
+ "ver": "0.3.51",
928
+ "Node name for S&R": "VAEDecode"
929
+ },
930
+ "widgets_values": []
931
+ },
932
+ {
933
+ "id": 126,
934
+ "type": "ImageCompositeMasked",
935
+ "pos": [
936
+ 890,
937
+ 1000
938
+ ],
939
+ "size": [
940
+ 250,
941
+ 150
942
+ ],
943
+ "flags": {},
944
+ "order": 42,
945
+ "mode": 0,
946
+ "inputs": [
947
+ {
948
+ "name": "destination",
949
+ "type": "IMAGE",
950
+ "link": 295
951
+ },
952
+ {
953
+ "name": "source",
954
+ "type": "IMAGE",
955
+ "link": 224
956
+ },
957
+ {
958
+ "name": "mask",
959
+ "shape": 7,
960
+ "type": "MASK",
961
+ "link": 225
962
+ }
963
+ ],
964
+ "outputs": [
965
+ {
966
+ "name": "IMAGE",
967
+ "type": "IMAGE",
968
+ "links": [
969
+ 274
970
+ ]
971
+ }
972
+ ],
973
+ "properties": {
974
+ "cnr_id": "comfy-core",
975
+ "ver": "0.3.59",
976
+ "Node name for S&R": "ImageCompositeMasked"
977
+ },
978
+ "widgets_values": [
979
+ 0,
980
+ 0,
981
+ false
982
+ ]
983
+ },
984
+ {
985
+ "id": 207,
986
+ "type": "MaskPreview",
987
+ "pos": [
988
+ 3390,
989
+ 980
990
+ ],
991
+ "size": [
992
+ 340,
993
+ 430
994
+ ],
995
+ "flags": {},
996
+ "order": 38,
997
+ "mode": 4,
998
+ "inputs": [
999
+ {
1000
+ "name": "mask",
1001
+ "type": "MASK",
1002
+ "link": 376
1003
+ }
1004
+ ],
1005
+ "outputs": [],
1006
+ "properties": {
1007
+ "cnr_id": "comfy-core",
1008
+ "ver": "0.3.59",
1009
+ "Node name for S&R": "MaskPreview"
1010
+ },
1011
+ "widgets_values": []
1012
+ },
1013
+ {
1014
+ "id": 203,
1015
+ "type": "PreviewImage",
1016
+ "pos": [
1017
+ 2950,
1018
+ 980
1019
+ ],
1020
+ "size": [
1021
+ 310,
1022
+ 430
1023
+ ],
1024
+ "flags": {},
1025
+ "order": 34,
1026
+ "mode": 4,
1027
+ "inputs": [
1028
+ {
1029
+ "name": "images",
1030
+ "type": "IMAGE",
1031
+ "link": 370
1032
+ }
1033
+ ],
1034
+ "outputs": [],
1035
+ "properties": {
1036
+ "cnr_id": "comfy-core",
1037
+ "ver": "0.3.59",
1038
+ "Node name for S&R": "PreviewImage"
1039
+ },
1040
+ "widgets_values": []
1041
+ },
1042
+ {
1043
+ "id": 200,
1044
+ "type": "ImageCompositeMasked",
1045
+ "pos": [
1046
+ 3430,
1047
+ 620
1048
+ ],
1049
+ "size": [
1050
+ 250,
1051
+ 150
1052
+ ],
1053
+ "flags": {},
1054
+ "order": 46,
1055
+ "mode": 4,
1056
+ "inputs": [
1057
+ {
1058
+ "name": "destination",
1059
+ "type": "IMAGE",
1060
+ "link": 369
1061
+ },
1062
+ {
1063
+ "name": "source",
1064
+ "type": "IMAGE",
1065
+ "link": 323
1066
+ },
1067
+ {
1068
+ "name": "mask",
1069
+ "shape": 7,
1070
+ "type": "MASK",
1071
+ "link": 374
1072
+ }
1073
+ ],
1074
+ "outputs": [
1075
+ {
1076
+ "name": "IMAGE",
1077
+ "type": "IMAGE",
1078
+ "links": [
1079
+ 307
1080
+ ]
1081
+ }
1082
+ ],
1083
+ "properties": {
1084
+ "cnr_id": "comfy-core",
1085
+ "ver": "0.3.59",
1086
+ "Node name for S&R": "ImageCompositeMasked"
1087
+ },
1088
+ "widgets_values": [
1089
+ 0,
1090
+ 0,
1091
+ false
1092
+ ]
1093
+ },
1094
+ {
1095
+ "id": 190,
1096
+ "type": "KSampler",
1097
+ "pos": [
1098
+ 3400,
1099
+ 10
1100
+ ],
1101
+ "size": [
1102
+ 310,
1103
+ 474
1104
+ ],
1105
+ "flags": {},
1106
+ "order": 40,
1107
+ "mode": 4,
1108
+ "inputs": [
1109
+ {
1110
+ "name": "model",
1111
+ "type": "MODEL",
1112
+ "link": 308
1113
+ },
1114
+ {
1115
+ "name": "positive",
1116
+ "type": "CONDITIONING",
1117
+ "link": 386
1118
+ },
1119
+ {
1120
+ "name": "negative",
1121
+ "type": "CONDITIONING",
1122
+ "link": 387
1123
+ },
1124
+ {
1125
+ "name": "latent_image",
1126
+ "type": "LATENT",
1127
+ "link": 358
1128
+ }
1129
+ ],
1130
+ "outputs": [
1131
+ {
1132
+ "name": "LATENT",
1133
+ "type": "LATENT",
1134
+ "slot_index": 0,
1135
+ "links": [
1136
+ 312
1137
+ ]
1138
+ }
1139
+ ],
1140
+ "properties": {
1141
+ "cnr_id": "comfy-core",
1142
+ "ver": "0.3.51",
1143
+ "Node name for S&R": "KSampler"
1144
+ },
1145
+ "widgets_values": [
1146
+ 375729975350303,
1147
+ "randomize",
1148
+ 4,
1149
+ 1,
1150
+ "euler",
1151
+ "simple",
1152
+ 1
1153
+ ]
1154
+ },
1155
+ {
1156
+ "id": 117,
1157
+ "type": "MarkdownNote",
1158
+ "pos": [
1159
+ -470,
1160
+ 1020
1161
+ ],
1162
+ "size": [
1163
+ 310,
1164
+ 180
1165
+ ],
1166
+ "flags": {},
1167
+ "order": 11,
1168
+ "mode": 0,
1169
+ "inputs": [],
1170
+ "outputs": [],
1171
+ "title": "About ImageScaleToMaxDimension",
1172
+ "properties": {},
1173
+ "widgets_values": [
1174
+ "The input image shouldn't be too large (such as more than 3000). A too large input might cause bad results. You can enable the *ImageScaleToMaxDimension* node to download and scale the input image."
1175
+ ],
1176
+ "color": "#432",
1177
+ "bgcolor": "#653"
1178
+ },
1179
+ {
1180
+ "id": 3,
1181
+ "type": "KSampler",
1182
+ "pos": [
1183
+ 860,
1184
+ 20
1185
+ ],
1186
+ "size": [
1187
+ 310,
1188
+ 430
1189
+ ],
1190
+ "flags": {},
1191
+ "order": 36,
1192
+ "mode": 0,
1193
+ "inputs": [
1194
+ {
1195
+ "name": "model",
1196
+ "type": "MODEL",
1197
+ "link": 156
1198
+ },
1199
+ {
1200
+ "name": "positive",
1201
+ "type": "CONDITIONING",
1202
+ "link": 188
1203
+ },
1204
+ {
1205
+ "name": "negative",
1206
+ "type": "CONDITIONING",
1207
+ "link": 189
1208
+ },
1209
+ {
1210
+ "name": "latent_image",
1211
+ "type": "LATENT",
1212
+ "link": 210
1213
+ }
1214
+ ],
1215
+ "outputs": [
1216
+ {
1217
+ "name": "LATENT",
1218
+ "type": "LATENT",
1219
+ "slot_index": 0,
1220
+ "links": [
1221
+ 128
1222
+ ]
1223
+ }
1224
+ ],
1225
+ "properties": {
1226
+ "cnr_id": "comfy-core",
1227
+ "ver": "0.3.51",
1228
+ "Node name for S&R": "KSampler"
1229
+ },
1230
+ "widgets_values": [
1231
+ 134554158057228,
1232
+ "randomize",
1233
+ 4,
1234
+ 1,
1235
+ "euler",
1236
+ "simple",
1237
+ 1
1238
+ ]
1239
+ },
1240
+ {
1241
+ "id": 60,
1242
+ "type": "SaveImage",
1243
+ "pos": [
1244
+ 1280,
1245
+ -100
1246
+ ],
1247
+ "size": [
1248
+ 930,
1249
+ 880
1250
+ ],
1251
+ "flags": {},
1252
+ "order": 41,
1253
+ "mode": 0,
1254
+ "inputs": [
1255
+ {
1256
+ "name": "images",
1257
+ "type": "IMAGE",
1258
+ "link": 110
1259
+ }
1260
+ ],
1261
+ "outputs": [],
1262
+ "properties": {
1263
+ "cnr_id": "comfy-core",
1264
+ "ver": "0.3.51",
1265
+ "Node name for S&R": "SaveImage"
1266
+ },
1267
+ "widgets_values": [
1268
+ "ComfyUI"
1269
+ ]
1270
+ },
1271
+ {
1272
+ "id": 163,
1273
+ "type": "SaveImage",
1274
+ "pos": [
1275
+ 1270,
1276
+ 840
1277
+ ],
1278
+ "size": [
1279
+ 940,
1280
+ 970
1281
+ ],
1282
+ "flags": {},
1283
+ "order": 44,
1284
+ "mode": 0,
1285
+ "inputs": [
1286
+ {
1287
+ "name": "images",
1288
+ "type": "IMAGE",
1289
+ "link": 274
1290
+ }
1291
+ ],
1292
+ "outputs": [],
1293
+ "properties": {
1294
+ "cnr_id": "comfy-core",
1295
+ "ver": "0.3.51",
1296
+ "Node name for S&R": "SaveImage"
1297
+ },
1298
+ "widgets_values": [
1299
+ "ComfyUI"
1300
+ ]
1301
+ },
1302
+ {
1303
+ "id": 71,
1304
+ "type": "LoadImage",
1305
+ "pos": [
1306
+ -50,
1307
+ 580
1308
+ ],
1309
+ "size": [
1310
+ 310,
1311
+ 326
1312
+ ],
1313
+ "flags": {},
1314
+ "order": 12,
1315
+ "mode": 0,
1316
+ "inputs": [],
1317
+ "outputs": [
1318
+ {
1319
+ "name": "IMAGE",
1320
+ "type": "IMAGE",
1321
+ "links": [
1322
+ 292
1323
+ ]
1324
+ },
1325
+ {
1326
+ "name": "MASK",
1327
+ "type": "MASK",
1328
+ "links": [
1329
+ 205
1330
+ ]
1331
+ }
1332
+ ],
1333
+ "properties": {
1334
+ "cnr_id": "comfy-core",
1335
+ "ver": "0.3.51",
1336
+ "Node name for S&R": "LoadImage"
1337
+ },
1338
+ "widgets_values": [
1339
+ "image_qwen_image_instantx_inpainting_controlnet_input_image.png",
1340
+ "image"
1341
+ ]
1342
+ },
1343
+ {
1344
+ "id": 78,
1345
+ "type": "MarkdownNote",
1346
+ "pos": [
1347
+ -680,
1348
+ -150
1349
+ ],
1350
+ "size": [
1351
+ 541.36865234375,
1352
+ 579.70263671875
1353
+ ],
1354
+ "flags": {},
1355
+ "order": 13,
1356
+ "mode": 0,
1357
+ "inputs": [],
1358
+ "outputs": [],
1359
+ "title": "Model links",
1360
+ "properties": {
1361
+ "widget_ue_connectable": {}
1362
+ },
1363
+ "widgets_values": [
1364
+ "[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image)\n\n\n## Model links\n\nYou can find all the models on [Huggingface](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) or [Modelscope](https://modelscope.cn/models/Comfy-Org/Qwen-Image_ComfyUI/files)\n\n**Diffusion model**\n\n- [qwen_image_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors)\n\n**ControlNet**\n\n- [Qwen-Image-InstantX-ControlNet-Inpainting.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-InstantX-ControlNets/resolve/main/split_files/controlnet/Qwen-Image-InstantX-ControlNet-Inpainting.safetensors)\n\n\n**LoRA**\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\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ ├── qwen_image_fp8_e4m3fn.safetensors\n│ │ └── qwen_image_distill_full_fp8_e4m3fn.safetensors\n│ ├── 📂 loras/\n│ │ └── Qwen-Image-Lightning-8steps-V1.0.safetensors\n│ ├── 📂 controlnet/ \n│ │ └── Qwen-Image-InstantX-ControlNet-Inpainting.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n"
1365
+ ],
1366
+ "color": "#432",
1367
+ "bgcolor": "#653"
1368
+ },
1369
+ {
1370
+ "id": 6,
1371
+ "type": "CLIPTextEncode",
1372
+ "pos": [
1373
+ 330,
1374
+ 110
1375
+ ],
1376
+ "size": [
1377
+ 460,
1378
+ 164.31304931640625
1379
+ ],
1380
+ "flags": {},
1381
+ "order": 17,
1382
+ "mode": 0,
1383
+ "inputs": [
1384
+ {
1385
+ "name": "clip",
1386
+ "type": "CLIP",
1387
+ "link": 74
1388
+ }
1389
+ ],
1390
+ "outputs": [
1391
+ {
1392
+ "name": "CONDITIONING",
1393
+ "type": "CONDITIONING",
1394
+ "slot_index": 0,
1395
+ "links": [
1396
+ 190
1397
+ ]
1398
+ }
1399
+ ],
1400
+ "title": "CLIP Text Encode (Positive Prompt)",
1401
+ "properties": {
1402
+ "cnr_id": "comfy-core",
1403
+ "ver": "0.3.51",
1404
+ "Node name for S&R": "CLIPTextEncode"
1405
+ },
1406
+ "widgets_values": [
1407
+ "The Queen, on a throne, surrounded by Knights, HD, Realistic, Octane Render, Unreal engine"
1408
+ ],
1409
+ "color": "#232",
1410
+ "bgcolor": "#353"
1411
+ },
1412
+ {
1413
+ "id": 202,
1414
+ "type": "ImagePadForOutpaint",
1415
+ "pos": [
1416
+ 2490,
1417
+ 1030
1418
+ ],
1419
+ "size": [
1420
+ 270,
1421
+ 174
1422
+ ],
1423
+ "flags": {},
1424
+ "order": 25,
1425
+ "mode": 4,
1426
+ "inputs": [
1427
+ {
1428
+ "name": "image",
1429
+ "type": "IMAGE",
1430
+ "link": 351
1431
+ }
1432
+ ],
1433
+ "outputs": [
1434
+ {
1435
+ "name": "IMAGE",
1436
+ "type": "IMAGE",
1437
+ "links": [
1438
+ 366
1439
+ ]
1440
+ },
1441
+ {
1442
+ "name": "MASK",
1443
+ "type": "MASK",
1444
+ "links": [
1445
+ 365
1446
+ ]
1447
+ }
1448
+ ],
1449
+ "properties": {
1450
+ "cnr_id": "comfy-core",
1451
+ "ver": "0.3.59",
1452
+ "Node name for S&R": "ImagePadForOutpaint"
1453
+ },
1454
+ "widgets_values": [
1455
+ 200,
1456
+ 200,
1457
+ 0,
1458
+ 200,
1459
+ 0
1460
+ ]
1461
+ },
1462
+ {
1463
+ "id": 121,
1464
+ "type": "cade3e30-0eb2-4fd2-bf6e-8518f3a96e0c",
1465
+ "pos": [
1466
+ 430,
1467
+ 950
1468
+ ],
1469
+ "size": [
1470
+ 330,
1471
+ 100
1472
+ ],
1473
+ "flags": {},
1474
+ "order": 24,
1475
+ "mode": 0,
1476
+ "inputs": [
1477
+ {
1478
+ "name": "mask",
1479
+ "type": "MASK",
1480
+ "link": 205
1481
+ }
1482
+ ],
1483
+ "outputs": [
1484
+ {
1485
+ "name": "MASK",
1486
+ "type": "MASK",
1487
+ "links": [
1488
+ 215,
1489
+ 219,
1490
+ 220,
1491
+ 225
1492
+ ]
1493
+ }
1494
+ ],
1495
+ "properties": {
1496
+ "cnr_id": "comfy-core",
1497
+ "ver": "0.3.59",
1498
+ "proxyWidgets": []
1499
+ },
1500
+ "widgets_values": [
1501
+ 0,
1502
+ 31
1503
+ ]
1504
+ },
1505
+ {
1506
+ "id": 220,
1507
+ "type": "f93c215e-c393-460e-9534-ed2c3d8a652e",
1508
+ "pos": [
1509
+ 2480,
1510
+ 1450
1511
+ ],
1512
+ "size": [
1513
+ 330,
1514
+ 100
1515
+ ],
1516
+ "flags": {},
1517
+ "order": 33,
1518
+ "mode": 4,
1519
+ "inputs": [
1520
+ {
1521
+ "name": "mask",
1522
+ "type": "MASK",
1523
+ "link": 377
1524
+ }
1525
+ ],
1526
+ "outputs": [
1527
+ {
1528
+ "name": "MASK",
1529
+ "type": "MASK",
1530
+ "links": [
1531
+ 374,
1532
+ 375,
1533
+ 376
1534
+ ]
1535
+ }
1536
+ ],
1537
+ "properties": {
1538
+ "cnr_id": "comfy-core",
1539
+ "ver": "0.3.59",
1540
+ "proxyWidgets": []
1541
+ },
1542
+ "widgets_values": [
1543
+ 20,
1544
+ 31
1545
+ ]
1546
+ },
1547
+ {
1548
+ "id": 195,
1549
+ "type": "VAEEncode",
1550
+ "pos": [
1551
+ 2950,
1552
+ 820
1553
+ ],
1554
+ "size": [
1555
+ 140,
1556
+ 46
1557
+ ],
1558
+ "flags": {
1559
+ "collapsed": false
1560
+ },
1561
+ "order": 35,
1562
+ "mode": 4,
1563
+ "inputs": [
1564
+ {
1565
+ "name": "pixels",
1566
+ "type": "IMAGE",
1567
+ "link": 371
1568
+ },
1569
+ {
1570
+ "name": "vae",
1571
+ "type": "VAE",
1572
+ "link": 317
1573
+ }
1574
+ ],
1575
+ "outputs": [
1576
+ {
1577
+ "name": "LATENT",
1578
+ "type": "LATENT",
1579
+ "links": [
1580
+ 358
1581
+ ]
1582
+ }
1583
+ ],
1584
+ "properties": {
1585
+ "cnr_id": "comfy-core",
1586
+ "ver": "0.3.51",
1587
+ "Node name for S&R": "VAEEncode"
1588
+ },
1589
+ "widgets_values": []
1590
+ },
1591
+ {
1592
+ "id": 181,
1593
+ "type": "ControlNetInpaintingAliMamaApply",
1594
+ "pos": [
1595
+ 2940,
1596
+ 560
1597
+ ],
1598
+ "size": [
1599
+ 317.0093688964844,
1600
+ 206
1601
+ ],
1602
+ "flags": {},
1603
+ "order": 37,
1604
+ "mode": 4,
1605
+ "inputs": [
1606
+ {
1607
+ "name": "positive",
1608
+ "type": "CONDITIONING",
1609
+ "link": 299
1610
+ },
1611
+ {
1612
+ "name": "negative",
1613
+ "type": "CONDITIONING",
1614
+ "link": 300
1615
+ },
1616
+ {
1617
+ "name": "control_net",
1618
+ "type": "CONTROL_NET",
1619
+ "link": 301
1620
+ },
1621
+ {
1622
+ "name": "vae",
1623
+ "type": "VAE",
1624
+ "link": 384
1625
+ },
1626
+ {
1627
+ "name": "image",
1628
+ "type": "IMAGE",
1629
+ "link": 385
1630
+ },
1631
+ {
1632
+ "name": "mask",
1633
+ "type": "MASK",
1634
+ "link": 375
1635
+ }
1636
+ ],
1637
+ "outputs": [
1638
+ {
1639
+ "name": "positive",
1640
+ "type": "CONDITIONING",
1641
+ "links": [
1642
+ 386
1643
+ ]
1644
+ },
1645
+ {
1646
+ "name": "negative",
1647
+ "type": "CONDITIONING",
1648
+ "links": [
1649
+ 387
1650
+ ]
1651
+ }
1652
+ ],
1653
+ "properties": {
1654
+ "cnr_id": "comfy-core",
1655
+ "ver": "0.3.59",
1656
+ "Node name for S&R": "ControlNetInpaintingAliMamaApply"
1657
+ },
1658
+ "widgets_values": [
1659
+ 1,
1660
+ 0,
1661
+ 1
1662
+ ]
1663
+ },
1664
+ {
1665
+ "id": 178,
1666
+ "type": "VAELoader",
1667
+ "pos": [
1668
+ 2430,
1669
+ 220
1670
+ ],
1671
+ "size": [
1672
+ 380,
1673
+ 58
1674
+ ],
1675
+ "flags": {},
1676
+ "order": 14,
1677
+ "mode": 4,
1678
+ "inputs": [],
1679
+ "outputs": [
1680
+ {
1681
+ "name": "VAE",
1682
+ "type": "VAE",
1683
+ "slot_index": 0,
1684
+ "links": [
1685
+ 313,
1686
+ 317,
1687
+ 384
1688
+ ]
1689
+ }
1690
+ ],
1691
+ "properties": {
1692
+ "cnr_id": "comfy-core",
1693
+ "ver": "0.3.51",
1694
+ "Node name for S&R": "VAELoader",
1695
+ "models": [
1696
+ {
1697
+ "name": "qwen_image_vae.safetensors",
1698
+ "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
1699
+ "directory": "vae"
1700
+ }
1701
+ ]
1702
+ },
1703
+ "widgets_values": [
1704
+ "qwen_image_vae.safetensors"
1705
+ ]
1706
+ },
1707
+ {
1708
+ "id": 219,
1709
+ "type": "2a4b2cc0-db37-4302-a067-da392f38f06b",
1710
+ "pos": [
1711
+ 2480,
1712
+ 1260
1713
+ ],
1714
+ "size": [
1715
+ 280,
1716
+ 80
1717
+ ],
1718
+ "flags": {},
1719
+ "order": 31,
1720
+ "mode": 4,
1721
+ "inputs": [
1722
+ {
1723
+ "name": "mask",
1724
+ "type": "MASK",
1725
+ "link": 365
1726
+ },
1727
+ {
1728
+ "name": "image",
1729
+ "type": "IMAGE",
1730
+ "link": 366
1731
+ }
1732
+ ],
1733
+ "outputs": [
1734
+ {
1735
+ "name": "MASK",
1736
+ "type": "MASK",
1737
+ "links": [
1738
+ 377
1739
+ ]
1740
+ },
1741
+ {
1742
+ "name": "IMAGE",
1743
+ "type": "IMAGE",
1744
+ "links": [
1745
+ 369,
1746
+ 370,
1747
+ 371,
1748
+ 385
1749
+ ]
1750
+ }
1751
+ ],
1752
+ "title": "Scale image and mask(Subgraph)",
1753
+ "properties": {
1754
+ "cnr_id": "comfy-core",
1755
+ "ver": "0.3.65"
1756
+ },
1757
+ "widgets_values": [
1758
+ 1536
1759
+ ]
1760
+ },
1761
+ {
1762
+ "id": 189,
1763
+ "type": "SaveImage",
1764
+ "pos": [
1765
+ 3770,
1766
+ 990
1767
+ ],
1768
+ "size": [
1769
+ 930,
1770
+ 800
1771
+ ],
1772
+ "flags": {},
1773
+ "order": 47,
1774
+ "mode": 4,
1775
+ "inputs": [
1776
+ {
1777
+ "name": "images",
1778
+ "type": "IMAGE",
1779
+ "link": 307
1780
+ }
1781
+ ],
1782
+ "outputs": [],
1783
+ "properties": {
1784
+ "cnr_id": "comfy-core",
1785
+ "ver": "0.3.51",
1786
+ "Node name for S&R": "SaveImage"
1787
+ },
1788
+ "widgets_values": [
1789
+ "ComfyUI"
1790
+ ]
1791
+ },
1792
+ {
1793
+ "id": 193,
1794
+ "type": "LoadImage",
1795
+ "pos": [
1796
+ 2470,
1797
+ 570
1798
+ ],
1799
+ "size": [
1800
+ 310,
1801
+ 326
1802
+ ],
1803
+ "flags": {},
1804
+ "order": 15,
1805
+ "mode": 4,
1806
+ "inputs": [],
1807
+ "outputs": [
1808
+ {
1809
+ "name": "IMAGE",
1810
+ "type": "IMAGE",
1811
+ "links": [
1812
+ 351
1813
+ ]
1814
+ },
1815
+ {
1816
+ "name": "MASK",
1817
+ "type": "MASK",
1818
+ "links": []
1819
+ }
1820
+ ],
1821
+ "properties": {
1822
+ "cnr_id": "comfy-core",
1823
+ "ver": "0.3.51",
1824
+ "Node name for S&R": "LoadImage"
1825
+ },
1826
+ "widgets_values": [
1827
+ "image_qwen_image_instantx_inpainting_controlnet_input_image.png",
1828
+ "image"
1829
+ ]
1830
+ },
1831
+ {
1832
+ "id": 192,
1833
+ "type": "SaveImage",
1834
+ "pos": [
1835
+ 3770,
1836
+ 70
1837
+ ],
1838
+ "size": [
1839
+ 940,
1840
+ 850
1841
+ ],
1842
+ "flags": {},
1843
+ "order": 45,
1844
+ "mode": 4,
1845
+ "inputs": [
1846
+ {
1847
+ "name": "images",
1848
+ "type": "IMAGE",
1849
+ "link": 314
1850
+ }
1851
+ ],
1852
+ "outputs": [],
1853
+ "properties": {
1854
+ "cnr_id": "comfy-core",
1855
+ "ver": "0.3.51",
1856
+ "Node name for S&R": "SaveImage"
1857
+ },
1858
+ "widgets_values": [
1859
+ "ComfyUI"
1860
+ ]
1861
+ },
1862
+ {
1863
+ "id": 182,
1864
+ "type": "CLIPTextEncode",
1865
+ "pos": [
1866
+ 2850,
1867
+ 100
1868
+ ],
1869
+ "size": [
1870
+ 460,
1871
+ 164.31304931640625
1872
+ ],
1873
+ "flags": {},
1874
+ "order": 21,
1875
+ "mode": 4,
1876
+ "inputs": [
1877
+ {
1878
+ "name": "clip",
1879
+ "type": "CLIP",
1880
+ "link": 305
1881
+ }
1882
+ ],
1883
+ "outputs": [
1884
+ {
1885
+ "name": "CONDITIONING",
1886
+ "type": "CONDITIONING",
1887
+ "slot_index": 0,
1888
+ "links": [
1889
+ 299
1890
+ ]
1891
+ }
1892
+ ],
1893
+ "title": "CLIP Text Encode (Positive Prompt)",
1894
+ "properties": {
1895
+ "cnr_id": "comfy-core",
1896
+ "ver": "0.3.51",
1897
+ "Node name for S&R": "CLIPTextEncode"
1898
+ },
1899
+ "widgets_values": [
1900
+ "The King, on a throne, surrounded by Knights, HD, Realistic, Octane Render, Unreal engine"
1901
+ ],
1902
+ "color": "#232",
1903
+ "bgcolor": "#353"
1904
+ },
1905
+ {
1906
+ "id": 176,
1907
+ "type": "CLIPTextEncode",
1908
+ "pos": [
1909
+ 2850,
1910
+ 310
1911
+ ],
1912
+ "size": [
1913
+ 460,
1914
+ 140
1915
+ ],
1916
+ "flags": {},
1917
+ "order": 20,
1918
+ "mode": 4,
1919
+ "inputs": [
1920
+ {
1921
+ "name": "clip",
1922
+ "type": "CLIP",
1923
+ "link": 296
1924
+ }
1925
+ ],
1926
+ "outputs": [
1927
+ {
1928
+ "name": "CONDITIONING",
1929
+ "type": "CONDITIONING",
1930
+ "slot_index": 0,
1931
+ "links": [
1932
+ 300
1933
+ ]
1934
+ }
1935
+ ],
1936
+ "title": "CLIP Text Encode (Negative Prompt)",
1937
+ "properties": {
1938
+ "cnr_id": "comfy-core",
1939
+ "ver": "0.3.51",
1940
+ "Node name for S&R": "CLIPTextEncode"
1941
+ },
1942
+ "widgets_values": [
1943
+ ""
1944
+ ],
1945
+ "color": "#223",
1946
+ "bgcolor": "#335"
1947
+ },
1948
+ {
1949
+ "id": 68,
1950
+ "type": "Note",
1951
+ "pos": [
1952
+ 850,
1953
+ -300
1954
+ ],
1955
+ "size": [
1956
+ 310,
1957
+ 90
1958
+ ],
1959
+ "flags": {},
1960
+ "order": 16,
1961
+ "mode": 0,
1962
+ "inputs": [],
1963
+ "outputs": [],
1964
+ "properties": {},
1965
+ "widgets_values": [
1966
+ "Increase the shift if you get too many blury/dark/bad images. Decrease if you want to try increasing detail."
1967
+ ],
1968
+ "color": "#432",
1969
+ "bgcolor": "#653"
1970
+ }
1971
+ ],
1972
+ "links": [
1973
+ [
1974
+ 74,
1975
+ 38,
1976
+ 0,
1977
+ 6,
1978
+ 0,
1979
+ "CLIP"
1980
+ ],
1981
+ [
1982
+ 75,
1983
+ 38,
1984
+ 0,
1985
+ 7,
1986
+ 0,
1987
+ "CLIP"
1988
+ ],
1989
+ [
1990
+ 76,
1991
+ 39,
1992
+ 0,
1993
+ 8,
1994
+ 1,
1995
+ "VAE"
1996
+ ],
1997
+ [
1998
+ 110,
1999
+ 8,
2000
+ 0,
2001
+ 60,
2002
+ 0,
2003
+ "IMAGE"
2004
+ ],
2005
+ [
2006
+ 128,
2007
+ 3,
2008
+ 0,
2009
+ 8,
2010
+ 0,
2011
+ "LATENT"
2012
+ ],
2013
+ [
2014
+ 144,
2015
+ 39,
2016
+ 0,
2017
+ 76,
2018
+ 1,
2019
+ "VAE"
2020
+ ],
2021
+ [
2022
+ 145,
2023
+ 37,
2024
+ 0,
2025
+ 80,
2026
+ 0,
2027
+ "MODEL"
2028
+ ],
2029
+ [
2030
+ 149,
2031
+ 80,
2032
+ 0,
2033
+ 66,
2034
+ 0,
2035
+ "MODEL"
2036
+ ],
2037
+ [
2038
+ 156,
2039
+ 66,
2040
+ 0,
2041
+ 3,
2042
+ 0,
2043
+ "MODEL"
2044
+ ],
2045
+ [
2046
+ 188,
2047
+ 108,
2048
+ 0,
2049
+ 3,
2050
+ 1,
2051
+ "CONDITIONING"
2052
+ ],
2053
+ [
2054
+ 189,
2055
+ 108,
2056
+ 1,
2057
+ 3,
2058
+ 2,
2059
+ "CONDITIONING"
2060
+ ],
2061
+ [
2062
+ 190,
2063
+ 6,
2064
+ 0,
2065
+ 108,
2066
+ 0,
2067
+ "CONDITIONING"
2068
+ ],
2069
+ [
2070
+ 191,
2071
+ 7,
2072
+ 0,
2073
+ 108,
2074
+ 1,
2075
+ "CONDITIONING"
2076
+ ],
2077
+ [
2078
+ 192,
2079
+ 84,
2080
+ 0,
2081
+ 108,
2082
+ 2,
2083
+ "CONTROL_NET"
2084
+ ],
2085
+ [
2086
+ 193,
2087
+ 39,
2088
+ 0,
2089
+ 108,
2090
+ 3,
2091
+ "VAE"
2092
+ ],
2093
+ [
2094
+ 205,
2095
+ 71,
2096
+ 1,
2097
+ 121,
2098
+ 0,
2099
+ "MASK"
2100
+ ],
2101
+ [
2102
+ 208,
2103
+ 76,
2104
+ 0,
2105
+ 122,
2106
+ 0,
2107
+ "LATENT"
2108
+ ],
2109
+ [
2110
+ 210,
2111
+ 122,
2112
+ 0,
2113
+ 3,
2114
+ 3,
2115
+ "LATENT"
2116
+ ],
2117
+ [
2118
+ 215,
2119
+ 121,
2120
+ 0,
2121
+ 124,
2122
+ 0,
2123
+ "MASK"
2124
+ ],
2125
+ [
2126
+ 219,
2127
+ 121,
2128
+ 0,
2129
+ 122,
2130
+ 1,
2131
+ "MASK"
2132
+ ],
2133
+ [
2134
+ 220,
2135
+ 121,
2136
+ 0,
2137
+ 108,
2138
+ 5,
2139
+ "MASK"
2140
+ ],
2141
+ [
2142
+ 224,
2143
+ 8,
2144
+ 0,
2145
+ 126,
2146
+ 1,
2147
+ "IMAGE"
2148
+ ],
2149
+ [
2150
+ 225,
2151
+ 121,
2152
+ 0,
2153
+ 126,
2154
+ 2,
2155
+ "MASK"
2156
+ ],
2157
+ [
2158
+ 274,
2159
+ 126,
2160
+ 0,
2161
+ 163,
2162
+ 0,
2163
+ "IMAGE"
2164
+ ],
2165
+ [
2166
+ 292,
2167
+ 71,
2168
+ 0,
2169
+ 172,
2170
+ 0,
2171
+ "IMAGE"
2172
+ ],
2173
+ [
2174
+ 293,
2175
+ 172,
2176
+ 0,
2177
+ 76,
2178
+ 0,
2179
+ "IMAGE"
2180
+ ],
2181
+ [
2182
+ 294,
2183
+ 172,
2184
+ 0,
2185
+ 108,
2186
+ 4,
2187
+ "IMAGE"
2188
+ ],
2189
+ [
2190
+ 295,
2191
+ 172,
2192
+ 0,
2193
+ 126,
2194
+ 0,
2195
+ "IMAGE"
2196
+ ],
2197
+ [
2198
+ 296,
2199
+ 174,
2200
+ 0,
2201
+ 176,
2202
+ 0,
2203
+ "CLIP"
2204
+ ],
2205
+ [
2206
+ 298,
2207
+ 185,
2208
+ 0,
2209
+ 180,
2210
+ 0,
2211
+ "MODEL"
2212
+ ],
2213
+ [
2214
+ 299,
2215
+ 182,
2216
+ 0,
2217
+ 181,
2218
+ 0,
2219
+ "CONDITIONING"
2220
+ ],
2221
+ [
2222
+ 300,
2223
+ 176,
2224
+ 0,
2225
+ 181,
2226
+ 1,
2227
+ "CONDITIONING"
2228
+ ],
2229
+ [
2230
+ 301,
2231
+ 177,
2232
+ 0,
2233
+ 181,
2234
+ 2,
2235
+ "CONTROL_NET"
2236
+ ],
2237
+ [
2238
+ 305,
2239
+ 174,
2240
+ 0,
2241
+ 182,
2242
+ 0,
2243
+ "CLIP"
2244
+ ],
2245
+ [
2246
+ 306,
2247
+ 175,
2248
+ 0,
2249
+ 185,
2250
+ 0,
2251
+ "MODEL"
2252
+ ],
2253
+ [
2254
+ 307,
2255
+ 200,
2256
+ 0,
2257
+ 189,
2258
+ 0,
2259
+ "IMAGE"
2260
+ ],
2261
+ [
2262
+ 308,
2263
+ 180,
2264
+ 0,
2265
+ 190,
2266
+ 0,
2267
+ "MODEL"
2268
+ ],
2269
+ [
2270
+ 312,
2271
+ 190,
2272
+ 0,
2273
+ 191,
2274
+ 0,
2275
+ "LATENT"
2276
+ ],
2277
+ [
2278
+ 313,
2279
+ 178,
2280
+ 0,
2281
+ 191,
2282
+ 1,
2283
+ "VAE"
2284
+ ],
2285
+ [
2286
+ 314,
2287
+ 191,
2288
+ 0,
2289
+ 192,
2290
+ 0,
2291
+ "IMAGE"
2292
+ ],
2293
+ [
2294
+ 317,
2295
+ 178,
2296
+ 0,
2297
+ 195,
2298
+ 1,
2299
+ "VAE"
2300
+ ],
2301
+ [
2302
+ 323,
2303
+ 191,
2304
+ 0,
2305
+ 200,
2306
+ 1,
2307
+ "IMAGE"
2308
+ ],
2309
+ [
2310
+ 351,
2311
+ 193,
2312
+ 0,
2313
+ 202,
2314
+ 0,
2315
+ "IMAGE"
2316
+ ],
2317
+ [
2318
+ 358,
2319
+ 195,
2320
+ 0,
2321
+ 190,
2322
+ 3,
2323
+ "LATENT"
2324
+ ],
2325
+ [
2326
+ 365,
2327
+ 202,
2328
+ 1,
2329
+ 219,
2330
+ 0,
2331
+ "MASK"
2332
+ ],
2333
+ [
2334
+ 366,
2335
+ 202,
2336
+ 0,
2337
+ 219,
2338
+ 1,
2339
+ "IMAGE"
2340
+ ],
2341
+ [
2342
+ 369,
2343
+ 219,
2344
+ 1,
2345
+ 200,
2346
+ 0,
2347
+ "IMAGE"
2348
+ ],
2349
+ [
2350
+ 370,
2351
+ 219,
2352
+ 1,
2353
+ 203,
2354
+ 0,
2355
+ "IMAGE"
2356
+ ],
2357
+ [
2358
+ 371,
2359
+ 219,
2360
+ 1,
2361
+ 195,
2362
+ 0,
2363
+ "IMAGE"
2364
+ ],
2365
+ [
2366
+ 374,
2367
+ 220,
2368
+ 0,
2369
+ 200,
2370
+ 2,
2371
+ "MASK"
2372
+ ],
2373
+ [
2374
+ 375,
2375
+ 220,
2376
+ 0,
2377
+ 181,
2378
+ 5,
2379
+ "MASK"
2380
+ ],
2381
+ [
2382
+ 376,
2383
+ 220,
2384
+ 0,
2385
+ 207,
2386
+ 0,
2387
+ "MASK"
2388
+ ],
2389
+ [
2390
+ 377,
2391
+ 219,
2392
+ 0,
2393
+ 220,
2394
+ 0,
2395
+ "MASK"
2396
+ ],
2397
+ [
2398
+ 384,
2399
+ 178,
2400
+ 0,
2401
+ 181,
2402
+ 3,
2403
+ "VAE"
2404
+ ],
2405
+ [
2406
+ 385,
2407
+ 219,
2408
+ 1,
2409
+ 181,
2410
+ 4,
2411
+ "IMAGE"
2412
+ ],
2413
+ [
2414
+ 386,
2415
+ 181,
2416
+ 0,
2417
+ 190,
2418
+ 1,
2419
+ "CONDITIONING"
2420
+ ],
2421
+ [
2422
+ 387,
2423
+ 181,
2424
+ 1,
2425
+ 190,
2426
+ 2,
2427
+ "CONDITIONING"
2428
+ ]
2429
+ ],
2430
+ "groups": [
2431
+ {
2432
+ "id": 1,
2433
+ "title": "Step 1 - Upload models",
2434
+ "bounding": [
2435
+ -100,
2436
+ -140,
2437
+ 400,
2438
+ 610
2439
+ ],
2440
+ "color": "#3f789e",
2441
+ "font_size": 24,
2442
+ "flags": {}
2443
+ },
2444
+ {
2445
+ "id": 2,
2446
+ "title": "Step 2 - Upload image and edit mask",
2447
+ "bounding": [
2448
+ -100,
2449
+ 490,
2450
+ 420,
2451
+ 440
2452
+ ],
2453
+ "color": "#3f789e",
2454
+ "font_size": 24,
2455
+ "flags": {}
2456
+ },
2457
+ {
2458
+ "id": 4,
2459
+ "title": "Step 3 - Prompt",
2460
+ "bounding": [
2461
+ 320,
2462
+ 40,
2463
+ 490,
2464
+ 430
2465
+ ],
2466
+ "color": "#3f789e",
2467
+ "font_size": 24,
2468
+ "flags": {}
2469
+ },
2470
+ {
2471
+ "id": 5,
2472
+ "title": "4 steps lightning LoRA",
2473
+ "bounding": [
2474
+ 320,
2475
+ -140,
2476
+ 490,
2477
+ 160
2478
+ ],
2479
+ "color": "#3f789e",
2480
+ "font_size": 24,
2481
+ "flags": {}
2482
+ },
2483
+ {
2484
+ "id": 6,
2485
+ "title": "Ctrl-B to enable it",
2486
+ "bounding": [
2487
+ -100,
2488
+ 950,
2489
+ 420,
2490
+ 290
2491
+ ],
2492
+ "color": "#3f789e",
2493
+ "font_size": 24,
2494
+ "flags": {}
2495
+ },
2496
+ {
2497
+ "id": 12,
2498
+ "title": "For outpainting Ctrl-B to enable",
2499
+ "bounding": [
2500
+ 2410,
2501
+ -190,
2502
+ 2310,
2503
+ 1993.5999755859375
2504
+ ],
2505
+ "color": "#3f789e",
2506
+ "font_size": 24,
2507
+ "flags": {}
2508
+ },
2509
+ {
2510
+ "id": 7,
2511
+ "title": "Step 1 - Upload models",
2512
+ "bounding": [
2513
+ 2420,
2514
+ -150,
2515
+ 400,
2516
+ 610
2517
+ ],
2518
+ "color": "#3f789e",
2519
+ "font_size": 24,
2520
+ "flags": {}
2521
+ },
2522
+ {
2523
+ "id": 8,
2524
+ "title": "Step 2 - Upload image and edit mask",
2525
+ "bounding": [
2526
+ 2420,
2527
+ 480,
2528
+ 420,
2529
+ 440
2530
+ ],
2531
+ "color": "#3f789e",
2532
+ "font_size": 24,
2533
+ "flags": {}
2534
+ },
2535
+ {
2536
+ "id": 9,
2537
+ "title": "Step 3 - Prompt",
2538
+ "bounding": [
2539
+ 2840,
2540
+ 30,
2541
+ 490,
2542
+ 430
2543
+ ],
2544
+ "color": "#3f789e",
2545
+ "font_size": 24,
2546
+ "flags": {}
2547
+ },
2548
+ {
2549
+ "id": 10,
2550
+ "title": "4 steps lightning LoRA",
2551
+ "bounding": [
2552
+ 2840,
2553
+ -150,
2554
+ 490,
2555
+ 160
2556
+ ],
2557
+ "color": "#3f789e",
2558
+ "font_size": 24,
2559
+ "flags": {}
2560
+ },
2561
+ {
2562
+ "id": 11,
2563
+ "title": "Ctrl-B to enable it",
2564
+ "bounding": [
2565
+ 2420,
2566
+ 940,
2567
+ 430,
2568
+ 460
2569
+ ],
2570
+ "color": "#3f789e",
2571
+ "font_size": 24,
2572
+ "flags": {}
2573
+ },
2574
+ {
2575
+ "id": 14,
2576
+ "title": "Inpainting",
2577
+ "bounding": [
2578
+ -110,
2579
+ -180,
2580
+ 2330,
2581
+ 2003.5999755859375
2582
+ ],
2583
+ "color": "#3f789e",
2584
+ "font_size": 24,
2585
+ "flags": {}
2586
+ }
2587
+ ],
2588
+ "definitions": {
2589
+ "subgraphs": [
2590
+ {
2591
+ "id": "cade3e30-0eb2-4fd2-bf6e-8518f3a96e0c",
2592
+ "version": 1,
2593
+ "state": {
2594
+ "lastGroupId": 11,
2595
+ "lastNodeId": 255,
2596
+ "lastLinkId": 380,
2597
+ "lastRerouteId": 0
2598
+ },
2599
+ "revision": 0,
2600
+ "config": {},
2601
+ "name": "Grow and Blur Mask",
2602
+ "inputNode": {
2603
+ "id": -10,
2604
+ "bounding": [
2605
+ 290,
2606
+ 3536,
2607
+ 120,
2608
+ 100
2609
+ ]
2610
+ },
2611
+ "outputNode": {
2612
+ "id": -20,
2613
+ "bounding": [
2614
+ 1130,
2615
+ 3536,
2616
+ 120,
2617
+ 60
2618
+ ]
2619
+ },
2620
+ "inputs": [
2621
+ {
2622
+ "id": "3ac60d5e-8f9d-4663-9b24-b3a15a3e9e20",
2623
+ "name": "mask",
2624
+ "type": "MASK",
2625
+ "linkIds": [
2626
+ 279
2627
+ ],
2628
+ "localized_name": "mask",
2629
+ "pos": {
2630
+ "0": 390,
2631
+ "1": 3556
2632
+ }
2633
+ },
2634
+ {
2635
+ "id": "d1ab0cf5-7062-41ac-9f4b-8c660fc4a714",
2636
+ "name": "expand",
2637
+ "type": "INT",
2638
+ "linkIds": [
2639
+ 379
2640
+ ],
2641
+ "pos": {
2642
+ "0": 390,
2643
+ "1": 3576
2644
+ }
2645
+ },
2646
+ {
2647
+ "id": "1a787af5-da9f-44c5-9f5a-3f71609ca0ef",
2648
+ "name": "blur_radius",
2649
+ "type": "INT",
2650
+ "linkIds": [
2651
+ 380
2652
+ ],
2653
+ "pos": {
2654
+ "0": 390,
2655
+ "1": 3596
2656
+ }
2657
+ }
2658
+ ],
2659
+ "outputs": [
2660
+ {
2661
+ "id": "1f97f683-13d3-4871-876d-678fca850d89",
2662
+ "name": "MASK",
2663
+ "type": "MASK",
2664
+ "linkIds": [
2665
+ 378
2666
+ ],
2667
+ "localized_name": "MASK",
2668
+ "pos": {
2669
+ "0": 1150,
2670
+ "1": 3556
2671
+ }
2672
+ }
2673
+ ],
2674
+ "widgets": [],
2675
+ "nodes": [
2676
+ {
2677
+ "id": 253,
2678
+ "type": "ImageToMask",
2679
+ "pos": [
2680
+ 800,
2681
+ 3630
2682
+ ],
2683
+ "size": [
2684
+ 270,
2685
+ 58
2686
+ ],
2687
+ "flags": {},
2688
+ "order": 3,
2689
+ "mode": 0,
2690
+ "inputs": [
2691
+ {
2692
+ "localized_name": "image",
2693
+ "name": "image",
2694
+ "type": "IMAGE",
2695
+ "link": 377
2696
+ }
2697
+ ],
2698
+ "outputs": [
2699
+ {
2700
+ "localized_name": "MASK",
2701
+ "name": "MASK",
2702
+ "type": "MASK",
2703
+ "links": [
2704
+ 378
2705
+ ]
2706
+ }
2707
+ ],
2708
+ "properties": {
2709
+ "cnr_id": "comfy-core",
2710
+ "ver": "0.3.59",
2711
+ "Node name for S&R": "ImageToMask"
2712
+ },
2713
+ "widgets_values": [
2714
+ "red"
2715
+ ]
2716
+ },
2717
+ {
2718
+ "id": 251,
2719
+ "type": "MaskToImage",
2720
+ "pos": [
2721
+ 780,
2722
+ 3470
2723
+ ],
2724
+ "size": [
2725
+ 260,
2726
+ 70
2727
+ ],
2728
+ "flags": {},
2729
+ "order": 1,
2730
+ "mode": 0,
2731
+ "inputs": [
2732
+ {
2733
+ "localized_name": "mask",
2734
+ "name": "mask",
2735
+ "type": "MASK",
2736
+ "link": 372
2737
+ }
2738
+ ],
2739
+ "outputs": [
2740
+ {
2741
+ "localized_name": "IMAGE",
2742
+ "name": "IMAGE",
2743
+ "type": "IMAGE",
2744
+ "links": [
2745
+ 373
2746
+ ]
2747
+ }
2748
+ ],
2749
+ "properties": {
2750
+ "cnr_id": "comfy-core",
2751
+ "ver": "0.3.59",
2752
+ "Node name for S&R": "MaskToImage"
2753
+ },
2754
+ "widgets_values": []
2755
+ },
2756
+ {
2757
+ "id": 199,
2758
+ "type": "GrowMask",
2759
+ "pos": [
2760
+ 470,
2761
+ 3460
2762
+ ],
2763
+ "size": [
2764
+ 270,
2765
+ 82
2766
+ ],
2767
+ "flags": {},
2768
+ "order": 0,
2769
+ "mode": 0,
2770
+ "inputs": [
2771
+ {
2772
+ "localized_name": "mask",
2773
+ "name": "mask",
2774
+ "type": "MASK",
2775
+ "link": 279
2776
+ },
2777
+ {
2778
+ "localized_name": "expand",
2779
+ "name": "expand",
2780
+ "type": "INT",
2781
+ "widget": {
2782
+ "name": "expand"
2783
+ },
2784
+ "link": 379
2785
+ }
2786
+ ],
2787
+ "outputs": [
2788
+ {
2789
+ "localized_name": "MASK",
2790
+ "name": "MASK",
2791
+ "type": "MASK",
2792
+ "links": [
2793
+ 372
2794
+ ]
2795
+ }
2796
+ ],
2797
+ "properties": {
2798
+ "cnr_id": "comfy-core",
2799
+ "ver": "0.3.59",
2800
+ "Node name for S&R": "GrowMask"
2801
+ },
2802
+ "widgets_values": [
2803
+ 0,
2804
+ true
2805
+ ]
2806
+ },
2807
+ {
2808
+ "id": 252,
2809
+ "type": "ImageBlur",
2810
+ "pos": [
2811
+ 480,
2812
+ 3620
2813
+ ],
2814
+ "size": [
2815
+ 270,
2816
+ 82
2817
+ ],
2818
+ "flags": {},
2819
+ "order": 2,
2820
+ "mode": 0,
2821
+ "inputs": [
2822
+ {
2823
+ "localized_name": "image",
2824
+ "name": "image",
2825
+ "type": "IMAGE",
2826
+ "link": 373
2827
+ },
2828
+ {
2829
+ "localized_name": "blur_radius",
2830
+ "name": "blur_radius",
2831
+ "type": "INT",
2832
+ "widget": {
2833
+ "name": "blur_radius"
2834
+ },
2835
+ "link": 380
2836
+ }
2837
+ ],
2838
+ "outputs": [
2839
+ {
2840
+ "localized_name": "IMAGE",
2841
+ "name": "IMAGE",
2842
+ "type": "IMAGE",
2843
+ "links": [
2844
+ 377
2845
+ ]
2846
+ }
2847
+ ],
2848
+ "properties": {
2849
+ "cnr_id": "comfy-core",
2850
+ "ver": "0.3.59",
2851
+ "Node name for S&R": "ImageBlur"
2852
+ },
2853
+ "widgets_values": [
2854
+ 31,
2855
+ 1
2856
+ ]
2857
+ }
2858
+ ],
2859
+ "groups": [],
2860
+ "links": [
2861
+ {
2862
+ "id": 373,
2863
+ "origin_id": 251,
2864
+ "origin_slot": 0,
2865
+ "target_id": 252,
2866
+ "target_slot": 0,
2867
+ "type": "IMAGE"
2868
+ },
2869
+ {
2870
+ "id": 377,
2871
+ "origin_id": 252,
2872
+ "origin_slot": 0,
2873
+ "target_id": 253,
2874
+ "target_slot": 0,
2875
+ "type": "IMAGE"
2876
+ },
2877
+ {
2878
+ "id": 372,
2879
+ "origin_id": 199,
2880
+ "origin_slot": 0,
2881
+ "target_id": 251,
2882
+ "target_slot": 0,
2883
+ "type": "MASK"
2884
+ },
2885
+ {
2886
+ "id": 279,
2887
+ "origin_id": -10,
2888
+ "origin_slot": 0,
2889
+ "target_id": 199,
2890
+ "target_slot": 0,
2891
+ "type": "MASK"
2892
+ },
2893
+ {
2894
+ "id": 378,
2895
+ "origin_id": 253,
2896
+ "origin_slot": 0,
2897
+ "target_id": -20,
2898
+ "target_slot": 0,
2899
+ "type": "MASK"
2900
+ },
2901
+ {
2902
+ "id": 379,
2903
+ "origin_id": -10,
2904
+ "origin_slot": 1,
2905
+ "target_id": 199,
2906
+ "target_slot": 1,
2907
+ "type": "INT"
2908
+ },
2909
+ {
2910
+ "id": 380,
2911
+ "origin_id": -10,
2912
+ "origin_slot": 2,
2913
+ "target_id": 252,
2914
+ "target_slot": 1,
2915
+ "type": "INT"
2916
+ }
2917
+ ],
2918
+ "extra": {}
2919
+ },
2920
+ {
2921
+ "id": "2a4b2cc0-db37-4302-a067-da392f38f06b",
2922
+ "version": 1,
2923
+ "state": {
2924
+ "lastGroupId": 14,
2925
+ "lastNodeId": 218,
2926
+ "lastLinkId": 365,
2927
+ "lastRerouteId": 0
2928
+ },
2929
+ "revision": 0,
2930
+ "config": {},
2931
+ "name": "Scale image and mask(Subgraph)",
2932
+ "inputNode": {
2933
+ "id": -10,
2934
+ "bounding": [
2935
+ 2110,
2936
+ 1406,
2937
+ 120,
2938
+ 100
2939
+ ]
2940
+ },
2941
+ "outputNode": {
2942
+ "id": -20,
2943
+ "bounding": [
2944
+ 3320,
2945
+ 1406,
2946
+ 120,
2947
+ 80
2948
+ ]
2949
+ },
2950
+ "inputs": [
2951
+ {
2952
+ "id": "53ec80db-b075-446c-a79b-891d82ae3cf1",
2953
+ "name": "mask",
2954
+ "type": "MASK",
2955
+ "linkIds": [
2956
+ 360
2957
+ ],
2958
+ "localized_name": "mask",
2959
+ "pos": {
2960
+ "0": 2210,
2961
+ "1": 1426
2962
+ }
2963
+ },
2964
+ {
2965
+ "id": "37820e3d-f495-4b41-b0c6-58765a0c1766",
2966
+ "name": "image",
2967
+ "type": "IMAGE",
2968
+ "linkIds": [
2969
+ 350
2970
+ ],
2971
+ "localized_name": "image",
2972
+ "pos": {
2973
+ "0": 2210,
2974
+ "1": 1446
2975
+ }
2976
+ },
2977
+ {
2978
+ "id": "d388f5f1-7a36-4563-b104-9f7ec77f636d",
2979
+ "name": "value",
2980
+ "type": "INT",
2981
+ "linkIds": [
2982
+ 365
2983
+ ],
2984
+ "pos": {
2985
+ "0": 2210,
2986
+ "1": 1466
2987
+ }
2988
+ }
2989
+ ],
2990
+ "outputs": [
2991
+ {
2992
+ "id": "7ef75a31-2e69-4dce-8e13-76cd17b4c272",
2993
+ "name": "MASK",
2994
+ "type": "MASK",
2995
+ "linkIds": [
2996
+ 364
2997
+ ],
2998
+ "localized_name": "MASK",
2999
+ "pos": {
3000
+ "0": 3340,
3001
+ "1": 1426
3002
+ }
3003
+ },
3004
+ {
3005
+ "id": "36058145-b72c-4bd4-bb63-e2e22456d003",
3006
+ "name": "IMAGE",
3007
+ "type": "IMAGE",
3008
+ "linkIds": [
3009
+ 352,
3010
+ 353,
3011
+ 354
3012
+ ],
3013
+ "localized_name": "IMAGE",
3014
+ "pos": {
3015
+ "0": 3340,
3016
+ "1": 1446
3017
+ }
3018
+ }
3019
+ ],
3020
+ "widgets": [],
3021
+ "nodes": [
3022
+ {
3023
+ "id": 218,
3024
+ "type": "ImageToMask",
3025
+ "pos": [
3026
+ 2990,
3027
+ 1540
3028
+ ],
3029
+ "size": [
3030
+ 270,
3031
+ 58
3032
+ ],
3033
+ "flags": {},
3034
+ "order": 4,
3035
+ "mode": 4,
3036
+ "inputs": [
3037
+ {
3038
+ "localized_name": "image",
3039
+ "name": "image",
3040
+ "type": "IMAGE",
3041
+ "link": 363
3042
+ }
3043
+ ],
3044
+ "outputs": [
3045
+ {
3046
+ "localized_name": "MASK",
3047
+ "name": "MASK",
3048
+ "type": "MASK",
3049
+ "links": [
3050
+ 364
3051
+ ]
3052
+ }
3053
+ ],
3054
+ "properties": {
3055
+ "cnr_id": "comfy-core",
3056
+ "ver": "0.3.65",
3057
+ "Node name for S&R": "ImageToMask"
3058
+ },
3059
+ "widgets_values": [
3060
+ "red"
3061
+ ]
3062
+ },
3063
+ {
3064
+ "id": 216,
3065
+ "type": "ImageScaleToMaxDimension",
3066
+ "pos": [
3067
+ 2610,
3068
+ 1570
3069
+ ],
3070
+ "size": [
3071
+ 281.2027282714844,
3072
+ 82
3073
+ ],
3074
+ "flags": {},
3075
+ "order": 2,
3076
+ "mode": 4,
3077
+ "inputs": [
3078
+ {
3079
+ "localized_name": "image",
3080
+ "name": "image",
3081
+ "type": "IMAGE",
3082
+ "link": 361
3083
+ },
3084
+ {
3085
+ "localized_name": "largest_size",
3086
+ "name": "largest_size",
3087
+ "type": "INT",
3088
+ "widget": {
3089
+ "name": "largest_size"
3090
+ },
3091
+ "link": 362
3092
+ }
3093
+ ],
3094
+ "outputs": [
3095
+ {
3096
+ "localized_name": "IMAGE",
3097
+ "name": "IMAGE",
3098
+ "type": "IMAGE",
3099
+ "links": [
3100
+ 363
3101
+ ]
3102
+ }
3103
+ ],
3104
+ "properties": {
3105
+ "cnr_id": "comfy-core",
3106
+ "ver": "0.3.59",
3107
+ "Node name for S&R": "ImageScaleToMaxDimension"
3108
+ },
3109
+ "widgets_values": [
3110
+ "area",
3111
+ 1536
3112
+ ]
3113
+ },
3114
+ {
3115
+ "id": 217,
3116
+ "type": "MaskToImage",
3117
+ "pos": [
3118
+ 2700,
3119
+ 1420
3120
+ ],
3121
+ "size": [
3122
+ 184.62362670898438,
3123
+ 26
3124
+ ],
3125
+ "flags": {},
3126
+ "order": 3,
3127
+ "mode": 4,
3128
+ "inputs": [
3129
+ {
3130
+ "localized_name": "mask",
3131
+ "name": "mask",
3132
+ "type": "MASK",
3133
+ "link": 360
3134
+ }
3135
+ ],
3136
+ "outputs": [
3137
+ {
3138
+ "localized_name": "IMAGE",
3139
+ "name": "IMAGE",
3140
+ "type": "IMAGE",
3141
+ "links": [
3142
+ 361
3143
+ ]
3144
+ }
3145
+ ],
3146
+ "properties": {
3147
+ "cnr_id": "comfy-core",
3148
+ "ver": "0.3.65",
3149
+ "Node name for S&R": "MaskToImage"
3150
+ }
3151
+ },
3152
+ {
3153
+ "id": 194,
3154
+ "type": "ImageScaleToMaxDimension",
3155
+ "pos": [
3156
+ 2590,
3157
+ 1280
3158
+ ],
3159
+ "size": [
3160
+ 281.2027282714844,
3161
+ 82
3162
+ ],
3163
+ "flags": {},
3164
+ "order": 1,
3165
+ "mode": 4,
3166
+ "inputs": [
3167
+ {
3168
+ "localized_name": "image",
3169
+ "name": "image",
3170
+ "type": "IMAGE",
3171
+ "link": 350
3172
+ },
3173
+ {
3174
+ "localized_name": "largest_size",
3175
+ "name": "largest_size",
3176
+ "type": "INT",
3177
+ "widget": {
3178
+ "name": "largest_size"
3179
+ },
3180
+ "link": 359
3181
+ }
3182
+ ],
3183
+ "outputs": [
3184
+ {
3185
+ "localized_name": "IMAGE",
3186
+ "name": "IMAGE",
3187
+ "type": "IMAGE",
3188
+ "links": [
3189
+ 352,
3190
+ 353,
3191
+ 354
3192
+ ]
3193
+ }
3194
+ ],
3195
+ "properties": {
3196
+ "cnr_id": "comfy-core",
3197
+ "ver": "0.3.59",
3198
+ "Node name for S&R": "ImageScaleToMaxDimension"
3199
+ },
3200
+ "widgets_values": [
3201
+ "area",
3202
+ 1536
3203
+ ]
3204
+ },
3205
+ {
3206
+ "id": 215,
3207
+ "type": "PrimitiveInt",
3208
+ "pos": [
3209
+ 2260,
3210
+ 1560
3211
+ ],
3212
+ "size": [
3213
+ 270,
3214
+ 82
3215
+ ],
3216
+ "flags": {},
3217
+ "order": 0,
3218
+ "mode": 4,
3219
+ "inputs": [
3220
+ {
3221
+ "localized_name": "value",
3222
+ "name": "value",
3223
+ "type": "INT",
3224
+ "widget": {
3225
+ "name": "value"
3226
+ },
3227
+ "link": 365
3228
+ }
3229
+ ],
3230
+ "outputs": [
3231
+ {
3232
+ "localized_name": "INT",
3233
+ "name": "INT",
3234
+ "type": "INT",
3235
+ "links": [
3236
+ 359,
3237
+ 362
3238
+ ]
3239
+ }
3240
+ ],
3241
+ "properties": {
3242
+ "cnr_id": "comfy-core",
3243
+ "ver": "0.3.65",
3244
+ "Node name for S&R": "PrimitiveInt"
3245
+ },
3246
+ "widgets_values": [
3247
+ 1536,
3248
+ "fixed"
3249
+ ]
3250
+ }
3251
+ ],
3252
+ "groups": [],
3253
+ "links": [
3254
+ {
3255
+ "id": 363,
3256
+ "origin_id": 216,
3257
+ "origin_slot": 0,
3258
+ "target_id": 218,
3259
+ "target_slot": 0,
3260
+ "type": "IMAGE"
3261
+ },
3262
+ {
3263
+ "id": 361,
3264
+ "origin_id": 217,
3265
+ "origin_slot": 0,
3266
+ "target_id": 216,
3267
+ "target_slot": 0,
3268
+ "type": "IMAGE"
3269
+ },
3270
+ {
3271
+ "id": 362,
3272
+ "origin_id": 215,
3273
+ "origin_slot": 0,
3274
+ "target_id": 216,
3275
+ "target_slot": 1,
3276
+ "type": "INT"
3277
+ },
3278
+ {
3279
+ "id": 359,
3280
+ "origin_id": 215,
3281
+ "origin_slot": 0,
3282
+ "target_id": 194,
3283
+ "target_slot": 1,
3284
+ "type": "INT"
3285
+ },
3286
+ {
3287
+ "id": 360,
3288
+ "origin_id": -10,
3289
+ "origin_slot": 0,
3290
+ "target_id": 217,
3291
+ "target_slot": 0,
3292
+ "type": "MASK"
3293
+ },
3294
+ {
3295
+ "id": 350,
3296
+ "origin_id": -10,
3297
+ "origin_slot": 1,
3298
+ "target_id": 194,
3299
+ "target_slot": 0,
3300
+ "type": "IMAGE"
3301
+ },
3302
+ {
3303
+ "id": 364,
3304
+ "origin_id": 218,
3305
+ "origin_slot": 0,
3306
+ "target_id": -20,
3307
+ "target_slot": 0,
3308
+ "type": "MASK"
3309
+ },
3310
+ {
3311
+ "id": 352,
3312
+ "origin_id": 194,
3313
+ "origin_slot": 0,
3314
+ "target_id": -20,
3315
+ "target_slot": 1,
3316
+ "type": "IMAGE"
3317
+ },
3318
+ {
3319
+ "id": 353,
3320
+ "origin_id": 194,
3321
+ "origin_slot": 0,
3322
+ "target_id": -20,
3323
+ "target_slot": 1,
3324
+ "type": "IMAGE"
3325
+ },
3326
+ {
3327
+ "id": 354,
3328
+ "origin_id": 194,
3329
+ "origin_slot": 0,
3330
+ "target_id": -20,
3331
+ "target_slot": 1,
3332
+ "type": "IMAGE"
3333
+ },
3334
+ {
3335
+ "id": 365,
3336
+ "origin_id": -10,
3337
+ "origin_slot": 2,
3338
+ "target_id": 215,
3339
+ "target_slot": 0,
3340
+ "type": "INT"
3341
+ }
3342
+ ],
3343
+ "extra": {}
3344
+ },
3345
+ {
3346
+ "id": "f93c215e-c393-460e-9534-ed2c3d8a652e",
3347
+ "version": 1,
3348
+ "state": {
3349
+ "lastGroupId": 11,
3350
+ "lastNodeId": 255,
3351
+ "lastLinkId": 380,
3352
+ "lastRerouteId": 0
3353
+ },
3354
+ "revision": 0,
3355
+ "config": {},
3356
+ "name": "Grow and Blur Mask",
3357
+ "inputNode": {
3358
+ "id": -10,
3359
+ "bounding": [
3360
+ 290,
3361
+ 3536,
3362
+ 120,
3363
+ 100
3364
+ ]
3365
+ },
3366
+ "outputNode": {
3367
+ "id": -20,
3368
+ "bounding": [
3369
+ 1130,
3370
+ 3536,
3371
+ 120,
3372
+ 60
3373
+ ]
3374
+ },
3375
+ "inputs": [
3376
+ {
3377
+ "id": "3ac60d5e-8f9d-4663-9b24-b3a15a3e9e20",
3378
+ "name": "mask",
3379
+ "type": "MASK",
3380
+ "linkIds": [
3381
+ 279
3382
+ ],
3383
+ "localized_name": "mask",
3384
+ "pos": {
3385
+ "0": 390,
3386
+ "1": 3556
3387
+ }
3388
+ },
3389
+ {
3390
+ "id": "d1ab0cf5-7062-41ac-9f4b-8c660fc4a714",
3391
+ "name": "expand",
3392
+ "type": "INT",
3393
+ "linkIds": [
3394
+ 379
3395
+ ],
3396
+ "pos": {
3397
+ "0": 390,
3398
+ "1": 3576
3399
+ }
3400
+ },
3401
+ {
3402
+ "id": "1a787af5-da9f-44c5-9f5a-3f71609ca0ef",
3403
+ "name": "blur_radius",
3404
+ "type": "INT",
3405
+ "linkIds": [
3406
+ 380
3407
+ ],
3408
+ "pos": {
3409
+ "0": 390,
3410
+ "1": 3596
3411
+ }
3412
+ }
3413
+ ],
3414
+ "outputs": [
3415
+ {
3416
+ "id": "1f97f683-13d3-4871-876d-678fca850d89",
3417
+ "name": "MASK",
3418
+ "type": "MASK",
3419
+ "linkIds": [
3420
+ 378
3421
+ ],
3422
+ "localized_name": "MASK",
3423
+ "pos": {
3424
+ "0": 1150,
3425
+ "1": 3556
3426
+ }
3427
+ }
3428
+ ],
3429
+ "widgets": [],
3430
+ "nodes": [
3431
+ {
3432
+ "id": 253,
3433
+ "type": "ImageToMask",
3434
+ "pos": [
3435
+ 800,
3436
+ 3630
3437
+ ],
3438
+ "size": [
3439
+ 270,
3440
+ 58
3441
+ ],
3442
+ "flags": {},
3443
+ "order": 3,
3444
+ "mode": 4,
3445
+ "inputs": [
3446
+ {
3447
+ "localized_name": "image",
3448
+ "name": "image",
3449
+ "type": "IMAGE",
3450
+ "link": 377
3451
+ }
3452
+ ],
3453
+ "outputs": [
3454
+ {
3455
+ "localized_name": "MASK",
3456
+ "name": "MASK",
3457
+ "type": "MASK",
3458
+ "links": [
3459
+ 378
3460
+ ]
3461
+ }
3462
+ ],
3463
+ "properties": {
3464
+ "cnr_id": "comfy-core",
3465
+ "ver": "0.3.59",
3466
+ "Node name for S&R": "ImageToMask"
3467
+ },
3468
+ "widgets_values": [
3469
+ "red"
3470
+ ]
3471
+ },
3472
+ {
3473
+ "id": 251,
3474
+ "type": "MaskToImage",
3475
+ "pos": [
3476
+ 780,
3477
+ 3470
3478
+ ],
3479
+ "size": [
3480
+ 260,
3481
+ 70
3482
+ ],
3483
+ "flags": {},
3484
+ "order": 1,
3485
+ "mode": 4,
3486
+ "inputs": [
3487
+ {
3488
+ "localized_name": "mask",
3489
+ "name": "mask",
3490
+ "type": "MASK",
3491
+ "link": 372
3492
+ }
3493
+ ],
3494
+ "outputs": [
3495
+ {
3496
+ "localized_name": "IMAGE",
3497
+ "name": "IMAGE",
3498
+ "type": "IMAGE",
3499
+ "links": [
3500
+ 373
3501
+ ]
3502
+ }
3503
+ ],
3504
+ "properties": {
3505
+ "cnr_id": "comfy-core",
3506
+ "ver": "0.3.59",
3507
+ "Node name for S&R": "MaskToImage"
3508
+ }
3509
+ },
3510
+ {
3511
+ "id": 199,
3512
+ "type": "GrowMask",
3513
+ "pos": [
3514
+ 470,
3515
+ 3460
3516
+ ],
3517
+ "size": [
3518
+ 270,
3519
+ 82
3520
+ ],
3521
+ "flags": {},
3522
+ "order": 0,
3523
+ "mode": 4,
3524
+ "inputs": [
3525
+ {
3526
+ "localized_name": "mask",
3527
+ "name": "mask",
3528
+ "type": "MASK",
3529
+ "link": 279
3530
+ },
3531
+ {
3532
+ "localized_name": "expand",
3533
+ "name": "expand",
3534
+ "type": "INT",
3535
+ "widget": {
3536
+ "name": "expand"
3537
+ },
3538
+ "link": 379
3539
+ }
3540
+ ],
3541
+ "outputs": [
3542
+ {
3543
+ "localized_name": "MASK",
3544
+ "name": "MASK",
3545
+ "type": "MASK",
3546
+ "links": [
3547
+ 372
3548
+ ]
3549
+ }
3550
+ ],
3551
+ "properties": {
3552
+ "cnr_id": "comfy-core",
3553
+ "ver": "0.3.59",
3554
+ "Node name for S&R": "GrowMask"
3555
+ },
3556
+ "widgets_values": [
3557
+ 20,
3558
+ true
3559
+ ]
3560
+ },
3561
+ {
3562
+ "id": 252,
3563
+ "type": "ImageBlur",
3564
+ "pos": [
3565
+ 480,
3566
+ 3620
3567
+ ],
3568
+ "size": [
3569
+ 270,
3570
+ 82
3571
+ ],
3572
+ "flags": {},
3573
+ "order": 2,
3574
+ "mode": 4,
3575
+ "inputs": [
3576
+ {
3577
+ "localized_name": "image",
3578
+ "name": "image",
3579
+ "type": "IMAGE",
3580
+ "link": 373
3581
+ },
3582
+ {
3583
+ "localized_name": "blur_radius",
3584
+ "name": "blur_radius",
3585
+ "type": "INT",
3586
+ "widget": {
3587
+ "name": "blur_radius"
3588
+ },
3589
+ "link": 380
3590
+ }
3591
+ ],
3592
+ "outputs": [
3593
+ {
3594
+ "localized_name": "IMAGE",
3595
+ "name": "IMAGE",
3596
+ "type": "IMAGE",
3597
+ "links": [
3598
+ 377
3599
+ ]
3600
+ }
3601
+ ],
3602
+ "properties": {
3603
+ "cnr_id": "comfy-core",
3604
+ "ver": "0.3.59",
3605
+ "Node name for S&R": "ImageBlur"
3606
+ },
3607
+ "widgets_values": [
3608
+ 31,
3609
+ 1
3610
+ ]
3611
+ }
3612
+ ],
3613
+ "groups": [],
3614
+ "links": [
3615
+ {
3616
+ "id": 373,
3617
+ "origin_id": 251,
3618
+ "origin_slot": 0,
3619
+ "target_id": 252,
3620
+ "target_slot": 0,
3621
+ "type": "IMAGE"
3622
+ },
3623
+ {
3624
+ "id": 377,
3625
+ "origin_id": 252,
3626
+ "origin_slot": 0,
3627
+ "target_id": 253,
3628
+ "target_slot": 0,
3629
+ "type": "IMAGE"
3630
+ },
3631
+ {
3632
+ "id": 372,
3633
+ "origin_id": 199,
3634
+ "origin_slot": 0,
3635
+ "target_id": 251,
3636
+ "target_slot": 0,
3637
+ "type": "MASK"
3638
+ },
3639
+ {
3640
+ "id": 279,
3641
+ "origin_id": -10,
3642
+ "origin_slot": 0,
3643
+ "target_id": 199,
3644
+ "target_slot": 0,
3645
+ "type": "MASK"
3646
+ },
3647
+ {
3648
+ "id": 378,
3649
+ "origin_id": 253,
3650
+ "origin_slot": 0,
3651
+ "target_id": -20,
3652
+ "target_slot": 0,
3653
+ "type": "MASK"
3654
+ },
3655
+ {
3656
+ "id": 379,
3657
+ "origin_id": -10,
3658
+ "origin_slot": 1,
3659
+ "target_id": 199,
3660
+ "target_slot": 1,
3661
+ "type": "INT"
3662
+ },
3663
+ {
3664
+ "id": 380,
3665
+ "origin_id": -10,
3666
+ "origin_slot": 2,
3667
+ "target_id": 252,
3668
+ "target_slot": 1,
3669
+ "type": "INT"
3670
+ }
3671
+ ],
3672
+ "extra": {}
3673
+ }
3674
+ ]
3675
+ },
3676
+ "config": {},
3677
+ "extra": {
3678
+ "ds": {
3679
+ "scale": 0.2134472681881114,
3680
+ "offset": [
3681
+ 1600.6277132333207,
3682
+ 1395.784493318798
3683
+ ]
3684
+ },
3685
+ "frontendVersion": "1.27.10",
3686
+ "groupNodes": {},
3687
+ "VHS_latentpreview": false,
3688
+ "VHS_latentpreviewrate": 0,
3689
+ "VHS_MetadataImage": true,
3690
+ "VHS_KeepIntermediate": true
3691
+ },
3692
+ "version": 0.4
3693
+ }