2025-11-19 15:31:56 +08:00
2025-11-19 15:31:56 +08:00
2023-12-11 18:29:24 +08:00
2024-08-02 14:31:14 +08:00
2025-11-19 11:55:57 +08:00
2025-11-19 15:31:56 +08:00
2025-11-19 11:55:57 +08:00

ComfyUI Prompt Format

This is an Extension for ComfyUI, which helps formatting texts.

Features

This adds a button, Format, to the menu which when clicked will:

  • Remove extra spaces and commas
  • Fix misplaced brackets and commas
  • Enable Remove Duplicates to remove identical tags found in the prompts
    • Note: Only works for tag-based prompt, not sentence-based prompt
      • e.g. 1girl, solo, smile, 1girl will become 1girl, solo, smile
      • e.g. a girl smiling, a girl standing will not be changed
  • Enable Remove Underscores to replace _ with space
  • Respect line breaks
    • Remove Duplicates only checks within the same line
  • Append a comma every line break
  • Pressing Alt + Shift + F can also manually trigger formatting
S
Description
No description provided
Readme MIT
48 KiB
Languages
JavaScript 98.6%
Python 1.4%