ComfyUI Node
LM Studio Query
A ComfyUI node in LM Studio with 6 inputs and 1 output.
LM Studio Query
- model
- images
- options
- responses
◄modeone-by-one►
◄system_prompt►
◄user_promptDescribe the image.►
CategoryLM Studio
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| model | LMSTUDIO_MODEL | LM Studio model settings produced by the LM Studio Model node. Contains model_id, temperature, max_tokens, seed, and image_max_size. | |
| mode | COMBO | one-by-one | Batch sends all images in a single request; one-by-one sends one request per image using the same prompts. |
| system_prompt | STRING | System role content that sets the assistant's behavior for this request. If blank, no system message is added. | |
| user_prompt | STRING | Describe the image. | User message sent to the model. Works alone for text-only or together with provided images for vision models. |
| imagesopt | IMAGE | Optional IMAGE input. Provide one or more images. Resized to image_max_size before being sent. | |
| optionsopt | LMSTUDIO_OPTIONS | Per-request overrides (temperature, max_tokens, seed, top_p, top_k, penalties, stop). These take precedence over values from the Model node. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| responses | STRING | — |