SD Prompt Reader Node
Github Repo:
https://github.com/receyuki/comfyui-prompt-reader-node
The ultimate solution for managing image metadata and multi-tool compatibility.
This is a subproject of the SD Prompt Reader. It helps you extract metadata from images in any format supported by the SD Prompt Reader and saves the images with additional metadata to ensure compatibility with metadata detection on websites such as Civitai.
Supported Formats
PNG
JPEG
WEBP
TXT
PNG
JPEG
WEBP
PNG
JPEG
PNG
JPEG
PNG
PNG
PNG
PNG
Naifu(4chan)
PNG
See SD Prompt Reader for details
Installation
While ZIP package is available, it is strongly recommended not to use it for installation.
Install and update via ComfyUI Manager (Recommended)
Search for SD Prompt Reader
in the ComfyUI Manager and install it.
Install manually
Please make sure to install the submodules along with the main repository.
cd
to thecustom_node
folderClone this repo
git clone --recursive https://github.com/receyuki/comfyui-prompt-reader-node.git
Install dependencies
cd comfyui-prompt-reader-node pip install -r requirements.txt
Update
When updating, don't forget to include the submodules along with the main repository.
git pull --recurse-submodules
Usage
Example Workflow
Change Log
Credits
The SD Prompt Reader node is based on ComfyUI Load Image With Metadata
The SD Prompt Saver node is based on Comfy Image Saver & Stable Diffusion Webui
The seed generator in the SD Parameter Generator is modified from rgthree's Comfy Nodes
A special thanks to @alessandroperilli and his AP Workflow for providing numerous suggestions
Description
v1.3.0
Starting from this version, to support auto-detection on Civitai, calculate_model_hash
will be renamed ascalculate_hash
and it will be enabled by default. Due to the addition of temporary storage of the model hash values,
the first image generated after switching to the new model will take more time to calculate the hash value,
but it will not affect the generation speed afterwards until the server is restarted.
Add
Lora Loader
node andLora Selector
nodeAdd
VAE_NAME
output to theParameter Generator
node and addvae_name
input to thePrompt Saver
node #39Add
lora_name
input to thePrompt Saver
nodeAdd
resource_hash
switch to thePrompt Saver
nodeAdd resources hashes to metadata for auto-detection on Civitai #35
Add temporary storage for model hashes
Add
WEB_DIRECTORY
and remove old js directoryFix adding the
Parameter Generator
node to a workflow disables the queue button #45Fix the
Parameter Generator
node doesn't load seed value from generated images #44Fix the parsing error caused by the loss of model data #43
Fix the error message caused by aspect_ratio
Rename
calculate_model_hash
ascalculate_hash
Update seedGen.js to rgthree's latest code
Update core to cc3c8b2