Nodes/Nougan_Nodes/Nougan LM Studio 🧠
ComfyUI Node

Nougan LM Studio 🧠

Chat with any model loaded in LM Studio (dev mode). Supports vision, audio and video inputs.

By WinnouganΒ·Created about a month agoΒ·Updated 19 days agoΒ· 3
Nougan LM Studio 🧠
  • image
  • audio
  • video
  • RESPONSE
  • PROMPT
β—„server_urlhttp://127.0.0.1:1234β–Ί
β—„model_namelocal-modelβ–Ί
β—„system_promptYou are a helpful assistant.β–Ί
β—„generate_promptβ–Ί
β—„max_tokens512β–Ί
β—„temperature0.70β–Ί
β—„top_p0.95β–Ί
β—„streamtrueβ–Ί
β—„seed0β–Ί
β—„image_size1024β–Ί
β—„video_frames8β–Ί
β—„prompt_overrideβ€”β–Ί
β—„embedded_imageβ–Ί
CategoryNougan Suite

Inputs (16)

NameTypeDefaultDescription
server_urlSTRINGhttp://127.0.0.1:1234LM Studio dev-mode server. Default http://127.0.0.1:1234
model_nameSTRINGlocal-modelUse the ⟳ button on the node to auto-detect loaded models.
system_promptSTRINGYou are a helpful assistant.Instructions for the assistant (system role).
generate_promptSTRINGβ€”
max_tokensINT512-1–65536-1 lets the model decide.
temperatureFLOAT0.700–2β€”
top_pFLOAT0.950–1β€”
streamBOOLEANtrueToken-by-token streaming drives the progress bar.
seedINT00–18446744073709550000β€”
image_sizeCOMBO1024Longest side images/frames are downscaled to before encoding.
video_framesINT81–32How many evenly-spaced frames to sample from a video.
imageoptIMAGESingle image or batch β€” every frame becomes a vision content part.
audiooptAUDIOSent as an input_audio part β€” needs an audio-capable model.
videoopt*IMAGE batch of frames, a VHS video dict, or a file path string.
prompt_overrideoptSTRINGWired STRING replaces the generate_prompt widget (feed the Prompt Box back in here).
embedded_imageoptSTRINGInternal β€” populated by the on-node image drop zone.

Outputs (2)

NameTypeDescription
RESPONSESTRINGβ€”
PROMPTSTRINGβ€”