Nodes Browser
ComfyDeploy: How Comfyui-Template-Loader works in ComfyUI?
What is Comfyui-Template-Loader?
Easily Load Your Frequently Used Prompts in ComfyUI With ComfyUI Template Loader, managing and reusing your favorite prompts has never been simpler. Save time and streamline your workflow by loading your go-to templates with just a few clicks!
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
Comfyui-Template-Loader
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
Comfyui-Template-Loader
Easily Load Your Frequently Used Prompts in ComfyUI
With ComfyUI Template Loader, managing and reusing your favorite prompts has never been simpler. Save time and streamline your workflow by loading your go-to templates with just a few clicks!
Features
- Load Prompt Templates from Files
- Easy to use
Installation
git clone https://github.com/r3dsd/comfyui-template-loader.git
Usage
-
Create a Template File
- Place your template file in the following directory:
custom_nodes/comfyui-template-loader/template
- Make sure the file has a
.json
extension.
- Place your template file in the following directory:
-
Template File Format
- template file should follow this structure:
{ "Key1": "Prompt1, Prompt2, Prompt3", "Key2": "Prompt1, Prompt2, Prompt3", ... }
-
Done!
- That's it! Now you can use the TemplateLoader Node in your workflow.
Nodes
TemplateLoader
- Source: The file Name of the Template File
- Template: The Key of the Template
return: The String of the Template