ComfyUI Node
LLM Output Formatting
A ComfyUI node in Utils/Text with 5 inputs and 1 output.
LLM Output Formatting
- cleaned_json_string
◄llm_output—►
◄include_quality_promptfalse►
◄include_negative_promptfalse►
◄use_single_quotesfalse►
◄no_quotation_marksfalse►
CategoryUtils/Text
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| llm_output | STRING | — | |
| include_quality_prompt | BOOLEAN | false | — |
| include_negative_prompt | BOOLEAN | false | — |
| use_single_quotes | BOOLEAN | false | If enabled, all double quotes in the final JSON will be replaced with single quotes (non-standard JSON) |
| no_quotation_marks | BOOLEAN | false | If enabled, all quotation marks (both double and single) around keys and values will be removed (produces non-JSON text, useful for some prompt templates) |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| cleaned_json_string | STRING | — |