Nodes/ComfyUI-UML/LLM Prompt Engine
ComfyUI Node

LLM Prompt Engine

A ComfyUI node in UML with 7 inputs and 3 outputs.

By antoinebou12·Created 6 months ago·Updated 23 days ago· 3
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)

    NameTypeDefaultDescription
    templateoptSTRINGGenerate a Mermaid diagram that illustrates: {{description}}
    descriptionoptSTRINGKroki – Creates diagrams from textual descriptions!
    positiveoptSTRINGOutput only valid diagram code for the requested diagram_type. Match Kroki expectations (e.g. Mermaid: start with diagram keyword). No prose outside the DSL.
    negativeoptSTRINGNo markdown code fences (no ```). No preamble or postamble. No YAML front matter. No alternative diagrams.
    template_fileoptCOMBO6 options: , general_mermaid.txt, kroki.txt, mermaid_flowchart.txt, plantuml_sequence.txt, uml_plan_then_code.txt
    diagram_typeoptCOMBOmermaid28 options: actdiag, blockdiag, bpmn, bytefield, c4plantuml, d2, +22
    output_formatoptCOMBOsvg6 options: png, svg, jpeg, pdf, txt, base64

    Outputs (3)

    NameTypeDescription
    promptSTRING
    positiveSTRING
    negativeSTRING