ComfyUI Node
Import Prompts to DB
A ComfyUI node in Eric Prompt Enhancers/Database with 6 inputs and 4 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| file_path | STRING | Absolute path to the file to import. Supports .txt, .csv, and .json. | |
| file_format | COMBO | auto | auto = detect from extension. txt_line = one prompt per line. txt_paragraph = prompts separated by blank lines. |
| default_category | COMBO | any | Category to assign when the file doesn't specify one. |
| default_platform | COMBO | any | Platform to assign when the file doesn't specify one. |
| default_tags | STRING | Comma-separated tags to apply to every imported prompt. | |
| skip_duplicates | BOOLEAN | true | Skip prompts that already exist in the database. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| imported_count | INT | — |
| skipped_count | INT | — |
| status | STRING | — |
| errors | STRING | — |