{
  "prompt": {
    "1": {
      "class_type": "UNETLoader",
      "inputs": {
        "unet_name": "flux-2-klein-4b-fp8.safetensors",
        "weight_dtype": "default"
      }
    },
    "2": {
      "class_type": "CLIPLoader",
      "inputs": {
        "clip_name": "qwen_3_4b.safetensors",
        "type": "flux2",
        "device": "default"
      }
    },
    "3": {
      "class_type": "VAELoader",
      "inputs": {
        "vae_name": "flux2-vae.safetensors"
      }
    },
    "4": {
      "class_type": "CLIPTextEncode",
      "inputs": {
        "text": "Photorealistic virtual wardrobe try-on. Edit ONLY the clothing and requested fashion accessories of the woman in the reference photo. Preserve the same recognizable face, facial expression, black hair, age, body proportions, hand placement, pose, clear transparent umbrella, rainy neon city street, elevated train, original camera viewpoint and lighting. The clothes must fit naturally, and she must keep holding the umbrella in exactly the same position. Preserve the full original scene. No text, no logos, no watermark. Outfit: A beautiful contemporary Chinese hanfu outfit: pale jade green flowing cross-collar outer robe with fine white botanical embroidery, ivory inner garment, a dark jade sash and long draped sleeves. Graceful tasteful historical-inspired fabric styling adapted to the same pose.",
        "clip": [
          "2",
          0
        ]
      }
    },
    "5": {
      "class_type": "ConditioningZeroOut",
      "inputs": {
        "conditioning": [
          "4",
          0
        ]
      }
    },
    "6": {
      "class_type": "EmptyFlux2LatentImage",
      "inputs": {
        "width": 1008,
        "height": 576,
        "batch_size": 1
      }
    },
    "7": {
      "class_type": "RandomNoise",
      "inputs": {
        "noise_seed": 20263004
      }
    },
    "8": {
      "class_type": "KSamplerSelect",
      "inputs": {
        "sampler_name": "euler"
      }
    },
    "9": {
      "class_type": "Flux2Scheduler",
      "inputs": {
        "steps": 4,
        "width": 1008,
        "height": 576
      }
    },
    "10": {
      "class_type": "CFGGuider",
      "inputs": {
        "model": [
          "1",
          0
        ],
        "positive": [
          "22",
          0
        ],
        "negative": [
          "23",
          0
        ],
        "cfg": 1.0
      }
    },
    "11": {
      "class_type": "SamplerCustomAdvanced",
      "inputs": {
        "noise": [
          "7",
          0
        ],
        "guider": [
          "10",
          0
        ],
        "sampler": [
          "8",
          0
        ],
        "sigmas": [
          "9",
          0
        ],
        "latent_image": [
          "6",
          0
        ]
      }
    },
    "12": {
      "class_type": "VAEDecode",
      "inputs": {
        "samples": [
          "11",
          0
        ],
        "vae": [
          "3",
          0
        ]
      }
    },
    "13": {
      "class_type": "SaveImage",
      "inputs": {
        "images": [
          "12",
          0
        ],
        "filename_prefix": "spark_demos/outfits_10/05_hanfu"
      }
    },
    "20": {
      "class_type": "LoadImage",
      "inputs": {
        "image": "ref_01.png"
      }
    },
    "21": {
      "class_type": "VAEEncode",
      "inputs": {
        "pixels": [
          "20",
          0
        ],
        "vae": [
          "3",
          0
        ]
      }
    },
    "22": {
      "class_type": "ReferenceLatent",
      "inputs": {
        "conditioning": [
          "4",
          0
        ],
        "latent": [
          "21",
          0
        ]
      }
    },
    "23": {
      "class_type": "ReferenceLatent",
      "inputs": {
        "conditioning": [
          "5",
          0
        ],
        "latent": [
          "21",
          0
        ]
      }
    }
  }
}