In this video I'll explain how to use generative A.I. to create optical illusion images (also known as ambigrams, or anamorphic images), which can be made to resemble different subjects depending on how they are viewed.
All software is freely-available and can be run via a Python script on your own desktop PC - no licence or server subscription required!
I'll be using Stability AI's Deepfloyd IF model (published at [ Ссылка ]) to diffuse multiple views of the same image, based on different prompts, and different specified transformations, in parallel.
For example, you could generate an image that looked like a pigeon but at the same time, when flipped upside-down, looked like a rabbit and, when the colours were negated, looked like a map of Europe (maybe!).
All code used in this video is available here: [ Ссылка ]
Based on the method described in the research paper published here: [ Ссылка ] and associated code at [ Ссылка ]
![](https://i.ytimg.com/vi/KxiQRMe2BN4/maxresdefault.jpg)