demo.mp4
This is a ComfyUI node that processes your input text with the Unprompted templating language. Early alpha release.
Please refer to the main Unprompted repository for more information. Detailed documentation is available there. Thank you!
Download the repository (or git clone
) and move the files to your comfyui/custom_nodes/ComfyUI-Unprompted
folder. Restart ComfyUI and you should now have access to the Unprompted node.
⚠️ Note: Some shortcodes were specifically designed for use with the Automatic1111 WebUI and are not compatible with this ComfyUI node. This node is primarily intended for text-based operations such as wildcards.
Where are my Unprompted templates located?
Your Unprompted templates are located in the ComfyUI/venv/Lib/site-packages/unprompted/templates
folder. You can [call]
files from this location using the node, e.g. [call common/examples/human/main]
.
What are `string_prefix` and `string_affix`?
The prefix is added to the beginning of the main string_field
box, and the affix is added to the end. These are simply for convenience.
How do I edit images with the Unprompted node?
As of v0.2.0, you can use the anything
input to pass an image to the Unprompted node. To test this, please try the following workflow:
Note the use of the anything
input and the set_anything_to
widget. We set the image to the comfy_var
variable, which is then accessed via the [image_edit]
shortcode:
[image_edit input="comfy_var" add_noise=500]
We also ensure that the return_image_var
widget refers to comfy_var
so that we can see our changes to the image in the Preview Image node.