Python CLI for reading metadata embedded in images generated by Stable Diffusion.
Project description
sd-geninfo
Python CLI for reading metadata embedded in images generated by Stable Diffusion.
Dependencies
Installation
$ pip install sd-geninfo
Usage
usage: sd-geninfo [-h] -i INPUT [-o OUTPUT]
Python CLI for reading metadata embedded in images generated by Stable Diffusion.
options:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Path to input image from which to read metadata, will read from stdin if '-' is passed
-o OUTPUT, --output OUTPUT
Optional output path for writing metadata to, defaults to stdout write metadata
-c COLOR, --color COLOR
Whether to pretty print the json result in color, defaults to "--color=auto" which will pretty print when stdout is detected as a terminal, pass "--color=never" to force printing in plain text, pass "--color=always" to force pretty printing
-m, --minify
Whether to minify the JSON before outputting it, false by default
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sd-geninfo-0.0.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for sd_geninfo-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75725054fd00796b238643e69e1013a6b1586e3ae385fad3749748c46dd6e9a9 |
|
MD5 | 12d4b7c679e0fd6486dd732896d61e98 |
|
BLAKE2b-256 | 96d3bff83e94fd3ff85ad1b0e2428b6508322fac9fe06bf51f9e588307b9a669 |