Nodes/LF Nodes/LLM Image classifier
ComfyUI Node

LLM Image classifier

A ComfyUI node in ✨ LF Nodes/LLM with 8 inputs and 3 outputs.

By lucafoscili·Created 2 years ago·Updated about a year ago· 50
LLM Image classifier
  • image
  • ui_widget
  • request_json
  • response_json
  • message
temperature0.7
max_tokens500
prompt
seed42
urlhttp://localhost:5001/v1/chat/completions
character_bio
Category✨ LF Nodes/LLM

Inputs (8)

NameTypeDefaultDescription
imageIMAGEThe image that the LLM will try to classify.
temperatureFLOAT0.70.1–1.901Controls the randomness of the generated text. Higher values make the output more random.
max_tokensINT50020–8000Limits the length of the generated text. Adjusting this value can help control the verbosity of the output.
promptSTRINGThe initial input or question that guides the generation process. Can be a single line or multiple lines of text.
seedINT420–18446744073709550000Determines the starting point for generating random numbers. Setting a specific seed ensures reproducibility of results.
urlSTRINGhttp://localhost:5001/v1/chat/completionsURL of the local endpoint where the request is sent.
character_biooptSTRINGBiographical details of the character to be impersonated. Helps in shaping the tone and content of the generated text.
ui_widgetoptKUL_CODE

Outputs (3)

NameTypeDescription
request_jsonJSON
response_jsonJSON
messageSTRING