This web app allows you to view, edit, and save Stable Diffusion prompts and metadata embedded in PNG images. It is designed for images generated by tools like AUTOMATIC1111 and similar Stable Diffusion UIs.
- Drag & Drop or File Upload: Easily upload PNG images containing Stable Diffusion metadata.
- Prompt Extraction: Reads and displays the positive prompt, negative prompt, and generation parameters from the image metadata.
- Edit Prompts & Parameters: Modify the extracted prompts and parameters directly in the browser.
- Save Edits: Download a new PNG image with updated metadata embedded.
- Copy Prompt: Quickly copy the positive prompt to your clipboard.
- Upload Image:
- Drag and drop a PNG image onto the drop area, or use the file picker.
- View Metadata:
- The app extracts the prompt and parameters from the PNG's metadata and displays them in editable fields.
- Edit Metadata:
- You can change the positive prompt, negative prompt, and any parameters.
- Save Changes:
- Click "Save" to download a new PNG with your edits embedded in the metadata.
- Positive prompt
- Negative prompt
- Generation parameters (Steps, Sampler, CFG scale, Seed, Size, Model, etc.)
- Only PNG images are supported for reading and writing metadata.
- JPEG/WEBP support is not implemented yet.
- Open
index.htmlin your browser. - Upload a PNG image generated by Stable Diffusion.
- Edit the prompts and parameters as needed.
- Click "Save" to download the edited image.
index.html— Main HTML file and UIapp.js— Core logic for image upload, metadata extraction, editing, and savingstyle.css— Basic styles for the app