ComfyUI Node
LLM Prompt Engine
A ComfyUI node in UML with 7 inputs and 3 outputs.
LLM Prompt Engine
- prompt
- positive
- negative
◄templateGenerate a Mermaid diagram that illustrates: {{description}}►
◄descriptionKroki – Creates diagrams from textual descriptions!►
◄positiveOutput only valid diagram code for the requested diagram_type. Match Kroki expectations (e.g. Mermaid: start with diagram keyword). No prose outside the DSL.►
◄negativeNo markdown code fences (no ```). No preamble or postamble. No YAML front matter. No alternative diagrams.►
◄template_file►
◄diagram_typemermaid►
◄output_formatsvg►
CategoryUML
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| templateopt | STRING | Generate a Mermaid diagram that illustrates: {{description}} | — |
| descriptionopt | STRING | Kroki – Creates diagrams from textual descriptions! | — |
| positiveopt | STRING | Output only valid diagram code for the requested diagram_type. Match Kroki expectations (e.g. Mermaid: start with diagram keyword). No prose outside the DSL. | — |
| negativeopt | STRING | No markdown code fences (no ```). No preamble or postamble. No YAML front matter. No alternative diagrams. | — |
| template_fileopt | COMBO | 6 options: , general_mermaid.txt, kroki.txt, mermaid_flowchart.txt, plantuml_sequence.txt, uml_plan_then_code.txt | |
| diagram_typeopt | COMBO | mermaid | 28 options: actdiag, blockdiag, bpmn, bytefield, c4plantuml, d2, +22 |
| output_formatopt | COMBO | svg | 6 options: png, svg, jpeg, pdf, txt, base64 |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | — |
| positive | STRING | — |
| negative | STRING | — |