ComfyUI External LoRA Loader A ComfyUI custom node that lets you load LoRA files from **any path on any mounted drive** — no server restarts, no manual config edits, no symlinks.
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"backend_state": {
|
|
"LORA_CACHE": {
|
|
"type": "Dictionary",
|
|
"key": "string (absolute_file_path)",
|
|
"value": "torch_tensor_dict (weights)",
|
|
"description": "Global persistent storage in system RAM."
|
|
},
|
|
"supported_extensions": [".safetensors", ".ckpt"],
|
|
"drive_list": {
|
|
"type": "List[string]",
|
|
"example": ["C:/", "D:/", "Z:/", "/mnt/drive1", "/home/user/drive2"],
|
|
"description": "List of available drives for file browsing."
|
|
}
|
|
},
|
|
"api_payloads": {
|
|
"list_files_request": {
|
|
"drive": "string",
|
|
"path": "string"
|
|
},
|
|
"list_files_response": {
|
|
"status": "string (success|error)",
|
|
"files": "List[string]",
|
|
"error_message": "string|null"
|
|
}
|
|
},
|
|
"node_widgets": {
|
|
"model": "MODEL (Input Slot)",
|
|
"clip": "CLIP (Input Slot)",
|
|
"drive": "COMBO (Dropdown)",
|
|
"sub_path": "STRING (Text Input)",
|
|
"lora_name": "COMBO (Dynamic Dropdown)",
|
|
"strength": "FLOAT (Slider/Input)"
|
|
},
|
|
"execution_outputs": {
|
|
"model": "MODEL (Patched)",
|
|
"clip": "CLIP (Patched)"
|
|
}
|
|
} |