LoRA Keyframes ๐Ÿ“Š

LoraKeyframes

LoRA Keyframes - Schedule LoRA strength during sampling FORMAT: strength@percent, strength@percent, ... - strength: LoRA strength multiplier at this point (0 = off, 1 = normal, 2 = double) - percent: when to apply (0.0 = start, 0.5 = middle, 1.0 = end) EXAMPLES: โ€ข "0@0.0, 1@0.5, 0@1.0" โ†’ Bell-shaped curve (fade in/out) โ€ข "0@0.0, 1@0.3" โ†’ Fade in and stay on โ€ข "1@0.0, 0@0.7" โ†’ Start strong, then fade out โ€ข "0@0.2, 1@0.5, 0@0.8" โ†’ Active only in middle INTERPOLATION MODES: โ€ข step โ†’ Rectangular jumps (default ComfyUI behavior) โ€ข linear โ†’ Linear interpolation between keyframes โ€ข smoothstep โ†’ Smooth fade โ€ข ease_in โ†’ Starts slow, accelerates โ€ข ease_out โ†’ Starts fast, slows down โ€ข ease_in_out โ†’ Smooth ease in/out RESOLUTION: - Controls how many intermediate keyframes are generated between your defined keyframes - Number of points = resolution + 1 - Example: resolution = 20 โ†’ 21 keyframes at 0%, 5%, 10%, ..., 100% - Higher resolution โ†’ smoother curve, more granular strength changes - Lower resolution โ†’ coarser, fewer keyframes, faster processing TIP: Use fewer keyframes for smoother sampling (each keyframe adds a tiny delay)

Pack: ComfyUI-LoraControls

custom_nodes.ComfyUI-LoraControls

Inputs (7)

NameTypeRequired
clipCLIPrequired
lora_nameCOMBOrequired
strength_multiplierFLOATrequired
presetCOMBOrequired
keyframesSTRINGrequired
interpolationCOMBOrequired
resolutionINTrequired

Outputs (2)

NameType
CLIPCLIP
schedule_graphSTRING