From 795d834fae9c40d559faa48463fe6d6f81d7ae10 Mon Sep 17 00:00:00 2001 From: wyrde Date: Thu, 13 Apr 2023 20:41:59 -0400 Subject: [PATCH] Update README.md links and info --- basics/token-random-example/README.md | 37 +++++++++++---------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/basics/token-random-example/README.md b/basics/token-random-example/README.md index 24b8a0e..6c3b741 100644 --- a/basics/token-random-example/README.md +++ b/basics/token-random-example/README.md @@ -1,50 +1,43 @@ -# Token Random Values Example +# Using Tokens for Random Values Makes extensive use of [WAS nodes.](https://github.com/WASasquatch/was-node-suite-comfyui) * Install WAS suit and avoid a mess of red boxes. -Was tokens are used to inject random values into the positive prompt. +Tokens are created and then assigned random values from list boxes. + +The tokens names are placed in a text box. The contens of the list box are sent to conditioning. + -* In comfyui, words in {curly braces | separated by | pipes are | used to | generate} random results. Due to the way comfyui functions, an image's workflow will contain only the items in the prompt which were evaluated for the image. Other random elements will be dropped. +Why do this instead of {curly|braces}? +* In comfyui, words in {curly braces | separated by | pipes are | used to | generate} random results. Due to the way comfyui functions, an image's workflow will contain only the items in the prompt which were evaluated for the image. The rest of the random list is dropped. + +Why the text concatenate? * Because of how the backend evaluates the text boxes, it doesn't know the contents of the tokens have changed when parsing the prompts. There's two ways to fix this: * put `{ | | }` in the prompt. It will evaluate the space each time and run the prompt, thus also evaluating tokens. * make a new multiline node→random line node→text concatenate (the random result and the prompt) → text parse tokens → text to conditioning * this is more complex, but preserves the text prompt in the image workflow. - - -## some heading - -stuff - -This workflow -* more -* stuff - * here + -## another heading - -## Versions ## Example Results -* images +* + ## resources -* [WAS nodes.](https://github.com/WASasquatch/was-node-suite-comfyui) - Model -* https://civitai.com/models/4384/dreamshaper +* https://huggingface.co/Vsukiyaki/SukiyakiMix-v1.0 Lora -* https://civitai.com/models/8858/maplestory2game-chibi-style-hn +* https://civitai.com/models/21458/anime-kisses * https://civitai.com/models/21670/astrobabes * https://civitai.com/models/25803/battle-angels @@ -54,7 +47,7 @@ Embeds Custom Nodes * [WAS Suite](https://github.com/WASasquatch/was-node-suite-comfyui) - +* [omar QoL](https://github.com/omar92/ComfyUI-QualityOfLifeSuit_Omar92)

[back] [home]