Skip to content

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

License

Notifications You must be signed in to change notification settings

EnsignMK/sd-webui-gelbooru-promptFork

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%