From 446b984738a29e211eea06fc9bc74b1df30a3647 Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Wed, 3 May 2023 01:10:37 +0900 Subject: [PATCH] add 1.1.0 patterns --- Custom-Images-Filename-Name-and-Subdirectory.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Custom-Images-Filename-Name-and-Subdirectory.md b/Custom-Images-Filename-Name-and-Subdirectory.md index cc7a000..32ee45c 100644 --- a/Custom-Images-Filename-Name-and-Subdirectory.md +++ b/Custom-Images-Filename-Name-and-Subdirectory.md @@ -41,6 +41,11 @@ user can chain these patterns togetherm forming a filename that suits their use | `[prompt]` | Prompt with Styles, `Space bar` replaced with`_` | 1gir,\_\_\_white_space,\_((very\_important)),\_[not\_important],\_(some\_value\_1.5),\_(whatever),\_the\_end,\_(((crystals_texture_Hair))),((( | | `[prompt_words]` | Prompt with Styles, Bracket and Comma removed | 1gir white space very important not important some value 1 5 whatever the end crystals texture Hair , extremely detailed | | `[prompt_hash]` | The first 8 characters of the prompt's SHA-256 hash | 1girl -> 6362d0d2
(1girl:1.1) -> 0102e068 | +| `[clip_skip]` | CLIP stop at last layers | 1 | +| `[batch_number]` | the NO. N-th image in a singel batch job | BatchNo_[batch_number] -> Batch_3 +| `[generation_number]` | the NO. N-th image in a entire job | GenNo_[generation_number] -> GenNo_9 +| `[hasprompt...]` | if specified `prompt` is found in prompts then `prompt` will be added to filename, else `default` will be added to filename (`default` can be blank) | [hasprompt] -> girl
[hasprompt] -> girlno boy + ### Datetime Formatting details Reference python documentation for more details on [Format Codes](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-format-codes) @@ -52,6 +57,10 @@ tip: you can use extra characters inside `` for punctuation, such as `_ If `` is blank or invalid, it will use the default system time zone +If `batch size` is 1 the [batch_number] along with the previous segment of text will not be added to filename + +If `batch size` x `batch count` is 1 the [generation_number] along with the previous segment of text will not be added to filename + The Prompts and Style used for the above `[prompt]` examples Prompt: @@ -65,7 +74,7 @@ Selected Styles: note: the `Styles` mentioned above is referring to the two drop down menu below the generate button -### if the Prompts is too long, it will be short +### if the Prompts is too long, it will be cutoff this is due to your computer having a maximum file length # Add / Remove number to filename when saving