2026-05-16 13:51:15 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-05-12 23:37:12 +08:00
2026-05-16 13:49:35 +08:00
2026-05-15 20:47:10 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-05-13 21:33:26 +08:00
2026-01-17 18:47:07 +08:00
2026-05-14 08:57:06 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-05-14 08:52:07 +08:00
2026-05-13 21:51:39 +08:00
2026-05-16 13:51:15 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-01-17 18:47:07 +08:00
2026-05-14 08:52:07 +08:00

ComfyUI Simple Prompt

中文 | English

A powerful, visual prompt editing node for ComfyUI that blends the best of text-based and visual tag management.

Simple Prompt Interface

✨ Key Features

  • ⚡ High-Performance Backend: Built with DuckDB to handle 70k+ Danbooru tags with millisecond-level search and autocomplete latency.
  • 🎨 Visual & Text Modes:
    • Visual Mode: Drag-and-drop tags, double-click to adjust weights, color-coded categories (Character, Artist, etc.).
    • Text Mode: Classic text editing with syntax highlighting and smart autocomplete.
  • 🔍 Advanced Search:
    • Search by tag name or alias (e.g., "miku" finds "hatsune_miku").
    • Filter by categories (Artist, Style, Character, etc.).
    • Sort by post count to find the most popular tags.
  • ❤️ Personalization:
    • Like Tags: Star your favorite tags for quick access.
    • Custom Tags: Add your own tags that aren't in the database.
    • Data Updates: One-click update of tag data from the cloud.
  • 🛠️ Deep Integration: Fully integrated into the ComfyUI node graph workflow.

🚀 Installation

  1. Open ComfyUI Manager.
  2. Search for Simple Prompt.
  3. Click Install.

Method 2: Manual Installation

  1. Navigate to your ComfyUI custom_nodes directory:
    cd ComfyUI/custom_nodes/
    
  2. Clone this repository:
    git clone https://github.com/0nikod/ComfyUI-Simple-Prompt.git
    cd Comfyui-Simple-Prompt
    
  3. Install dependencies (DuckDB is required):
    pip install -r requirements.txt
    # OR directly
    pip install duckdb
    
  4. Restart ComfyUI.

📖 Usage

Basic Controls

  • Adding Tags: Type in the text box or use the Search button to find tags.
  • Autocomplete: Press Ctrl + Space or simply type to see suggestions.
  • Weight Adjustment:
    • Visual: Double-click a tag capsule to edit weight.
    • Shortcuts: Select a tag and press Ctrl + Up / Ctrl + Down to increase/decrease weight.

Data Management

  • Updating Tags: Go to Settings -> Data Management -> Click Update Now to get the latest Danbooru tag dataset.
  • User Tags: Add custom tags via the Search Modal -> "Add Custom Tag".

⚙️ Settings

Click the Settings (gear icon) to configure:

  • Smart Backspace: Automatically delete associated commas/spaces when deleting a tag.
  • Underscore Conversion: Auto-convert _ to space when adding tags.
  • Language: Switch between English and Chinese.

🏗️ Architecture

  • Frontend: Vue 3 + Vite + PrimeVue
  • Backend: Python + DuckDB + Parquet
  • Communication: ComfyUI API Routes

🤝 Contributing

Contributions are welcome! Please check the Design Document (EN) / 设计文档 (ZH) for architectural details.

📄 License

MIT License

S
Description
No description provided
Readme MIT
392 KiB
Languages
Vue 45.9%
Python 30.4%
TypeScript 23.5%
HTML 0.2%