ComfyUI Node
LM Studio Caption Dataset
A ComfyUI node in LM Studio with 8 inputs and 3 outputs.
LM Studio Caption Dataset
- model
- dataset
- options
- captions
- written_caption_paths
- result
◄system_promptYou are a professional image captioner. Describe the image in natural, concise prose with attention to composition, lighting, and details.►
◄user_prompt►
◄trigger_word_or_phrase►
◄trigger_concat_modeprepend►
◄caption_behavioroverwrite►
CategoryLM Studio
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| model | LMSTUDIO_MODEL | Model settings from LM Studio Model node. | |
| dataset | LMSTUDIO_DATASET_IMAGES | Dictionary produced by WASLoadImageDirectory mapping file paths to metadata. | |
| system_prompt | STRING | You are a professional image captioner. Describe the image in natural, concise prose with attention to composition, lighting, and details. | System prompt that defines the assistant's behavior and captioning style. |
| user_prompt | STRING | Optional extra instructions for each image. | |
| trigger_word_or_phrase | STRING | Optional trigger word or phrase to add to each caption. | |
| trigger_concat_mode | COMBO | prepend | Whether to prepend or append the trigger word/phrase to the caption. |
| caption_behavior | COMBO | overwrite | Behavior when caption file already exists: overwrite (replace), prepend (add before existing), append (add after existing). |
| optionsopt | LMSTUDIO_OPTIONS | Override generation options. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| captions | STRING | — |
| written_caption_paths | STRING | — |
| result | STRING | — |