Tips for creating illusion images with Illusion diffusion

4 Min Read
Illusion diffusion Beginner guide
image with text illusion diffusion tips

If you’ve spent time on Facebook, you’ve probably seen image posts that tell you to close your eyes a bit, and when you do, you realize that the image you are looking at includes an object or image you didn’t notice before. Believe it or not, creating those images is easier than it looks, and you don’t have to be a master at creating “2 pictures in 1” illusion images. You can use a tool called Illusion Diffusion.

Understanding illusion diffusion

Illusion diffusion uses Stable Diffusion model and ControlNet. Stable Diffusion helps create realistic and diverse images, while ControlNet guides the process based on your uploaded reference image. This guides the tool in generating an illusion image respecting both your prompt and the reference image. By using these models illusion diffusion can create visuals combined with a user-uploaded image that results in a single picture with two images or hidden elements that challenge perception.

How to create illusions using illusion diffusion

To get started, all you need is an idea, a prompt, and an image which will be the illusion (the image that won’t be noticeable right away). Here’s the process to create AI generated illusions with Illusion Diffusion.

  1. Choose your concept: Decide on the kind of illusion you want to create. Is it a double image illusion or an illusion photo with a hidden text message? Knowing this will help you understand which image you’ll need to upload as the reference image.
  2. Upload your image: Upload a clear, high-contrast image. Illusion Diffusion also gives you the option to use a webcam or upload an image from the clipboard, making it easy to provide the reference image.
  3. Adjust illusion strength: Modify the illusion strength depending on how noticeable you want the hidden image to be. A lower illusion strength value makes it subtler, while a higher value makes it more obvious.
  4. Add your prompts: Input a prompt to create the main image that will be visible right away. You can also add a negative prompt to guide the AI on what to avoid.
  5. Generate output: Create the illusion by clicking run, and the AI will process the input and generate a two-in-one image illusion.

Customizing your optical illusions with advanced settings

For most people, the basics work great, but if you want more control, dive into these settings:

  • Upscaler Strength: Adjusting this parameter can improve the quality of your final image, making details sharper and more defined.
  • Seed Value: To create a consistent image in terms of elements and layout, use a seed value. The images you generate with the same seed will have similar characteristics even if you rerun the prompt multiple times, change the reference image, or subtly tweak the illusion strength.
  • Dropdown Values: These are sampling methods used during the image generation process. The Euler method is faster and may yield good quality for simpler images. The DPM++ Karras SDE method often results in higher fidelity outputs with better detail and texture, suitable for complex images or when high-quality results are desired. Experiment with the dropdown values and see how they affect the quality of your image.

Tips for adjusting illusion strength

Illusion strength is key to making your hidden image noticeable but not too obvious. Here’s how to find the sweet spot:

  • Start with a value between 0.7 and 1, then adjust it based on how prominent you want the illusion to be.
  • Avoid extreme settings. If the illusion strength is too low, the illusion will be too hard to notice. Too high, and it’ll be too obvious, ruining the effect.

By carefully adjusting this setting, you can control how easily viewers notice the hidden image in your generated images.

Tips for creating engaging illusion images

Want people to engage with your optical illusion? Here are a few tricks:

  • Use a familiar image that your audience can quickly recognize.
  • Choose simple images, like portraits or logos, that don’t take too long to figure out.
  • Keep the illusion subtle enough to intrigue viewers, but not so simple that they spot it immediately.
  • Make sure the illusion image works with the main one. If they’re too mismatched, it won’t have the same “wow” factor.
  • Use high-contrast reference images with fewer elements for best results.
  • Run multiple iterations with slight changes to the illusion strength to get the best outcome.

Bonus: creating illusions with hidden text

Creating images with hidden text using Illusion Diffusion is a straightforward process. Here’s how to do it:

  1. Upload an image containing the text you want.
  2. Adjust the illusion strength so the text blends in, but not too much.
  3. Type your prompt, hit “Run,” and check if the hidden text is sneaky enough. If not, tweak the settings and try again.

With these steps, you can create amazing illusions that invite viewers to take a closer look.

Conclusion

Illusion Diffusion makes it simple to create cool illusion images. With these tips, you can create AI-generated illusions that leave people amazed and engaged.