ComfyUI Node

Grok Chat

A ComfyUI node in ERPK/Grok with 7 inputs and 2 outputs.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Grok Chat
  • client
  • chat_session
  • response
  • chat_session
prompt
modelgrok-4.5
reset_conversationfalse
temperature0.70
max_tokens4096
CategoryERPK/Grok

Inputs (7)

NameTypeDefaultDescription
promptSTRINGYour message in the conversation.
clientoptGROK_API_CLIENTGrok API client from Grok API Client node. If not connected, resolves from ComfyUI Settings or environment.
modeloptCOMBOgrok-4.5Grok model to use for chat.
chat_sessionoptGROK_CHAT_SESSIONPrevious chat session output from another Grok Chat node. Leave disconnected to start a new conversation.
reset_conversationoptBOOLEANfalseDiscard existing history and start a new conversation.
temperatureoptFLOAT0.700–2Creativity level.
max_tokensoptINT4096256–16384Maximum number of tokens in the response.

Outputs (2)

NameTypeDescription
responseSTRING
chat_sessionGROK_CHAT_SESSION