santa hat
deerdeer nosedeer glow
Sign In

Controlnet QR Pattern (QR Codes)

2.7k
23k
46
0
Updated: Jul 23, 2023
tool
Verified:
SafeTensor
Type
Controlnet
Stats
18,114
Uploaded
Jul 07, 2023
Base Model
SD 1.5
Hash
AutoV2
F0648652D7
Nacholmo's Avatar
Nacholmo
Joined Dec 03, 2023
0
0
0
0
0

Controlnet model for use in qr codes

Conditioning only 25% of the pixels closest to black and the 25% closest to white.

Move the model and the .yaml to models/ControlNet

IMPORTANT:

Don't expect the images to be scannable at first, try to generate a lot of images and adjust the parameters. The recommended parameters are only recommendations, many images require different values.
Recommended parameters:

model: meinamix v8
Steps: 30, 
Size: 1024x1024,
ControlNet:
preprocessor: none,
weight: 1,
starting/ending: (0, 0.8),
control mode: Balanced

ADetailer steps: 36

I strongly recommend using the ADetailer extension to recover details from character faces.

Better results with a QR with rounded edges from this site:

https://qrcode.antfu.me/

Complete guide by Antfu:

https://antfu.me/posts/ai-qrcode-101

Fruit store by @.pos in discord (With the v1)


Want more or less strength in the model?

In the huggingface I uploaded various versions with less or more intensity:

https://huggingface.co/Nacholmo/controlnet-qr-pattern-v2