Nodes/Text Gen Nodes/Prompt Enhancer
ComfyUI Node

Prompt Enhancer

Rewrite a draft prompt through the configured chat endpoint and return the reply with <think> reasoning blocks removed. The system prompt comes from the selected style (YAML files under <user>/default/coras_textgen/prompts/prompt_enhancer/). The model dropdown is populated from <api_base>/models. Endpoint and API key come from Settings -> Cora's Textgen.

By cora-clanker·Created 3 months ago·Updated 3 months ago· 0
Prompt Enhancer
    • text
    text
    style
    model
    Categorytextgen

    Inputs (3)

    NameTypeDefaultDescription
    textSTRINGDraft prompt the model should rewrite.
    styleCOMBOPrompt style. Edit or add YAML files under <user>/default/coras_textgen/prompts/prompt_enhancer/. Replaces the Settings system prompt for this node.
    modelCOMBOModels advertised by the configured endpoint.

    Outputs (1)

    NameTypeDescription
    textSTRING