Step into the mesmerizing world of optical illusions created through the magic of AI and Stable Diffusion. In this tutorial, we'll guide you through the process of creating squint images and hidden text using Stable Diffusion and ControlNet. Whether you're looking to transform stunning logo art, conceal text, or create mind-bending squint images, this tutorial is your gateway to exploring the captivating realm of technology-infused artistry.
To get started on this creative journey, you'll need to have Stable Diffusion installed on your system. If you haven't installed it yet, we've got you covered. You can find a comprehensive installation tutorial right on our website.
Next, you'll need to download and install ControlNet, a crucial component for managing image transformations, if you haven’t installed ControlNet yet you can watch our ControlNet Installation video.
Lastly you will need the QR Code Monster model. Go to the Hugging Face QR Code monster website and download “control_v1p_sd15_qrcode_monster.safetensors” & “control_v1p_sd15_qrcode_monster.yaml” Once downloaded, place the models in the following folder location: "stable-diffusion\stable-diffusion-webui\extensions\sd-webui-controlnet\models”.
Now, let's prepare the image that will be the canvas for our optical illusion. This technique is versatile and can be applied to various elements, including logos, pictures, and text.
For images, it's recommended to convert them into high-contrast black and white pictures. However, it's not mandatory to strictly transform them into black and white images as you will see in the examples later on.
When working with logos and text, it's essential to have a black logo/text on a white background. This combination provides Stable Diffusion with the ideal contrast and clarity to perform its magic, ensuring the optical illusion achieves the desired effect.
Now that we have our black and white canvas ready, let's proceed with creating the optical illusion. This technique works seamlessly with various elements, allowing you to experiment with logos, pictures, and text.
Once Stable Diffusion has been accessed, proceed to the 'txt2img' tab, select your favorite checkpoint and write your prompts. I used RealisticVision and Dreamshaper as my checkpoints.
Now adjust the following settings:
Next up, make sure you enable Hires. Fix, this will ensure a smooth transition between your canvas and the generated image.
Open up ControlNet and upload your prepared image. Here we only need to adjust a few settings. First off, don’t forget to enable ControlNet by checking the box.
Let's take a look at some examples of optical illusions created using this versatile technique. Each illusion offers a unique perspective and demonstrates the creative potential of Stable Diffusion with different elements.
In conclusion, the fusion of AI, Stable Diffusion, and ControlNet allows you to craft captivating optical illusions with logos, pictures, and text. Throughout this tutorial, you've learned how to transform various elements into mind-bending creations. By understanding the settings and experimenting with control weights, you can achieve unique results. The possibilities are endless, and you're now equipped to explore the world of optical illusions with confidence and creativity.
To make a picture black and white in Photoshop, follow these steps:
Alternatively, you can also use the "Black & White" adjustment layer for more control over the conversion. Here's how:
In the Black & White adjustment panel that appears, you can adjust the sliders for different color channels to fine-tune the black and white conversion to your liking.
Once you're satisfied with the result, click "OK."
While the tutorial primarily focuses on black and white transformations, you can adapt the technique to color images by adjusting the settings and exploring color-based effects. Feel free to experiment and share your findings.
Control Weight' is a critical parameter that influences the intensity of the squint effect in your images. You can vary this setting to achieve different levels of distortion, and the tutorial provides insights into finding the right balance for your desired outcome.
We have a full tutorial on our website that guides you through the installation process, ensuring you're ready to create squint images. How to Install Stable Diffusion on Windows