Karelia Labs

Karelia Prompt free tool

Read the prompt from an AI image

A free PNG info reader. Drop an image made with Stable Diffusion WebUI, Forge or ComfyUI and get the prompt, negative prompt, seed, sampler and model it was made with, or the whole workflow. It runs in your browser. The image is not uploaded.

  • Prompt
  • Negative prompt
  • Seed
  • Sampler and steps
  • Model and LoRA
  • ComfyUI workflow

Where an AI image keeps its prompt

Stable Diffusion WebUI, Forge and ComfyUI save how a picture was made inside the picture file. The WebUI calls its viewer for that data PNG Info. Karelia Prompt reads the same data without installing anything, and splits it into parts you can copy.

What it decodes

  • The parameters text of Stable Diffusion WebUI and Forge: prompt, negative prompt, steps, sampler, CFG scale, seed, size, model and LoRA hashes.
  • The same text when it sits in the EXIF data of a JPG or WebP.
  • The ComfyUI node graph: the text that feeds the sampler, with seed, steps, CFG, sampler, scheduler, checkpoint, LoRAs and size.
  • The ComfyUI workflow, as a JSON file you can drop back on the ComfyUI canvas.

Any other text block in the file is shown as it is, so nothing stays hidden.

When there is nothing to read

  • The picture was posted to a social or chat app. Most of them rewrite the file and the text is gone.
  • It is a screenshot, or it was opened and saved again in an editor that drops text blocks.
  • The generator was set not to save its data, or it is a hosted service that writes none.
  • The file is HEIC, AVIF or GIF. Those are not read.

The file the generator itself saved is the one that has the prompt.

How it works

  1. Drop an image

    Or click the box and choose one, or paste one with Ctrl+V. The file is read by this page on your own device.

  2. The text blocks are decoded

    PNG text blocks and the EXIF comment field are read. A WebUI text is split into prompt, negative prompt and settings, and a ComfyUI graph is followed from its sampler back to its text.

  3. Copy what you need

    Copy the prompt, the negative prompt or everything at once, or download the ComfyUI workflow.

A whole folder at once, without the internet

Karelia Image removes this data from one image at a time, for free. The PureImage Offline Edition is the same cleaner as one small file on your own computer: drop a whole folder, get one ZIP back with a receipt for each image, and it works with the network unplugged. $14.99 once, no account.

Questions

What is PNG info?

PNG Info is the tab in Stable Diffusion WebUI that shows the generation data stored in an image. The data is a text block inside the PNG file. This page reads that block in your browser, so you do not need the WebUI running to see how an image was made.

Which generators does it read?

Stable Diffusion WebUI by AUTOMATIC1111, Forge and other tools that write the same parameters text, and ComfyUI. Text blocks written by other tools are shown as they are, without being split into parts.

Why is there no prompt in my image?

The data lives in the file, and many things remove it: uploading to most social and chat apps, taking a screenshot, or saving the picture again in an editor. Some hosted generators never write it. Try the original file from the output folder of the generator.

Can I load the workflow back into ComfyUI?

Yes. Download workflow.json here and drop it on the ComfyUI canvas. Dropping the original PNG on the canvas does the same, as long as the file still has its workflow.

Does it work with JPG and WebP?

For the WebUI format, yes: when a picture is saved as JPG or WebP, the parameters text is stored in the EXIF comment field, and it is read from there. ComfyUI workflows are read from PNG files.

Does the image leave my computer?

No. The file is opened by code that runs in this page, on your device. There is no upload step and no account. You can load the page, go offline and it still reads images.

How do I remove the prompt before I post an image?

Use Karelia Image. It cuts the text blocks and the workflow out of the file without changing the picture. The guide Remove the prompt from a Stable Diffusion or ComfyUI image covers the options.

Is the prompt in the file always the real one?

It is what the file says. The text can be edited after the picture was made, and a ComfyUI graph can build its prompt from several nodes or change it on the way to the sampler. Open the extra text fields under the result to see every text in the graph.