{
  "1": {
    "inputs": {
      "unet_name": "qwen-image-edit-2511-Q4_K_M.gguf"
    },
    "class_type": "UnetLoaderGGUF",
    "_meta": {
      "title": "GGUF 主模型 (Edit-2511)"
    }
  },
  "2": {
    "inputs": {
      "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
      "type": "qwen_image",
      "device": "default"
    },
    "class_type": "CLIPLoader",
    "_meta": {
      "title": "文本编码器 (CLIP)"
    }
  },
  "3": {
    "inputs": {
      "vae_name": "qwen_image_vae.safetensors"
    },
    "class_type": "VAELoader",
    "_meta": {
      "title": "VAE 解码器"
    }
  },
  "4": {
    "inputs": {
      "prompt": "{{positive_prompt}}",
      "clip": [
        "2",
        0
      ],
      "vae": [
        "3",
        0
      ],
      "image1": [
        "14",
        0
      ]
    },
    "class_type": "TextEncodeQwenImageEditPlus",
    "_meta": {
      "title": "正面提示词 (编辑指令)"
    }
  },
  "5": {
    "inputs": {
      "prompt": "{{negative_prompt}}",
      "clip": [
        "2",
        0
      ],
      "vae": [
        "3",
        0
      ],
      "image1": [
        "14",
        0
      ]
    },
    "class_type": "TextEncodeQwenImageEditPlus",
    "_meta": {
      "title": "负面提示词"
    }
  },
  "6": {
    "inputs": {
      "image": "{{input_image}}"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "上传参考图"
    }
  },
  "7": {
    "inputs": {
      "pixels": [
        "14",
        0
      ],
      "vae": [
        "3",
        0
      ]
    },
    "class_type": "VAEEncode",
    "_meta": {
      "title": "图片 → 潜空间"
    }
  },
  "8": {
    "inputs": {
      "seed": "{{seed}}",
      "steps": 8,
      "cfg": 4.5,
      "sampler_name": "euler",
      "scheduler": "simple",
      "denoise": 0.85,
      "model": [
        "13",
        0
      ],
      "positive": [
        "15",
        0
      ],
      "negative": [
        "16",
        0
      ],
      "latent_image": [
        "7",
        0
      ]
    },
    "class_type": "KSampler",
    "_meta": {
      "title": "采样器 (steps=8, cfg=4.5 速度质量平衡)"
    }
  },
  "9": {
    "inputs": {
      "samples": [
        "8",
        0
      ],
      "vae": [
        "3",
        0
      ]
    },
    "class_type": "VAEDecode",
    "_meta": {
      "title": "潜空间 → 图片"
    }
  },
  "10": {
    "inputs": {
      "filename_prefix": "Qwen_Edit2511_图生图",
      "images": [
        "9",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "保存图片"
    }
  },
  "12": {
    "inputs": {
      "shift": 3.1,
      "model": [
        "1",
        0
      ]
    },
    "class_type": "ModelSamplingAuraFlow",
    "_meta": {
      "title": "AuraFlow Shift (3.1)"
    }
  },
  "13": {
    "inputs": {
      "strength": 1,
      "pre_cfg": false,
      "model": [
        "12",
        0
      ]
    },
    "class_type": "CFGNorm",
    "_meta": {
      "title": "CFG Norm (1.0)"
    }
  },
  "14": {
    "inputs": {
      "image": [
        "6",
        0
      ],
      "upscale_method": "lanczos",
      "width": "{{width}}",
      "height": "{{height}}",
      "crop": "disabled"
    },
    "class_type": "ImageScale",
    "_meta": {
      "title": "图像缩放适配 (按目标尺寸)"
    }
  },
  "15": {
    "inputs": {
      "reference_latents_method": "index_timestep_zero",
      "conditioning": [
        "4",
        0
      ]
    },
    "class_type": "FluxKontextMultiReferenceLatentMethod",
    "_meta": {
      "title": "MultiRef 潜空间 (正)"
    }
  },
  "16": {
    "inputs": {
      "reference_latents_method": "index_timestep_zero",
      "conditioning": [
        "5",
        0
      ]
    },
    "class_type": "FluxKontextMultiReferenceLatentMethod",
    "_meta": {
      "title": "MultiRef 潜空间 (负)"
    }
  }
}
