Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.26 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.26 KB

Gelbooru Prompt

Extension that gets tags for saved gelbooru images in AUTOMATIC1111's Stable Diffusion webui

What is this?

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

Additional Info:

How does this work?

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!

Requirements:

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

Showcase / Usage:

example_image