Stable Diffusion又一神级功能,ControlNet新功能Reference Only竟然能保持人物连续性

Stable Diffusion又一神级功能,ControlNet新功能Reference Only竟然能保持人物连续性

Stable Diffusion又又双叒叕发布了一款超好用功能,这就是ControlNet的新功能Reference Only,这一功能解决了AI绘画无法保持连贯性的痛点,让Stable Diffusion商用又往前迈了一大步,如果你对AI绘画感兴趣,一定要了解这一功能。


Stable Diffusion插件ControlNet新功能Reference Only,直译“仅供参考”,其实更像仿制图章,在特定的环境下是相当好用的,能保持画面良好的连贯性。

ControlNet新功能Reference Only安装

方法一:通过Stable Diffusion WEBUI扩展更新

打开Stable Diffusion WEBUI,找到扩展设置,检查更新找到ControlNet,更新到最新版本


更新到最新版本controlnet

方法二:代码更新

在Stable Diffusion WEBUI\extensions\sd-webui-controlnet目录地址栏内输入CMD,输入git pull完成更新


方法三:下载更新

下载插件https://github.com/Mikubill/sd-webui-controlnet.git,覆盖原有的文件夹。

然后重启UI,如果能在预处理器能看到reference_only则更新成功


预处理器找到reference_only

ControlNet新功能Reference Only效果测试:



打开Reference Only,提示词除了质量先关Promot之外,只写“1girl”,

模型选择和原图一样的Chilloutmix, controlnet设置如下


跑图试试


和原图基本保持了人物的一致性,效果十分理想。

原图长提词如下:

[:(highly detail face: 1.2):0.1], (8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37), best quality, HDR, cinematic lighting, natural lighting, 1girl, (pureerosface_v1:0.6), beautiful face, pretty eyes, blonde hair, short (((curly))) hair, curly bangs, (wearing t-shirt), pleated skirt, (sitting down on a ferris wheel)

Negative prompt: (disfigured), weird hands, broken fingers, extra fingers, missing fingers, mutated hands, (deformed hands:1.5), (fewer fingers, extra fingers), (worst quality, low quality:1.4), illustration, 3d, sepia, painting, cartoons, sketch, lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale:1.2)), collapsed eyeshadow, multiple eyebrows, vaginas in breasts, pink hair, holes on breasts, stretched nipples, gigantic penis, nipples on buttocks, analog, analog photo, anal sex, signature, logo, 2 faces, hat, cap, nsfw, (necklace:1.5), deformed fingers, extra digits, fewer digits, ((disfigured)), blurry, (EasyNegative:1.3), nsfw, nude, naked, loli, kid, child, teen

Steps: 40, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 3042972971, Size: 768x1024, Model hash: fc2511737a, Model: chilloutmix_NiPrunedFp32Fix, Clip skip: 2, ENSD: 31337, Dynamic thresholding enabled: True, Mimic scale: 7, Threshold percentile: 100, CFG mode: Half Cosine Down, CFG scale minimum: 3.5

再改下controlnet设置,改成提示词更重要

其他设置不变,跑图看下效果

可以发现纯提示词构图就很随意了,达不到我们想要的仿制效果,糖水感也减弱了不少

我们再来试试Reference Only和canny的综合运用

出图如下:


综合运用后,效果确实最佳,哪怕不用lora都能达到很好的效果

评论

此博客中的热门博文

Stable Diffusion神奇功能系列之自动抠图,轻松批量去背景,不再花钱抠图了

庆余年 | 庆余年 第四季 249-286合集

StableDiffusion整合包相关下载(持续更新,请务必保存)