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

案例二:img2img(炫酷二维码

准备一个二维码,800*800,外边距0-20像素;

操作步骤:

1、在img2img上传一张正方形的图片;

2、用Interrogate DeepBooru反推出正向提示词;

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

4、按照如下参数设置

设置参数:

Resize mode:Just resize
Sampling method:DPM adaptive
Sampling steps:20
√ Restore faces
Resize to:768*768
Batch count:1
Batch size:1
CFG Scale:7
Denoising strength:0.75
Seed:-1

5、上传二维码
ControlNet Unit 0
√ Enable
Control Type:All
Preprocessor:inpaint_global_harmonious
Model:control_v1p_sd15_brightness [5f6aa6ed]
Control Weight:0.65
Starting Control Step:0
Ending Control Step:1
Control Mode:Balanced
Resize Mode:Crop and Resize

controlNet模型下载地址:https://huggingface.co/lllyasviel/ControlNet-v1-1/tree/main

brightness模型下载地址:https://huggingface.co/ioclab/ioc-controlnet/tree/main/models

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

Like (11)
Donate 微信扫一扫 微信扫一扫
朋远方的头像朋远方
Previous 2023年7月13日 下午5:37
Next 2023年7月19日 下午12:06

相关推荐

发表回复

Please Login to Comment