{ "1": {"class_type": "UNETLoader", "inputs": {"unet_name": "{{UNET}}", "weight_dtype": "default"}}, "2": {"class_type": "CLIPLoader", "inputs": {"clip_name": "{{CLIP}}", "type": "{{CLIP_TYPE}}", "device": "default"}}, "3": {"class_type": "VAELoader", "inputs": {"vae_name": "{{VAE}}"}}, "4": {"class_type": "CLIPTextEncode", "inputs": {"text": "{{POSITIVE}}", "clip": ["2", 0]}}, "5": {"class_type": "ConditioningZeroOut", "inputs": {"conditioning": ["4", 0]}}, "6": {"class_type": "CFGGuider", "inputs": {"model": ["1", 0], "positive": ["4", 0], "negative": ["5", 0], "cfg": 1}}, "7": {"class_type": "KSamplerSelect", "inputs": {"sampler_name": "euler"}}, "8": {"class_type": "Flux2Scheduler", "inputs": {"width": 1024, "height": 1024, "steps": 4}}, "9": {"class_type": "RandomNoise", "inputs": {"noise_seed": {{SEED}}}}, "10": {"class_type": "EmptyFlux2LatentImage", "inputs": {"width": 1024, "height": 1024, "batch_size": 1}}, "11": {"class_type": "SamplerCustomAdvanced", "inputs": { "noise": ["9", 0], "guider": ["6", 0], "sampler": ["7", 0], "sigmas": ["8", 0], "latent_image": ["10", 0] }}, "12": {"class_type": "VAEDecode", "inputs": {"samples": ["11", 0], "vae": ["3", 0]}}, "13": {"class_type": "SaveImage", "inputs": {"images": ["12", 0], "filename_prefix": "{{NAME}}_raw"}}, "14": {"class_type": "Image Rembg (Remove Background)", "inputs": { "images": ["12", 0], "transparency": true, "model": "isnet-general-use", "post_processing": true, "only_mask": false, "alpha_matting": false, "alpha_matting_foreground_threshold": 240, "alpha_matting_background_threshold": 10, "alpha_matting_erode_size": 10, "background_color": "none" }}, "15": {"class_type": "SaveImage", "inputs": {"images": ["14", 0], "filename_prefix": "{{NAME}}_cutout"}} }