Commit
·
86c5883
1
Parent(s):
6f4d4ac
add examples
Browse files
app.py
CHANGED
@@ -148,14 +148,16 @@ with gr.Blocks() as blocks:
|
|
148 |
|
149 |
There are two modes to generate beautiful QR codes:
|
150 |
|
151 |
-
1.
|
|
|
152 |
When using the QR code as both the init and control image, you can get QR Codes that blend in **very** naturally with your provided prompt.
|
153 |
The strength parameter defines how much noise is added to your QR code and the noisy QR code is then guided towards both your prompt and the QR code image via Controlnet.
|
154 |
Make sure to leave the radio *Use QR code as init image* checked and use a high strength value (between 0.8 and 0.95) and choose a lower conditioning scale (between 0.6 and 2.0).
|
155 |
This mode arguably achieves the asthetically most appealing images, but also requires more tuning of the controlnet conditioning scale and the strength value. If the generated image
|
156 |
looks way to much like the original QR code, make sure to gently increase the *strength* value and reduce the *conditioning* scale. Also check out the examples below.
|
157 |
|
158 |
-
2.
|
|
|
159 |
When providing an initial image or letting SD 2.1 generate the initial image, you have much more freedom to decide how the generated QR code can look like depending on your provided image.
|
160 |
This mode allows you to stongly steer the generated QR code into a style, landscape, motive that you provided before-hand. This mode tends to generate QR codes that
|
161 |
are less *"blend-in"* with the QR code itself. Make sure to choose high controlnet conditioning scales between 1.5 and 5.0 and lower strength values between 0.5 and 0.7. Also check examples below.
|
|
|
148 |
|
149 |
There are two modes to generate beautiful QR codes:
|
150 |
|
151 |
+
**1. Blend-in mode**.
|
152 |
+
Use the QR code image as the initial image **and** the control image.
|
153 |
When using the QR code as both the init and control image, you can get QR Codes that blend in **very** naturally with your provided prompt.
|
154 |
The strength parameter defines how much noise is added to your QR code and the noisy QR code is then guided towards both your prompt and the QR code image via Controlnet.
|
155 |
Make sure to leave the radio *Use QR code as init image* checked and use a high strength value (between 0.8 and 0.95) and choose a lower conditioning scale (between 0.6 and 2.0).
|
156 |
This mode arguably achieves the asthetically most appealing images, but also requires more tuning of the controlnet conditioning scale and the strength value. If the generated image
|
157 |
looks way to much like the original QR code, make sure to gently increase the *strength* value and reduce the *conditioning* scale. Also check out the examples below.
|
158 |
|
159 |
+
**2. Condition-only mode**.
|
160 |
+
Use the QR code image **only** as the control image and denoise from a provided initial image.
|
161 |
When providing an initial image or letting SD 2.1 generate the initial image, you have much more freedom to decide how the generated QR code can look like depending on your provided image.
|
162 |
This mode allows you to stongly steer the generated QR code into a style, landscape, motive that you provided before-hand. This mode tends to generate QR codes that
|
163 |
are less *"blend-in"* with the QR code itself. Make sure to choose high controlnet conditioning scales between 1.5 and 5.0 and lower strength values between 0.5 and 0.7. Also check examples below.
|