如何用在線Stable Diffusion WebUI輕松生成黑白線稿并上色?告別安裝、模型管理和GPU

如果你想要輕松地生成黑白線稿并上色,那么你一定不能錯(cuò)過(guò)在線Stable Diffusion WebUI。它是一種新穎的圖像生成方法,無(wú)需安裝、模型管理、GPU等麻煩,就能在線制作出各種風(fēng)格和效果的彩色圖片。快來(lái)跟我們一起學(xué)習(xí)如何使用它吧。在開(kāi)始之前,讓我們先看看Stable Diffusion WebUI生成的黑白線稿和彩色圖片的對(duì)比圖,你一定會(huì)被它們的質(zhì)量和多樣性驚艷。

一、用Stable Diffusion生成黑白線稿
首先使用正面和反面提示詞生成一張黑白線稿圖(也可以自己畫或者是直接上傳已有的)
正面提示詞:impasto,((((1girl)))),Metaverse,original,((an extremely delicate and beautiful)),(cyan theme),((intricate detail)),((((ultra-detailed))),((illustration)),(((masterpiece))),((extremely detailed CG unity 8k wallpaper)),highlight,sharpening,detailed face,((Perfect details)),(binary numbers),Science fiction,sense of digital,cold light,((data in the eyes)),((data adorns hair)),0 and 1 code,digitization,Running data,system screen,mathematical equation,young girl,(solo),(yubao), lineart, monochrome, <lora:animeoutlineV4_16:1>
負(fù)面提示詞:EasyNegative, badhandv4
其他的信息:
Sampling method: DPM++ 2M Karras
Sampling Steps: 20
Size: 512x512
CFG scale: 7
Seed: 3189341170
Checkpoint: revAnimated_v122
Lora:animeoutlineV4_16_23894

二、給黑白線稿上色
打開(kāi)ControlNet插件,上傳生成的黑白線稿,點(diǎn)擊啟用,選擇控制模型canny,接著會(huì)對(duì)應(yīng)生成預(yù)處理器canny,模型control_v11p_sd15。其他的參數(shù)可以保持默認(rèn)。最后點(diǎn)擊生成即可給黑白線稿上色。


以上圖片均使用No GPU WebUI(https://nogpu-webui.com/?utm_source=zhihu&utm_medium=article&utm_campaign=Line+Drawings)生成
