{
  "1": {
    "class_type": "UnetLoaderGGUF",
    "inputs": {
      "unet_name": "qwen-image-2.1-UC-Q4_K_M.gguf"
    }
  },
  "2": {
    "class_type": "CLIPLoader",
    "inputs": {
      "clip_name": "qwen3vl_8b_int8_convrot.safetensors",
      "type": "qwen_image",
      "device": "cpu"
    }
  },
  "3": {
    "class_type": "VAELoader",
    "inputs": {
      "vae_name": "qwen_image_2.1_vae_bf16.safetensors"
    }
  },
  "4": {
    "class_type": "TextEncodeQwenImage21",
    "inputs": {
      "clip": [
        "2",
        0
      ],
      "prompt": "Change the background of <image1> to a quiet garden, preserve the subject and composition.",
      "negative_prompt": "",
      "resolution": 1024,
      "vae": [
        "3",
        0
      ],
      "images.image_1": [
        "5",
        0
      ]
    }
  },
  "5": {
    "class_type": "LoadImage",
    "inputs": {
      "image": "reference.png"
    }
  },
  "6": {
    "class_type": "KSampler",
    "inputs": {
      "model": [
        "1",
        0
      ],
      "seed": 20261020,
      "steps": 25,
      "cfg": 1.0,
      "sampler_name": "euler",
      "scheduler": "simple",
      "positive": [
        "4",
        0
      ],
      "negative": [
        "4",
        1
      ],
      "latent_image": [
        "4",
        2
      ],
      "denoise": 1.0
    }
  },
  "7": {
    "class_type": "VAEDecode",
    "inputs": {
      "samples": [
        "6",
        0
      ],
      "vae": [
        "3",
        0
      ]
    }
  },
  "8": {
    "class_type": "SaveImage",
    "inputs": {
      "images": [
        "7",
        0
      ],
      "filename_prefix": "QwenImageLocal/Q4_K_M_image_edit"
    }
  }
}
