{
  "1": {
    "inputs": {
      "vae_name": "ae.safetensors"
    },
    "class_type": "VAELoader",
    "_meta": {
      "title": "Load VAE"
    }
  },
  "2": {
    "inputs": {
      "conditioning": [
        "18",
        0
      ]
    },
    "class_type": "ConditioningZeroOut",
    "_meta": {
      "title": "ConditioningZeroOut"
    }
  },
  "3": {
    "inputs": {
      "guidance": 2.5,
      "conditioning": [
        "6",
        0
      ]
    },
    "class_type": "FluxGuidance",
    "_meta": {
      "title": "FluxGuidance"
    }
  },
  "6": {
    "inputs": {
      "conditioning": [
        "18",
        0
      ],
      "latent": [
        "15",
        0
      ]
    },
    "class_type": "ReferenceLatent",
    "_meta": {
      "title": "ReferenceLatent"
    }
  },
  "9": {
    "inputs": {
      "seed": 219,
      "steps": 20,
      "cfg": 1,
      "sampler_name": "euler",
      "scheduler": "simple",
      "denoise": 1,
      "model": [
        "25",
        0
      ],
      "positive": [
        "3",
        0
      ],
      "negative": [
        "2",
        0
      ],
      "latent_image": [
        "15",
        0
      ]
    },
    "class_type": "KSampler",
    "_meta": {
      "title": "KSampler"
    }
  },
  "12": {
    "inputs": {
      "unet_name": "flux1-dev-kontext_fp8_scaled.safetensors",
      "weight_dtype": "default"
    },
    "class_type": "UNETLoader",
    "_meta": {
      "title": "Load Diffusion Model"
    }
  },
  "13": {
    "inputs": {
      "clip_name1": "clip_l.safetensors",
      "clip_name2": "t5xxl_fp8_e4m3fn_scaled.safetensors",
      "type": "flux",
      "device": "default"
    },
    "class_type": "DualCLIPLoader",
    "_meta": {
      "title": "DualCLIPLoader"
    }
  },
  "14": {
    "inputs": {
      "direction": "right",
      "match_image_size": true,
      "image1": [
        "29",
        0
      ],
      "image2": [
        "30",
        0
      ]
    },
    "class_type": "ImageConcanate",
    "_meta": {
      "title": "Image Concatenate"
    }
  },
  "15": {
    "inputs": {
      "pixels": [
        "20",
        0
      ],
      "vae": [
        "1",
        0
      ]
    },
    "class_type": "VAEEncode",
    "_meta": {
      "title": "VAE Encode"
    }
  },
  "16": {
    "inputs": {
      "images": [
        "20",
        0
      ]
    },
    "class_type": "PreviewImage",
    "_meta": {
      "title": "Preview Image"
    }
  },
  "17": {
    "inputs": {
      "filename_prefix": "ComfyUI",
      "images": [
        "19",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "Save Image"
    }
  },
  "18": {
    "inputs": {
      "text": "refcontrolpose change pose to photo with reference from left side",
      "clip": [
        "25",
        1
      ]
    },
    "class_type": "CLIPTextEncode",
    "_meta": {
      "title": "CLIP Text Encode (Positive Prompt)"
    }
  },
  "19": {
    "inputs": {
      "samples": [
        "9",
        0
      ],
      "vae": [
        "1",
        0
      ]
    },
    "class_type": "VAEDecode",
    "_meta": {
      "title": "VAE Decode"
    }
  },
  "20": {
    "inputs": {
      "image": [
        "14",
        0
      ]
    },
    "class_type": "FluxKontextImageScale",
    "_meta": {
      "title": "FluxKontextImageScale"
    }
  },
  "21": {
    "inputs": {
      "filename_prefix": "ComfyUI",
      "images": [
        "23",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "Save Image"
    }
  },
  "22": {
    "inputs": {
      "filename_prefix": "ComfyUI",
      "images": [
        "20",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "Save Image"
    }
  },
  "23": {
    "inputs": {
      "direction": "down",
      "match_image_size": true,
      "image1": [
        "20",
        0
      ],
      "image2": [
        "19",
        0
      ]
    },
    "class_type": "ImageConcanate",
    "_meta": {
      "title": "Image Concatenate"
    }
  },
  "24": {
    "inputs": {
      "filename_prefix": "ComfyUI",
      "images": [
        "19",
        0
      ]
    },
    "class_type": "SaveImage",
    "_meta": {
      "title": "Save Image"
    }
  },
  "25": {
    "inputs": {
      "lora_name": "refcontrol_pose.safetensors",
      "strength_model": 1,
      "strength_clip": 1,
      "model": [
        "12",
        0
      ],
      "clip": [
        "13",
        0
      ]
    },
    "class_type": "LoraLoader",
    "_meta": {
      "title": "Load LoRA (Model and CLIP)"
    }
  },
  "28": {
    "inputs": {
      "image": "2.png"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "Load Image (Pose)"
    }
  },
  "29": {
    "inputs": {
      "image": "ref.jpg"
    },
    "class_type": "LoadImage",
    "_meta": {
      "title": "Load Image (Reference)"
    }
  },
  "30": {
    "inputs": {
      "detect_hand": "enable",
      "detect_body": "enable",
      "detect_face": "enable",
      "resolution": 1024,
      "scale_stick_for_xinsr_cn": "disable",
      "image": [
        "28",
        0
      ]
    },
    "class_type": "OpenposePreprocessor",
    "_meta": {
      "title": "OpenPose Pose"
    }
  }
}