From 8b50fe6549b763ca79af8b15fca028a6907a298f Mon Sep 17 00:00:00 2001 From: AIrjen <130234949+AIrjen@users.noreply.github.com> Date: Sun, 28 May 2023 13:09:40 +0200 Subject: [PATCH] Create wildcards_and_dynamic_prompts_extension.md --- ...wildcards_and_dynamic_prompts_extension.md | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 user_guides/wildcards_and_dynamic_prompts_extension.md diff --git a/user_guides/wildcards_and_dynamic_prompts_extension.md b/user_guides/wildcards_and_dynamic_prompts_extension.md new file mode 100644 index 0000000..583a79d --- /dev/null +++ b/user_guides/wildcards_and_dynamic_prompts_extension.md @@ -0,0 +1,62 @@ +# Wildcards +In the backend of the code, some of the things run on wildcards. These can be used in the prompt prefix, prompt suffix and subject override fields. They get values from their specific related lists. + +Currently, One Button Prompt supports the following wildcards. + + -color- + -material- + -animal- + -object- + -fictional- + -nonfictional- + -building- + -vehicle- + -outfit- + -location- + -conceptprefix- + -conceptsuffix- + -descriptor- + -food- + -haircolor- + -hairstyle- + -job- + -culture- + -accessory- + -humanoid- + +# Dynamic Prompts extension and wildcards +The [Dynamic Prompts extension](https://github.com/adieyal/sd-dynamic-prompts) might be considered the father of One Button Prompt. In that case [StylePile](https://github.com/some9000/StylePile) is its mother. + +However, Dynamic Prompts can be combined with One Button Prompt. You can use the wildcards supported by Dynamic Prompts also in the prompt prefix, prompt suffix and subject override fields. + +Meaning that if you have managed your own wildcards before, you can use them here as well. With the standard settings, these are __ __wildcardname__ __ + +In this example, I have a bird.txt wildcard file in \extensions\sd-dynamic-prompts\wildcards\ + +Now in One Button Prompt, I set the following: +__Subject Types__ = "animal" +__Artists__ = "sci-fi" or "none", depending on taste. Sometimes the sc-fi artists generate other types of "bird". +__Type of image__ = "digital art" + +__Overwrite subject__ = "cyberpunk __ __bird__ __ with -material- implants" + +I am using the deliberate model for these examples. Note that most models have problems generating kick ass birds. + +![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/baec47db-d00c-4b14-8422-6544dd1e64c5) + +here are some examples: + + + + + +> digital art, long shot of a cyberpunk American Woodcock with Moss implants, Sunny, Ultra Detailed, Happy, Demoscene, moody lighting, Grayscale, epic fantasy, RTX, unreal engine +> +> digital art, overhead angle of a cyberpunk Northern Mockingbird with Foam implants, Illustration, Vaporwave Art + + + + +> digital art, long shot of a cyberpunk European Starling with Bone implants, Stormy weather, F/14, hyperdetailed, ultra high res +> +> (art by Kelly Freas:0.8), digital art, 3/4 view of a cyberpunk Winter Wren with Rubber implants, Snowy, Neogothic Art, Nostalgic lighting, Depth of field 100mm, dark white color grading