本篇将引导了解并完成单个 LoRA 模型的使用
Load LoRA
节点的简单介绍ComfyUI/models/checkpoints
目录
请下载 blindbox_V1Mix.safetensors 并保存至 ComfyUI/models/loras
目录
Workflows
-> Open(ctrl+o)
来加载对应的工作流。Load Checkpoint
加载了 dreamshaper_8.safetensors
Load LoRA
加载了 blindbox_V1Mix.safetensors
Queue
按钮,或者使用快捷键 Ctrl(cmd) + Enter(回车)
来执行图片的生成ComfyUI\models\loras
的模型会被 ComfyUI 检测到,并在这个节点中加载
参数名称 | 作用 |
---|---|
model | 连接基础模型 |
clip | 连接 CLIP 模型 |
lora_name | 选择要加载使用的 LoRA 模型 |
strength_model | 影响 LoRA 对 模型权重(model)的影响程度,数值越大 LoRA 风格越强 |
strength_clip | 影响 LoRA 对 CLIP 词嵌入(clip)的影响程度 |
参数名称 | 作用 |
---|---|
model | 输出应用了 LoRA 调整的模型 |
clip | 输出应用了 LoRA 调整的 CLIP 模型 |
Load LoRA
节点串联来应用多个 LoRA 模型,具体请参考ComfyUI 应用多个 LoRA 示例
Load LoRA
节点的不同参数,比如 strength_model
,来观察生成图片的变化,熟悉对应节点。