Tag Supermarket (Danbooru Tag Supermarket) is a website for building Danbooru tag combinations, with the URL https://tags.novelai.dev/。其当前页面显示为 A production build from 2022-12-08 12:06:56 +00:00, and it displays that it currently includes a total of 0 tags, 0 tags with illustrations, 0 preset tag groups, 0 embedding models, and 0 hypernetwork models.
Main purpose This site is aimed at organizing prompts (tags) in the AI painting and image generation process, helping users organize Danbooru tags into positive and negative tag lists, and allowing the tag order, weights, and combination methods to be edited.
Main capabilities Select a category in the sidebar; in the category tag cards, you can click to add a tag to the positive tag list, click to add it to the negative tag list; click twice to remove the tag from the list; click to copy a single tag to the clipboard. The display of illustrations can be controlled via the second switch in the upper right corner, because the illustrations may contain content unsuitable for viewing in the workplace. The fourth switch in the upper right corner can toggle between the Stable-Diffusion-WebUI format emphasis symbols and the NovelAI format emphasis symbols {}; changing this option changes the weight of each bracket from 1.10 times to 1.05 times. Tags in the shopping cart can be freely dragged to adjust their order, and tags placed earlier have higher weight. The third switch in the upper right corner can choose the step rate between linear transformation and exponential transformation. You can click a button to increase a tag's weight by 1.10 times, or reduce it to 90.91% of its original value; you can move a tag between the positive and negative directions; you can delete a tag from the shopping cart. By clicking a button in the shopping cart, or by dragging other tags onto a tag, you can create a blend group, and blend groups can be nested infinitely. The current application supports three types of blend groups: tag replacement (Prompt Editing, also known as step rendering), which accepts one to two tags and a percentage, uses the first tag in the group before the generation step represented by the percentage, and switches to the second tag in the group after reaching that step, and is only available in the Stable-Diffusion-WebUI format; tag alternation (Alternating Words), which accepts two or more tags, and alternates among the tags in the group at each step during generation, and is only available in the Stable-Diffusion-WebUI format; tag group, which is simply a combination composed of some tags, and is available in both the Stable-Diffusion-WebUI format and the NovelAI format. Regarding tag blending (Composable-Diffusion, i.e. AND syntax): support for tag blending syntax was added in commit 483896a was removed because that implementation had serious problems and deviated from the actual effect of the syntax. The scope of the AND syntax is the complete prompt sentence, and its precedence is higher than all other syntax; it splits the entire sentence into multiple parts and sends them separately to subsequent processing. Therefore, attempts to limit the scope of AND using characters such as parentheses or commas, or to nest it within other complex sentences, are invalid. Both sides of the AND separator should be complete prompt sentences. When using this tool together with the AND syntax, the clauses on both sides of the AND syntax should be handled separately, for example by manually joining the settlement output results with this connector, or, when using the import function, manually splitting the sentences on both sides of the AND connector and importing them separately. The first switch in the upper right corner can toggle the light background.
Usage Regarding the two parsers provided in "Import Tags": the naive parser is an old hand-made simple parser that can be used to parse tags mixing curly braces and parentheses. It has high tolerance for unbalanced parentheses and strange symbols and rarely crashes, but it may be difficult to parse accurate results and cannot parse complex mixed groups; the WebUI / NAI syntax parser is a new syntax analyzer built with Earley DSL, which supports accurate parsing of complex syntax but does not support mixed parentheses, has lower fault tolerance, and may freeze. When parsing, please make sure tags are separated by commas so that tag boundaries can be accurately distinguished; parentheses (including curly braces, square brackets, and parentheses; except parentheses escaped with \) must be adjacent to commas, and the case where parentheses are in the middle of a tag is not supported.
Source Code and License The source code and all original data of this site are open-sourced at danbooru-diffusion-prompt-builder @ GitHub under the GNU AGPL-3.0 license. If you find this site helpful, you can Star it on GitHub; you can also raise questions or suggestions through GitHub Issues, or modify or supplement this site through Pull Requests.
Applicable Scenarios and Limitations It is suitable for AI painting prompt construction scenarios that require selecting, copying, sorting, weighting, and combining Danbooru tags by category, especially involving the two formats Stable-Diffusion-WebUI and NovelAI. In terms of limitations: tag mixing (AND syntax) support has been removed; the two import parsers each have compatibility limitations; the accompanying images may contain not-safe-for-work content, and display needs to be controlled by the switch yourself.
Other Notes Regarding information such as charges, prices, platforms, and effects, the official text does not currently mentionit.