Nodes/Parametric Studio/Ollama Prompt Enhancer
ComfyUI Node

Ollama Prompt Enhancer

Expands a short prompt with a local Ollama model via POST /api/generate. If Ollama cannot be reached or returns nothing, it uses fixed style tags and reports that in the source output.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
Ollama Prompt Enhancer
    • enhanced_prompt
    • negative_prompt
    • source
    ◄short_prompta cat►
    ◄stylerealistic►
    ◄max_tokens128►
    ◄ollama_urlhttp://localhost:11434►
    ◄model_namellama3►
    CategoryParametric/Agents

    Inputs (5)

    NameTypeDefaultDescription
    short_promptSTRINGa catShort prompt. Default a cat.
    styleCOMBOrealisticStyle. One of 4 choices. Default realistic.
    max_tokensINT12816–2048Max tokens. From 16 to 2048. Default 128.
    ollama_urloptSTRINGhttp://localhost:11434Ollama url. Default http://localhost:11434.
    model_nameoptSTRINGllama3Model name. Default llama3.

    Outputs (3)

    NameTypeDescription
    enhanced_promptSTRING—
    negative_promptSTRING—
    sourceSTRING—