Files
jakechai-ComfyUI-JakeUpgrade/Workflow/ComfyUI/API/dev/JK API Refine SD15.json
T
jakechai 8859f8ebef v1.9.1
1. Add Stop At Clip Layer to image refine group nodes.
2. Add Flux Guidance to common imgen | refine group nodes.
3. Add ComfyUI API workflows: controlnet preprocessor | upscale | refine.
2025-02-08 15:40:27 +08:00

1028 lines
17 KiB
JSON

{
"1": {
"inputs": {
"ckpt_name": "SD15\\Realistic\\absolutereality_v181.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
"title": "Load Checkpoint - Base"
}
},
"2": {
"inputs": {
"vae_name": "vae-ft-mse-840000-ema-pruned.safetensors"
},
"class_type": "VAELoader",
"_meta": {
"title": "Load VAE - Base"
}
},
"3": {
"inputs": {
"image": "example.png",
"upload": "image"
},
"class_type": "LoadImage",
"_meta": {
"title": "Load Image - img2img"
}
},
"5": {
"inputs": {
"boolean_value": false,
"model_false": [
"26",
0
],
"model_true": [
"6",
0
]
},
"class_type": "CR Model Input Switch JK",
"_meta": {
"title": "sag"
}
},
"6": {
"inputs": {
"scale": 0.5,
"blur_sigma": 2,
"model": [
"26",
0
]
},
"class_type": "SelfAttentionGuidance",
"_meta": {
"title": "Self-Attention Guidance"
}
},
"7": {
"inputs": {
"boolean_value": false,
"model_false": [
"5",
0
],
"model_true": [
"8",
0
]
},
"class_type": "CR Model Input Switch JK",
"_meta": {
"title": "freeu"
}
},
"8": {
"inputs": {
"b1": 1.2,
"b2": 1.4,
"s1": 0.9,
"s2": 0.2,
"model": [
"5",
0
]
},
"class_type": "FreeU_V2",
"_meta": {
"title": "FreeU_V2"
}
},
"9": {
"inputs": {
"boolean_value": false,
"model_false": [
"7",
0
],
"model_true": [
"10",
0
]
},
"class_type": "CR Model Input Switch JK",
"_meta": {
"title": "lcm"
}
},
"10": {
"inputs": {
"sampling": "lcm",
"zsnr": false,
"model": [
"7",
0
]
},
"class_type": "ModelSamplingDiscrete",
"_meta": {
"title": "LCM ModelSamplingDiscrete"
}
},
"11": {
"inputs": {
"boolean_value": false,
"model_false": [
"9",
0
],
"model_true": [
"12",
0
]
},
"class_type": "CR Model Input Switch JK",
"_meta": {
"title": "rcfg"
}
},
"12": {
"inputs": {
"multiplier": 0.7000000000000001,
"model": [
"9",
0
]
},
"class_type": "RescaleCFG",
"_meta": {
"title": "RescaleCFG"
}
},
"13": {
"inputs": {
"input_mode": "simple",
"lora_count": 4,
"lora_1": true,
"lora_name_1": "None",
"lora_weight_1": 1,
"model_weight_1": 1,
"clip_weight_1": 1,
"lora_2": true,
"lora_name_2": "None",
"lora_weight_2": 1,
"model_weight_2": 1,
"clip_weight_2": 1,
"lora_3": true,
"lora_name_3": "None",
"lora_weight_3": 1,
"model_weight_3": 1,
"clip_weight_3": 1,
"lora_4": true,
"lora_name_4": "None",
"lora_weight_4": 1,
"model_weight_4": 1,
"clip_weight_4": 1,
"lora_5": false,
"lora_name_5": "None",
"lora_weight_5": 1,
"model_weight_5": 1,
"clip_weight_5": 1,
"lora_6": false,
"lora_name_6": "None",
"lora_weight_6": 1,
"model_weight_6": 1,
"clip_weight_6": 1,
"save_hash": false
},
"class_type": "CR LoRA Stack JK",
"_meta": {
"title": "LoRA Stack - 1"
}
},
"14": {
"inputs": {
"value": 512
},
"class_type": "INTConstant",
"_meta": {
"title": "CN res"
}
},
"15": {
"inputs": {
"control_net_name": "None",
"union_type": "None"
},
"class_type": "CR ControlNet Loader JK",
"_meta": {
"title": "ControlNet Loader JK🐉 0"
}
},
"16": {
"inputs": {
"preprocessor": "none",
"resolution": [
"14",
0
],
"image": [
"3",
0
]
},
"class_type": "AIO_Preprocessor",
"_meta": {
"title": "CN 0 AIO"
}
},
"17": {
"inputs": {
"control_net_name": "None",
"union_type": "None"
},
"class_type": "CR ControlNet Loader JK",
"_meta": {
"title": "ControlNet Loader JK🐉 1"
}
},
"18": {
"inputs": {
"preprocessor": "none",
"resolution": [
"14",
0
],
"image": [
"3",
0
]
},
"class_type": "AIO_Preprocessor",
"_meta": {
"title": "CN 1 AIO"
}
},
"19": {
"inputs": {
"control_net_name": "None",
"union_type": "None"
},
"class_type": "CR ControlNet Loader JK",
"_meta": {
"title": "ControlNet Loader JK🐉 2"
}
},
"20": {
"inputs": {
"preprocessor": "none",
"resolution": [
"14",
0
],
"image": [
"3",
0
]
},
"class_type": "AIO_Preprocessor",
"_meta": {
"title": "CN 2 AIO"
}
},
"21": {
"inputs": {
"control_net_name": "None",
"union_type": "None"
},
"class_type": "CR ControlNet Loader JK",
"_meta": {
"title": "ControlNet Loader JK🐉 3"
}
},
"22": {
"inputs": {
"preprocessor": "none",
"resolution": [
"14",
0
],
"image": [
"3",
0
]
},
"class_type": "AIO_Preprocessor",
"_meta": {
"title": "CN 3 AIO"
}
},
"23": {
"inputs": {
"control_switch": true,
"input_mode": "simple",
"controlnet_count": 4,
"ControlNet_Unit_0": true,
"controlnet_strength_0": 1,
"start_percent_0": 0,
"end_percent_0": 1,
"ControlNet_Unit_1": true,
"controlnet_strength_1": 1,
"start_percent_1": 0,
"end_percent_1": 1,
"ControlNet_Unit_2": true,
"controlnet_strength_2": 1,
"start_percent_2": 0,
"end_percent_2": 1,
"ControlNet_Unit_3": true,
"controlnet_strength_3": 1,
"start_percent_3": 0,
"end_percent_3": 1,
"ControlNet_Unit_4": false,
"controlnet_strength_4": 1,
"start_percent_4": 0,
"end_percent_4": 1,
"ControlNet_Unit_5": false,
"controlnet_strength_5": 1,
"start_percent_5": 0,
"end_percent_5": 1,
"controlnet_0": [
"15",
0
],
"image_0": [
"27",
0
],
"controlnet_1": [
"17",
0
],
"image_1": [
"28",
0
],
"controlnet_2": [
"19",
0
],
"image_2": [
"29",
0
],
"controlnet_3": [
"21",
0
],
"image_3": [
"30",
0
]
},
"class_type": "CR Multi-ControlNet Param Stack JK",
"_meta": {
"title": "Multi-ControlNet Param Stack JK🐉"
}
},
"24": {
"inputs": {
"images": [
"4:22",
0
]
},
"class_type": "SaveImageWebsocket",
"_meta": {
"title": "SaveImageWebsocket"
}
},
"25": {
"inputs": {
"image": [
"3",
0
]
},
"class_type": "GetImageSize+",
"_meta": {
"title": "🔧 Get Image Size"
}
},
"26": {
"inputs": {
"model": [
"1",
0
],
"clip": [
"1",
1
],
"lora_stack": [
"13",
0
]
},
"class_type": "CR Apply LoRA Stack JK",
"_meta": {
"title": "Apply LoRA Stack JK🐉"
}
},
"27": {
"inputs": {
"upscale_method": "bicubic",
"width": [
"25",
0
],
"height": [
"25",
1
],
"crop": "disabled",
"image": [
"16",
0
]
},
"class_type": "ImageScale",
"_meta": {
"title": "Upscale Image"
}
},
"28": {
"inputs": {
"upscale_method": "bicubic",
"width": [
"25",
0
],
"height": [
"25",
1
],
"crop": "disabled",
"image": [
"18",
0
]
},
"class_type": "ImageScale",
"_meta": {
"title": "Upscale Image"
}
},
"29": {
"inputs": {
"upscale_method": "bicubic",
"width": [
"25",
0
],
"height": [
"25",
1
],
"crop": "disabled",
"image": [
"20",
0
]
},
"class_type": "ImageScale",
"_meta": {
"title": "Upscale Image"
}
},
"30": {
"inputs": {
"upscale_method": "bicubic",
"width": [
"25",
0
],
"height": [
"25",
1
],
"crop": "disabled",
"image": [
"22",
0
]
},
"class_type": "ImageScale",
"_meta": {
"title": "Upscale Image"
}
},
"41": {
"inputs": {
"boolean_value": false,
"model_false": [
"11",
0
]
},
"class_type": "CR Model Input Switch JK",
"_meta": {
"title": "Model Input Switch JK🐉"
}
},
"4:5": {
"inputs": {
"boolean_value": false,
"clip_false": [
"26",
1
],
"clip_true": [
"4:6",
0
]
},
"class_type": "CR Clip Input Switch JK",
"_meta": {
"title": "Clip Input Switch JK🐉-stop layer"
}
},
"4:6": {
"inputs": {
"stop_at_clip_layer": -1,
"clip": [
"26",
1
]
},
"class_type": "CLIPSetLastLayer",
"_meta": {
"title": "CLIP Set Last Layer"
}
},
"4:7": {
"inputs": {
"text": "",
"clip": [
"4:5",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode positive"
}
},
"4:8": {
"inputs": {
"text": "",
"clip": [
"4:5",
0
]
},
"class_type": "CLIPTextEncode",
"_meta": {
"title": "CLIP Text Encode negative"
}
},
"4:9": {
"inputs": {
"boolean_value": false,
"conditioning_false": [
"4:8",
0
],
"conditioning_true": [
"4:10",
0
]
},
"class_type": "CR Conditioning Input Switch JK",
"_meta": {
"title": "Conditioning Input Switch JK🐉-sd3"
}
},
"4:10": {
"inputs": {
"end": 0.1,
"conditioning": [
"4:7",
0
]
},
"class_type": "SD3NegativeConditioning+",
"_meta": {
"title": "🔧 SD3 Negative Conditioning"
}
},
"4:11": {
"inputs": {
"boolean_value": false,
"conditioning_false": [
"4:9",
0
],
"conditioning_true": [
"4:32",
0
]
},
"class_type": "CR Conditioning Input Switch JK",
"_meta": {
"title": "Conditioning Input Switch JK🐉-flux"
}
},
"4:12": {
"inputs": {
"guidance": 3.5
},
"class_type": "Guidance Default JK",
"_meta": {
"title": "Guidance Default JK🐉"
}
},
"4:13": {
"inputs": {
"cfg": [
"4:14",
1
],
"neg_scale": 1,
"model": [
"41",
0
],
"positive": [
"4:35",
0
],
"negative": [
"4:35",
1
],
"empty_conditioning": [
"4:33",
0
]
},
"class_type": "PerpNegGuider",
"_meta": {
"title": "PerpNegGuider"
}
},
"4:14": {
"inputs": {
"steps": 20,
"cfg": 8,
"denoise": 1
},
"class_type": "Ksampler Parameters Default JK",
"_meta": {
"title": "Ksampler Parameters Default JK🐉"
}
},
"4:15": {
"inputs": {
"sampler_name": "dpmpp_2m"
},
"class_type": "KSamplerSelect",
"_meta": {
"title": "KSamplerSelect"
}
},
"4:16": {
"inputs": {
"scheduler": "karras",
"steps": 20,
"denoise": 1,
"model": [
"41",
0
]
},
"class_type": "BasicScheduler",
"_meta": {
"title": "BasicScheduler"
}
},
"4:17": {
"inputs": {
"noise_seed": 0,
"noise_mode": "CPU",
"batch_seed_mode": "incremental",
"variation_seed": 0,
"variation_strength": 0,
"variation_method": "linear",
"internal_seed": 0
},
"class_type": "RandomNoise //Inspire",
"_meta": {
"title": "RandomNoise (inspire)"
}
},
"4:18": {
"inputs": {
"boolean_value": false,
"latent_false": [
"4:30",
0
],
"latent_true": [
"4:19",
0
]
},
"class_type": "CR Latent Input Switch JK",
"_meta": {
"title": "Latent Input Switch JK🐉-latent noise"
}
},
"4:19": {
"inputs": {
"noise_seed": 0,
"noise_strength": 1,
"normalize": "false",
"latent": [
"4:30",
0
]
},
"class_type": "InjectLatentNoise+",
"_meta": {
"title": "Inject Latent Noise"
}
},
"4:20": {
"inputs": {
"boolean_value": false,
"sampler_false": [
"4:15",
0
],
"sampler_true": [
"4:21",
0
]
},
"class_type": "CR Sampler Input Switch JK",
"_meta": {
"title": "Sampler Input Switch JK🐉-detail daemon"
}
},
"4:21": {
"inputs": {
"detail_amount": 0.1,
"start": 0.2,
"end": 0.8,
"bias": 0.5,
"exponent": 1,
"start_offset": 0,
"end_offset": 0,
"fade": 0,
"smooth": true,
"cfg_scale_override": 0,
"sampler": [
"4:15",
0
]
},
"class_type": "DetailDaemonSamplerNode",
"_meta": {
"title": "Detail Daemon Sampler"
}
},
"4:22": {
"inputs": {
"boolean_value": false,
"image_false": [
"4:39",
0
],
"image_true": [
"4:23",
0
]
},
"class_type": "CR Image Input Switch JK",
"_meta": {
"title": "Image Input Switch JK🐉-color match"
}
},
"4:23": {
"inputs": {
"method": "mkl",
"strength": 1,
"image_ref": [
"3",
0
],
"image_target": [
"4:39",
0
]
},
"class_type": "ColorMatch",
"_meta": {
"title": "Color Match"
}
},
"4:24": {
"inputs": {
"amount": 1,
"samples": [
"4:18",
0
]
},
"class_type": "RepeatLatentBatch",
"_meta": {
"title": "Repeat Latent Batch"
}
},
"4:30": {
"inputs": {
"pixels": [
"3",
0
],
"vae": [
"2",
0
]
},
"class_type": "VAEEncode",
"_meta": {
"title": "VAE Encode"
}
},
"4:31": {
"inputs": {
"guidance": [
"4:12",
0
],
"conditioning": [
"4:7",
0
]
},
"class_type": "FluxGuidance",
"_meta": {
"title": "FluxGuidance"
}
},
"4:32": {
"inputs": {
"guidance": [
"4:12",
0
],
"conditioning": [
"4:8",
0
]
},
"class_type": "FluxGuidance",
"_meta": {
"title": "FluxGuidance"
}
},
"4:33": {
"inputs": {
"conditioning": [
"4:32",
0
]
},
"class_type": "ConditioningZeroOut",
"_meta": {
"title": "ConditioningZeroOut"
}
},
"4:34": {
"inputs": {
"boolean_value": [
"4:11",
1
],
"conditioning_false": [
"4:7",
0
],
"conditioning_true": [
"4:31",
0
]
},
"class_type": "CR Conditioning Input Switch JK",
"_meta": {
"title": "Conditioning Input Switch JK🐉"
}
},
"4:35": {
"inputs": {
"effective_mask": false,
"base_positive": [
"4:34",
0
],
"base_negative": [
"4:11",
0
],
"vae": [
"2",
0
],
"controlnet_stack": [
"23",
0
]
},
"class_type": "CR Apply Multi-ControlNet Adv JK",
"_meta": {
"title": "Apply Multi-ControlNet Adv JK🐉"
}
},
"4:36": {
"inputs": {
"cfg": [
"4:14",
1
],
"model": [
"41",
0
],
"positive": [
"4:35",
0
],
"negative": [
"4:35",
1
]
},
"class_type": "CFGGuider",
"_meta": {
"title": "CFGGuider"
}
},
"4:37": {
"inputs": {
"boolean_value": [
"4:11",
1
],
"guider_false": [
"4:36",
0
],
"guider_true": [
"4:13",
0
]
},
"class_type": "CR Guider Input Switch JK",
"_meta": {
"title": "Guider Input Switch JK🐉"
}
},
"4:38": {
"inputs": {
"noise": [
"4:17",
0
],
"guider": [
"4:37",
0
],
"sampler": [
"4:20",
0
],
"sigmas": [
"4:16",
0
],
"latent_image": [
"4:24",
0
]
},
"class_type": "SamplerCustomAdvanced",
"_meta": {
"title": "SamplerCustomAdvanced"
}
},
"4:39": {
"inputs": {
"samples": [
"4:38",
1
],
"vae": [
"2",
0
]
},
"class_type": "VAEDecode",
"_meta": {
"title": "VAE Decode"
}
}
}