Create LoRA Model Hook
UNet-only, still adjustable
- lora_bridge
- prev_hooks
- HOOKS
Some LoRAs are all body, no brain - they change the image's structure, style, or texture without meaningfully touching how the prompt is understood. For those, the clip side is wasted motion and the model side is the whole show. PgCreateHookLoraModelOnly builds a non-destructive HOOKS bundle that targets exactly that: the model/UNet path, with a single strength_model knob.
It's the narrowest of the three "create hook" nodes, and that narrowness is the feature. Where PgCreateHookLoraBoth exposes two strengths and PgCreateHookLoraClipOnly the text-encoder one, this one is for when you've already decided the LoRA's influence is purely visual. Reach for it when your style or texture LoRA is doing the heavy lifting on image quality and you want one clean slider for its effect - especially if you plan to keyframe it.
How it works
Like its siblings, it pulls the LoRA out of a LORA_BRIDGE slot and calls ComfyUI core's create_hook_lora() - here with strength_clip fixed at 0.0 and only your strength_model live. The result is folded into a HookGroup and passed out as HOOKS. It doesn't touch the model directly: a hook is an instruction that gets evaluated when you attach it to your conditioning via PgSetModelHooks, which is what patches the UNet path at sampling time. Non-destructive, so the strength stays tweakable and you can chain keyframes on top.
Inputs
lora_bridge- the bundle from aLoRA Bridge Loader.which_lora- the slot to use (lora_1–lora_4, defaultlora_1).strength_model- the model-path strength, -20 to 20. Zero means an empty (ineffective) hook group.prev_hooks(optional) - chain anotherHOOKSgroup onto this one for stacking.
Output: HOOKS, destined for PgSetModelHooks (and optionally PgSetHookKeyframes in between).
Install
Part of the PG Nodes pack - ComfyUI Manager → "PG Nodes" → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/GizmoR13/PG-Nodes
No extra models or dependencies.
Common issues
The usual suspects, all shared with the hooks family: an outdated ComfyUI throws comfy.hooks module unavailable (update core); an empty bridge slot silently produces a no-op hook; and a hook that's never attached to a Set Hooks node is just a decorative wire. The one this node adds is expectation-setting - it only affects the model path. If a character LoRA feels like it "isn't working," that's probably because its identity lives in the clip path, so use PgCreateHookLoraBoth instead. For pure style/texture work, this is the tidy option.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| lora_bridge | LORA_BRIDGE | — | |
| which_lora | COMBO | lora_1 | 4 options: lora_1, lora_2, lora_3, lora_4 |
| strength_model | FLOAT | 1.00-20–20 | — |
| prev_hooksopt | HOOKS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| HOOKS | HOOKS | — |