[AI]用LatentCouple与ComposableLora来做贴贴

楼主: clothg34569 (提拉米苏冰淇淋)   2023-03-06 21:48:12
ControlNet AI版已经有就不额外介绍了
这次主角是这两个
https://github.com/opparco/stable-diffusion-webui-two-shot
https://github.com/opparco/stable-diffusion-webui-composable-lora
最近蛮热门的主题
https://i.imgur.com/efpO5Ji.png
能像这样对图片中的区块分区Diffusion
像这个分三区 那关键字就换行之后用AND隔开
例如
2girls
AND silver hair
AND black hair
这样使用
而ComposableLora则是以AND隔开Lora作用范围
例如2girls AND <lora:a:0.8>, silver hair AND <lora:b:0.8>, black hair
两者可以同时作用
简单介绍完之后就是使用例子了
首先是不套Lora的
一开始用Prompt配合Latent Couple生线稿
rough sketch,outline, (monochrome), 2girls hugging, swoop, long white hair,
(empty white background)
AND rough sketch,outline, (monochrome), 2girls hugging, (flat breasts
loli:1.3), (long white chemise:1.3), swoop, bare shoulder, bare neck, long
white hair, smiling,(empty white background), (rough sketch,outline:1.2),
(monochrome:1.4)
AND rough sketch,outline, (monochrome), 2girls hugging, (big breasts
lady:1.2), (long white chemise:1.3), bare shoulder, bare neck, long white
hair, close mouth, (empty white background), (rough sketch,outline:1.2),
(monochrome:1.4)
https://i.imgur.com/yHiLnda.png
可以看到一次选多个区域的话
divisions 用1:5切成1*5的Array
选取时用0:0-2这样选取左边40%的空间
第一步结果
https://i.imgur.com/raGvpXz.png
再来丢进ControlNet
https://i.imgur.com/yVLiNnp.png
得到线稿
第二步上色+一些细节
Prompt:
rough sketch,outline, (monochrome), 2girls hugging, swoop, long hair, (empty
white background)
AND rough sketch,outline, (monochrome), 2girls hugging, (flat breasts
loli:1.3), (long white chemise:1.3), swoop, bare shoulder, bare neck, long
(white:1.2) hair, smiling,(empty white background), (rough
sketch,outline:1.2), (monochrome:1.4)
AND rough sketch,outline, (monochrome), 2girls hugging, (big breasts
lady:1.2), (long white chemise:1.3), bare shoulder, bare neck, long
(black:1.2) hair, close mouth, (empty white background), (rough
sketch,outline:1.2), (monochrome:1.4)
AND (blue eyes:1.3)
AND (red eyes:1.3)
https://i.imgur.com/gw2ulXK.png
这里将整张图片分五步制作
其中有使用
https://github.com/Zuntan03/LatentCoupleHelper
来帮忙选择区域
也可以使用AI版上那篇分享可能更好
https://www.ptt.cc/bbs/AI_Art/M.1677946780.A.6EF.html
成品:
https://i.imgur.com/LB5nJfY.png
https://i.imgur.com/6nIhhmd.png
https://i.imgur.com/LplUhCA.png
https://i.imgur.com/Qscx44L.png
还有一张我很喜欢但是手烂掉的
https://i.imgur.com/RhYbLfx.png
自己做贴贴+撞奶很简单对吧 :)
再来是使用Lora的简单例子
一样先Prompt生构图
https://i.imgur.com/E0XnYGA.png
https://i.imgur.com/MdvgQlI.png
ControlNet
Prompt:
symmetrical,straight-on, solo, 1girl sitting on the floor, feet apart, empty
white background
AND <lora:re0_emilia:0.8> , 1girl sitting on the
floor, (purple eyes),masterpiece, empty white background
AND <lora:re0_echidna:0.8> , 1 echidna (re zero)
sitting on the floor, black dress, black eyes,masterpiece, empty white
background
AND masterpiece, empty white background
https://i.imgur.com/0fXpcha.png
Latent Couple简单的设定
https://i.imgur.com/IObxYny.png
结果图
也能做出这样把两个角色贴再一起(物理)的图
以上就是LatentCouple和ComposableLora的简单介绍
一起来使用吧 :)
另外用这个要注意一下生一张图时间会变很久...
作者: IHateNMR (吃饱就睡睡不饱)   2023-03-06 22:15:00
优文,我原本以为只能生成两个不互动的角色
作者: gR7P4zXH (tpn7gpdx)   2023-03-06 23:18:00
uuuuuu文
作者: lastphil (おやすミルキィ)   2023-03-07 00:12:00
学习学习

Links booklink

Contact Us: admin [ a t ] ucptt.com