Nodes/ComfyUI_DW_Chat/DeepSeek Chat
ComfyUI Node

DeepSeek Chat

DeepSeek with six built-in personalities, including a Xiaohongshu writer

By yiwangsimple·Created 2 years ago·Updated about a year ago· 89
DeepSeek Chat
    • STRING
    role
    message
    max_tokens1000
    reset_conversationfalse

    DeepSeek Chat is the pack's personality node. Instead of making you write a system prompt, it hands you six hard-coded roles and a role dropdown, then talks to DeepSeek's deepseek-chat model through the cloud API. The roles are the fun part - the pack's author baked in Chinese-language personas that range from genuinely useful to gloriously niche: 报错助手 (an error-assistant that reviews your Python code like a senior dev), 标题党 (a clickbait headline generator with five-title-per-turn output), 灵感助手 (an AI-art prompt optimizer that splits positive and negative prompts), 小红书 (a full Xiaohongshu post generator with emoji-laden titles and hashtags), 信息提取 (summarizes long text into Markdown), and 通用 (no system prompt, plain chat).

    Each role also gets its own temperature baked in, which is a thoughtful touch you rarely see in chat nodes. The error assistant runs at 0 for deterministic debugging; the creative roles (标题党, 灵感助手, 小红书) run hot at 1.25; extraction sits at 0.7. You don't control temperature directly - you control it by picking a role, and honestly that's the right call for this audience.

    Inputs are minimal: role, message (multiline), max_tokens (up to 32k), and an optional reset_conversation boolean. It keeps a conversation history like the other multi-turn nodes, so reset_conversation=True gives you a clean single shot. Output is a single STRING - the model's reply, or the Chinese error string if the key is missing.

    Installing and keys

    Comes with the pack, no model downloads - it's all cloud:

    cd ComfyUI/custom_nodes
    git clone https://github.com/yiwangsimple/ComfyUI_GroqChat
    

    restart, then copy api_key.ini.exampleapi_key.ini and set DEEPSEEK_API_KEY from platform.deepseek.com/api_keys. Note this one reads its key from the [API_KEYS] section (some other DeepSeek node in this pack reads the [DEFAULT] section - annoying inconsistency, worth knowing when you're editing the ini).

    Gotchas

    The biggest one is that the roles are Chinese-first - the 标题党 and 小红书 personas produce Chinese output by design, so if you're an English-only user the 报错助手 and 信息提取 roles are your best bets. Also remember the history lives on the node: the same "why is it ignoring my prompt" trap as the other multi-turn nodes. Toggle reset_conversation and move on. This is a fun node to demo - the clickbait role alone is worth the install - but for steady prompt-engineering work the Groq node is the more predictable tool.

    Category🌙DW/MultiRole

    Inputs (4)

    NameTypeDefaultDescription
    roleCOMBO6 options: 通用, 报错助手, 标题党, 灵感助手, 小红书, 信息提取
    messageSTRING
    max_tokensINT10001–32768
    reset_conversationoptBOOLEANfalse

    Outputs (1)

    NameTypeDescription
    STRINGSTRING