{
  "9": {
    "inputs": {
      "filename_prefix": "Qwen_Edit_2511",
      "images": [
        "170:158",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "Save Image"
    }
  },
  "41": {
    "inputs": {
      "image": "segment-005.png"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "Load Image"
    }
  },
  "83": {
    "inputs": {
      "image": "2026_01_1.jpeg"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "Load Image"
    }
  },
  "195": {
    "inputs": {
      "image": "avatar_fullbody.png"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "Load Image"
    }
  },
  "170:145": {
    "inputs": {
      "shift": 3.1,
      "model": [
        "170:161",
        0
      ]
    },
    "class_type": "ModelSamplingAuraFlow",
    "_meta": {
      "title": "ModelSamplingAuraFlow"
    }
  },
  "170:146": {
    "inputs": {
      "vae_name": "qwen_image_vae.safetensors"
    },
    "class_type": "VAELoader",
    "_meta": {
      "title": "Load VAE"
    }
  },
  "170:147": {
    "inputs": {
      "reference_latents_method": "index_timestep_zero",
      "conditioning": [
        "170:149",
        0
      ]
    },
    "class_type": "FluxKontextMultiReferenceLatentMethod",
    "_meta": {
      "title": "Edit Model Reference Method"
    }
  },
  "170:148": {
    "inputs": {
      "reference_latents_method": "index_timestep_zero",
      "conditioning": [
        "170:151",
        0
      ]
    },
    "class_type": "FluxKontextMultiReferenceLatentMethod",
    "_meta": {
      "title": "Edit Model Reference Method"
    }
  },
  "170:149": {
    "inputs": {
      "prompt": "",
      "clip": [
        "170:162",
        0
      ],
      "vae": [
        "170:146",
        0
      ],
      "image1": [
        "170:160",
        0
      ],
      "image2": [
        "83",
        0
      ],
      "image3": [
        "195",
        0
      ]
    },
    "class_type": "TextEncodeQwenImageEditPlus",
    "_meta": {
      "title": "TextEncodeQwenImageEditPlus"
    }
  },
  "170:151": {
    "inputs": {
      "prompt": "Replace only the face and identity of the character in Image 1 with the person from Image 2.\n\nUse Fullbodyshot Image 3 as reference for the body and proportions.\n\nPreserve the original scene, camera angle, lighting, mood, clothing, pose, body language, facial expression, gaze direction, and overall composition from Image 1. \n\nUse the person from Image 2 as the identity reference: male, tall, broad-built, wearing glasses, short dark hair with a receding hairline, full dark beard, friendly expression. Keep the result photorealistic and natural. \n\nAdjust the body proportions subtly to match a tall man around 194 cm and 120 kg: large frame, broad shoulders, solid build, strong presence, realistic heavyset proportions. \n\nDo not exaggerate the weight, do not make him look overly obese, bloated, or cartoonishly wide. Keep the silhouette close to the original character, only slightly broader and more realistic for the referenced person. Do not change the clothes, outfit style, background, lighting, camera perspective, pose, or cinematic mood. ",
      "clip": [
        "170:162",
        0
      ],
      "vae": [
        "170:146",
        0
      ],
      "image1": [
        "170:160",
        0
      ],
      "image2": [
        "83",
        0
      ],
      "image3": [
        "195",
        0
      ]
    },
    "class_type": "TextEncodeQwenImageEditPlus",
    "_meta": {
      "title": "TextEncodeQwenImageEditPlus (Positive)"
    }
  },
  "170:152": {
    "inputs": {
      "strength": 1,
      "pre_cfg": false,
      "model": [
        "170:145",
        0
      ]
    },
    "class_type": "CFGNorm",
    "_meta": {
      "title": "CFGNorm"
    }
  },
  "170:153": {
    "inputs": {
      "lora_name": "Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
      "strength_model": 1,
      "model": [
        "170:152",
        0
      ]
    },
    "class_type": "LoraLoaderModelOnly",
    "_meta": {
      "title": "Load LoRA"
    }
  },
  "170:154": {
    "inputs": {
      "value": 4
    },
    "class_type": "PrimitiveFloat",
    "_meta": {
      "title": "CFG"
    }
  },
  "170:155": {
    "inputs": {
      "value": 1
    },
    "class_type": "PrimitiveFloat",
    "_meta": {
      "title": "CFG"
    }
  },
  "170:156": {
    "inputs": {
      "pixels": [
        "170:160",
        0
      ],
      "vae": [
        "170:146",
        0
      ]
    },
    "class_type": "VAEEncode",
    "_meta": {
      "title": "VAE Encode"
    }
  },
  "170:161": {
    "inputs": {
      "unet_name": "qwen_image_edit_2511_bf16.safetensors",
      "weight_dtype": "default"
    },
    "class_type": "UNETLoader",
    "_meta": {
      "title": "Load Diffusion Model"
    }
  },
  "170:162": {
    "inputs": {
      "clip_name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
      "type": "qwen_image",
      "device": "default"
    },
    "class_type": "CLIPLoader",
    "_meta": {
      "title": "Load CLIP"
    }
  },
  "170:163": {
    "inputs": {
      "switch": [
        "170:168",
        0
      ],
      "on_false": [
        "170:152",
        0
      ],
      "on_true": [
        "170:153",
        0
      ]
    },
    "class_type": "ComfySwitchNode",
    "_meta": {
      "title": "Switch (Model)"
    }
  },
  "170:165": {
    "inputs": {
      "value": 4
    },
    "class_type": "PrimitiveInt",
    "_meta": {
      "title": "Steps"
    }
  },
  "170:166": {
    "inputs": {
      "value": 40
    },
    "class_type": "PrimitiveInt",
    "_meta": {
      "title": "Steps"
    }
  },
  "170:168": {
    "inputs": {
      "value": false
    },
    "class_type": "PrimitiveBoolean",
    "_meta": {
      "title": "Enable 4steps LoRA?"
    }
  },
  "170:164": {
    "inputs": {
      "switch": [
        "170:168",
        0
      ],
      "on_false": [
        "170:154",
        0
      ],
      "on_true": [
        "170:155",
        0
      ]
    },
    "class_type": "ComfySwitchNode",
    "_meta": {
      "title": "Switch (CFG)"
    }
  },
  "170:167": {
    "inputs": {
      "switch": [
        "170:168",
        0
      ],
      "on_false": [
        "170:166",
        0
      ],
      "on_true": [
        "170:165",
        0
      ]
    },
    "class_type": "ComfySwitchNode",
    "_meta": {
      "title": "Switch (Steps)"
    }
  },
  "170:169": {
    "inputs": {
      "seed": 1124716793909004,
      "steps": [
        "170:167",
        0
      ],
      "cfg": [
        "170:164",
        0
      ],
      "sampler_name": "euler",
      "scheduler": "simple",
      "denoise": 1,
      "model": [
        "170:163",
        0
      ],
      "positive": [
        "170:148",
        0
      ],
      "negative": [
        "170:147",
        0
      ],
      "latent_image": [
        "170:156",
        0
      ]
    },
    "class_type": "KSampler",
    "_meta": {
      "title": "KSampler"
    }
  },
  "170:158": {
    "inputs": {
      "samples": [
        "170:169",
        0
      ],
      "vae": [
        "170:146",
        0
      ]
    },
    "class_type": "VAEDecode",
    "_meta": {
      "title": "VAE Decode"
    }
  },
  "170:160": {
    "inputs": {
      "image": [
        "41",
        0
      ]
    },
    "class_type": "FluxKontextImageScale",
    "_meta": {
      "title": "FluxKontextImageScale"
    }
  }
}