ComfyUI Node

LM Studio Query

A ComfyUI node in LM Studio with 6 inputs and 1 output.

By WASasquatch·Created 9 months ago·Updated 5 months ago· 17
LM Studio Query
  • model
  • images
  • options
  • responses
modeone-by-one
system_prompt
user_promptDescribe the image.
CategoryLM Studio

Inputs (6)

NameTypeDefaultDescription
modelLMSTUDIO_MODELLM Studio model settings produced by the LM Studio Model node. Contains model_id, temperature, max_tokens, seed, and image_max_size.
modeCOMBOone-by-oneBatch sends all images in a single request; one-by-one sends one request per image using the same prompts.
system_promptSTRINGSystem role content that sets the assistant's behavior for this request. If blank, no system message is added.
user_promptSTRINGDescribe the image.User message sent to the model. Works alone for text-only or together with provided images for vision models.
imagesoptIMAGEOptional IMAGE input. Provide one or more images. Resized to image_max_size before being sent.
optionsoptLMSTUDIO_OPTIONSPer-request overrides (temperature, max_tokens, seed, top_p, top_k, penalties, stop). These take precedence over values from the Model node.

Outputs (1)

NameTypeDescription
responsesSTRING