Sign In

Dynamic Prompt Nodes for ComfyUI

42
357
9
Type
Other
Stats
357
Reviews
Uploaded
Aug 1, 2023
Base Model
Other
Hash
AutoV2
7BAA5BB24D
0
0
0
0

A port of the SD Dynamic Prompts Auto1111 extension to ComfyUI. Includes the most of the original functionality, including:

  1. Templating language for prompts

    • Variant syntax A {red|green|blue} ball

    • Weights - e.g. {0.5::summer|0.1::autumn|0.3::winter|0.1::spring}

    • Select multiple values My favourite ice-cream flavours are {2$$chocolate|vanilla|strawberry} will produce My favourite ice-cream flavours are chocolate,strawberry

    • Custom separators My favourite ice-cream flavours are {2$$ and $$chocolate|vanilla|strawberry} will produce My favourite ice-cream flavours are chocolate and strawberry

    • Ranges My favourite ice-cream flavours are {1-2$$chocolate|vanilla|strawberry}

  2. Wildcards

    1. Nested directory hierarchies e.g __color/warm__

    2. Globbing for matching multiple files, e.g . __color*__

    3. txt/yaml/json file formats

  3. Combinatorial mode - will produce all possible variations of your prompt.

  4. I'm Feeling Lucky (downloads prompts from lexica.art)

  5. Magic Prompt - spices up your prompt with modifiers

  6. Jinja2 templates for more advanced prompting requirements

  7. Variable assignment - ${season=!__season__} In ${season}, I wear ${season} shirts and ${season} trousers

  8. Parameterized templates for re-usable templates, similar to calling a function

  9. Extensive documentation

  10. Video tutorials in 9 languages

Installation

The recommended way to install this extension is by using the ComfyUI Manager.

Get the latest version on Github: https://github.com/adieyal/comfyui-dynamicprompts/