32 lines
1.3 KiB
Markdown
32 lines
1.3 KiB
Markdown
# 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](https://github.com/AUTOMATIC1111/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:
|
|

|