Creating Illusions with Stable Diffusion and ControlNet — Hidden Figures in AI Art

The Artistry of Illusion: Hidden Figures in AI-Generated Art — Discover the Secrets Behind Creating Illusions with Stable Diffusion

Emanuele
5 min readSep 22, 2023

A fascinating trend has emerged that combines artistry and technology to create images that baffle the eye. This trend involves the use of Stable Diffusion and ControlNet to craft images with concealed text or shapes that only appear when you squint your eyes.

To create these illusions it’s best to work with a specific trained model known as Controlnet QR Code Monster for SD-1.5. This model is specifically designed to generate QR codes that are not only creative but also maintain their scanning functionality (most of the time). By tweaking parameters and prompts, we can use this model for compositions that are not QR code, creating the illusion effect.

It’s akin to an optical illusion brought to life through the power of AI. — squint your eyes and an hidden image will appear.

Not so hidden when zoomed out

The Magic Formula: Stable Diffusion 1.5, QrCodeMonster, and Stable-Diffusion-Web-UI

--

--

Emanuele

Coding and GenAI enthusiast // Flutter apps creator // Experimenting with LLMs and Stable Diffusion