Extension that gets tags for saved gelbooru images in AUTOMATIC1111's Stable Diffusion webui
This is a small extension I wrote to let you automatically pull the tags for any saved gelbooru image in AUTOMATIC1111's stable-diffusion-webui
This extension just adds a collapsing pane in the UI that allows you to drag and drop any image saved from the image board site Gelbooru. The image file must still have it's original naming scheme:
- The MD5 hash must be the title of the image
- If an image's name begins with "sample_", this extension will automatically ignore it
Example:
9d27c7ff0afc26f47bf898c7090f151f.png
All you need to do is hit the "Get Tags" button, and it will put the fetched tags into the textbox below.
You can now use these tags in any prompt crafting you'd like to do. Enjoy!
This extensions requires beautifulsoup4, you'll need to install it to either your venv or globally depending on your setup
[inside venv/Scripts]
activate
pip install beautifulsoup4