ComfyUI Extension
LMStudio Remote Nodes
ComfyUI nodes for remote LMStudio servers via OpenAI API v1-compatible endpoints.
glonlas/comfyUI-LMStudio-nodes
Nodes3
On cloudLocal install
CategoryLMStudio
Stars1
Updatedabout a month ago
Nodes (3)
LMStudio - Connect
Hook a local LLM into ComfyUI without ever touching an API key
LMStudio
LMStudio - Image To Text
Turn any image into a prompt with a local vision LLM — nothing leaves your machine
LMStudio
LMStudio - Text Gen
The plainest node in the pack — a bare local LLM call you can wire anywhere
LMStudio
Readme
ComfyUI LMStudio Nodes (Unofficial)
Small ComfyUI custom nodes to connect to a remote LMStudio server through OpenAI-compatible API (/v1).

Nodes
-
LMStudio - Connect
- Connect to a remote LMStudio URL
- Pick the model from a dropdown populated by Refresh Models
- Test connectivity to the server
- Thinking / Reasoning control —
auto/on/off:auto— defer to the model, but force reasoning on for families that stay silent by default (Gemma). Qwen3-style models already think by default.on— force reasoning on (enable_thinking: true).off— suppress reasoning so the model answers directly and doesn't burn its token budget on a hidden<think>trace.
- Advanced: API token, Tooling / MCP toggle, max tokens, temperature, timeout
-
LMStudio - Text Gen
- System prompt + user prompt
- Text generation through the shared connection
<think>...</think>blocks are stripped from response output
-
LMStudio - Image To Text
- System prompt + user prompt + image input
- Image description / caption style generation
<think>...</think>blocks are stripped from response output
Quick start
- Put this folder in
ComfyUI/custom_nodes/ - Install deps:
pip install -r requirements.txt - Restart ComfyUI
Testing
Run the Python unit tests with coverage gate (>=90%):
pytest -q
Notes
- This is not an official LMStudio project.
- Not affiliated with LMStudio.
- It is a quickly vibecoded utility project.