The world of AI-generated art is constantly evolving, and one trend that’s capturing attention is the creation of optical illusions that make subjects appear to leap out of their frames. This technique, inspired by the classic art form known as trompe-l’œil, tricks the eye into perceiving three-dimensional realism in a two-dimensional medium. Here’s a guide to crafting your own captivating AI art that seemingly steps off the screen, complete with useful prompts and practical tips. Jim the AI whisperer, a user from medium.com , suggests an interesting way to produce this effect.
Understanding Trompe-l’œil
Trompe-l’œil, a French term meaning “deceive the eye,” dates back to ancient Greek art and is renowned for its ability to create the illusion of three-dimensionality on flat surfaces. A notable example is Pere Borrell del Caso’s 1874 painting ‘Escaping Criticism,’ where a figure appears to be stepping out of the frame. This technique hinges on mastering framing, perspective, and realistic detailing to blur the lines between the artwork and reality.
Why AI Art Is Perfect for Trompe-l’œil
AI art, sitting at the intersection of the artificial and the real, lends itself beautifully to trompe-l’œil illusions. The recent surge in AI-generated “out of bound” portraits highlights the popularity of this trend. By using AI tools, artists can easily manipulate perspective and detail to create images where subjects seem to break free from their confines, engaging viewers in a visual spectacle.

Crafting the Perfect AI Art Prompt
Creating compelling AI art starts with a well-crafted prompt. Here’s a basic template:
imagine/ A smiling [subject] is leaning out of the billboard on which [he/she] is printed, pointing with one hand. The photo was taken from below, and there were no cars or people around. He wears [outfit]. It looks like an advertising shot for TV shows. The photography has high resolution, high definition, and is ultra realistic in the style of advertising photography [aspect ratio and any other parameters]
Key elements to include in your prompt:
- Subject Details: Specify the subject’s appearance and action.
- Framing: Describe the setting, ensuring it enhances the illusion of depth.
- Perspective: Use a low camera angle for forced perspective.
- Clarity: Remove extraneous details to maintain focus.
- Realism: Emphasize high resolution and realistic textures.
Midjourney is a popular AI image generator known for its balance of ease of use and technical capabilities. However, other tools like Bing’s Copilot also work effectively with these prompts. Experiment with different platforms to find the one that best suits your style.

Step-by-Step Guide to Creating AI Art
Choose Your Subject: Select a person or object to feature prominently.
Design the Frame: This could be a billboard, window, or any boundary that the subject appears to break through.
Adjust the Perspective: A low angle enhances the three-dimensional effect.
Simplify the Scene: Eliminate distractions to focus on the main illusion.
Enhance Realism: Use realistic textures and appropriate shadows to blend the subject with their environment.
Regenerate and Edit: Iterate on your image, tweaking details in a photo editor if necessary.
The Art of Optical Illusions in AI
The use of optical illusions in AI art goes beyond mere trickery. It creates a dialogue between the viewer and the artwork, prompting questions about reality and perception. This technique is particularly effective in advertising, where it can capture attention and spark curiosity.
Creating AI art that jumps off the screen is an exciting way to explore the boundaries of digital creativity. By mastering the principles of trompe-l’œil and utilizing advanced AI tools, artists can produce visually stunning works that captivate and engage audiences. Whether for personal enjoyment or viral potential, this technique offers a fresh, interactive way to experience art in the digital age. Dive in, experiment, and let your imagination run wild.