ComfyUI Node
LitellmCompletionV2
A ComfyUI node in ETK/LLM/LiteLLM with 12 inputs and 5 outputs.
LitellmCompletionV2
- model
- image
- messages
- Model
- Messages
- Completion
- [Completions]
- Usage
◄max_tokens250►
◄temperature0.50►
◄top_p0.50►
◄frequency_penalty0.00►
◄presence_penalty0.00►
◄promptHello World!►
◄reasoning_effortlow►
◄taskcompletion►
◄use_cached_responsefalse►
CategoryETK/LLM/LiteLLM
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| model | LITELLM_MODEL | anthropic/claude-3-haiku-20240307 | — |
| max_tokens | INT | 2501–10000000000 | — |
| temperature | FLOAT | 0.500–1 | — |
| top_p | FLOAT | 0.500–1 | — |
| frequency_penalty | FLOAT | 0.00 | — |
| presence_penalty | FLOAT | 0.00 | — |
| prompt | STRING | Hello World! | — |
| reasoning_effort | COMBO | low | 3 options: low, medium, high |
| task | COMBO | completion | 7 options: transcription, classification, completion, translation, summarization, image_captioning, +1 |
| imageopt | IMAGE | — | |
| messagesopt | LLLM_MESSAGES | — | |
| use_cached_responseopt | BOOLEAN | false | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| Model | LITELLM_MODEL | — |
| Messages | LLLM_MESSAGES | — |
| Completion | STRING | — |
| [Completions] | LIST | — |
| Usage | STRING | — |