768 x 5121536 x 1024 左图的分辨率是 768 x 512,右图利用了 Hires. fix 功能放大了 2 倍。
在利用 Hires. fix 出来的结果是不错的,细节也更加丰富,但随之而来的缺点也很显着,启用了 Hires. fix
对图片举行放大,出图的时间会大幅增长,设置不高的设备甚至会爆显存。如果设置不高的电脑只管不要将图片放大得太多,建议不超2倍。
实操
接下来是实操环境。
咒语:
(best quality, masterpiece, perfect face, beautiful and aesthetic:1.2, colorful, dynamic angle), handsome beautiful woman humanoid woman robot part metal wires with wavy short dark hair, elegant, red lighting, realistic, concept art, smooth, detailed, high quality, alphonse mucha and waterhouse,, <lora:add_detail:0.5>, (high contrast, official art, extreme detailed, highest detailed)
放大倍数:通过调整 Upscale by 可以等比放大原图,这个参数是比力常用的。但电脑设置不太高的工友建议不要把该值设置得大于2。
手动调整宽高:Resize width to 和 Resize height to 可以分别调整图形的宽和高,会修改原图的比例。不建议利用。
设置了 Resize width to 和 Resize height to 后,Upscale by 就不见效了。
高分迭代步数 Hires steps
最后还可以通过选择差别的模子、差别的模子采样算法、正反向提示词对原图举行修改。这意味着你可以基于原图的底子上举行调整。
但默认是没有上图这些选项的,需要在 设置里手动开启 Hires fix: show hires checkpoint and sampler selection 和 Hires fix: show hires prompt and negative prompt,然后保存并重启UI。