adamelliotfields commited on
Commit
edead93
1 Parent(s): b702e65

Update docs

Browse files
Files changed (1) hide show
  1. DOCS.md +24 -6
DOCS.md CHANGED
@@ -1,18 +1,33 @@
1
- ## Documentation
2
 
3
  TL;DR: Enter a prompt or roll the `🎲` and press `Generate`.
4
 
5
  ### Prompting
6
 
7
- Positive and negative prompts are embedded by [Compel](https://github.com/damian0815/compel) for weighting. See [syntax features](https://github.com/damian0815/compel/blob/main/doc/syntax.md) to learn more and read [Civitai](https://civitai.com)'s guide on [prompting](https://education.civitai.com/civitais-prompt-crafting-guide-part-1-basics/) for best practices.
 
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  #### Arrays
10
 
11
- Arrays allow you to generate different images from a single prompt. For example, `[[cat,corgi]]` will expand into 2 separate prompts. Make sure `Images` is set accordingly (e.g., 2). Only works for the positive prompt. Inspired by [Fooocus](https://github.com/lllyasviel/Fooocus/pull/1503).
 
 
12
 
13
  ### Embeddings
14
 
15
- Select multiple negative [textual inversion](https://huggingface.co/docs/diffusers/en/using-diffusers/textual_inversion_inference) embeddings:
16
 
17
  * [`<fast_negative>`](https://civitai.com/models/71961?modelVersionId=94057): all-purpose (default)
18
  * [`<unrealistic_dream>`](https://civitai.com/models/72437?modelVersionId=77173): realistic add-on
@@ -20,11 +35,14 @@ Select multiple negative [textual inversion](https://huggingface.co/docs/diffuse
20
 
21
  ### Styles
22
 
23
- Styles are prompt templates from twri's [sdxl_prompt_styler](https://github.com/twri/sdxl_prompt_styler) Comfy node. Start with a subject like "cat", pick a style, and iterate from there.
 
 
 
24
 
25
  ### Scale
26
 
27
- Rescale up to 4x using [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) from [ai-forever](ai-forever/Real-ESRGAN).
28
 
29
  ### Models
30
 
 
1
+ ## Diffusion ZERO
2
 
3
  TL;DR: Enter a prompt or roll the `🎲` and press `Generate`.
4
 
5
  ### Prompting
6
 
7
+ Positive and negative prompts are embedded by [Compel](https://github.com/damian0815/compel) for weighting. See [syntax features](https://github.com/damian0815/compel/blob/main/doc/syntax.md) to learn more.
8
+
9
+ Use `+` or `-` to increase the weight of a token. The weight grows exponentially when chained. For example, `blue+` means 1.1x more attention is given to `blue`, while `blue++` means 1.1^2 more, and so on. The same applies to `-`.
10
+
11
+ For groups of tokens, wrap them in parentheses and multiply by a float between 0 and 2. For example, `a (birthday cake)1.3 on a table` will increase the weight of both `birthday` and `cake` by 1.3x. This also means the entire scene will be more birthday-like, not just the cake. To counteract this, you can use `-` inside the parentheses on specific tokens, e.g., `a (birthday-- cake)1.3`, to reduce the birthday aspect.
12
+
13
+ Note that this is also the same syntax used in [InvokeAI](https://invoke-ai.github.io/InvokeAI/features/PROMPTS/) and it differs from AUTOMATIC1111:
14
+
15
+ | Compel | AUTOMATIC1111 |
16
+ | ----------- | ------------- |
17
+ | `blue++` | `((blue))` |
18
+ | `blue--` | `[[blue]]` |
19
+ | `(blue)1.2` | `(blue:1.2)` |
20
+ | `(blue)0.8` | `(blue:0.8)` |
21
 
22
  #### Arrays
23
 
24
+ Arrays allow you to generate multiple different images from a single prompt. For example, `a [[cute,adorable]] [[cat,corgi]]` will expand into `a cute cat` and `a cute corgi`.
25
+
26
+ Before generating, make sure `Images` is set to the number of images you want and keep in mind that there is a max of 4. Note that arrays in the negative prompt are ignored. This implementation was inspired by [Fooocus](https://github.com/lllyasviel/Fooocus/pull/1503).
27
 
28
  ### Embeddings
29
 
30
+ Select one or more negative [textual inversion](https://huggingface.co/docs/diffusers/en/using-diffusers/textual_inversion_inference) embeddings to be appended to the _negative_ prompt:
31
 
32
  * [`<fast_negative>`](https://civitai.com/models/71961?modelVersionId=94057): all-purpose (default)
33
  * [`<unrealistic_dream>`](https://civitai.com/models/72437?modelVersionId=77173): realistic add-on
 
35
 
36
  ### Styles
37
 
38
+ [Styles](https://huggingface.co/spaces/adamelliotfields/diffusion/blob/main/data/styles.json) are prompt templates originally based on the [twri/sdxl_prompt_styler](https://github.com/twri/sdxl_prompt_styler) Comfy node. These work best with a simple subject. For example, `a young adult woman` and `ugly, dull` with the _Abstract Expressionism_ style will result in the following prompts:
39
+
40
+ * Positive: `abstract expressionist painting of a young adult woman, energetic brushwork, bold colors, abstract forms, expressive, emotional`
41
+ * Negative: `ugly, dull, realistic, photorealistic, low contrast, plain, simple, monochrome`
42
 
43
  ### Scale
44
 
45
+ Rescale up to 4x using [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) with weights from [ai-forever](ai-forever/Real-ESRGAN).
46
 
47
  ### Models
48