Writing better prompts
How do I find the prompt used to make an AI image?
Unless the creator shared it, the exact prompt is not stored in the image and cannot be pulled back out. What you can do is reverse engineer it: describe the subject, setting, light, camera angle, colour and medium you see, then generate, compare and adjust until your version is close. Asking a chat model to describe the image gives you a useful first draft.
Read the image like a photographer
Go through the picture in layers and write one line for each. This turns a vague feeling ("it looks cinematic") into words a model can act on.
- Subject and action: who or what, wearing what, doing what.
- Place and props: indoor or outdoor, the main objects in view.
- Light: where the brightest area is, how hard the shadows are, the colour of the light.
- Camera: how far away, how high, and how blurry the background is.
- Medium and finish: photo, 3D render, illustration, film grain, colour grade.
Use a chat model as your first draft
Upload the image to ChatGPT or Gemini and ask it to describe the picture as a generation prompt. The answer will not be the original prompt, but it is usually a good skeleton. Edit out guesses that are wrong and add details the model missed.
Then generate. Put the result next to the original and find the biggest difference. Fix that one thing, generate again, and repeat. A few rounds usually get close.
Check whether the prompt is already public
Many creators publish their prompts with the example image. Before you rebuild a popular look from scratch, search a prompt library. On OnPromptAds each prompt page shows the wording next to its example output, for instance this nighttime street portrait prompt, and the prompt library can be browsed by look. Copying someone else's exact style for commercial work is a separate question from learning how it was made.
Example prompt
Ask a chat model to draft the prompt
Look at the attached image and write a prompt that would produce an image like it. Cover, in this order: the main subject and what they are doing, the setting and props, the light source and direction, the camera distance and angle, how blurred the background is, the colour palette, and the medium (photo, render or illustration). Write it as five or six plain sentences. Do not guess brand names or the names of real people.
Related questions
Is the prompt saved inside the image file?
Some local tools can write settings into the file, but images shared on social media almost never carry them. Assume the prompt is not recoverable from the file.
Will the same prompt give me the same image?
No. Even with the right prompt, each generation varies. Aim for the same look, not a pixel copy. See why one word can change the whole image.
Where this question comes from: asked in r/midjourney, September 2026 (see the thread). The answer and the example prompts are our own.