
**潛在一致性模型 (LCM)**
(北京清华大学交叉信息科学研究院研发的一款生成模型)
https://www.jiqizhixin.com/articles/2023-11-15-10 中文介紹LCM lora
https://huggingface.co/blog/lcm_lora 網站介紹

https://huggingface.co/latent-consistency/lcm-lora-sdv1-5/tree/main v1-5模型網址
https://huggingface.co/latent-consistency/lcm-lora-sdxl/tree/main sdxl模型網址

下載後 先更名為lcm_sd15 (若下載sdxl的則更名為lcm_sdxl)
因為sdv1-5 與sdxl的lcm lora 名字都一樣 所以記得先更名 以區別
然後將檔案放置到 D:\SD-files\SDlocal\stable-diffusion-webui\models\Lora中即可
使用LCM rola進行運算,在參數的設定上有三個設定需要特別注意

因為取樣方法的選擇會跟以往習慣用的有些不同,所以可以先用Script中的xyz plot 來找出適合的sampler & CFG & Step




**使用LCM lora**
使用比電測試(6GB N卡1660)
可以嘗試SDXL model(尺寸1024 or 768) 運算生成
Model: sd_xl_base_1.0 或 sd_xl_turbo_1.0_fp16
加上lora:lcm_sdxl
**湖邊小屋**
Model: sd_xl_turbo_1.0_fp16
Prompt:tiny house next to the river,outdoor,nature,
Negative Prompt:ugly,low quality,blurry,

Time taken:20.7 sec.


Step:3 Time taken:16.1 sec.

**室內空間**
Prompt:modern interior,living room,[wooden|white],
加上lora:lcm_sdxl




