⚙️Creative QR Codes with ControlNet

step by step on how to generate your QR code with AI.

Table of contents

  • Step 1: Clone a project from GitHub

  • Step 2: Open with GitHub Desktop. Click "Clone"

  • Step 3: Install some "Plug-in-board", such as "resource"

  • Step 4: Cick terminal input"make prepare" -->"enter"

  • Step 5: In termal, input"make run" -->"enter"

  • Step 6: Go to img2img to finish the steps.

1.Clone a project from GitHub

2.Open with GitHub Desktop. Click "Clone"

3.Install some "Plug-in-board", such as "resource".

4.Cick terminal input"make prepare" -->"enter"

5.In termal, input"make run" -->"enter"

Then it will generate a URL like: http://127.0.0.1:7860, click it to go to stable diffusion.

6.Go to img2img

Here are the prompt of Mechanical girl:

prompt: 1mechanical girl,ultra realistic details, portrait, global illumination, shadows, octane render, 8k, ultra sharp,intricate, ornaments detailed, cold colors, metal, egypician detail, highly intricate details, realistic light, trending on cgsociety, glowing eyes, facing camera, neon details, machanical limbs,blood vessels connected to tubes,mechanical vertebra attaching to back,mechanical cervial attaching to neck,sitting,wires and cables connecting to head

negative prompt: ugly, disfigured, low quality, blurry

Upload the QR code to the img2img canvas.

Enter the following image-to-image settings.

  • Resize mode: Just resize

  • Sampling method: DPM++2M Karras

  • Sampling step: 50

  • Width: 768

  • Height: 768

  • CFG Scale: 7

  • Denoising strength: 0.75

Upload the QR code to ControlNet‘s image canvas.

Enter the following ControlNet settings.

  • Enable: Yes

  • Control Type: Tile

  • Preprocessor: tile_resample

  • Model: control_xxx_tile

  • Control Weight: 0.87

  • Starting Control Step: 0.23

  • Ending Control Step: 0.9

Press Generate. -->click"save" -->click"download"

When you are successful, click termal in VS Code, then "control + C" to finish the working.

Here are our outputs. High five~~~

Below are images that generated by stable diffusion.

Last updated