CivArchive
    Preview 5737945

    SD Prompt Reader Node

    Github Repo:

    https://github.com/receyuki/comfyui-prompt-reader-node
    GitHub GitHub tag (with filter) GitHub tag (with filter) Code style: black

    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

    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.

    1. cd to the custom_node folder

    2. Clone this repo

      git clone --recursive https://github.com/receyuki/comfyui-prompt-reader-node.git
    3. 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

    Description

    v1.3.0

    Starting from this version, to support auto-detection on Civitai, calculate_model_hash will be renamed as
    calculate_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 and Lora Selector node

    • Add VAE_NAME output to the Parameter Generator node and add vae_name input to the Prompt Saver node #39

    • Add lora_name input to the Prompt Saver node

    • Add resource_hash switch to the Prompt Saver node

    • Add resources hashes to metadata for auto-detection on Civitai #35

    • Add temporary storage for model hashes

    • Add WEB_DIRECTORY and remove old js directory

    • Fix adding the Parameter Generator node to a workflow disables the queue button #45

    • Fix the Parameter Generator node doesn't load seed value from generated images #44

    • Fix the input validation of the Batch Loader node #37 #38

    • Fix the parsing error caused by the loss of model data #43

    • Fix the error message caused by aspect_ratio

    • Rename calculate_model_hash as calculate_hash

    • Update seedGen.js to rgthree's latest code

    • Update core to cc3c8b2

    Workflows
    SD 1.5

    Details

    Downloads
    234
    Platform
    CivitAI
    Platform Status
    Available
    Created
    1/21/2024
    Updated
    9/27/2025
    Deleted
    -

    Files

    comfyuiPromptReader_v130.zip

    Mirrors

    CivitAI (1 mirrors)