From 98292e2bc87a3617b389a2beee2808adbc35e2db Mon Sep 17 00:00:00 2001 From: asagi4 <130366179+asagi4@users.noreply.github.com> Date: Mon, 26 May 2025 21:33:45 +0300 Subject: [PATCH] Reorder README a bit --- README.md | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 9d3abe1..37cd865 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,25 @@ Control LoRA and prompt scheduling, advanced text encoding, regional prompting, A `Basic Text to Image` template is included with the extension, and can be loaded from ComfyUI's template library. +## What can it do? + +See [features](#features) below. Things you can control via the prompt: +- Prompt editing and filtering without noodle soup +- LoRA loading and scheduling via ComfyUI's hook system +- Masking, composition and area control (regional prompting), with experimental attention couple support. +- Per-encoder prompts for models with multiple text encoders, such as SDXL and Flux +- Prompt operations like `BREAK` and `AND` +- Weight interpretation types (comfy, A1111, etc.) +- Prompt masking with [cutoff](#cutoff) +- Simple prompt macros with `DEF` +- And a bunch more + +See the [syntax documentation](doc/syntax.md) + +If you find prompt scheduling inconvenient for some reason, `PCTextEncode` can be used as a drop-in replacement for `CLIPTextEncode` to get everything else. + +[This workflow](example_workflows/Workflow%20Comparison.json?raw=1) shows LoRA scheduling and prompt editing and compares it with the same prompt implemented with built-in ComfyUI nodes. You can also find it in the template library. + ## Prompt Control v2 Prompt control has been almost completely rewritten. It now uses ComfyUI's lazy execution to build graphs from the text prompt at runtime. The generated graph is often exactly equivalent to a manually built workflow using native ComfyUI nodes. There are no more weird sampling hooks that could cause problems with other nodes @@ -22,27 +41,6 @@ If you really need them, you can install the [legacy nodes](https://github.com/a You can have both installed at the same time; none of the nodes conflict. -## What can it do? - -See [features](#features) below. Things you can control via the prompt: -- Prompt editing and filtering without noodle soup -- LoRA loading and scheduling via ComfyUI's hook system -- Masking, composition and area control (regional prompting), with experimental attention couple support. -- Per-encoder prompts for models with multiple text encoders, such as SDXL and Flux -- Prompt operations like `BREAK` and `AND` -- Weight interpretation types (comfy, A1111, etc.) -- Prompt masking with [cutoff](#cutoff) -- And a bunch more - -See the [syntax documentation](doc/syntax.md) - -If you find prompt scheduling inconvenient for some reason, `PCTextEncode` can be used as a drop-in replacement for `CLIPTextEncode` to get everything else. - -[This workflow](example_workflows/Workflow%20Comparison.json?raw=1) shows LoRA scheduling and prompt editing and compares it with the same prompt implemented with built-in ComfyUI nodes. You can also find it in the template library. - -The tools in this repository combine well with the macro and wildcard functionality in [comfyui-utility-nodes](https://github.com/asagi4/comfyui-utility-nodes) - - ## Requirements For LoRA scheduling to work, you'll need at least version 0.3.7 of ComfyUI (0.3.36 of ComfyUI desktop).