下面我们来看一下具体的实现。
**【第一步】:**好坏线稿图片的天生
这里先容2种天生好坏线稿图片的方法。 方法1:使用Midjourney天生。这里附上咒语,可以稳定天生好坏线稿图片。
A beautiful and cute princess, wearing princess dress, full body, line draft, stick figures, changes in line thickness, black and white color matching, line art, minimalist, flat illustration --niji 5 --s 250
天生图片效果如下:
方法2:使用动漫AnimeLineart LORA
该LORA模型的先容可以参照:https://civitai.com/models/16014?modelVersionId=28907
正向提示词:masterpiece, best quality, a beautiful and cute princess, full body, clean white background, lineart, monochrome,
反向提示词:EasyNegative, badhandv4
大模型:Anything V4.5
VAE:Orangemix
采样器:DPM++ 2M Karras
采样迭代步数:20
天生图片的效果如下:
【第二步】ControlNet参数设置
预处置惩罚器:选择invert
模型:control_xxx_lineart
相干阐明:lineart模型(5种预处置惩罚器)以及canny模型这类线条模型都可以实现的,各人可以多实验体验一下。 【第三步】提示词的编写以及文生图相干参数设置
这里提示词可以只写图片中包含的元素以及图片质量的相干提示词即可。
提示词:A beautiful and cute princess, wearing princess dress, full body,
文生图相干参数设置