Image Generation

'''This guide is focused on nascent technology. As a result, contents might be highly volatile.'''

Anlatan already provides an in-depth guide to using their Image Generation service here. It is highly recommended you read it thoroughly because it explains every functionality and all pieces of the UI in great detail.

This guide aims to provide with more in depth information for power users.

-

= Tags =

Tags are based on the Danbooru standard. Boorus are "imageboards", sites where large amounts of images are saved in order to catalogue the body of work of artists. This stemmed from a difficulty to find and archive art reliably, as Japanese artists have a very different relationship with their works than Western cultures do.

As a result, these sites were created to host as many images as possible, and make them easy to find by applying tags. These tags describe elements of the image, such as character design elements (hair, eyes, etc), poses, objects, and much more.

If you are going to go and trawl Danbooru's tag database, keep in mind that the site is extremely unsafe for work!

NovelAI Diffusion Tagging
To use Tags in NAIDiffusion, preface your prompt with. You can put elements behind it as well, but it's ideal to begin with just that.

After this, you may assemble a list of tags freely.

There are several tag categories that are important to know, due to how extensively they were used in tagging.

Quality Tags
You may have heard of the  tag being used to "improve generation quality". This goes a little bit more in depth.

Images were classified according to a percentile "quality score". Different tags were then applied to training images based on that score. From highest percentiles to lowest percentiles:

If you use any of the Unwanted Content default filters, the latter two are automatically put in Unwanted Content. You can disable the filter or write them in your prompt to activate them anyway.

You only need one tag, though generally you won't need one. It is better to downbias bad things than overly bias "good" things, as this may damage creativity. Generally just using the default Unwanted Content filters will be fine.

Counting Characters and Gender
One of the ubiquitous booru tags is the gender count tag. Whenever there is a number of characters in frame, then they are counted by gender.

The tag format is always the same. A number from one to 6 (with a plus if more than 6), followed immediately by the gender.

You can also use  as a gender for androgynous or transgender characters. Generally, they will look rather feminine nonetheless.

This tag is almost universally put in first position because it starts with a number rather than a letter, but you can put it anywhere. Those tags are very powerful, so you might not even need to use them, if you simply describe a character. It is mostly to make sure you have that number of characters in frame, or reinforce gender expectations.

If you are looking to generate gender noncomforming characters, here are a few tags.

can help generate soft boys.

can help generate butch girls.

Character Reference and Artist Reference
After you specified quality and character number/gender, you'll want to specify, if applicable, the Reference Character, if you are generating a known character from another franchise. After that, append  and the artist name.

For example, if you want to generate Makoto Kusanagi in the style of the latest Ghost in the Shell production, you would use:

Keep in mind that Boorus use Japanese name order, meaning that family name comes first.