ComfyUI Node
LLM Chat (LLMLink)
Chat with an LLM/VLM over plain HTTP (Ollama native or any OpenAI-compatible endpoint). Optional image input for prompt reverse-engineering; outputs plain text.
LLM Chat (LLMLink)
- image
- text
◄providerollama►
◄base_urlhttp://127.0.0.1:11434►
◄api_key►
◄model►
◄presetnatural►
◄custom_prompt►
◄temperature0.70►
◄max_tokens1024►
◄seed0►
◄timeout120►
CategoryLLMLink
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| provider | COMBO | ollama | 2 options: ollama, openai |
| base_url | STRING | http://127.0.0.1:11434 | — |
| api_key | STRING | — | |
| model | STRING | 留空 = 自动选用端点上的第一个可用模型 / empty = auto-pick the first model the endpoint lists | |
| preset | COMBO | natural | 3 options: natural, tags, none |
| custom_prompt | STRING | — | |
| temperature | FLOAT | 0.700–2 | — |
| max_tokens | INT | 10241–65536 | — |
| seed | INT | 00–2147483647 | — |
| timeout | INT | 1201–3600 | — |
| imageopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |