193 lines
5.9 KiB
JSON
193 lines
5.9 KiB
JSON
{
|
|
"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
|
|
}
|