Load LoRA
loaders
LoraLoaderLoRAs are used to modify diffusion and CLIP models, altering the way in which latents are denoised such as applying styles. Multiple LoRA nodes can be linked together.
Example
JSON Example
{
"class_type": "LoraLoader",
"inputs": {
"model": [
"node_id",
0
],
"clip": [
"node_id",
0
],
"lora_name": "https://civitai.com/api/download/models/123456?type=Model&format=SafeTensor",
"strength_model": 1,
"strength_clip": 1
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
model? | MODEL | required | - | - |
clip? | CLIP | required | - | - |
lora_name? | ENUM0 options | required | - | - |
strength_model? | FLOAT | required | min: -100, max: 100, step: 0.01 | 1 |
strength_clip? | FLOAT | required | min: -100, max: 100, step: 0.01 | 1 |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | MODEL | MODEL | No | ["{node_id}", 0] |
1 | CLIP | CLIP | No | ["{node_id}", 1] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this LoraLoader node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
MODEL (MODEL):["5", 0]CLIP (CLIP):["5", 1]
Was this page helpful?