FreeU 是一種提升 Stable Diffusion 影像品質的技術, 原理是透過微調模型內部的訊號流, 不需額外訓練就能顯著改善生成圖像的品質, 可以讓圖像更清晰, 更有層次, 且不容易出現塗抹感或背景糊掉的狀況.
在 "Extensions (擴充功能)/Installed (已安裝套件)/Install from URL (從網址安裝)" 頁籤的 "URL for extension's git repository(擴充功能的 git 儲存庫網址)" 框中輸入如下網址 :
https://github.com/ljleb/sd-webui-freeu.git
然後按底下的 "Install(安裝)" 鈕 :
安裝更新後在底下微調區會多出 Free U 設定區, 勾選啟用, 其餘用預設值 :
用本系列第一篇測試中使用的提示詞範例生圖 :
正向提示詞 :
((masterpiece)), ((best quality)), ((realistic)), ((detailed skin texture)), ((cinematic lighting)),
((8K UHD)), highly detailed, beautiful woman, natural skin, soft lighting,
sharp focus, depth of field, looking at camera, neutral expression, ultra-detailed face
負向提示詞 :
(worst quality:1.4), (low quality:1.4), (jpeg artifacts), (blurry), (text), (cropped),
(ugly), (deformed), (bad anatomy), (poorly drawn face), (disfigured), (mutation),
(extra limbs), (fused fingers), (missing fingers), (bad hands), (bad proportions)
使用前一篇 ADetailer 外掛測試時記下的隨機種子 seed=1532845625 重新生圖結果如下 :
感覺畫質不同, 但我對圖片不夠敏銳, 要形容差異就辭窮了.
沒有留言 :
張貼留言