ComfyUI Node

πŸ€– Leon LLM Chat API

A ComfyUI node in Leon_API with 11 inputs and 1 output.

By l3ony2kΒ·Created about a year agoΒ·Updated about a month agoΒ· 3
πŸ€– Leon LLM Chat API
  • input_image
  • image_array
  • response
β—„modelgemini-flash-latestβ–Ί
β—„user_messageHello! How can you help me today?β–Ί
β—„api_urlhttps://api.hyprlab.io/v1/chat/completionsβ–Ί
β—„api_keyYOUR_HYPRLAB_API_KEYβ–Ί
β—„system_messageβ–Ί
β—„max_tokens128000β–Ί
β—„temperature0.7β–Ί
β—„top_p1.0β–Ί
β—„image_urlβ–Ί
CategoryLeon_API

Inputs (11)

NameTypeDefaultDescription
modelSTRINGgemini-flash-latestModel name to use for chat completion
user_messageSTRINGHello! How can you help me today?User message to send to the model
api_urlSTRINGhttps://api.hyprlab.io/v1/chat/completionsAPI URL for chat completions
api_keySTRINGYOUR_HYPRLAB_API_KEYYour HyprLab API key
system_messageoptSTRINGSystem message to set the assistant's behavior
max_tokensoptINT1280001–1048576Maximum number of tokens to generate
temperatureoptFLOAT0.70–2Sampling temperature (0.0 to 2.0)
top_poptFLOAT1.00–1Nucleus sampling parameter
input_imageoptIMAGEOptional single image input for vision-capable models
image_urloptSTRINGOptional image URL for vision-capable models
image_arrayoptIMAGE_ARRAYOptional array of images (base64 or URLs) for vision-capable models

Outputs (1)

NameTypeDescription
responseSTRINGβ€”