关于近期一个关于comfyui和webui的帖子,我简单做一下研究
stablediffusion吧
全部回复
仅看楼主
吧务
level 12
socideath 楼主

楼下细说
2025年03月18日 11点03分 1
吧务
level 12
socideath 楼主

楼主使用带有 4060 8G 显存的显卡和 16 内存的笔记本电脑
两个 UI 对应的整合包所在的 E 盘状态如下
2025年03月18日 11点03分 2
吧务
level 12
socideath 楼主

首先打开 forge——webui 的代表项目之一。
然后设置 checkpoint 为 waiSHUFFLENOOB_vPred01.safetensors
VAE 设置为空,也就是用 checkpoint 自带的 VAE
楼主不知道这个东西有何影响,遂调至 automatically
2025年03月18日 11点03分 3
吧务
level 12
socideath 楼主

正向提示词:
masterpiece,best quality,newest,absurdres,highres,safe,1girl,solo,student,school uniform,brown_skin,slender,slender face,black hair,short hair,curly hair,blush,blue eyes,+_+,laughing,summer festival,beach,bust,medium_shot,highres,absurdres,wallpaper,blonde,landscape,
负面提示词:
nsfw,worst quality,old,early,low quality,lowres,signature,username,logo,bad hands,mutated hands,mammal,anthro,furry,ambiguous form,feral,semi-anthro,multiple views,
2025年03月18日 11点03分 4
吧务
level 12
socideath 楼主

采样器选择:Euler
调度器选择:Karras
步数:30
宽度:768
长度:1344
CFG:5.5
Seed:
114514191981
0
2025年03月18日 11点03分 5
吧务
level 12
socideath 楼主

最终界面
2025年03月18日 11点03分 6
吧务
level 12
socideath 楼主

最终出图
2025年03月18日 11点03分 7
吧务
level 12
socideath 楼主
2025年03月18日 11点03分 8
吧务
level 12
socideath 楼主

接下来,进入 Comfyui 环节
让我们再用网上的做法还原 webui/A1111 的生成
根据 Inspire 节点的介绍
2025年03月18日 11点03分 9
吧务
level 12
socideath 楼主

然后我参考了这个视频的做法
2025年03月18日 11点03分 10
吧务
level 12
socideath 楼主

设置对应的参数
2025年03月18日 11点03分 11
吧务
level 12
socideath 楼主

生成结果:
2025年03月18日 11点03分 12
吧务
level 12
socideath 楼主

总用时:25.76s
2025年03月18日 11点03分 13
吧务
level 12
socideath 楼主

然后让我们来看看关于亮度的对比
这里使用差值的方式
原理如下图
2025年03月18日 11点03分 14
吧务
level 12
socideath 楼主

下图为同一图片下不同亮度的对比结果,可以看出结果不是纯黑,也就表明亮度信息不同
2025年03月18日 11点03分 15
1 2 尾页