ComfyUI Node

Prompt Manager

Encodes a text prompt using a CLIP model into an embedding that can be used to guide the diffusion model towards generating specific images. Additionally saves all prompts to a local SQLite database with optional metadata for search and retrieval.

By ComfyAssets·Created about a year ago·Updated about a month ago· 148
Prompt Manager
  • clip
  • CONDITIONING
  • STRING
text
category
tags
search_text
prepend_text
append_text
Category🫶 ComfyAssets/🧠 Prompts

Inputs (7)

NameTypeDefaultDescription
textSTRINGThe text prompt to be encoded and saved to database.
clipCLIPThe CLIP model used for encoding the text.
categoryoptSTRINGOptional category for organizing prompts (e.g., 'landscapes', 'portraits')
tagsoptSTRINGComma-separated tags for the prompt (e.g., 'anime, detailed, sunset')
search_textoptSTRINGSearch for past prompts containing this text
prepend_textoptSTRINGText to prepend to the main prompt (connected STRING nodes will be added before the main text)
append_textoptSTRINGText to append to the main prompt (connected STRING nodes will be added after the main text)

Outputs (2)

NameTypeDescription
CONDITIONINGCONDITIONINGA conditioning containing the embedded text used to guide the diffusion model.
STRINGSTRINGThe final combined text string (with prepend/append applied) that was encoded.