SD-WebUI Booru Tags to Prompt

SD-WebUI Booru Tags to Prompt is an extension for Stable Diffusion WebUI and Stable Diffusion WebUI Forge that allows the user to provide a link to a Booru, an online image board, page and fill the TXT2IMG positive prompt with a comma-separated list of the image’s tags. It was inspired by a similar project that worked only with Danbooru. I wanted to support multiple different image boards and after adding the couple I wanted, I continued adding more as I could find them.

The project can be directly installed in your SD-WebUI/Forge installation by following the instructions that can be found here. Note that for security, you should never trust code you are installing on your computer without verifying it.

If there are any other image boards that you think should be added to the list, start a discussion on the Discord server. If you find any issues that need to be corrected in the extension, leave a bug report on GitHub!

Usage

When you find an image on a supported image board, simply paste the URL into the extension’s text box and press the Get Tags button.

For example, using the image found here, the tags that are entered into the TXT2IMG positive prompt will be the following:

Be aware that there is no confirmation prompt and the operation is destructive. That is to say that whatever is already in your positive prompt will be overwritten immediately. Your negative prompt will remain untouched.