[Stable Diffusion]风格化

文生图

如果是文生图,可以通过修改提示语的方法来风格化图像。

比如我们想要一张躺在书桌上的小猫动漫图:

1
a cute cat, lie on a table, in a room, sunlight,

我们可以通过修改提示语来风格化图像,比如:

正面提示语

1
anime artwork {prompt}, anime style, key visual, vibrant, studio anime, highly detailed

负面提示语

1
photo, deformed, black and white, realism, disfigured, low contrast

使用修改提示语来风格化图像受到模型的限制,不同模型可能会需要不同的提示语。

SDXL模型的风格提示语可以参考这里

图生图

用图生图的方法来风格化是很传统的方法了。

比如我们之前真人化lofi girl的例子。

启发:可以看看webui的img2img alternative test