Nodes/ComfyUI_StarNodes/⭐ Star Ollama Prompt Helper
ComfyUI Node

⭐ Star Ollama Prompt Helper

Use a local Ollama model to create or refine prompts for image generation.

By Starnodes2024·Created 2 years ago·Updated 7 days ago· 103
⭐ Star Ollama Prompt Helper
  • image
  • result
  • think_output
local_addresshttp://127.0.0.1:11434
model
keep_alive5m
system_prompt_presetCustom
system_prompt
prompt
allow_thinkingfalse
temperature0.80
seed0
Category⭐StarNodes/Prompts

Inputs (10)

NameTypeDefaultDescription
local_addressSTRINGhttp://127.0.0.1:11434Ollama server address.
modelCOMBOSelect a model. Click refresh to load available models from the server.
keep_aliveCOMBO5mHow long the model stays loaded in memory after generation. '-1' = forever, '0' = unload immediately (slow on repeat runs).
system_prompt_presetCOMBOCustomChoose a preset system prompt or 'Custom' to write your own. Presets are loaded from the shared text storage (json/startext.json).
system_promptSTRINGCustom system prompt (used when preset is 'Custom').
promptSTRINGYour prompt text to send to the model.
allow_thinkingBOOLEANfalseIf True, outputs the reasoning process. If False, instructs the model to skip reasoning to speed up generation.
temperatureFLOAT0.800–2Higher values produce more creative output.
seedINT00–2147483647
imageoptIMAGEOptional image input for vision language models. Refer to it in your prompt as 'this image'.

Outputs (2)

NameTypeDescription
resultSTRING
think_outputSTRING