Visit ComfyUI Online for ready-to-use ComfyUI environment
DynamicPrompts Custom Nodes for ComfyUI include Random Prompts, Combinatorial Prompts, I'm Feeling Lucky, Magic Prompt, and Jinja2 Templates. This library integrates with ComfyUI, enabling dynamic prompt generation within the interface.
Welcome to comfyui-dynamicprompts, a powerful extension designed to enhance your experience with ComfyUI by integrating dynamic prompt generation capabilities. This extension provides a set of custom nodes that allow you to create varied and interesting prompts for your AI art projects. Whether you're looking to add randomness, explore all possible combinations, or get inspired by related prompts, comfyui-dynamicprompts has you covered.
At its core, comfyui-dynamicprompts leverages a set of custom nodes that you can integrate into your existing ComfyUI workflows. These nodes allow you to define templates with placeholders and rules for generating dynamic prompts. Here's a simple analogy to help you understand:
Imagine you have a recipe book (your prompt template) with ingredients (placeholders) that can be swapped out for different items (random or combinatorial elements). comfyui-dynamicprompts helps you create new recipes (prompts) by mixing and matching these ingredients in various ways.
This feature allows you to generate prompts with random elements. For example, if you have a template like "A {red|green|blue}
ball," the Random Prompts node will randomly choose one of the colors each time it generates a prompt.
The Combinatorial Prompts node iterates through every possible combination of elements in your template. For example, "A {red|green|blue}
ball" will generate:
This node uses your base prompt to fetch a related prompt from Lexica.art. It's like having a creative assistant that suggests new ideas based on your initial input.
Magic Prompt employs a neural network to add relevant modifiers to your base prompt. For instance, "A beautiful landscape" might be enhanced to "A beautiful landscape with rolling hills and a sunset."
For advanced users, Jinja2 Templates allow you to write complex prompts using the Jinja2 templating language. This feature is useful for creating highly customized and dynamic prompts.
Currently, comfyui-dynamicprompts does not include different models. However, it leverages external resources like Lexica.art for the "I'm Feeling Lucky" feature and neural networks for the "Magic Prompt" feature.
custom_nodes/comfyui-dynamicprompts/wildcards
directory.For additional resources, tutorials, and community support, check out the following links:
© Copyright 2024 RunComfy. All Rights Reserved.