ComfyUI Node

Captioner

A ComfyUI node in LLM with 6 inputs and 1 output.

By power88·Created 9 months ago·Updated 3 months ago· 0
Captioner
  • client_info
  • image
  • extra_parameters
  • Caption
languageEnglish
unload_model_after_chattrue
num_max_sentences10
CategoryLLM

Inputs (6)

NameTypeDefaultDescription
client_infoCLIENT_INFOThe LLM client info.
languageSTRINGEnglishThe language of the caption.
unload_model_after_chatBOOLEANtrueWhether to unload the LLM model after the chat. Only Ollama is supported.
num_max_sentencesINT101–100The maximum number of sentences for the caption. Use 2 for CLIP model. Use 4 for FLUX. Use 10 and more for Qwen-Image.
imageIMAGEThe image for the LLM model.
extra_parametersoptEXTRA_PARAMETERSThe extra parameters for the LLM model.

Outputs (1)

NameTypeDescription
CaptionSTRING