ComfyUI Node

LUNA VLM Chat

A ComfyUI node in LUNA/VLM with 9 inputs and 1 output.

By LSDJesus·Created 6 months ago·Updated 6 months ago· 2
LUNA VLM Chat
  • llm_model
  • image
  • text
promptDescribe this image in detail for use as an image generation prompt.
system_promptYou are a helpful assistant that describes images concisely and accurately for use in AI image generation prompts.
max_tokens256
temperature0.70
repetition_penalty1.15
prepend_text
append_text
CategoryLUNA/VLM

Inputs (9)

NameTypeDefaultDescription
llm_modelLLM_MODELFrom LUNA VLM Loader (must have mmproj)
imageIMAGEInput image for the VLM to describe
promptSTRINGDescribe this image in detail for use as an image generation prompt.Instruction for the VLM. What should it say about the image?
system_promptoptSTRINGYou are a helpful assistant that describes images concisely and accurately for use in AI image generation prompts.System prompt for the VLM conversation
max_tokensoptINT25632–2048Maximum tokens to generate
temperatureoptFLOAT0.700–2Sampling temperature (0 = greedy)
repetition_penaltyoptFLOAT1.151–2Penalizes repeated tokens (1.0 = off, 1.1-1.3 recommended)
prepend_textoptSTRINGText to prepend before VLM output in the final result
append_textoptSTRINGText to append after VLM output in the final result

Outputs (1)

NameTypeDescription
textSTRING