This commit is contained in:
smthemex
2026-10-26 09:16:01 +08:00
parent c699a1eae5
commit f37c3a4f03
49 changed files with 635 additions and 1235709 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 535 KiB

After

Width:  |  Height:  |  Size: 472 KiB

-591
View File
@@ -1,591 +0,0 @@
{
"id": "362dbf13-d0cd-4bbf-959e-5cc9a16a87a3",
"revision": 0,
"last_node_id": 13,
"last_link_id": 19,
"nodes": [
{
"id": 1,
"type": "Qwen_Edit_GRAG_SM_Model",
"pos": [
3278.5674596178287,
944.5528134829161
],
"size": [
292.09921875,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "Qwen_Edit_GRAG_SM_Model",
"links": [
1
]
}
],
"properties": {
"Node name for S&R": "Qwen_Edit_GRAG_SM_Model"
},
"widgets_values": [
"none",
"qwen-image-edit-q6_k.gguf"
]
},
{
"id": 2,
"type": "Qwen_Edit_GRAG_SM_KSampler",
"pos": [
3726.856011210847,
926.1772496981262
],
"size": [
315.437109375,
266
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "Qwen_Edit_GRAG_SM_Model",
"link": 1
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 17
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 18
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
2
]
},
{
"name": "latents",
"type": "LATENT",
"links": [
10
]
}
],
"properties": {
"Node name for S&R": "Qwen_Edit_GRAG_SM_KSampler"
},
"widgets_values": [
"wanqwen\\Qwen-Image-Edit-Lightning-8steps-V1.0-bf16.safetensors",
8,
1,
1487597530,
"randomize",
1,
1.1,
5
]
},
{
"id": 9,
"type": "VAEDecode",
"pos": [
4144.2988951101315,
962.5264307927719
],
"size": [
140,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 10
},
{
"name": "vae",
"type": "VAE",
"link": 11
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
14
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 6,
"type": "VAELoader",
"pos": [
2869.471522685459,
1278.2584160799624
],
"size": [
270,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
9,
11,
16
]
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 3,
"type": "VAEDecode",
"pos": [
3684.926771486949,
1246.9549577170362
],
"size": [
140,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 2
},
{
"name": "vae",
"type": "VAE",
"link": 9
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 8,
"type": "SaveImage",
"pos": [
3299.9605300016055,
1400.9197714942366
],
"size": [
310,
318.88885498046875
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 8
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 10,
"type": "CreateVideo",
"pos": [
4145.723220394224,
1061.6173074240744
],
"size": [
270,
78
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": null
},
{
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
}
],
"outputs": [
{
"name": "VIDEO",
"type": "VIDEO",
"links": [
13
]
}
],
"properties": {
"Node name for S&R": "CreateVideo"
},
"widgets_values": [
8
]
},
{
"id": 11,
"type": "SaveVideo",
"pos": [
4096.440452283425,
1324.849694481293
],
"size": [
544.9999999999995,
392.4444519042968
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "video",
"type": "VIDEO",
"link": 13
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"video/ComfyUI",
"auto",
"auto"
]
},
{
"id": 12,
"type": "SaveImage",
"pos": [
3661.743279875754,
1383.1931513738266
],
"size": [
404.242453835227,
356.888916015625
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 14
}
],
"outputs": [],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 5,
"type": "CLIPLoader",
"pos": [
2869.471415873932,
1118.3694451326971
],
"size": [
270,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
15
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 13,
"type": "Qwen_Edit_GRAG_SM_Encode",
"pos": [
3190.286015407823,
1089.3169496209416
],
"size": [
400,
230
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 15
},
{
"name": "vae",
"type": "VAE",
"link": 16
},
{
"name": "image",
"type": "IMAGE",
"link": 19
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
17
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
18
]
}
],
"properties": {
"Node name for S&R": "Qwen_Edit_GRAG_SM_Encode"
},
"widgets_values": [
1024,
1024,
"Turn the real birds to origami birds.",
"bad anatomy, bad hands, missing fingers, extra fingers,three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn,amputation, disconnected limbs"
]
},
{
"id": 7,
"type": "LoadImage",
"pos": [
3006.058478970681,
1388.6276844685826
],
"size": [
270,
314
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
19
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"000000000020.jpg",
"image"
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"Qwen_Edit_GRAG_SM_Model"
],
[
2,
2,
0,
3,
0,
"LATENT"
],
[
8,
3,
0,
8,
0,
"IMAGE"
],
[
9,
6,
0,
3,
1,
"VAE"
],
[
10,
2,
1,
9,
0,
"LATENT"
],
[
11,
6,
0,
9,
1,
"VAE"
],
[
13,
10,
0,
11,
0,
"VIDEO"
],
[
14,
9,
0,
12,
0,
"IMAGE"
],
[
15,
5,
0,
13,
0,
"CLIP"
],
[
16,
6,
0,
13,
1,
"VAE"
],
[
17,
13,
0,
2,
1,
"CONDITIONING"
],
[
18,
13,
1,
2,
2,
"CONDITIONING"
],
[
19,
7,
0,
13,
2,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.1,
"offset": [
-2768.063780855268,
-838.8118837029729
]
},
"workflowRendererVersion": "LG",
"frontendVersion": "1.32.9",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
+192
View File
@@ -0,0 +1,192 @@
{
"last_node_id": 12,
"last_link_id": 13,
"nodes": [
{
"id": 1,
"type": "UNETLoader",
"pos": [-380, 260],
"size": [340, 82],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [{"name": "MODEL", "type": "MODEL", "links": [1]}],
"properties": {"Node name for S&R": "UNETLoader"},
"widgets_values": ["qwen_image_edit_2511_fp8mixed.safetensors", "fp8_e4m3fn"]
},
{
"id": 2,
"type": "CLIPLoader",
"pos": [-380, 400],
"size": [340, 82],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [{"name": "CLIP", "type": "CLIP", "links": [3]}],
"properties": {"Node name for S&R": "CLIPLoader"},
"widgets_values": ["qwen_2.5_vl_7b_fp8_scaled.safetensors", "qwen_image"]
},
{
"id": 3,
"type": "VAELoader",
"pos": [-380, 540],
"size": [340, 58],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [{"name": "VAE", "type": "VAE", "links": [4, 11]}],
"properties": {"Node name for S&R": "VAELoader"},
"widgets_values": ["qwen_image_vae.safetensors"]
},
{
"id": 4,
"type": "LoadImage",
"pos": [-380, 660],
"size": [340, 314],
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{"name": "IMAGE", "type": "IMAGE", "links": [5]},
{"name": "MASK", "type": "MASK", "links": null}
],
"properties": {"Node name for S&R": "LoadImage"},
"widgets_values": ["example.png", "image"]
},
{
"id": 5,
"type": "TextEncodeQwenImageEditPlus",
"pos": [40, 620],
"size": [400, 260],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{"name": "clip", "type": "CLIP", "link": 3},
{"name": "vae", "type": "VAE", "link": 4},
{"name": "image1", "type": "IMAGE", "link": 5},
{"name": "image2", "type": "IMAGE", "link": null},
{"name": "image3", "type": "IMAGE", "link": null}
],
"outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [6, 7]}],
"properties": {"Node name for S&R": "TextEncodeQwenImageEditPlus"},
"widgets_values": ["Change the color of the rose from red to blue"]
},
{
"id": 6,
"type": "ConditioningZeroOut",
"pos": [40, 940],
"size": [300, 46],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [{"name": "conditioning", "type": "CONDITIONING", "link": 6}],
"outputs": [{"name": "CONDITIONING", "type": "CONDITIONING", "links": [8]}],
"properties": {"Node name for S&R": "ConditioningZeroOut"}
},
{
"id": 7,
"type": "GRAGPatch",
"pos": [40, 260],
"size": [380, 262],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [{"name": "model", "type": "MODEL", "link": 1}],
"outputs": [{"name": "model", "type": "MODEL", "links": [2, 13]}],
"properties": {"Node name for S&R": "GRAGPatch"},
"widgets_values": [1.1, 1.0, 4096, 1.0, 1.0, 0.0, 1.0, false]
},
{
"id": 12,
"type": "GRAGInspect",
"pos": [40, 60],
"size": [380, 130],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [{"name": "model", "type": "MODEL", "link": 13}],
"outputs": [{"name": "report", "type": "STRING", "links": null}],
"properties": {"Node name for S&R": "GRAGInspect"},
"widgets_values": [1024, 1024]
},
{
"id": 8,
"type": "EmptySD3LatentImage",
"pos": [40, 1030],
"size": [300, 106],
"flags": {},
"order": 4,
"mode": 0,
"outputs": [{"name": "LATENT", "type": "LATENT", "links": [9]}],
"properties": {"Node name for S&R": "EmptySD3LatentImage"},
"widgets_values": [1024, 1024, 1]
},
{
"id": 9,
"type": "KSampler",
"pos": [520, 340],
"size": [320, 262],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{"name": "model", "type": "MODEL", "link": 2},
{"name": "positive", "type": "CONDITIONING", "link": 7},
{"name": "negative", "type": "CONDITIONING", "link": 8},
{"name": "latent_image", "type": "LATENT", "link": 9}
],
"outputs": [{"name": "LATENT", "type": "LATENT", "links": [10]}],
"properties": {"Node name for S&R": "KSampler"},
"widgets_values": [42, "randomize", 24, 4.0, "euler", "simple", 1.0]
},
{
"id": 10,
"type": "VAEDecode",
"pos": [900, 340],
"size": [210, 46],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{"name": "samples", "type": "LATENT", "link": 10},
{"name": "vae", "type": "VAE", "link": 11}
],
"outputs": [{"name": "IMAGE", "type": "IMAGE", "links": [12]}],
"properties": {"Node name for S&R": "VAEDecode"}
},
{
"id": 11,
"type": "SaveImage",
"pos": [900, 440],
"size": [380, 400],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [{"name": "images", "type": "IMAGE", "link": 12}],
"properties": {"Node name for S&R": "SaveImage"},
"widgets_values": ["GRAG_2511"]
}
],
"links": [
[1, 1, 0, 7, 0, "MODEL"],
[2, 7, 0, 9, 0, "MODEL"],
[3, 2, 0, 5, 0, "CLIP"],
[4, 3, 0, 5, 1, "VAE"],
[5, 4, 0, 5, 2, "IMAGE"],
[6, 5, 0, 6, 0, "CONDITIONING"],
[7, 5, 0, 9, 1, "CONDITIONING"],
[8, 6, 0, 9, 2, "CONDITIONING"],
[9, 8, 0, 9, 3, "LATENT"],
[10, 9, 0, 10, 0, "LATENT"],
[11, 3, 0, 10, 1, "VAE"],
[12, 10, 0, 11, 0, "IMAGE"],
[13, 7, 0, 12, 0, "MODEL"]
],
"groups": [],
"config": {},
"extra": {
"note": "GRAG on Qwen-Image-Edit-2511, official params (24 steps, cfg 4.0, cond_delta 1.10). 2511 REQUIRES TextEncodeQwenImageEditPlus + ConditioningZeroOut negative. For the 4-step Lightning lora, insert LoraLoaderModelOnly between UNETLoader and GRAGPatch and use cfg 1.0 / steps 4. GRAGPatch: cond_delta < 1 = stronger edit, > 1 = lock onto the reference; 1.0/1.0 = exact no-op."
},
"version": 0.4
}