ComfyUI Node
OpenAI LLM
A ComfyUI node in text/generation with 8 inputs and 1 output.
OpenAI LLM
- image
- response
◄prompt►
◄model▾►
◄temperature1.00►
◄reasoning_effort▾►
◄api_key►
◄max_output_tokens16384►
◄system_instruction►
Categorytext/generation
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| model | COMBO | 11 options: gpt-5.4, gpt-5.4-pro, gpt-4.1, gpt-4.1-mini, gpt-5, gpt-5.2, +5 | |
| temperature | FLOAT | 1.000–2 | — |
| reasoning_effort | COMBO | 3 options: low, medium, high | |
| api_key | STRING | Directly put OpenAI API key or .env variable name (OPENAI_API_KEY) | |
| max_output_tokens | INT | 163841–32768 | — |
| system_instructionopt | STRING | — | |
| imageopt | IMAGE | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| response | STRING | — |