ComfyUI Node

Import Prompts to DB

A ComfyUI node in Eric Prompt Enhancers/Database with 6 inputs and 4 outputs.

By EricRollei·Created about a year ago·Updated 2 days ago· 47
Import Prompts to DB
    • imported_count
    • skipped_count
    • status
    • errors
    ◄file_path►
    ◄file_formatauto►
    ◄default_categoryany►
    ◄default_platformany►
    ◄default_tags►
    ◄skip_duplicatestrue►
    CategoryEric Prompt Enhancers/Database

    Inputs (6)

    NameTypeDefaultDescription
    file_pathSTRINGAbsolute path to the file to import. Supports .txt, .csv, and .json.
    file_formatCOMBOautoauto = detect from extension. txt_line = one prompt per line. txt_paragraph = prompts separated by blank lines.
    default_categoryCOMBOanyCategory to assign when the file doesn't specify one.
    default_platformCOMBOanyPlatform to assign when the file doesn't specify one.
    default_tagsSTRINGComma-separated tags to apply to every imported prompt.
    skip_duplicatesBOOLEANtrueSkip prompts that already exist in the database.

    Outputs (4)

    NameTypeDescription
    imported_countINT—
    skipped_countINT—
    statusSTRING—
    errorsSTRING—