Create LoRA Clip Hook
Prompt-side strength, left adjustable
- lora_bridge
- prev_hooks
- HOOKS
A LoRA's clip component is what teaches the text encoder to understand your trigger word and carry the concept's semantics into conditioning. If you've ever had a LoRA that changes composition or character identity but leaves the rendering alone, you were feeling the clip side working - and you might want just that side, applied non-destructively. PgCreateHookLoraClipOnly is the PG Nodes node that builds exactly that: a HOOKS bundle targeting the CLIP path only, with a single strength_clip control.
This is the smallest member of the pack's hook trio, and its use case is precise. It's for LoRAs (or experiments) where you want the semantic push - character identity, prompt understanding, concept binding - without the model-path effect, or where you want to keep clip strength as a live knob you can adjust or keyframe instead of baking it into the weights.
How it works
Same machinery as the other create-hook nodes: pick a slot in the LORA_BRIDGE, and the node calls ComfyUI core's create_hook_lora() with strength_model pinned to 0.0 and your strength_clip live, then returns a HookGroup out of the HOOKS output. The hook does nothing on its own - you attach it to a CLIP with PgSetClipHooks, and from there ComfyUI's hooks system applies the clip strength at conditioning time. Nothing is merged into the encoder, so the strength stays changeable per run and can be chained with PgSetHookKeyframes for a strength curve over the denoise.
Inputs
lora_bridge- the bundle from aLoRA Bridge Loader; the LoRA file lives there.which_lora- which slot (lora_1–lora_4, defaultlora_1).strength_clip- the clip-path strength, -20 to 20. At 0 the hook is empty and skipped.prev_hooks(optional) - chain an existingHOOKSgroup for stacking.
Output: HOOKS, wired to PgSetClipHooks (optionally through PgSetHookKeyframes).
Install
Ships in PG Nodes: ComfyUI Manager → "PG Nodes" → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/GizmoR13/PG-Nodes
No models or extra dependencies.
Common issues
The family bugbears apply - update ComfyUI if you hit comfy.hooks module unavailable, check your bridge slot if nothing happens, and don't forget the Set Hooks half of the chain. The clip-specific gotcha: hooking only the clip path means the visual/structural side of the LoRA never applies, so a style LoRA will look "partially applied." If the effect you want is mainly prompt-driven - identity, concept, composition - this is the node. For everything else, PgCreateHookLoraBoth with both strengths is the safer default.
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_clip | FLOAT | 1.00-20–20 | — |
| prev_hooksopt | HOOKS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| HOOKS | HOOKS | — |