三个经典案例学会万能的图生图

案例三:inpaint(美女换衣服

操作步骤:

1、在图生图-inpaint中导入图片;

2、点击“Interrogate DeepBooru”反推提示词;

3、修改提示词衣服部分;

4、添加标准反向提示词;

5、用画笔涂抹需要修改的画面部分(不需要太精确,可以多涂抹一些边界);

6、参考下面的参数设置;

7、Batch count 可以设置为4或者8(看你电脑配置情况而定),可以多生成几张供选择最优图片;

设置参数:

Resize mode: Just resize

Mask blur: 4

Mask mode: Inpaint masked

Masked content: fill

Inpaint area: Whole picture

Only masked padding, pixels: 32

Sampling method: DPM adaptive

Sampling steps: 20

Restore faces: √

Resize to:

CFG Scale: 7

Denoising strength: 0.8

Seed: -1

ControlNet:

Enable: OpenPose

负面提示词通用版

EasyNegative, paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans,extra fingers,fewer fingers,strange fingers,bad hand,signature, watermark, username, blurry, bad feet,bad leg, duplicate, extra limb, ugly, disgusting, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blurry,mutated hands and fingers,

原创文章,作者:朋远方,如若转载,请注明出处:https://caovan.com/sangejingdiananlixuehuiwannengdetushengtu/.html

(10)
打赏 微信扫一扫 微信扫一扫
朋远方的头像朋远方
上一篇 2023年7月13日 下午5:37
下一篇 2023年7月19日 下午12:06

相关推荐

发表回复

登录后才能评论