Your Stable Diffusion Images Contain Your Prompt: What's Inside

Automatic1111, Forge and ComfyUI save your full prompt, seed and settings inside every image. Here's where it's stored, how to see it, and how to remove it.

Share a PNG straight out of a Stable Diffusion interface and you may be sharing a lot more than the picture. By default, the most popular tools embed the full generation recipe inside the file: your prompt, negative prompt, seed, sampler, model name and more.

Sometimes that's what you want, since it lets others reproduce your work. But if your prompts are your craft, or contain anything personal, it's worth knowing where this data lives.

Where the data is stored

Automatic1111 and Forge

These WebUIs write a PNG text chunk named parameters. It's plain text that looks something like this:

a lighthouse at dusk, oil painting, warm light
Negative prompt: blurry, low quality
Steps: 30, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1234567890,
Size: 768x512, Model hash: 6ce0161689, Model: dreamshaper_8

For JPEG and WebP output, the same text goes into the EXIF UserComment field.

ComfyUI

ComfyUI saves two PNG text chunks:

  • prompt: the executed node graph as JSON, including every text prompt, seed and model.
  • workflow: the full editable workflow, with node positions and settings.

That's why you can drag a ComfyUI image back into the interface and get the entire workflow back: it's all in the file.

Other tools

InvokeAI, NovelAI and other interfaces store similar data under their own chunk names or in EXIF and XMP fields. Hosted generators often add C2PA Content Credentials or XMP fields that mark the image as AI-generated instead.

What it can reveal

FieldWhat it reveals
Prompt and negative promptYour exact wording and techniques
Seed, sampler, steps, CFGEverything needed to reproduce the image
Model and LoRA names, hashesWhich checkpoints and fine-tunes you use
Workflow JSONYour full pipeline, including custom nodes and file paths

File paths in workflows can even include your computer's username or folder names.

How to see what's in an image

  • In the original UI: A1111 and Forge have a PNG Info tab, and ComfyUI loads workflows from dropped images.
  • In the browser: drop the image into the MetaZero cleaner. It shows a preview of the parameters, ComfyUI prompt and workflow chunks, and any other text metadata, without uploading the file.

How to stop saving it

  • Automatic1111 / Forge: in Settings → Saving images, there's an option to save generation parameters as PNG text chunks. Turn it off to stop embedding them.
  • ComfyUI: start it with the --disable-metadata flag to save images without the prompt and workflow chunks.

Turning this off affects new images only. Existing files still contain their data.

How to remove it from existing images

Drop them into the MetaZero cleaner and choose Lossless strip. For PNG files it removes all text chunks (parameters, prompt, workflow and any others), along with EXIF, XMP and C2PA data, while copying the compressed image data byte for byte. Your pixels don't change.

Batch cleaning works too: add a whole folder of images and download them together as a zip.

Keep a private copy

If you might want to reproduce an image later, keep the original with its metadata somewhere private, and share the cleaned copy. That way you keep your recipe without publishing it.