Skip to content

An up-to-date list of danbooru tags for use with image gen models (SwarmUI/tag-complete format)

Notifications You must be signed in to change notification settings

BetaDoggo/danbooru-tag-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

I was looking for an updated danbooru tag list but I couldn't find a recent one that was in the correct format, so I made my own.

Based on this original script: https://gist.github.com/bem13/596ec5f341aaaefbabcbf1468d7852d5

requires the requests library (pip install requests)

Go To Model Tags

Main Changes:

  • Allows setting minimum post threshold
  • Allows '-' format (found to be better for prompt following)
  • Saves tag categories (used by SwarmUI and tag-complete)
  • Uses the UI's expected formatting
  • Slightly faster rate limit
  • Ability to exclude tag categories
  • aliases (UI support varies) (danbooru aliases only)
  • supports pulling tags from e621 (optional)
  • supports setting a cutoff date (applies to danbooru only)

About the uploaded lists:

I've uploaded premade versions of every all-category list with the minimum threshold set to 50, and aliases enabled. Aliases are only currently supported for danbooru because e621 has way too many and some overlap with real danbooru tags. There's some half working commented out code that will also pull aliases from e621 which I might support for e621-only lists, but for now I don't want to look at any more furry art.

The format is as follows:

tag category post count aliases(if enabled)

Use with common UIs

SwarmUI

Place one of the lists in the SwarmUI\Data\Autocompletions folder then select the list in User->User Settings. The other settings are up to personal preference. image

ComfyUI

Install the ComfyUI-Custom-Scripts node pack then follow the instructions here for getting the correct link to add the list

Krita-AI-Diffusion

Go to the interface section of the plugin's settings page then click the folder icon to open the folder where you need to place the lists. image

Stable-Diffusion-webui / Forge / Reforge

Install the a1111-sd-webui-tagcomplete extension then place the tag file in the a1111-sd-webui-tagcomplete/tags folder. You then need to change the list used in the extension settings.

About

An up-to-date list of danbooru tags for use with image gen models (SwarmUI/tag-complete format)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages