{
  "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": "Transform the woman in the reference image into a cinematic neo-noir movie poster. Preserve her recognizable face, black hair and red raincoat, standing under a transparent umbrella, dramatic portrait in the upper half, a tiny futuristic Shanghai skyline below reflected in rain, cyan and crimson lighting, refined film poster composition. Title at bottom: AFTER THE RAIN. Beautiful premium movie poster, realistic photography.",
        "clip": [
          "2",
          0
        ]
      }
    },
    "5": {
      "class_type": "ConditioningZeroOut",
      "inputs": {
        "conditioning": [
          "4",
          0
        ]
      }
    },
    "6": {
      "class_type": "EmptyFlux2LatentImage",
      "inputs": {
        "width": 512,
        "height": 768,
        "batch_size": 1
      }
    },
    "7": {
      "class_type": "RandomNoise",
      "inputs": {
        "noise_seed": 12345
      }
    },
    "8": {
      "class_type": "KSamplerSelect",
      "inputs": {
        "sampler_name": "euler"
      }
    },
    "9": {
      "class_type": "Flux2Scheduler",
      "inputs": {
        "steps": 4,
        "width": 512,
        "height": 768
      }
    },
    "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/03_movie_poster"
      }
    },
    "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
        ]
      }
    }
  }
}