Nodes/ERPK Collection/Claude Conversation
ComfyUI Node

Claude Conversation

Multi-turn conversation with Claude, preserving message history across executions.

By eRepublik-Labs·Created 10 months ago·Updated about a month ago· 0
Claude Conversation
  • client
  • conversation_history
  • response
  • conversation_history
prompt
seed-1
system_prompt
auto_trimtrue
reset_conversationfalse
temperature0.70
max_tokens2048
CategoryERPK/Claude

Inputs (9)

NameTypeDefaultDescription
promptSTRINGYour message in the conversation
seedINT-1-1–2147483647Seed for cache control. Randomizes by default to ensure fresh results each run.
clientoptCLAUDE_API_CLIENTClaude API client (optional if API key is configured in Settings)
conversation_historyoptCLAUDE_CONVERSATIONPrevious conversation state (connect from previous conversation node)
system_promptoptSTRINGOptional system prompt (only used for new conversations)
auto_trimoptBOOLEANtrueAutomatically trim old messages to fit context window
reset_conversationoptBOOLEANfalseStart a new conversation, discarding history
temperatureoptFLOAT0.700–1Creativity level
max_tokensoptINT2048256–4096Maximum length of response

Outputs (2)

NameTypeDescription
responseSTRING
conversation_historyCLAUDE_CONVERSATION