ComfyUI Node
Grok Chat
A ComfyUI node in ERPK/Grok with 7 inputs and 2 outputs.
Grok Chat
- client
- chat_session
- response
- chat_session
◄prompt►
◄modelgrok-4.5►
◄reset_conversationfalse►
◄temperature0.70►
◄max_tokens4096►
CategoryERPK/Grok
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Your message in the conversation. | |
| clientopt | GROK_API_CLIENT | Grok API client from Grok API Client node. If not connected, resolves from ComfyUI Settings or environment. | |
| modelopt | COMBO | grok-4.5 | Grok model to use for chat. |
| chat_sessionopt | GROK_CHAT_SESSION | Previous chat session output from another Grok Chat node. Leave disconnected to start a new conversation. | |
| reset_conversationopt | BOOLEAN | false | Discard existing history and start a new conversation. |
| temperatureopt | FLOAT | 0.700–2 | Creativity level. |
| max_tokensopt | INT | 4096256–16384 | Maximum number of tokens in the response. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| response | STRING | — |
| chat_session | GROK_CHAT_SESSION | — |