Read the prompt behind any AI image
Drop a Stable Diffusion image or video to see its prompt, negative prompt, sampler settings, models and LoRAs.
- AUTOMATIC1111
- Forge
- ComfyUI
- Fooocus
- InvokeAI
- NovelAI
- SwarmUI
- SD.Next
- Civitai
- Draw Things
- Easy Diffusion
- TensorArt
- ChatGPT
- Gemini
Private by design
Files are read in your browser, and only the parts that hold metadata, so even large videos open instantly. Nothing is uploaded, logged or stored.
Every popular UI
AUTOMATIC1111 and its forks, ComfyUI workflows, Fooocus, InvokeAI, NovelAI, SwarmUI, Civitai and more, plus the AI labels of ChatGPT, Gemini and Grok.
Finds hidden data
Reads PNG text chunks, JPEG and WEBP EXIF and XMP, MP4 and WebM video tags, C2PA credentials, and stealth metadata hidden in the alpha channel.
For developers
Use it in your code
The same parser ships on npm and PyPI. It runs in Node.js, browsers, Deno, Bun and edge functions, with full TypeScript types, and in Python 3.10 or newer.
npm install sd-parsers # Python pip install sd-parse
import { ParserManager, getGenerationSettings, toInfotext } from "sd-parsers";
// reads only the metadata, even of a multi-gigabyte video
const info = await new ParserManager().parse("image.png");
if (info) {
console.log(getGenerationSettings(info)); // model, sampler, steps, seed, LoRAs...
console.log(toInfotext(info)); // AUTOMATIC1111 style text
}HTTP API
Or call the API
For quick scripts there is a small, shared API. It is rate limited, so for bulk work use the npm package, which does the same thing locally.
curl -X POST --data-binary @image.png \ https://sd-parsers.vercel.app/api/parse
- Send the image as the raw request body, or as a
filefield of a multipart form. - PNG, JPEG, WEBP, MP4, MOV, WebM or MKV, at most 4 MB.
- 5 requests per minute and 100 per day for each client, with a shared daily cap. Responses carry
RateLimit-*headers. - Stealth metadata in the alpha channel is only read on this page, not by the API.