diff --git a/docs/assets/prompt_syntax/sdxl-prompt-concatenated.png b/docs/assets/prompt_syntax/sdxl-prompt-concatenated.png new file mode 100644 index 0000000000..8d5336da3d Binary files /dev/null and b/docs/assets/prompt_syntax/sdxl-prompt-concatenated.png differ diff --git a/docs/assets/prompt_syntax/sdxl-prompt.png b/docs/assets/prompt_syntax/sdxl-prompt.png new file mode 100644 index 0000000000..b85464c5ad Binary files /dev/null and b/docs/assets/prompt_syntax/sdxl-prompt.png differ diff --git a/docs/features/PROMPTS.md b/docs/features/PROMPTS.md index 66af903072..be11e4cce6 100644 --- a/docs/features/PROMPTS.md +++ b/docs/features/PROMPTS.md @@ -142,7 +142,7 @@ Prompt2prompt `.swap()` is not compatible with xformers, which will be temporari The `prompt2prompt` code is based off [bloc97's colab](https://github.com/bloc97/CrossAttentionControl). -### Escaping parentheses () and speech marks "" +### Escaping parentheses and speech marks If the model you are using has parentheses () or speech marks "" as part of its syntax, you will need to "escape" these using a backslash, so that`(my_keyword)` @@ -246,7 +246,7 @@ To create a Dynamic Prompt, follow these steps: Within the braces, separate each option using a vertical bar |. If you want to include multiple options from a single group, prefix with the desired number and $$. -For instance: A {house|apartment|lodge|cottage} in {summer|winter|autumn|spring} designed in {2$$style1|style2|style3}. +For instance: A {house|apartment|lodge|cottage} in {summer|winter|autumn|spring} designed in {style1|style2|style3}. ### How Dynamic Prompts Work Once a Dynamic Prompt is configured, the system generates an array of combinations using the options provided. Each group of options in curly braces is treated independently, with the system selecting one option from each group. For a prefixed set (e.g., 2$$), the system will select two distinct options. @@ -273,3 +273,36 @@ Below are some useful strategies for creating Dynamic Prompts: Experiment with different quantities for the prefix. For example, 3$$ will select three distinct options. Be aware of coherence in your prompts. Although the system can generate all possible combinations, not all may semantically make sense. Therefore, carefully choose the options for each group. Always review and fine-tune the generated prompts as needed. While Dynamic Prompts can help you generate a multitude of combinations, the final polishing and refining remain in your hands. + + +## SDXL Prompting + +Prompting with SDXL is slightly different than prompting with SD1.5 or SD2.1 models - SDXL expects a prompt _and_ a style. + + +### Prompting +
+ +![SDXL prompt boxes in InvokeAI](../assets/prompt_syntax/sdxl-prompt.png) + +
+ +In the prompt box, enter a positive or negative prompt as you normally would. + +For the style box you can enter a style that you want the image to be generated in. You can use styles from this example list, or any other style you wish: anime, photographic, digital art, comic book, fantasy art, analog film, neon punk, isometric, low poly, origami, line art, cinematic, 3d model, pixel art, etc. + + +### Concatenated Prompts + + +InvokeAI also has the option to concatenate the prompt and style inputs, by pressing the "link" button in the Positive Prompt box. + +This concatenates the prompt & style inputs, and passes the joined prompt and style to the SDXL model. +![SDXL concatenated prompt boxes in InvokeAI](../assets/prompt_syntax/sdxl-prompt-concatenated.png) + + + + + + + diff --git a/docs/installation/INSTALLATION.md b/docs/installation/INSTALLATION.md index ec5e2492b6..3b5419e7eb 100644 --- a/docs/installation/INSTALLATION.md +++ b/docs/installation/INSTALLATION.md @@ -17,7 +17,7 @@ This fork is supported across Linux, Windows and Macintosh. Linux users can use either an Nvidia-based card (with CUDA support) or an AMD card (using the ROCm driver). -### [Installation Getting Started Guide](installation) +### Installation Getting Started Guide #### **[Automated Installer](010_INSTALL_AUTOMATED.md)** ✅ This is the recommended installation method for first-time users. #### [Manual Installation](020_INSTALL_MANUAL.md)