以下是给线稿上色的方法:
- 使用 Midjourney 和 Stable Diffusion 结合的方法:
- 生成线稿:使用 Midjourney 生成线稿,关键词如“Black and white line drawing illustration of a cute cat cartoon IP character,black line sketch,wearing a fortune hat,wearing a collar around the neck,Carrying a huge bag containing scrolls and ingots,matching rope and straps at his wrists,Chinese element style,popular toys,blind box toys,Disney style,white background --niji 5 --style expressive”。
- PS 修正:对生成的线稿在 PS 中手动重绘错误的地方。
- 上色设置:
- 正关键词:添加增加照片质感常用的+mj 生成线稿的关键词调整(去掉 mj 里线稿的关键词,一开始嘴巴效果不好,添加了张开嘴巴等关键词,颜色都是可以单独调整控制)+风格参数。如“((white background)),(8k,raw photo,best quality,masterpiece),(photon mapping,radiosity,physically-based rendering,automatic white balance),CG,unity,official art,amazing,finely detail,an extremely delicate and beautiful,extremely detailed,3d,rendering,c4d,blender,octane render,Chinese festive color scheme,open mouth,1 tooth,The cat has a pair of white gloves,a cute cat cartoon IP character,black line sketch,wearing a hat,wearing a collar around the neck,carrying a huge red bag,matching rope and straps at his wrists,Chinese element style,poular toys,blind box toys,Disney style”。
- 负关键词:根据效果添加,如“back and white,green,blue,purple”。
- 真实系大模型:如“revAnimated v1.2.2 版本”。
- 尺寸:最好和草稿图保持一致,若爆显存可保持比例缩小。
- ControlNet 设置:上传自己的草图到 ControlNet,点击启用,记得点?的图标让预处理器生效。
- 单独使用 Stable Diffusion 的方法:
- 上传线稿图:点开“ControlNet”的状态栏,在空白处上传线稿图,点击“启用”和“反转输出颜色”,在模型里选择“canny”的模型。
- 设置内容:
- 选择合适的大模型,如生成二次元图选择相应模型。
- 输入关键词,先写照片质量的关键词(比如:最高质量,大师杰作等),接着指定颜色,如“1 可爱女孩,五官精致,精致眼睛和嘴巴,银色长发,白皙的皮肤,水汪汪的大眼睛”,还可加上简单背景。负面关键词可复制前面的。