{
  "model": "qwen-image-21",
  "template": "image-edit",
  "version": 0.4,
  "last_node_id": 10,
  "last_link_id": 11,
  "nodes": [
    {
      "id": 1,
      "type": "UNETLoader",
      "pos": [
        40,
        40
      ],
      "size": [
        380,
        82
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UNETLoader"
      },
      "widgets_values": [
        "qwen_image_2.1_int8_convrot.safetensors",
        "default"
      ],
      "title": "Load Diffusion Model (INT8)"
    },
    {
      "id": 2,
      "type": "CLIPLoader",
      "pos": [
        40,
        180
      ],
      "size": [
        380,
        106
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            2,
            3
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPLoader"
      },
      "widgets_values": [
        "qwen3vl_8b_int8_convrot.safetensors",
        "qwen_image",
        "auto"
      ],
      "title": "Load Text Encoder (Qwen3-VL 8B)"
    },
    {
      "id": 3,
      "type": "VAELoader",
      "pos": [
        40,
        340
      ],
      "size": [
        380,
        58
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            4,
            5
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAELoader"
      },
      "widgets_values": [
        "qwen_image_2.1_vae_bf16.safetensors"
      ],
      "title": "Load VAE (BF16)"
    },
    {
      "id": 4,
      "type": "LoadImage",
      "pos": [
        40,
        460
      ],
      "size": [
        380,
        320
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            6
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "input_image.png",
        "image"
      ],
      "title": "Input Image"
    },
    {
      "id": 5,
      "type": "CLIPTextEncode",
      "pos": [
        480,
        40
      ],
      "size": [
        420,
        180
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            7
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Describe the edit you want to apply to the input image"
      ],
      "title": "Positive Prompt"
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        480,
        260
      ],
      "size": [
        420,
        120
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            8
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        ""
      ],
      "title": "Negative Prompt"
    },
    {
      "id": 7,
      "type": "VAEEncode",
      "pos": [
        480,
        440
      ],
      "size": [
        260,
        60
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 6
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 4
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            9
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      },
      "widgets_values": [],
      "title": "Encode Input Image"
    },
    {
      "id": 8,
      "type": "KSampler",
      "pos": [
        960,
        40
      ],
      "size": [
        320,
        262
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 1
        },
        {
          "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
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        891836227295375,
        "randomize",
        25,
        1.0,
        "euler",
        "simple",
        1.0
      ]
    },
    {
      "id": 9,
      "type": "VAEDecode",
      "pos": [
        1340,
        40
      ],
      "size": [
        240,
        50
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 10
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 5
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            11
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "widgets_values": []
    },
    {
      "id": 10,
      "type": "SaveImage",
      "pos": [
        1340,
        140
      ],
      "size": [
        320,
        300
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 11
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "qwen_image_edit"
      ],
      "title": "Save Edited Image"
    }
  ],
  "links": [
    [
      1,
      1,
      0,
      8,
      0,
      "MODEL"
    ],
    [
      2,
      2,
      0,
      5,
      0,
      "CLIP"
    ],
    [
      3,
      2,
      0,
      6,
      0,
      "CLIP"
    ],
    [
      4,
      3,
      0,
      7,
      1,
      "VAE"
    ],
    [
      5,
      3,
      0,
      9,
      1,
      "VAE"
    ],
    [
      6,
      4,
      0,
      7,
      0,
      "IMAGE"
    ],
    [
      7,
      5,
      0,
      8,
      1,
      "CONDITIONING"
    ],
    [
      8,
      6,
      0,
      8,
      2,
      "CONDITIONING"
    ],
    [
      9,
      7,
      0,
      8,
      3,
      "LATENT"
    ],
    [
      10,
      8,
      0,
      9,
      0,
      "LATENT"
    ],
    [
      11,
      9,
      0,
      10,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "title": "Model Loading",
      "bounding": [
        20,
        0,
        420,
        420
      ],
      "color": "#3f789e"
    },
    {
      "title": "Conditioning",
      "bounding": [
        460,
        0,
        460,
        520
      ],
      "color": "#a1309b"
    },
    {
      "title": "Sampling & Output",
      "bounding": [
        940,
        0,
        740,
        470
      ],
      "color": "#88A"
    }
  ],
  "config": {},
  "extra": {
    "description": "Qwen-Image-2.1 image edit: INT8 UNet, Qwen3-VL 8B encoder, BF16 VAE; Euler, 25 steps, simple scheduler, CFG 1.0."
  }
}