Have you noticed that various AI art QR codes have appeared on the Internet recently? Taken up a dimension! How can we as designers not?
Today I will teach you how to make this kind of super artistic QR code, which just raises the QR code to an artistic level, such as this:
Now everyone is starting to scroll, and they are comparing whose QR code looks the least like a QR code? The following will teach you how to quickly generate such a QR code, let's try it together!
丨Install Stable diffusion
Stable diffusion is a latent diffusion model-based text-to-image generation model capable of generating high-quality, high-resolution, and highly realistic images from arbitrary text inputs.
丨Install the controlnet +Adetailer plug-in
Open Stable diffusion, then select "Extensions" - "Install from URL" various extension tools!
Copy the address below to the URL of the extended git warehouse, and then click "Install". After the installation is complete, you need to restart Stable diffusion.
Controlnet plug-in
git address: https://gitcode.net/ranting8323/sd-webui-controlnet.git
Adetailer plug-in
git address: https://github.com/Bing-su/adetailer.git
If you are using the integration package of @秋叶aaaki, the controlnet plug-in is already included, and you only need to install the Adetailer plug-in.
丨Required model
Before starting, we need to download several important models ( click to download ), these models must be downloaded, this is very important.
The main model [ ReV Animated ] is placed in this directory: sd-webui-aki-v4.1\models\Stable-diffusion, and
the two [ controlnet ] plug-in models are all placed in this directory: sd-webui-aki-v4. 1\extensions\sd-webui-controlnet\models
丨Adjust QR code parameters
1. First of all, we need to decode the QR code first. You can go to the QR code website to decode your QR code into a link address.
2. Then enter the QRToolkit website , paste the decoded link, and you can set the parameters of the regenerated QR code according to your needs.
It is recommended that you do not use the black QR code color, other random colors should feel better!
丨 Generate QR code
1. First, we first select "Main model: ReV Animated" in the upper left corner, and then continue to configure the following.
Text area:
(masterpiece,best quality),pretty 1girl,8k uhd, green hair, full body ,twintails, white dress, cute,white ribbon,white lace.blue sky Antonyms: 3d, cartoon, anime, sketches, (
worst
quality , bad quality, child, cropped:1.4) ((monochrome)), ((grayscale)), (bad-hands-5:1.0), (badhandv4:1.0), (easynegative:0.8), (bad-artist-anime :0.8), (bad-artist:0.8), (bad_prompt:0.8), (bad-picture-chill-75v:0.8), (bad_prompt_version2:0.8), (bad_quality:0.8) The following are the parameters I used,
everyone You can reproduce it, or you can set it yourself!
The basic configuration of drawing is as follows:
If there are characters in your prompt words, or the model is a large model of characters, you can choose to open ADetailer, the parameters are as follows:
ControlNet enables two layers of control, one for QRMonster and one for Brightness, the parameters are as follows:
Except for the plug-in and CN model, the large model and all the above parameters can be changed at will, but it is not recommended to be too far away from the recommended value in the figure, otherwise the generated QR code cannot be recognized. Well, let’s start it now!