{ "5": { "inputs": { "width": <%= it.width || 1024 %>, "height": <%= it.height || 1024 %>, "batch_size": <%= it.batchSize || 1 %> }, "class_type": "EmptyLatentImage", "_meta": { "title": "Empty Latent Image" } }, "6": { "inputs": { "text": "<%= it.prompt || '' %>", "clip": [ "75", 0 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "CLIP Text Encode (Prompt)" } }, "8": { "inputs": { "samples": [ "13", 0 ], "vae": [ "10", 0 ] }, "class_type": "VAEDecode", "_meta": { "title": "VAE Decode" } }, "9": { "inputs": { "filename_prefix": "ImprovedFLUX", "images": [ "112", 0 ] }, "class_type": "SaveImage", "_meta": { "title": "Save Image" } }, "10": { "inputs": { "vae_name": "ae.safetensors" }, "class_type": "VAELoader", "_meta": { "title": "Load VAE" } }, "11": { "inputs": { "clip_name1": "t5xxl_fp16.safetensors", "clip_name2": "clip_l.safetensors", "type": "flux", "device": "default" }, "class_type": "DualCLIPLoader", "_meta": { "title": "DualCLIPLoader" } }, "12": { "inputs": { "unet_name": "flux_dev.safetensors", "weight_dtype": "fp8_e4m3fn" }, "class_type": "UNETLoader", "_meta": { "title": "Load Diffusion Model" } }, "13": { "inputs": { "noise": [ "25", 0 ], "guider": [ "22", 0 ], "sampler": [ "16", 0 ], "sigmas": [ "17", 0 ], "latent_image": [ "5", 0 ] }, "class_type": "SamplerCustomAdvanced", "_meta": { "title": "SamplerCustomAdvanced" } }, "16": { "inputs": { "sampler_name": "<%= it.sampler || 'euler' %>" }, "class_type": "KSamplerSelect", "_meta": { "title": "KSamplerSelect" } }, "17": { "inputs": { "scheduler": "beta", "steps": <%= it.steps || 30 %>, "denoise": 1, "model": [ "61", 0 ] }, "class_type": "BasicScheduler", "_meta": { "title": "BasicScheduler" } }, "22": { "inputs": { "model": [ "61", 0 ], "conditioning": [ "60", 0 ] }, "class_type": "BasicGuider", "_meta": { "title": "BasicGuider" } }, "25": { "inputs": { "noise_seed": <%= it.seed || it.randomSeed() %> }, "class_type": "RandomNoise", "_meta": { "title": "RandomNoise" } }, "60": { "inputs": { "guidance": <%= it.cfg || 3.5 %>, "conditioning": [ "6", 0 ] }, "class_type": "FluxGuidance", "_meta": { "title": "FluxGuidance" } }, "61": { "inputs": { "max_shift": 1.15, "base_shift": 0.5, "width": <%= it.width || 1024 %>, "height": <%= it.height || 1024 %>, "model": [ "63", 0 ] }, "class_type": "ModelSamplingFlux", "_meta": { "title": "ModelSamplingFlux" } }, "63": { "inputs": { "lora_name": "NSFW_master.safetensors", "strength_model": 0.8, "strength_clip": 1, "model": [ "12", 0 ], "clip": [ "75", 0 ] }, "class_type": "LoraLoader", "_meta": { "title": "Load LoRA" } }, "68": { "inputs": { "model_name": "bbox/face_yolov8m.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "73": { "inputs": { "images": [ "8", 0 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "75": { "inputs": { "clip_name": "longclip-L.pt", "clip": [ "11", 0 ] }, "class_type": "LongCLIPTextEncodeFlux", "_meta": { "title": "LongCLIPTextEncodeFlux" } }, "76": { "inputs": { "model_name": "segm/person_yolov8m-seg.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "77": { "inputs": { "model_name": "sam_vit_h_4b8939.pth", "device_mode": "Prefer GPU" }, "class_type": "SAMLoader", "_meta": { "title": "SAMLoader (Impact)" } }, "80": { "inputs": { "model": [ "61", 0 ], "clip": [ "75", 0 ], "vae": [ "10", 0 ], "positive": [ "6", 0 ], "negative": [ "81", 0 ] }, "class_type": "ToBasicPipe", "_meta": { "title": "ToBasicPipe" } }, "81": { "inputs": { "text": "", "clip": [ "75", 0 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "General Negative Prompt" } }, "82": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": <%= it.seed || it.randomSeed() %>, "steps": 20, "cfg": 8, "sampler_name": "deis", "scheduler": "simple", "denoise": 0.4, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "refiner_ratio": 0.2, "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false, "image": [ "8", 0 ], "detailer_pipe": [ "83", 0 ] }, "class_type": "FaceDetailerPipe", "_meta": { "title": "1 FaceDetailer (pipe)" } }, "83": { "inputs": { "wildcard": "", "Select to add LoRA": "Select the LoRA to add to the text", "Select to add Wildcard": "Select the Wildcard to add to the text", "basic_pipe": [ "80", 0 ], "bbox_detector": [ "68", 0 ], "sam_model_opt": [ "77", 0 ], "segm_detector_opt": [ "76", 1 ] }, "class_type": "BasicPipeToDetailerPipe", "_meta": { "title": "BasicPipe -> DetailerPipe" } }, "84": { "inputs": { "images": [ "82", 5 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "85": { "inputs": { "images": [ "82", 2 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "86": { "inputs": { "images": [ "82", 1 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "87": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": <%= it.seed || it.randomSeed() %>, "steps": 20, "cfg": 8, "sampler_name": "deis", "scheduler": "simple", "denoise": 0.75, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "refiner_ratio": 0.2, "cycle": 1, "inpaint_model": true, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false, "image": [ "82", 0 ], "detailer_pipe": [ "91", 0 ] }, "class_type": "FaceDetailerPipe", "_meta": { "title": "2 FaceDetailer (pipe)" } }, "88": { "inputs": { "images": [ "101", 5 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "89": { "inputs": { "images": [ "101", 2 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "90": { "inputs": { "images": [ "101", 1 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "91": { "inputs": { "wildcard": "", "Select to add LoRA": "Select the LoRA to add to the text", "Select to add Wildcard": "Select the Wildcard to add to the text", "basic_pipe": [ "111", 0 ], "bbox_detector": [ "92", 0 ], "sam_model_opt": [ "77", 0 ], "segm_detector_opt": [ "76", 1 ] }, "class_type": "BasicPipeToDetailerPipe", "_meta": { "title": "BasicPipe -> DetailerPipe" } }, "92": { "inputs": { "model_name": "bbox/hand_yolov8s.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "93": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": <%= it.seed || it.randomSeed() %>, "steps": 20, "cfg": 8, "sampler_name": "deis", "scheduler": "simple", "denoise": 0.5, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "refiner_ratio": 0.2, "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false, "image": [ "87", 0 ], "detailer_pipe": [ "94", 0 ] }, "class_type": "FaceDetailerPipe", "_meta": { "title": "3 FaceDetailer (pipe)" } }, "94": { "inputs": { "wildcard": "", "Select to add LoRA": "Select the LoRA to add to the text", "Select to add Wildcard": "Select the Wildcard to add to the text", "basic_pipe": [ "80", 0 ], "bbox_detector": [ "95", 0 ], "sam_model_opt": [ "77", 0 ], "segm_detector_opt": [ "95", 1 ] }, "class_type": "BasicPipeToDetailerPipe", "_meta": { "title": "BasicPipe -> DetailerPipe" } }, "95": { "inputs": { "model_name": "segm/maskdetailer-seg.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "96": { "inputs": { "images": [ "87", 1 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "97": { "inputs": { "images": [ "87", 2 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "98": { "inputs": { "images": [ "87", 5 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "99": { "inputs": { "model_name": "segm/unwantedV10x.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "100": { "inputs": { "wildcard": "", "Select to add LoRA": "Select the LoRA to add to the text", "Select to add Wildcard": "Select the Wildcard to add to the text", "basic_pipe": [ "80", 0 ], "bbox_detector": [ "99", 0 ], "sam_model_opt": [ "77", 0 ], "segm_detector_opt": [ "99", 1 ] }, "class_type": "BasicPipeToDetailerPipe", "_meta": { "title": "BasicPipe -> DetailerPipe" } }, "101": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": <%= it.seed || it.randomSeed() %>, "steps": 20, "cfg": 8, "sampler_name": "deis", "scheduler": "simple", "denoise": 0.5, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "refiner_ratio": 0.2, "cycle": 1, "inpaint_model": false, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false, "image": [ "93", 0 ], "detailer_pipe": [ "100", 0 ] }, "class_type": "FaceDetailerPipe", "_meta": { "title": "4 FaceDetailer (pipe)" } }, "102": { "inputs": { "images": [ "93", 1 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "103": { "inputs": { "images": [ "93", 2 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "104": { "inputs": { "images": [ "93", 5 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "105": { "inputs": { "model_name": "segm/PitHandDetailer-v1b-seg.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "106": { "inputs": { "wildcard": "", "Select to add LoRA": "Select the LoRA to add to the text", "Select to add Wildcard": "Select the Wildcard to add to the text", "basic_pipe": [ "80", 0 ], "bbox_detector": [ "105", 0 ], "sam_model_opt": [ "77", 0 ], "segm_detector_opt": [ "105", 1 ] }, "class_type": "BasicPipeToDetailerPipe", "_meta": { "title": "BasicPipe -> DetailerPipe" } }, "107": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": <%= it.seed || it.randomSeed() %>, "steps": 20, "cfg": 8, "sampler_name": "deis", "scheduler": "simple", "denoise": 0.75, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "refiner_ratio": 0.2, "cycle": 1, "inpaint_model": true, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false, "image": [ "101", 0 ], "detailer_pipe": [ "106", 0 ] }, "class_type": "FaceDetailerPipe", "_meta": { "title": "5 FaceDetailer (pipe)" } }, "108": { "inputs": { "images": [ "107", 1 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "109": { "inputs": { "images": [ "107", 2 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "110": { "inputs": { "images": [ "107", 5 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "111": { "inputs": { "basic_pipe": [ "80", 0 ], "positive": [ "116", 0 ] }, "class_type": "EditBasicPipe", "_meta": { "title": "Edit BasicPipe" } }, "112": { "inputs": { "guide_size": 512, "guide_size_for": true, "max_size": 1024, "seed": <%= it.seed || it.randomSeed() %>, "steps": 20, "cfg": 8, "sampler_name": "deis", "scheduler": "simple", "denoise": 0.25, "feather": 5, "noise_mask": true, "force_inpaint": true, "bbox_threshold": 0.5, "bbox_dilation": 10, "bbox_crop_factor": 3, "sam_detection_hint": "center-1", "sam_dilation": 0, "sam_threshold": 0.93, "sam_bbox_expansion": 0, "sam_mask_hint_threshold": 0.7, "sam_mask_hint_use_negative": "False", "drop_size": 10, "refiner_ratio": 0.2, "cycle": 1, "inpaint_model": true, "noise_mask_feather": 20, "tiled_encode": false, "tiled_decode": false, "image": [ "107", 0 ], "detailer_pipe": [ "117", 0 ] }, "class_type": "FaceDetailerPipe", "_meta": { "title": "6 FaceDetailer (pipe)" } }, "113": { "inputs": { "images": [ "112", 2 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "114": { "inputs": { "images": [ "112", 5 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "115": { "inputs": { "images": [ "112", 1 ] }, "class_type": "PreviewImage", "_meta": { "title": "Preview Image" } }, "116": { "inputs": { "text": "hand", "clip": [ "75", 0 ] }, "class_type": "CLIPTextEncode", "_meta": { "title": "Hand Prompt" } }, "117": { "inputs": { "wildcard": "", "Select to add LoRA": "Select the LoRA to add to the text", "Select to add Wildcard": "Select the Wildcard to add to the text", "basic_pipe": [ "80", 0 ], "bbox_detector": [ "118", 0 ], "sam_model_opt": [ "77", 0 ], "segm_detector_opt": [ "118", 1 ] }, "class_type": "BasicPipeToDetailerPipe", "_meta": { "title": "BasicPipe -> DetailerPipe" } }, "118": { "inputs": { "model_name": "segm/assdetailer-seg.pt" }, "class_type": "UltralyticsDetectorProvider", "_meta": { "title": "UltralyticsDetectorProvider" } }, "save_image_websocket_node": { "inputs": { "images": [ "112", 0 ] }, "class_type": "SaveImageWebsocket", "_meta": { "title": "SaveImageWebsocket" } } }