ComfyUI Node
PSN Prompt Cleaner
Clean OCR text: strip UI noise, split sections, emit library JSON.
PSN Prompt Cleaner
- cleaned_prompt
- structured_data
◄raw_text►
◄remove_ui_elementstrue►
◄format_for_librarytrue►
CategoryParametric/Image
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| raw_text | STRING | Raw text. | |
| remove_ui_elements | BOOLEAN | true | Remove ui elements. Default True. |
| format_for_library | BOOLEAN | true | Format for library. Default True. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| cleaned_prompt | STRING | — |
| structured_data | STRING | — |