1636 lines
31 KiB
JSON
1636 lines
31 KiB
JSON
{
|
|
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
|
|
"revision": 0,
|
|
"last_node_id": 147,
|
|
"last_link_id": 315,
|
|
"nodes": [
|
|
{
|
|
"id": 99,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-830,
|
|
-10
|
|
],
|
|
"size": [
|
|
540,
|
|
550
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"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_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_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_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": 129,
|
|
"type": "ModelSamplingAuraFlow",
|
|
"pos": [
|
|
550.1956176757812,
|
|
27.127967834472656
|
|
],
|
|
"size": [
|
|
290,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 293
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
260
|
|
]
|
|
}
|
|
],
|
|
"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": 130,
|
|
"type": "CFGNorm",
|
|
"pos": [
|
|
550.1956176757812,
|
|
137.1279754638672
|
|
],
|
|
"size": [
|
|
290,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 260
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "patched_model",
|
|
"type": "MODEL",
|
|
"links": [
|
|
269
|
|
]
|
|
}
|
|
],
|
|
"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": 138,
|
|
"type": "LanPaint_MaskBlend",
|
|
"pos": [
|
|
1746.5638427734375,
|
|
60.70713806152344
|
|
],
|
|
"size": [
|
|
210,
|
|
98
|
|
],
|
|
"flags": {},
|
|
"order": 25,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image1",
|
|
"type": "IMAGE",
|
|
"link": 309
|
|
},
|
|
{
|
|
"name": "image2",
|
|
"type": "IMAGE",
|
|
"link": 286
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 290
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
291
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "LanPaint",
|
|
"ver": "4d3d5d17f0105b673df92da5b084cce567c9c712",
|
|
"Node name for S&R": "LanPaint_MaskBlend"
|
|
},
|
|
"widgets_values": [
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"id": 97,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
960.13525390625,
|
|
776.3380737304688
|
|
],
|
|
"size": [
|
|
300,
|
|
190
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "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": 124,
|
|
"type": "UNETLoader",
|
|
"pos": [
|
|
-249.80447387695312,
|
|
37.12797164916992
|
|
],
|
|
"size": [
|
|
330,
|
|
90
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"slot_index": 0,
|
|
"links": [
|
|
292
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.48",
|
|
"Node name for S&R": "UNETLoader",
|
|
"models": [
|
|
{
|
|
"name": "qwen_image_edit_fp8_e4m3fn.safetensors",
|
|
"url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_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_fp8_e4m3fn.safetensors",
|
|
"default"
|
|
]
|
|
},
|
|
{
|
|
"id": 141,
|
|
"type": "LoraLoaderModelOnly",
|
|
"pos": [
|
|
199.41346740722656,
|
|
19.401098251342773
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 4,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 292
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
293
|
|
]
|
|
}
|
|
],
|
|
"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": 125,
|
|
"type": "CLIPLoader",
|
|
"pos": [
|
|
-249.80447387695312,
|
|
177.12796020507812
|
|
],
|
|
"size": [
|
|
330,
|
|
110
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"slot_index": 0,
|
|
"links": [
|
|
255,
|
|
257
|
|
]
|
|
}
|
|
],
|
|
"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": 104,
|
|
"type": "SaveImage",
|
|
"pos": [
|
|
2063.178955078125,
|
|
10.873106002807617
|
|
],
|
|
"size": [
|
|
311.2532653808594,
|
|
484.7096252441406
|
|
],
|
|
"flags": {},
|
|
"order": 26,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 291
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.23"
|
|
},
|
|
"widgets_values": [
|
|
"ComfyUI"
|
|
]
|
|
},
|
|
{
|
|
"id": 127,
|
|
"type": "TextEncodeQwenImageEdit",
|
|
"pos": [
|
|
182.30767822265625,
|
|
198.8886260986328
|
|
],
|
|
"size": [
|
|
360,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 18,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 255
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": 256
|
|
},
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 306
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
267
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.50",
|
|
"Node name for S&R": "TextEncodeQwenImageEdit",
|
|
"enableTabs": false,
|
|
"tabWidth": 65,
|
|
"tabXOffset": 10,
|
|
"hasSecondTab": false,
|
|
"secondTabText": "Send Back",
|
|
"secondTabOffset": 80,
|
|
"secondTabWidth": 65,
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"prompt": true
|
|
}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
"change the girl's cloth to red evening gown "
|
|
],
|
|
"color": "#232",
|
|
"bgcolor": "#353"
|
|
},
|
|
{
|
|
"id": 128,
|
|
"type": "TextEncodeQwenImageEdit",
|
|
"pos": [
|
|
190.8400421142578,
|
|
395.84197998046875
|
|
],
|
|
"size": [
|
|
360,
|
|
150
|
|
],
|
|
"flags": {},
|
|
"order": 19,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 257
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"shape": 7,
|
|
"type": "VAE",
|
|
"link": 258
|
|
},
|
|
{
|
|
"name": "image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 307
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
268
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.50",
|
|
"Node name for S&R": "TextEncodeQwenImageEdit",
|
|
"enableTabs": false,
|
|
"tabWidth": 65,
|
|
"tabXOffset": 10,
|
|
"hasSecondTab": false,
|
|
"secondTabText": "Send Back",
|
|
"secondTabOffset": 80,
|
|
"secondTabWidth": 65,
|
|
"ue_properties": {
|
|
"widget_ue_connectable": {
|
|
"prompt": true
|
|
}
|
|
}
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
],
|
|
"color": "#223",
|
|
"bgcolor": "#335"
|
|
},
|
|
{
|
|
"id": 134,
|
|
"type": "SetLatentNoiseMask",
|
|
"pos": [
|
|
560.0880126953125,
|
|
642.5905151367188
|
|
],
|
|
"size": [
|
|
180.74765014648438,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 22,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 312
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 273
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
284
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "SetLatentNoiseMask"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 147,
|
|
"type": "VAEEncode",
|
|
"pos": [
|
|
381.33148193359375,
|
|
639.6804809570312
|
|
],
|
|
"size": [
|
|
140,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 20,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pixels",
|
|
"type": "IMAGE",
|
|
"link": 311
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 313
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
312
|
|
]
|
|
}
|
|
],
|
|
"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": {}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 126,
|
|
"type": "VAELoader",
|
|
"pos": [
|
|
-249.80447387695312,
|
|
337.1279296875
|
|
],
|
|
"size": [
|
|
330,
|
|
60
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
256,
|
|
258,
|
|
276,
|
|
288,
|
|
296,
|
|
313
|
|
]
|
|
}
|
|
],
|
|
"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": 142,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
-468.50421142578125,
|
|
1343.047119140625
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 294
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 296
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
297
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.23",
|
|
"Node name for S&R": "VAEDecode"
|
|
}
|
|
},
|
|
{
|
|
"id": 144,
|
|
"type": "ImageScale",
|
|
"pos": [
|
|
-163.11903381347656,
|
|
1055.310546875
|
|
],
|
|
"size": [
|
|
270,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 16,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 314
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
},
|
|
"link": 298
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
},
|
|
"link": 299
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
306,
|
|
307,
|
|
309,
|
|
311
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "ImageScale"
|
|
},
|
|
"widgets_values": [
|
|
"nearest-exact",
|
|
512,
|
|
512,
|
|
"center"
|
|
]
|
|
},
|
|
{
|
|
"id": 110,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-224.69882202148438,
|
|
491.67425537109375
|
|
],
|
|
"size": [
|
|
274.080078125,
|
|
314.0000305175781
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
275,
|
|
314
|
|
]
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
277
|
|
]
|
|
}
|
|
],
|
|
"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": [
|
|
"clipspace/clipspace-painted-masked-23308506.png [input]",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 136,
|
|
"type": "MaskToImage",
|
|
"pos": [
|
|
-121.25953674316406,
|
|
1228.22509765625
|
|
],
|
|
"size": [
|
|
184.62362670898438,
|
|
26
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"link": 277
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
315
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "MaskToImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 133,
|
|
"type": "ImageToMask",
|
|
"pos": [
|
|
-164.2398681640625,
|
|
1480.3736572265625
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 21,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 305
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": [
|
|
273,
|
|
290
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.51",
|
|
"Node name for S&R": "ImageToMask"
|
|
},
|
|
"widgets_values": [
|
|
"red"
|
|
]
|
|
},
|
|
{
|
|
"id": 96,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
-548.3401489257812,
|
|
1051.436279296875
|
|
],
|
|
"size": [
|
|
280,
|
|
88
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"This node is to avoid poor output results caused by excessively large input image sizes."
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 135,
|
|
"type": "VAEEncode",
|
|
"pos": [
|
|
-453.77728271484375,
|
|
1250.4849853515625
|
|
],
|
|
"size": [
|
|
140,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pixels",
|
|
"type": "IMAGE",
|
|
"link": 310
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 276
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
294
|
|
]
|
|
}
|
|
],
|
|
"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": 146,
|
|
"type": "ImageScale",
|
|
"pos": [
|
|
-165.53955078125,
|
|
1306.8914794921875
|
|
],
|
|
"size": [
|
|
270,
|
|
130
|
|
],
|
|
"flags": {},
|
|
"order": 17,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 315
|
|
},
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "width"
|
|
},
|
|
"link": 301
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "height"
|
|
},
|
|
"link": 302
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
305
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "ImageScale"
|
|
},
|
|
"widgets_values": [
|
|
"nearest-exact",
|
|
512,
|
|
512,
|
|
"center"
|
|
]
|
|
},
|
|
{
|
|
"id": 140,
|
|
"type": "MarkdownNote",
|
|
"pos": [
|
|
1361.85009765625,
|
|
360.32342529296875
|
|
],
|
|
"size": [
|
|
300,
|
|
190
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "KSampler settings",
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"Decrease **LanPaint_NumSteps** for faster generation. \n"
|
|
],
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 145,
|
|
"type": "GetImageSize",
|
|
"pos": [
|
|
-456.3453063964844,
|
|
1442.398193359375
|
|
],
|
|
"size": [
|
|
140,
|
|
124
|
|
],
|
|
"flags": {},
|
|
"order": 15,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 297
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "width",
|
|
"type": "INT",
|
|
"links": [
|
|
298,
|
|
301
|
|
]
|
|
},
|
|
{
|
|
"name": "height",
|
|
"type": "INT",
|
|
"links": [
|
|
299,
|
|
302
|
|
]
|
|
},
|
|
{
|
|
"name": "batch_size",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.52",
|
|
"Node name for S&R": "GetImageSize"
|
|
},
|
|
"widgets_values": [
|
|
"width: 1024, height: 1024\n batch size: 1"
|
|
]
|
|
},
|
|
{
|
|
"id": 131,
|
|
"type": "ImageScaleToTotalPixels",
|
|
"pos": [
|
|
-851.1531982421875,
|
|
1230.9898681640625
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 275
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
310
|
|
]
|
|
}
|
|
],
|
|
"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": [
|
|
"nearest-exact",
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 102,
|
|
"type": "LanPaint_KSampler",
|
|
"pos": [
|
|
935.6971435546875,
|
|
22.220111846923828
|
|
],
|
|
"size": [
|
|
400,
|
|
572
|
|
],
|
|
"flags": {},
|
|
"order": 23,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 269
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 267
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 268
|
|
},
|
|
{
|
|
"name": "latent_image",
|
|
"type": "LATENT",
|
|
"link": 284
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "LATENT",
|
|
"type": "LATENT",
|
|
"links": [
|
|
287
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "LanPaint",
|
|
"ver": "453b6c090e400123bb82f5bc0c97854031b09274",
|
|
"Node name for S&R": "LanPaint_KSampler"
|
|
},
|
|
"widgets_values": [
|
|
0,
|
|
"fixed",
|
|
20,
|
|
2.5,
|
|
"euler",
|
|
"simple",
|
|
1,
|
|
5,
|
|
"Image First",
|
|
"LanPaint KSampler. For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star ⭐️!"
|
|
]
|
|
},
|
|
{
|
|
"id": 137,
|
|
"type": "VAEDecode",
|
|
"pos": [
|
|
1453.6231689453125,
|
|
22.1680850982666
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 24,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "samples",
|
|
"type": "LATENT",
|
|
"link": 287
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 288
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"slot_index": 0,
|
|
"links": [
|
|
286
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.3.23",
|
|
"Node name for S&R": "VAEDecode"
|
|
},
|
|
"widgets_values": []
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
255,
|
|
125,
|
|
0,
|
|
127,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
256,
|
|
126,
|
|
0,
|
|
127,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
257,
|
|
125,
|
|
0,
|
|
128,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
258,
|
|
126,
|
|
0,
|
|
128,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
260,
|
|
129,
|
|
0,
|
|
130,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
267,
|
|
127,
|
|
0,
|
|
102,
|
|
1,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
268,
|
|
128,
|
|
0,
|
|
102,
|
|
2,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
269,
|
|
130,
|
|
0,
|
|
102,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
273,
|
|
133,
|
|
0,
|
|
134,
|
|
1,
|
|
"MASK"
|
|
],
|
|
[
|
|
275,
|
|
110,
|
|
0,
|
|
131,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
276,
|
|
126,
|
|
0,
|
|
135,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
277,
|
|
110,
|
|
1,
|
|
136,
|
|
0,
|
|
"MASK"
|
|
],
|
|
[
|
|
284,
|
|
134,
|
|
0,
|
|
102,
|
|
3,
|
|
"LATENT"
|
|
],
|
|
[
|
|
286,
|
|
137,
|
|
0,
|
|
138,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
287,
|
|
102,
|
|
0,
|
|
137,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
288,
|
|
126,
|
|
0,
|
|
137,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
290,
|
|
133,
|
|
0,
|
|
138,
|
|
2,
|
|
"MASK"
|
|
],
|
|
[
|
|
291,
|
|
138,
|
|
0,
|
|
104,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
292,
|
|
124,
|
|
0,
|
|
141,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
293,
|
|
141,
|
|
0,
|
|
129,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
294,
|
|
135,
|
|
0,
|
|
142,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
296,
|
|
126,
|
|
0,
|
|
142,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
297,
|
|
142,
|
|
0,
|
|
145,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
298,
|
|
145,
|
|
0,
|
|
144,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
299,
|
|
145,
|
|
1,
|
|
144,
|
|
2,
|
|
"INT"
|
|
],
|
|
[
|
|
301,
|
|
145,
|
|
0,
|
|
146,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
302,
|
|
145,
|
|
1,
|
|
146,
|
|
2,
|
|
"INT"
|
|
],
|
|
[
|
|
305,
|
|
146,
|
|
0,
|
|
133,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
306,
|
|
144,
|
|
0,
|
|
127,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
307,
|
|
144,
|
|
0,
|
|
128,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
309,
|
|
144,
|
|
0,
|
|
138,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
310,
|
|
131,
|
|
0,
|
|
135,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
311,
|
|
144,
|
|
0,
|
|
147,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
312,
|
|
147,
|
|
0,
|
|
134,
|
|
0,
|
|
"LATENT"
|
|
],
|
|
[
|
|
313,
|
|
126,
|
|
0,
|
|
147,
|
|
1,
|
|
"VAE"
|
|
],
|
|
[
|
|
314,
|
|
110,
|
|
0,
|
|
144,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
315,
|
|
136,
|
|
0,
|
|
146,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "Step1 - Load models",
|
|
"bounding": [
|
|
-270,
|
|
-40,
|
|
370,
|
|
450
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "Step 2 - Upload image for editing",
|
|
"bounding": [
|
|
-270,
|
|
430,
|
|
370,
|
|
400
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"title": "Step 3 - Prompt",
|
|
"bounding": [
|
|
130,
|
|
130,
|
|
380,
|
|
433.6000061035156
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.8770472573513671,
|
|
"offset": [
|
|
-1288.739882247765,
|
|
215.50013247190662
|
|
]
|
|
},
|
|
"frontendVersion": "1.25.10",
|
|
"ue_links": [],
|
|
"links_added_by_ue": [],
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true,
|
|
"groupNodes": {}
|
|
},
|
|
"version": 0.4
|
|
} |