Tag hydrus images with embedded Stable Diffusion metadata.
Uses the hydrus client api to scan comfyui metadata for:
- ckpt_name
- vae_name
- lora_name
- sample_namer
- text
And adds these as tags against the image, for example: sd:checkpoint:revAnimated.safetensors
git clone https://github.com/VoidXedis/sd-hydrus-tagger
cd sd-hydrus-tagger
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Apply the tag
sd:pending
to anything you want processed- Add this tag when importing from stable diffusion output folders
- Enable the Client API:
- services > manage services > client api > run the client api > enable
- services > review services > client api > add > from api request
python main.py request-permissions # only needed once, accept the permissions in hydrus and copy the access key
python main.py process -k <access key from above> process-images
python main.py --help
python main.py process-images --help
All credit granted to https://github.com/staff0rd i just made minor tweaks to make it work with SDNext metadata