Nodes/ComfyUI-Ollama-ImageList/Ollama Generate (Image List)
ComfyUI Node

Ollama Generate (Image List)

Sends one stateless /api/chat request containing all normalized images. Original image dimensions and list order are preserved.

By craftingmod·Created 19 days ago·Updated 9 days ago· 2
Ollama Generate (Image List)
  • options
  • images
  • response
  • thinking
  • raw JSON
  • metrics
  • image manifest
urlhttp://127.0.0.1:11434
model
system
prompt
options_json
format_json
thinkoff
unload_after_responsefalse
keep_alive5m
timeout_seconds300
debugfalse
CategoryOllama/Image List

Inputs (13)

NameTypeDefaultDescription
urlSTRINGhttp://127.0.0.1:11434Ollama base URL. Only HTTP and HTTPS are accepted.
modelSTRINGExact Ollama model name.
systemSTRINGSystem message sent without trimming or rewriting.
promptSTRINGUser message sent without trimming or rewriting.
options_jsonSTRINGAdvanced fallback for a manually written Ollama options JSON object. Ignored when the options dictionary input is connected.
format_jsonSTRINGEmpty, the literal json, or a JSON Schema object.
thinkCOMBOoff6 options: off, on, low, medium, high, max
unload_after_responseBOOLEANfalseUnload the Ollama model immediately after the response is complete. When enabled, this overrides keep_alive with 0.
keep_aliveSTRING5m
timeout_secondsINT3001–86400
debugBOOLEANfalseInclude a payload-free request manifest in the manifest output.
optionsoptDICTPreferred Ollama options dictionary. When connected, this takes precedence over options_json, including when the dictionary is empty.
imagesoptIMAGEIMAGE single, batch, list, nested list, or ComfyUI data list.

Outputs (5)

NameTypeDescription
responseSTRING
thinkingSTRING
raw JSONSTRING
metricsSTRING
image manifestSTRING