ComfyUI Node

Local LLM

Ask a local or OpenAI-compatible LLM endpoint and return the response text.

By trustypangolin·Created 4 months ago·Updated 28 days ago· 0
Local LLM
  • image
  • text
  • model
endpoint_urlhttp://localhost:1234
api_typeopenai_compatible
modelauto
prompt
system_prompt
api_key
temperature0.70
max_tokens1024
timeout120
unload_existing_modelsfalse
force_rerunfalse
Category🎨 DockerCPU API/Utilities

Inputs (12)

NameTypeDefaultDescription
endpoint_urlSTRINGhttp://localhost:1234
api_typeCOMBOopenai_compatible2 options: openai_compatible, lmstudio_native
modelCOMBOauto1 options: auto
promptSTRING
system_promptSTRING
api_keySTRING
temperatureFLOAT0.700–2
max_tokensINT10241–32768
timeoutINT1201–3600
unload_existing_modelsBOOLEANfalse
force_rerunBOOLEANfalse
imageoptIMAGE

Outputs (2)

NameTypeDescription
textSTRING
modelSTRING