Nodes/ComfyUI-dapaoAPI/🐠GPT-LLM智能对话@炮老师的小课堂
ComfyUI Node

🐠GPT-LLM智能对话@炮老师的小课堂

Text plus up to 8 images, one HTTP call

By paolaoshi·Created 10 months ago·Updated a day ago· 217
🐠GPT-LLM智能对话@炮老师的小课堂
  • 🖼️ 图像1
  • 🖼️ 图像2
  • 🖼️ 图像3
  • 🖼️ 图像4
  • 🖼️ 图像5
  • 🖼️ 图像6
  • 🖼️ 图像7
  • 🖼️ 图像8
  • 💭 AI回复
  • 📄 完整响应
  • ℹ️ 处理信息
🔑 API密钥
🤖 模型gemini-3.7-flash
🎯 系统角色你是一个专业、友好、准确的 AI 助手。
💬 用户输入你好,请帮我分析这段内容。
🌡️ 温度0.70
📝 最大输出令牌2048
🎲 Top_P1.00
🎲 随机种0
⌛ 请求超时300
📋 额外参数JSON{}
🚫 出错时跳过false

DapaoGPTLLMChatNode is the "just let me talk to a frontier LLM" node in ComfyUI-dapaoAPI. No Skills, no material library, no state loop - you give it a system prompt, a user message, up to 8 images, and an API key, and it returns the model's answer as plain text. It's the node you reach for when you want a quick vision-language job - caption this image, summarize this screenshot, rewrite this prompt - without assembling the whole multi-turn workbench.

It sits in the pack's "大炮AI主力维护" (primary-maintained) category, which tells you the author considers it stable enough to lean on.

The inputs that matter

  • 🔑 API密钥 + 🤖 模型 - dapaoAI key and the 11-model menu (default gemini-3.7-flash). Same relay as the rest of the pack: requests go to api.dapaoai.com, and the key is never written to a config file.
  • 🎯 系统角色 - defaults to "you are a professional, friendly, accurate AI assistant." Change it per job; this is where 90% of the node's power lives.
  • 💬 用户输入 - your message. Reference the images in prose; the node just packs them alongside.
  • 🖼️ 图像1–图像8 - optional IMAGE inputs. Plug any of them in and it becomes a vision call. Eight is a lot of context for a caption job, but for comparing multiple screenshots or product angles it's genuinely useful.
  • 🌡️ 温度 (0.7), 📝 最大输出令牌 (2048), 🎲 Top_P (1), 🎲 随机种 (cache-only), ⌛ 请求超时 (300) - the standard tuning set.
  • 📋 额外参数JSON - escape hatch for OpenAI-compatible parameters the node doesn't expose as fields. Handy, but it's a free-form string, so a JSON typo surfaces as a request error.
  • 🚫 出错时跳过 - on failure, emit an empty/skip result instead of failing the whole queue. Good for batch pipelines where one bad image shouldn't kill the run.

Outputs

  • 💭 AI回复 - the answer, as a plain STRING. This is what you wire downstream.
  • 📄 完整响应 - the raw API response, for when you need metadata the node strips from the friendly output.
  • ℹ️ 处理信息 - the node's own status/telemetry, for debugging.

Where it fits

This is the classic "LLM as a tool in the graph" pattern from llm-in-comfyui.md - the model is not your prompt encoder, it's a worker that runs before or alongside generation. Common setups: feed it a rendered image from your KSampler and have it write a caption or a follow-up prompt; chain it into a text node that feeds another generator. It has no notion of conversation history - every call is stateless. For actual multi-turn work you want the DapaoAPIMultiTurnChatNode workbench instead.

Gotchas

  • Random seed is cache-only. Bump it and ComfyUI re-runs, but the API result isn't pinned to it - matching behavior across the whole pack.
  • Not every model in the list is multimodal. If you wire in images and pick a text-only model you'll get an error or a refusal-style answer, depending on the relay. The gemini-3.x and gpt-5.x entries are the safe picks for image input.
  • It's a paid call every run. No auto-retry of paid POSTs - the pack philosophy is that a flaky connection costs you a manual re-run rather than risking a double charge.
  • Chinese-only labels, as with the entire pack. The defaults are sane enough that you can ignore most of them and just edit the system prompt and user message.

Install: ComfyUI Manager → "dapaoAPI", or git clone https://github.com/paolaoshi/ComfyUI-dapaoAPI.git into ComfyUI/custom_nodes/, pip install -r requirements.txt, restart. Get a dapaoAI key at api.dapaoai.com (register, buy a redeem code, apply for a key in the default group) and paste it in.

Category🤖dapaoAPI/🍬大炮AI主力维护🍬

Inputs (19)

NameTypeDefaultDescription
🔑 API密钥STRING密钥只用于请求 https://api.dapaoai.com,不会写入配置文件。
🤖 模型COMBOgemini-3.7-flash11 options: gpt-5.5, gpt-5.6-luna, gpt-5.6-terra, gpt-5.6-sol, claude-fable-5, claude-opus-4-8, +5
🎯 系统角色STRING你是一个专业、友好、准确的 AI 助手。
💬 用户输入STRING你好,请帮我分析这段内容。
🌡️ 温度FLOAT0.700–2
📝 最大输出令牌INT20481–65536
🎲 Top_PFLOAT1.000–1
🎲 随机种INT00–18446744073709550000仅控制 ComfyUI 缓存,不发送给接口。
⌛ 请求超时INT30030–1200
📋 额外参数JSONoptSTRING{}补充 OpenAI 兼容请求参数;不能覆盖模型、消息和节点核心采样参数。
🚫 出错时跳过optBOOLEANfalse开启后接口错误不会中断工作流,而是将错误信息作为文本输出。
🖼️ 图像1optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像2optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像3optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像4optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像5optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像6optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像7optIMAGE可选多模态参考图,最多8个输入接口。
🖼️ 图像8optIMAGE可选多模态参考图,最多8个输入接口。

Outputs (3)

NameTypeDescription
💭 AI回复STRING
📄 完整响应STRING
ℹ️ 处理信息STRING