Stable Diffusion 艺术二维码
编辑于 2024-03-09 22:06:09 阅读 1237
模型
- 大模型:sd-v1.5
- LORA模型:诗意国潮插画_v1.safetensors
- ControlNet模型:control_v1p_sd15_qrcode_monster.safetensors
- ControlNet模型:controlnetQRPatternQR_v2Sd15.safetensors
- ControlNet模型:control_v1p_sd15_brightness.safetensors:调节亮度
- 二维码生成工具:sd-webui-qrcode-toolkit,据说是可以生成各式各样的二维码,最后还能把二维码发送的文生图tab页,但我这边测试,是发送失败了。如果接受手动保持二维码,直接访问他官网也是一样的。 https://qrcode.antfu.me/
使用
control_v1p_sd15_qrcode_monster.safetensors
或 controlnetQRPatternQR_v2Sd15.safetensors
都可以,然后配合control_v1p_sd15_brightness.safetensors
调节亮度
下面以control_v1p_sd15_qrcode_monster.safetensors
和control_v1p_sd15_brightness.safetensors
为例
提示词: 在诗意国潮插画
详情页找个好看的图片,复制其提示词,然后粘贴到sd,并填充参数
(((masterpiece,best quality))),illustration,meticulous painting,parameters,1girl,flower,cloud,<lora:诗意国潮插画:0.9>,
Negative prompt: (worst quality:2),(low quality:2),(normal quality:2),((monochrome)),((grayscale)),skin spots,acnes,skin blemishes,age spot,(ugly:1.3),(duplicate:1.3),(morbid:1.2),(mutilated:1.2),(tranny:1.3),mutated hands,(poorly drawn hands:1.5),blurry,(bad anatomy:1.2),(bad proportions:1.3),(disfigured:1.3),(missing arms:1.3),(extra legs:1.3),(fused fingers:1.6),(too many fingers:1.6),(unclear eyes:1.3),lowers,bad hands,missing fingers,extra digit,bad hands,missing fingers,(((extra arms and legs))),(fuze:1.4),(fuze:1.4),easynegative,ng_deepnegative_v1_75t,shadow,Shadow on face:2,(((watermark:2))),text,error,missing fingers,missing arms,missing legs,extra digit,extra fingers,fewer digits,extra limbs,extra arms,extra legs,malformed limbs,fused fingers,too many fingers,long neck,cross-eyed,mutated hands,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,ugly,duplicate,morbid,mutilated,out of frame,body out of frame,bad-hands-5,badhandv4,bad-artist,bad-artist-anime,bad_prompt_version2,negative_hand-neg,
Steps: 30, Size: 1920x1024, Seed: 3886657620, Sampler: Euler a, CFG scale: 5
注意
1、如果生成出来的图片,无法扫码识别,可以尝试调节以下参数 增大QR Pattern/QR Code Monster的权重 增加brightness控制器
2、如果图片中二维码的像素点痕迹太严重了 减小QR Pattern/QR Code Monster的权重 减小brightness控制器的权重
详细参数截图
第二个ControlNet 设置
参考
https://blog.csdn.net/sinat_29957455/article/details/131755232