ArtiWaifu Diffusion

CHECKPOINT
Reprint


Updated:

5.7K
  1. I'm not the original creator; all glory goes to Euge_. This module will be returned to the author upon request.

  2. If you are the original creator and want to claim the module, please leave a comment, and I will delete the module as soon as possible.

Due to word limit, please visit https://civitai.com/models/435207/artiwaifu-diffusion?modelVersionId=484768 for more tutorials.

ArtiWaifu Diffusion

We have released the ArtiWaifu Diffusion model, designed to generate aesthetically pleasing and faithfully restored anime-style illustrations.

The AWA Diffusion is an iteration of the Stable Diffusion XL model, mastering over 6000 artistic styles and more than 4000 anime characters, generating images through trigger words.

As a specialized image generation model for anime, it excels in producing high-quality anime images, especially in generating images with highly recognizable styles and characters while maintaining a consistently high-quality aesthetic expression.

Model Details

The AWA Diffusion model is fine-tuned from Stable Diffusion XL, with a selected dataset of 1.5M high-quality anime images, covering a wide range of both popular and niche anime concepts up to April 15, 2024. AWA Diffusion employs our most advanced training strategies, enabling users to easily induce the model to generate images of specific characters or styles while maintaining high image quality and aesthetic expression.

Model Information

Usage Guide

This guide will (i) introduce the model's recommended usage methods and prompt writing strategies, aiming to provide suggestions for generation, and (ii) serve as a reference document for model usage, detailing the writing patterns and strategies for trigger words, quality tags, rating tags, style tags, and character tags.

Basic Usage

  • CFG scale: 5-11

  • Resolution: Area (= width x height) around 1024x1024. Not lower than 256x256, and resolutions where both length and width are multiples of 32.

  • Sampling method: Euler A (50+ steps) or DPM++ 2M Karras (~35 steps)

Due to the special training method, AWA's optimal inference step count are higher than regular values. As the inference steps increase, the quality of the generated images can continue to improve...

❓ Question: Why not use the standard SDXL resolution?

💡 Answer: Because the bucketing algorithm used in training does not adhere to a fixed set of buckets. Although this does not conform to positional encoding, we have not observed any adverse effects.

Prompting Strategies

All text-to-image diffusion models have a notoriously high sensitivity to prompt, and AWA Diffusion is no exception. Even a misspelling in the prompt, or even replacing spaces with underscores, can affect the generated results. AWA Diffusion encourages users to write prompt in tags separated by comma + space ( ,). Although the model also supports natural language descriptions as prompt, or an intermix of both, the tag-by-tag format is more stable and user-friendly.

When describing a specific ACG concept, such as a character, style, or scene, we recommend users choose tags from the Danbooru tags and replace underscores in the Danbooru tags with spaces to ensure the model accurately understands your needs. For example, bishop_(chess) should be written as bishop (chess), and in inference tools like AUTOMATIC1111 WebUI that use parentheses to weight prompt, all parentheses within the tags should be escaped, i.e., bishop \(chess\).

Tag Ordering

Including AWA Diffusion, most diffusion models better understand logically ordered tags. While tag ordering is not mandatory, it can help the model better understand your needs. Generally, the earlier the tag in the order, the greater its impact on generation.

Below is an example of tag ordering. The example organizes the order of tags, prepends art style tags and character tags because style and subject are the most important to the image. Subsequently, other tags are added in order of importance. Lastly, aesthetic tags and quality tags are positioned at the end to further emphasize the aesthetics of the image:

art style (by xxx) -> character (1 frieren (sousou no frieren)) -> race (elf) -> composition (cowboy shot) -> painting style (impasto) -> theme (fantasy theme) -> main environment (in the forest, at day) -> background (gradient background) -> action (sitting on ground) -> expression (expressionless) -> main characteristics (white hair) -> other characteristics (twintails, green eyes, parted lip) -> clothing (wearing a white dress) -> clothing accessories (frills) -> other items (holding a magic wand) -> secondary environment (grass, sunshine) -> aesthetics (beautiful colordetailed) -> quality (best quality) -> secondary description (birds, cloud, butterfly)

