Regardless of the algorithm used, AI-based image generation always starts the same way: with a description of what you want to see. However, a very interesting detail is that the process also works in the other direction: we can load an existing image and ask for its interpretation. This system is known as CLIP Interrogator, and it has a very easy-to-use online version.

CLIP Interrogator: How to Generate Prompts from Existing Images
CLIP Interrogator

In recent weeks we've shared some resources to help you create your first AI images without too many hiccups. For example, the Lexica portal offers an excellent search engine with visual examples accompanied by their prompts and seed numbers, while Public Prompts has a series of more specific descriptions. Good prompt engineering is essential for detailed results, but if you feel trapped among strange expressions and unfamiliar names, why not flip the equation?

How to Generate Prompts with Existing Images Using CLIP Interrogator

CLIP Interrogator: How to Generate Prompts from Existing Images
If the prompt doesn't generate the image, let the image generate the prompt...

I mean loading an image and letting the algorithm try to interpret it. The prompt won't be perfect, but at least it will serve as a starting point for you to develop your own description. The tool is called CLIP Interrogator, and the best part is that you don't need to install anything to start using it, unless you prefer an alternative solution.

CLIP Interrogator: How to Generate Prompts from Existing Images
The description for one of my public photos is... fascinating. 'Hello darkness my old friend', a gem.

The version available on Hugging Face works quite well, and the waiting time isn't too long. Before uploading your own images, I recommend trying one of the samples to better visualize the results. One of the most interesting aspects of CLIP Interrogator is that it will help you discover new artists with a style similar to what you're trying to reproduce, and it's not limited to painting: you'll also find references to photographers and sculptors.

CLIP Interrogator: How to Generate Prompts from Existing Images
CLIP Interrogator works through the WebUI of Automatic1111, but the prompts are different

Finally, CLIP Interrogator is going through a viral phase, as many users on Twitter are using it to get descriptions of their own selfies with hilarious results. It's also already integrated into the WebUI, so you can run it offline. However, I must add that the models are slightly different, and that will be reflected in the prompts.

Official site: Click here