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

LM Studio Easy-Caption Dataset

A ComfyUI node in LM Studio with 8 inputs and 3 outputs.

By WASasquatch·Created 9 months ago·Updated 5 months ago· 17
LM Studio Easy-Caption Dataset
  • model
  • dataset
  • options
  • captions
  • written_caption_paths
  • result
task_nameBooru-Style
user_prompt
trigger_word_or_phrase
trigger_concat_modeprepend
caption_behavioroverwrite
CategoryLM Studio

Inputs (8)

NameTypeDefaultDescription
modelLMSTUDIO_MODELModel settings from LM Studio Model node.
datasetLMSTUDIO_DATASET_IMAGESDictionary produced by WASLoadImageDirectory mapping file paths to metadata.
task_nameCOMBOBooru-StyleCaption preset (system prompt).
user_promptSTRINGOptional extra instructions.
trigger_word_or_phraseSTRINGOptional trigger word or phrase to add to each caption.
trigger_concat_modeCOMBOprependWhether to prepend or append the trigger word/phrase to the caption.
caption_behaviorCOMBOoverwriteBehavior when caption file already exists: overwrite (replace), prepend (add before existing), append (add after existing).
optionsoptLMSTUDIO_OPTIONSOverride generation options.

Outputs (3)

NameTypeDescription
captionsSTRING
written_caption_pathsSTRING
resultSTRING