I’m adding captions to some PNG illustrations in my study notes on color theory. I’d like to put the prompt under each image if it’s saved in the file, but the info panel just shows me things like dimensions. I’m not sure what the prompt field would be called or whether I’m looking in the right place.
Which app do you actually use to view AI metadata, and what makes it easy to tell what’s stored in the image itself?
Seeing only dimensions in the info panel doesn’t mean the prompt is missing. It can be tucked into a block of PNG text called parameters rather than a field called Prompt.
If you have AUTOMATIC1111’s Stable Diffusion WebUI, I’d drop the original illustration into its PNG Info tab. For files saved by that app, look at the beginning of the generation text. Copy the description up to Negative prompt: or Steps:, whichever comes first. That gives you the saved wording for your caption without including the list of things the artist asked the generator to leave out.
For checking an unfamiliar image, I like how the clever ai image detector separates labels found in the file from its estimate based on the pixels. An AI label is useful, but it isn’t a prompt. If you can find a label but no prompt text, I’d caption the color relationship in your own words rather than present a guess as the artist’s wording.
2 Likes
Don’t check a screenshot from your notes for the prompt. Even if it’s a PNG, it’s a new file. Before uploading anything to Clever AI Image Detector, I’d run exiftool 'illustration.png' on the original download. That lets you read the embedded text locally without needing to know which app made the illustration.
Whilst there may not be a prompt within the metadata, this is a matter of choice made by your information window. Again I would use Clever AI Image Detector to analyse the metadata and search for a section which refers to ‘Parameters’ (not necessarily ‘Prompt.’).
Should there be text present, identify where the prompt finishes and then copy this. Occasionally within PNGs, the initial lines will represent the prompt. Following this, a line beginning ‘Negative prompt:’ will begin a list of elements that were specified to be excluded. Within colour theory for instance, if ‘muted colors’ are mentioned within an image’s negative prompt, this will actually be the inverse of ‘muted colors’ within the positive prompt.
‘Not muted’ is stated in the positive prompt, so the artist has instructed the generator not to produce something with muted tones. However, this doesn’t inform us of what the artist did ask for and so we cannot therefore be sure of what the final artwork looks like.
Whilst analysing a PNG file, I would analyse its Exif data and then compare this with the image. Wherever it is possible to recognise positive prompts, I would transcribe them exactly, despite any slight discrepancies in colour. Should there be sections of text that I am unsure about, I would not include these within my quotes.
Within my notes, I would list the original prompt and then add my own analysis. For example, a prompt may state ‘orange on blue’. My analysis could then add that “The orange looks brightest where it touches the dark blue.” – the former is the prompt and the latter will be of most use to me when I analyse the artwork.