ExifTool Forum

General => Metadata => Topic started by: StarGeek on November 17, 2022, 11:17:38 AM

Title: Stable Diffusion metadata compilation
Post by: StarGeek on November 17, 2022, 11:17:38 AM
Starting this thread to keep track of any Stable Diffusion metadata discovered with the goal of creating config files to write the data. So far there is

PNG:Parameters: unknown front-end, thread (https://exiftool.org/forum/index.php?topic=14165.0)

PNG:Dream, PNG:sd-metadata: unknown front-end, thread (https://exiftool.org/forum/index.php?topic=14166.0)
Title: Re: Stable Diffusion metadata compilation
Post by: blue-j on November 18, 2022, 01:55:34 PM
exif:ImageDescription   -  Prompt is populated here
exif:Model   -  "stability_diffusion"
exif:software     -  "stability.ai"
exif:imagehistory (TIFF/EP)   - OMG a huge list of numbers

See attached sample.   - J
Title: Re: Stable Diffusion metadata compilation
Post by: blue-j on November 18, 2022, 02:51:21 PM
One thing I cannot find is any record indicating the use of CLIP Guidance or not...

[EDIT]  attaching a screenshot of DreamStudio's UI for reference.

- J
Title: Re: Stable Diffusion metadata compilation
Post by: blue-j on November 20, 2022, 03:05:45 PM
In another thread, someone provided this URL: https://github.com/Eugenii10/exiftool-sd-format/blob/main/exif.fmt (https://github.com/Eugenii10/exiftool-sd-format/blob/main/exif.fmt)

The only thing new I see is "SD Extras" in the parameters output, a field I have not personally seen in the wild.

- J
Title: Re: Stable Diffusion metadata compilation
Post by: Phil Harvey on November 25, 2022, 08:11:39 AM
There was the "aesthetic_score" tag in this sample (https://exiftool.org/forum/index.php?msg=76257), but I don't know what wrote this.

- Phil
Title: Re: Stable Diffusion metadata compilation
Post by: blue-j on November 26, 2022, 09:50:16 PM
We really need our friends at the IPTC, EXIF, et al to devise fields that can be used commonly among AI-generated imagery.  These invented fields can't be supported for long, as more generative tools emerge!

- J
Title: Re: Stable Diffusion metadata compilation
Post by: StarGeek on November 27, 2022, 12:57:22 AM
For what it's worth, I'll soon be testing out SD myself.  Just bought a 3080 and I'll try and document any tag definitions I find here.
Title: Re: Stable Diffusion metadata compilation
Post by: blue-j on November 27, 2022, 05:34:33 PM
So awesome!  Have fun!!!  - J
Title: Re: Stable Diffusion metadata compilation
Post by: blue-j on December 04, 2022, 01:08:06 PM
Might be helpful?

https://medium.com/geekculture/run-stable-diffusion-in-your-local-computer-heres-a-step-by-step-guide-af128397d424 (https://medium.com/geekculture/run-stable-diffusion-in-your-local-computer-heres-a-step-by-step-guide-af128397d424)