Tag order is not set in stone. Flexibility in writing prompt can yield better results. For example, if the effect of a concept (such as style) is too strong and detracts from the aesthetic appeal of the image, you can move it to a later position to reduce its impact.

Negative Prompt

Negative prompt are not necessary for AWA Diffusion. If you use negative prompt, it is not the case that the more negative prompt, the better. They should be as concise as possible and easily recognizable by the model. Too many negative words may lead to poorer generation results. Here are some recommended scenarios for using negative prompt:

  1. Watermark: signature, logo, artist name;

  2. Quality: worst quality, lowres, ugly, abstract;

  3. Style: real life, 3d, celluloid, sketch, draft;

  4. Human anatomy: deformed hand, fused fingers, extra limbs, extra arms, missing arm, extra legs, missing leg, extra digits, fewer digits

Trigger Words

Add trigger words to your prompts to inform the model about the concept you want to generate. Trigger words can include character names, artistic styles, scenes, actions, quality, etc.

Tips for Trigger Word

  1. Typos: The model is very sensitive to the spelling of trigger words. Even a single letter difference can cause a trigger to fail or lead to unexpected results.

  2. Bracket Escaping: Pay attention when using inference tools that rely on parentheses for weighting prompt, such as AUTOMATIC1111 WebUI, to escape parentheses in trigger words, e.g., 1lucy(cyberpunk) -> 1lucy \(cyberpunk\).

  3. Triggering Effect Preview:Through searching tags on Danbooru to preview the tag and better understand the tag's meaning and usage.

Style Tags

Style tags are divided into two types: Painting Style Tags and Artistic Style Tags. Painting Style Tags describe the painting techniques or media used in the image, such as oil painting, watercolor, flat color, and impasto. Artistic Style Tags represent the artistic style of the artist behind the image.

AWA Diffusion supports the following Painting Style Tags:

  • Painting style tags available in the Danbooru tags, such as oil painting, watercolor, flat color, etc.;

  • All painting style tags supported by AID XL 0.8, such as flat-pasto, etc.;

  • All style tags supported by Neta Art XL 1.0, such as gufeng, etc.;

See the Painting Style Tags List for full lists of painting style tags.

AWA Diffusion supports the following Artistic Style Tags:

  • Artistic style tags available in the Danbooru tags, such as byyoneyama mai, bywlop, etc.;

  • All artistic style tags supported by AID XL 0.8, such as byantifreeze3, by7thknights, etc.;

See the Artistic Style Tags List for full lists of artistic style tags.

The higher the tag count in the tag repository, the more thoroughly the artistic style has been trained, and the higher the fidelity in generation. Typically, artistic style tags with a count higher than 50 yield better generation results.

Tips for Style Tag

  1. Intensity Adjustment: You can adjust the intensity of a style by altering the order or weighting of style tags in your prompt. Frontloading a style tag enhances its effect, while placing it later reduces its effect.

Question: Why include the prefix by in artistic style tags?

💡 Answer: To clearly inform the model that you want to generate a specific artistic style rather than something else, we recommend including the prefix by in artistic style tags. This differentiates byxxx from xxx, especially when xxx itself carries other meanings, such as dino which could represent either a dinosaur or an artist's identifier. Similarly, when triggering characters, add a 1 as a prefix to the character trigger word.

Due to word limit, please visit https://civitai.com/models/435207/artiwaifu-diffusion?modelVersionId=484768 for more tutorials.

Version Detail

SDXL 1.0

Project Permissions

Model reprinted from : https://civitai.com/models/435207/artiwaifu-diffusion?modelVersionId=484768

Reprinted models are for communication and learning purposes only, not for commercial use. Original authors can contact us to transfer the models through our Discord channel --- #claim-models.

Comments

Related Posts

Describe the image you want to generate, then press Enter to send.