案例二: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