Nodes/WAS LMStudio Easy-Query/LM Studio Easy-Caption
ComfyUI Node

LM Studio Easy-Caption

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 Easy-Caption
  • model
  • images
  • options
  • captions
modeone-by-one
task_nameBooru-Style
user_prompt
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.
imagesIMAGEIMAGE input to caption. One or more images are accepted. Each will be resized to image_max_size before encoding.
modeCOMBOone-by-oneBatch sends all images in a single request; one-by-one sends one request per image using the same task and user prompt.
task_nameCOMBOBooru-StyleBuilt-in task preset name loaded from /tasks/*.txt. The file content is used as the system prompt.
user_promptSTRINGOptional user instructions appended to the task's system prompt. Leave blank to use only the task preset.
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
captionsSTRING