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