Wiki
FlickrLeetcode
  • 💞Artificial Intelligence
    • ⚙️Midjourney vs Stable Diffusion
    • ⚙️Creative QR Codes with ControlNet
      • ⚙️How to generate a QR Code
      • ⚙️Collect prompt
      • ⚙️clip skip
      • ⚙️AUTOMATIC1111
      • ⚙️Edge detection and human pose detection
    • ⚙️Stable Diffusion
    • ⚙️What is 'token' and 'turbo'?
    • ⚙️Today's learning--LangChain
      • ⚙️Prompt
    • ⚙️LLM Parameters Demystified
    • ⚙️What is Cohere playground?
    • ⚙️DALL-E
    • ⚙️How to use AI to learn something that you don't know?
    • ⚙️Diffusers
    • Boosting Algorithms in machine learning, part 1:AdaBoost
  • 💞GitHub
    • ✅How to add a issue of the code with GitHub?
    • ✅How to edit code?
    • ✅How to use GitHub Desktop
    • ✅How to review in GutHub?
  • 💞Lastest concepts for me
    • 🪅Pandas DataFrame
    • 🪅Choosing between loc and iloc
  • 💞Need to remember
    • 🔢An article for leetcode
    • 🉑two types of group work
    • 🍒What is hashtag#?
    • 🐝Week6_APD
    • 🦋API
    • 🎼BFF
  • 💞Python
    • 🐍argument & parameter
    • 🐍"{:.2f}"
    • 🐍Timeit in Python
    • 🐍Today's learning--Pylint
    • 🐍Split and Strip in Python
    • 🐍Getter and Setter in Python
    • 🐍"import json" in Python
    • 🐍Open CSV file in Python
    • 🐍print(f"An error occurred: {e}")
  • Page
  • 🪅command-line
  • 💞DataVisualization
    • 🪅How to choose plot type
  • 💞DataCleaning
    • 🪅Some basic code of data_cleaning
  • 💞Java
    • 🍡difference use between ArrayList and HashMap in Java
    • 🍡ArrayList & LinkedList
    • 🍡assertFalse(App.checkInputNumber(1,0))
      • 🍡HashSet
    • 🍡iterator
    • 🍡Java concept of assignment 1
    • 🍡Week6_Java
    • 🍡serializable
  • 💞Mark something that easily to forget
    • 🙉Mark something
    • 🙉How to edit cover picture from "Flickr" using "URL" in GitBook?
  • 💞VS Code
    • ✖️Install a project in VS Code
    • ✖️What should do after editing the code of one branch?
    • ✖️How to create a branch in VS code?
    • ✖️How to debug?
Powered by GitBook
On this page
  • Table of contents
  • 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"
  • 6.Go to img2img
  • Below are images that generated by stable diffusion.

Was this helpful?

Edit on GitHub
  1. Artificial Intelligence

Creative QR Codes with ControlNet

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

PreviousMidjourney vs Stable DiffusionNextHow to generate a QR Code

Last updated 1 year ago

Was this helpful?

reference:

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.

💞
⚙️
https://stable-diffusion-art.com/qr-code/#Japanese_girl