mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
- Improved reference handling in NodeMapper to support integer node IDs and added error logging for reference processing failures. - Updated LoraLoaderMapper and LoraStackerMapper to handle lora_stack as a dictionary, ensuring compatibility with new data formats. - Refactored trace_model_path utility to perform a depth-first search for LoRA nodes, improving the accuracy of model path tracing. - Cleaned up unused code in parser.py related to LoRA processing, streamlining the workflow parsing logic.
297 lines
7.6 KiB
JSON
297 lines
7.6 KiB
JSON
{
|
|
"3": {
|
|
"inputs": {
|
|
"seed": 241,
|
|
"steps": 20,
|
|
"cfg": 8,
|
|
"sampler_name": "euler_ancestral",
|
|
"scheduler": "karras",
|
|
"denoise": 1,
|
|
"model": [
|
|
"56",
|
|
0
|
|
],
|
|
"positive": [
|
|
"6",
|
|
0
|
|
],
|
|
"negative": [
|
|
"7",
|
|
0
|
|
],
|
|
"latent_image": [
|
|
"5",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "KSampler",
|
|
"_meta": {
|
|
"title": "KSampler"
|
|
}
|
|
},
|
|
"4": {
|
|
"inputs": {
|
|
"ckpt_name": "il\\waiNSFWIllustrious_v110.safetensors"
|
|
},
|
|
"class_type": "CheckpointLoaderSimple",
|
|
"_meta": {
|
|
"title": "Load Checkpoint"
|
|
}
|
|
},
|
|
"5": {
|
|
"inputs": {
|
|
"width": 832,
|
|
"height": 1216,
|
|
"batch_size": 1
|
|
},
|
|
"class_type": "EmptyLatentImage",
|
|
"_meta": {
|
|
"title": "Empty Latent Image"
|
|
}
|
|
},
|
|
"6": {
|
|
"inputs": {
|
|
"text": [
|
|
"22",
|
|
0
|
|
],
|
|
"clip": [
|
|
"56",
|
|
1
|
|
]
|
|
},
|
|
"class_type": "CLIPTextEncode",
|
|
"_meta": {
|
|
"title": "CLIP Text Encode (Prompt)"
|
|
}
|
|
},
|
|
"7": {
|
|
"inputs": {
|
|
"text": "bad quality, worst quality, worst detail, sketch ,signature, watermark, patreon logo, nsfw",
|
|
"clip": [
|
|
"56",
|
|
1
|
|
]
|
|
},
|
|
"class_type": "CLIPTextEncode",
|
|
"_meta": {
|
|
"title": "CLIP Text Encode (Prompt)"
|
|
}
|
|
},
|
|
"8": {
|
|
"inputs": {
|
|
"samples": [
|
|
"3",
|
|
0
|
|
],
|
|
"vae": [
|
|
"4",
|
|
2
|
|
]
|
|
},
|
|
"class_type": "VAEDecode",
|
|
"_meta": {
|
|
"title": "VAE Decode"
|
|
}
|
|
},
|
|
"14": {
|
|
"inputs": {
|
|
"images": [
|
|
"8",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "PreviewImage",
|
|
"_meta": {
|
|
"title": "Preview Image"
|
|
}
|
|
},
|
|
"19": {
|
|
"inputs": {
|
|
"stop_at_clip_layer": -2,
|
|
"clip": [
|
|
"4",
|
|
1
|
|
]
|
|
},
|
|
"class_type": "CLIPSetLastLayer",
|
|
"_meta": {
|
|
"title": "CLIP Set Last Layer"
|
|
}
|
|
},
|
|
"21": {
|
|
"inputs": {
|
|
"string": "masterpiece, best quality, good quality, very aesthetic, absurdres, newest, 8K, depth of field, focused subject, close up, stylized, in gold and neon shades, wabi sabi, 1girl, rainbow angel wings, looking at viewer, dynamic angle, from below, from side, relaxing",
|
|
"strip_newlines": false
|
|
},
|
|
"class_type": "StringConstantMultiline",
|
|
"_meta": {
|
|
"title": "positive"
|
|
}
|
|
},
|
|
"22": {
|
|
"inputs": {
|
|
"string1": [
|
|
"55",
|
|
0
|
|
],
|
|
"string2": [
|
|
"21",
|
|
0
|
|
],
|
|
"delimiter": ", "
|
|
},
|
|
"class_type": "JoinStrings",
|
|
"_meta": {
|
|
"title": "Join Strings"
|
|
}
|
|
},
|
|
"55": {
|
|
"inputs": {
|
|
"group_mode": true,
|
|
"toggle_trigger_words": [
|
|
{
|
|
"text": "in the style of ck-rw",
|
|
"active": true
|
|
},
|
|
{
|
|
"text": "in the style of cksc",
|
|
"active": true
|
|
},
|
|
{
|
|
"text": "artist:moriimee",
|
|
"active": true
|
|
},
|
|
{
|
|
"text": "__dummy_item__",
|
|
"active": false,
|
|
"_isDummy": true
|
|
},
|
|
{
|
|
"text": "__dummy_item__",
|
|
"active": false,
|
|
"_isDummy": true
|
|
}
|
|
],
|
|
"orinalMessage": "in the style of ck-rw,, in the style of cksc,, artist:moriimee",
|
|
"trigger_words": [
|
|
"56",
|
|
2
|
|
]
|
|
},
|
|
"class_type": "TriggerWord Toggle (LoraManager)",
|
|
"_meta": {
|
|
"title": "TriggerWord Toggle (LoraManager)"
|
|
}
|
|
},
|
|
"56": {
|
|
"inputs": {
|
|
"text": "<lora:ck-shadow-circuit-IL-000012:0.78> <lora:MoriiMee_Gothic_Niji_Style_Illustrious_r1:0.45> <lora:ck-nc-cyberpunk-IL-000011:0.4>",
|
|
"loras": [
|
|
{
|
|
"name": "ck-shadow-circuit-IL-000012",
|
|
"strength": 0.78,
|
|
"active": true
|
|
},
|
|
{
|
|
"name": "MoriiMee_Gothic_Niji_Style_Illustrious_r1",
|
|
"strength": 0.45,
|
|
"active": true
|
|
},
|
|
{
|
|
"name": "ck-nc-cyberpunk-IL-000011",
|
|
"strength": 0.4,
|
|
"active": false
|
|
},
|
|
{
|
|
"name": "__dummy_item1__",
|
|
"strength": 0,
|
|
"active": false,
|
|
"_isDummy": true
|
|
},
|
|
{
|
|
"name": "__dummy_item2__",
|
|
"strength": 0,
|
|
"active": false,
|
|
"_isDummy": true
|
|
}
|
|
],
|
|
"model": [
|
|
"4",
|
|
0
|
|
],
|
|
"clip": [
|
|
"4",
|
|
1
|
|
],
|
|
"lora_stack": [
|
|
"57",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "Lora Loader (LoraManager)",
|
|
"_meta": {
|
|
"title": "Lora Loader (LoraManager)"
|
|
}
|
|
},
|
|
"57": {
|
|
"inputs": {
|
|
"text": "<lora:aorunIllstrious:1>",
|
|
"loras": [
|
|
{
|
|
"name": "aorunIllstrious",
|
|
"strength": "0.90",
|
|
"active": false
|
|
},
|
|
{
|
|
"name": "__dummy_item1__",
|
|
"strength": 0,
|
|
"active": false,
|
|
"_isDummy": true
|
|
},
|
|
{
|
|
"name": "__dummy_item2__",
|
|
"strength": 0,
|
|
"active": false,
|
|
"_isDummy": true
|
|
}
|
|
],
|
|
"lora_stack": [
|
|
"59",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "Lora Stacker (LoraManager)",
|
|
"_meta": {
|
|
"title": "Lora Stacker (LoraManager)"
|
|
}
|
|
},
|
|
"59": {
|
|
"inputs": {
|
|
"text": "<lora:ck-neon-retrowave-IL-000012:0.8>",
|
|
"loras": [
|
|
{
|
|
"name": "ck-neon-retrowave-IL-000012",
|
|
"strength": 0.8,
|
|
"active": true
|
|
},
|
|
{
|
|
"name": "__dummy_item1__",
|
|
"strength": 0,
|
|
"active": false,
|
|
"_isDummy": true
|
|
},
|
|
{
|
|
"name": "__dummy_item2__",
|
|
"strength": 0,
|
|
"active": false,
|
|
"_isDummy": true
|
|
}
|
|
]
|
|
},
|
|
"class_type": "Lora Stacker (LoraManager)",
|
|
"_meta": {
|
|
"title": "Lora Stacker (LoraManager)"
|
|
}
|
|
}
|
|
} |