ComfyUI Node
π€ Leon LLM Chat API
A ComfyUI node in Leon_API with 11 inputs and 1 output.
π€ 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)
| Name | Type | Default | Description |
|---|---|---|---|
| model | STRING | gemini-flash-latest | Model name to use for chat completion |
| user_message | STRING | Hello! How can you help me today? | User message to send to the model |
| api_url | STRING | https://api.hyprlab.io/v1/chat/completions | API URL for chat completions |
| api_key | STRING | YOUR_HYPRLAB_API_KEY | Your HyprLab API key |
| system_messageopt | STRING | System message to set the assistant's behavior | |
| max_tokensopt | INT | 1280001β1048576 | Maximum number of tokens to generate |
| temperatureopt | FLOAT | 0.70β2 | Sampling temperature (0.0 to 2.0) |
| top_popt | FLOAT | 1.00β1 | Nucleus sampling parameter |
| input_imageopt | IMAGE | Optional single image input for vision-capable models | |
| image_urlopt | STRING | Optional image URL for vision-capable models | |
| image_arrayopt | IMAGE_ARRAY | Optional array of images (base64 or URLs) for vision-capable models |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| response | STRING | β |