【SD工作流】脑洞打开,提供另外萌物画图思路

846 阅读1分钟

AI绘图脑洞打开🫴,不止可以画小姐姐,还能画出其他可爱的东西

这里分享一个用SD画12生肖的羊角面包

包含以下知识点

  • 用文生图生成各种动物造型的羊角面包
  • 搭配ControlNet生成图像

完整工作流

  1. 使用SD+ControlNet生成原始图像

1.1 选择模型

C站图像模型:无法下载,下方留言,我私发链接

!!!注意:这是一个SDXL的模型,对 GPU 的要求会更高 XXMix_9realisticSDXL

1.2 文生图设置

SD里文生图的设置,按照以下设置

提示词:

close up gourmet food, [food] in the form of [animal]

精致的美食,以[动物]的形式制作[食品]

比如:

close up gourmet food, a croissant in the form of an elephant

靠近的美食,一只以大象形状制作的牛角面包

  • 采样器: DPM++ 2M Karras
  • 步数: 30
  • Refiner: sd_xl_refiner_1.0.safetensors
  • Refiner Switch at: 0.6
  • CFG scale: 7
  • Seed: -1
  • 长宽比: 1216×832

生成图像:

1.3 搭配ControlNet使用(可选)

可以用ControlNet IP adapter来设定一个参考的食物画面,比如我们可以用下面这张照片作为参考,相对之前直接出图,这张参考图的光线更暗,食品纹路更粗糙。

在ControlNet里设置

  • Preprocessor: ip-adapter_clip_sdxl
  • Model: ip-adapter_xl
  • Control Weight: 0.5
  • Starting Control Step: 0
  • Ending Control Step: 0.1 (Experiment with this. Increase to enhance the control.)
  • Control Mode: Balanced
  • Resize mode: Crop and Resize

然后能生成这样的图片

1.4 图片质量提升

点击这个按钮把原图发到

按照以下设置把画面提升

这样设置后能生成更好质量的图像