Files
scraed-LanPaint/example_workflows/Masked_Qwen_Image_Edit_2509.json
2025-09-24 18:27:11 +08:00

1829 lines
34 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 127,
"last_link_id": 252,
"nodes": [
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-250,
160
],
"size": [
330,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
204,
205
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "CLIPLoader",
"models": [
{
"name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 66,
"type": "ModelSamplingAuraFlow",
"pos": [
740,
-130
],
"size": [
290,
60
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 185
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
141
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "ModelSamplingAuraFlow",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
3
]
},
{
"id": 106,
"type": "LoadImage",
"pos": [
56.080078125,
530
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 1,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
219,
220
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"image": true,
"upload": true
}
}
},
"widgets_values": [
"0_1 (5).png",
"image"
]
},
{
"id": 108,
"type": "LoadImage",
"pos": [
352.16015625,
530
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 2,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
217,
218
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"image": true,
"upload": true
}
}
},
"widgets_values": [
"pose.png",
"image"
]
},
{
"id": 112,
"type": "EmptySD3LatentImage",
"pos": [
750,
860
],
"size": [
270,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 113,
"type": "MarkdownNote",
"pos": [
730,
1030
],
"size": [
330,
90
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: About image size",
"properties": {},
"widgets_values": [
"You can use the latent from the **EmptySD3LatentImage** to replace **VAE Encode**, so you can customize the image size."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 97,
"type": "MarkdownNote",
"pos": [
740,
610
],
"size": [
300,
160
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: KSampler settings",
"properties": {},
"widgets_values": [
"You can test and find the best setting by yourself. The following table is for reference.\n\n| Model | Steps | CFG |\n|---------------------|---------------|---------------|\n| Offical | 50 | 4.0 \n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4steps LoRA | 4 | 1.0 |\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 110,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
220.83323669433594,
178.33360290527344
],
"size": [
400,
200
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 204
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 206
},
{
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 225
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 220
},
{
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": 218
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
245
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "TextEncodeQwenImageEditPlus"
},
"widgets_values": [
""
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 99,
"type": "MarkdownNote",
"pos": [
-840,
-140
],
"size": [
550,
550
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image-edit) | [教程](https://docs.comfy.org/zh-CN/tutorials/image/qwen/qwen-image-edit)\n\n\n## 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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors)\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\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── qwen_image_edit_2509_fp8_e4m3fn.safetensors\n│ ├── 📂 loras/\n│ │ └── Qwen-Image-Lightning-4steps-V1.0.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 96,
"type": "MarkdownNote",
"pos": [
-240,
1030
],
"size": [
290,
140
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"This node is to avoid bad output results caused by excessively large input image sizes. Because when we input one image, we use the size of that input image.\n\nThe **TextEncodeQwenImageEditPlus** will scale your input to 1024×104 pixels. We use the size of your first input image. This node is to avoid having an input image size that is too large (such as 3000×3000 pixels), which could bring bad results."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 115,
"type": "VAEDecode",
"pos": [
-259.239990234375,
1497.972412109375
],
"size": [
210,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 226
},
{
"name": "vae",
"type": "VAE",
"link": 243
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
234
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.23",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 117,
"type": "MaskToImage",
"pos": [
88.0047607421875,
1383.150390625
],
"size": [
184.62362670898438,
26
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 238
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
231
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.51",
"Node name for S&R": "MaskToImage"
},
"widgets_values": []
},
{
"id": 120,
"type": "VAEEncode",
"pos": [
-244.5130157470703,
1405.4102783203125
],
"size": [
140,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 235
},
{
"name": "vae",
"type": "VAE",
"link": 236
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
226
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 121,
"type": "ImageScale",
"pos": [
43.72477340698242,
1461.8167724609375
],
"size": [
270,
130
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 231
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 232
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 233
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
229
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
512,
512,
"center"
]
},
{
"id": 122,
"type": "GetImageSize",
"pos": [
-247.08106994628906,
1597.323486328125
],
"size": [
140,
124
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 234
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
227,
232
]
},
{
"name": "height",
"type": "INT",
"links": [
228,
233
]
},
{
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 93,
"type": "ImageScaleToTotalPixels",
"pos": [
-230,
890
],
"size": [
270,
82
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 177
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
224,
225,
235
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "ImageScaleToTotalPixels",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"upscale_method": true,
"megapixels": true
}
}
},
"widgets_values": [
"lanczos",
1
]
},
{
"id": 88,
"type": "VAEEncode",
"pos": [
264.1481018066406,
899.3114624023438
],
"size": [
140,
46
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 239
},
{
"name": "vae",
"type": "VAE",
"link": 168
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
240
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 124,
"type": "SetLatentNoiseMask",
"pos": [
476.48956298828125,
897.2662963867188
],
"size": [
180.74765014648438,
46
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 240
},
{
"name": "mask",
"type": "MASK",
"link": 242
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
246
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.51",
"Node name for S&R": "SetLatentNoiseMask"
},
"widgets_values": []
},
{
"id": 111,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
220,
-90
],
"size": [
400,
200
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 205
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 207
},
{
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 224
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 219
},
{
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": 217
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
244
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.59",
"Node name for S&R": "TextEncodeQwenImageEditPlus"
},
"widgets_values": [
"change the girl's cloth to red evening gown "
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 78,
"type": "LoadImage",
"pos": [
-238.3336944580078,
517.50244140625
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
177,
237
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
238
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"image": true,
"upload": true
}
}
},
"widgets_values": [
"Masked_Load_Me_in_Loader (9).png",
"image"
]
},
{
"id": 39,
"type": "VAELoader",
"pos": [
-250,
320
],
"size": [
330,
60
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
76,
168,
206,
207,
236,
243
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "qwen_image_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 89,
"type": "LoraLoaderModelOnly",
"pos": [
-240,
40
],
"size": [
310,
82
],
"flags": {},
"order": 13,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 184
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
185
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "LoraLoaderModelOnly",
"models": [
{
"name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true
}
}
},
"widgets_values": [
"Qwen-Image-Lightning-4steps-V1.0.safetensors",
1
]
},
{
"id": 75,
"type": "CFGNorm",
"pos": [
740,
-20
],
"size": [
290,
60
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 141
}
],
"outputs": [
{
"name": "patched_model",
"type": "MODEL",
"links": [
247
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.50",
"Node name for S&R": "CFGNorm",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"strength": true
}
}
},
"widgets_values": [
1
]
},
{
"id": 37,
"type": "UNETLoader",
"pos": [
-250,
-100
],
"size": [
330,
90
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
184
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"default"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1080,
-130
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 27,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 248
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
250
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.48",
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 116,
"type": "ImageScale",
"pos": [
45.519248962402344,
1207.10595703125
],
"size": [
270,
130
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 237
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 227
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 228
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
239,
251
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.52",
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"lanczos",
512,
512,
"center"
]
},
{
"id": 118,
"type": "ImageToMask",
"pos": [
45.0244255065918,
1635.2989501953125
],
"size": [
270,
58
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 229
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
242,
252
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.51",
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
},
{
"id": 126,
"type": "LanPaint_MaskBlend",
"pos": [
1087.578857421875,
-12.272896766662598
],
"size": [
210,
98
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 251
},
{
"name": "image2",
"type": "IMAGE",
"link": 250
},
{
"name": "mask",
"type": "MASK",
"link": 252
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
249
]
}
],
"properties": {
"cnr_id": "LanPaint",
"ver": "4d3d5d17f0105b673df92da5b084cce567c9c712",
"Node name for S&R": "LanPaint_MaskBlend"
},
"widgets_values": [
9
]
},
{
"id": 125,
"type": "LanPaint_KSampler",
"pos": [
739.589599609375,
84.47759246826172
],
"size": [
292.9582214355469,
572
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 247
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 244
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 245
},
{
"name": "latent_image",
"type": "LATENT",
"link": 246
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
248
]
}
],
"properties": {
"cnr_id": "LanPaint",
"ver": "453b6c090e400123bb82f5bc0c97854031b09274",
"Node name for S&R": "LanPaint_KSampler"
},
"widgets_values": [
0,
"fixed",
20,
2.5,
"euler",
"simple",
1,
1,
"Image First",
"LanPaint KSampler. For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star ⭐️!"
]
},
{
"id": 127,
"type": "SaveImage",
"pos": [
1090.8616943359375,
133.32968139648438
],
"size": [
711.9912109375,
634.4884643554688
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 249
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.23"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
76,
39,
0,
8,
1,
"VAE"
],
[
141,
66,
0,
75,
0,
"MODEL"
],
[
168,
39,
0,
88,
1,
"VAE"
],
[
177,
78,
0,
93,
0,
"IMAGE"
],
[
184,
37,
0,
89,
0,
"MODEL"
],
[
185,
89,
0,
66,
0,
"MODEL"
],
[
204,
38,
0,
110,
0,
"CLIP"
],
[
205,
38,
0,
111,
0,
"CLIP"
],
[
206,
39,
0,
110,
1,
"VAE"
],
[
207,
39,
0,
111,
1,
"VAE"
],
[
217,
108,
0,
111,
4,
"IMAGE"
],
[
218,
108,
0,
110,
4,
"IMAGE"
],
[
219,
106,
0,
111,
3,
"IMAGE"
],
[
220,
106,
0,
110,
3,
"IMAGE"
],
[
224,
93,
0,
111,
2,
"IMAGE"
],
[
225,
93,
0,
110,
2,
"IMAGE"
],
[
226,
120,
0,
115,
0,
"LATENT"
],
[
227,
122,
0,
116,
1,
"INT"
],
[
228,
122,
1,
116,
2,
"INT"
],
[
229,
121,
0,
118,
0,
"IMAGE"
],
[
231,
117,
0,
121,
0,
"IMAGE"
],
[
232,
122,
0,
121,
1,
"INT"
],
[
233,
122,
1,
121,
2,
"INT"
],
[
234,
115,
0,
122,
0,
"IMAGE"
],
[
235,
93,
0,
120,
0,
"IMAGE"
],
[
236,
39,
0,
120,
1,
"VAE"
],
[
237,
78,
0,
116,
0,
"IMAGE"
],
[
238,
78,
1,
117,
0,
"MASK"
],
[
239,
116,
0,
88,
0,
"IMAGE"
],
[
240,
88,
0,
124,
0,
"LATENT"
],
[
242,
118,
0,
124,
1,
"MASK"
],
[
243,
39,
0,
115,
1,
"VAE"
],
[
244,
111,
0,
125,
1,
"CONDITIONING"
],
[
245,
110,
0,
125,
2,
"CONDITIONING"
],
[
246,
124,
0,
125,
3,
"LATENT"
],
[
247,
75,
0,
125,
0,
"MODEL"
],
[
248,
125,
0,
8,
0,
"LATENT"
],
[
249,
126,
0,
127,
0,
"IMAGE"
],
[
250,
8,
0,
126,
1,
"IMAGE"
],
[
251,
116,
0,
126,
0,
"IMAGE"
],
[
252,
118,
0,
126,
2,
"MASK"
]
],
"groups": [
{
"id": 1,
"title": "Step1 - Load models",
"bounding": [
-270,
-170,
370,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step 2 - Upload image for editing",
"bounding": [
-270,
430,
970,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Step 4 - Prompt",
"bounding": [
130,
-170,
570,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Step3 - Image Size",
"bounding": [
730,
780,
310,
200
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"ds": {
"scale": 0.6413348663336585,
"offset": [
-528.1379465475136,
63.45086652498852
]
},
"frontendVersion": "1.26.15",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}