Nodes/Tikpan Official Nodes/多模态|GPT-5.4 Mini 推理
ComfyUI Node

多模态|GPT-5.4 Mini 推理

GPT-5.4 Mini reasoning in your graph, the Responses API way

By htrert·Created 5 months ago·Updated 2 months ago· 1
多模态|GPT-5.4 Mini 推理
  • 图片1
  • 图片2
  • 图片3
  • 图片4
  • 视频帧_IMAGE
  • 回答文本
  • 优化提示词
  • 结构化JSON
  • 用量
  • 状态日志
福利说明
获取密钥地址
API_密钥sk-
模型gpt-5.4-mini
任务类型通用问答
用户问题请分析输入内容,给出清晰、可执行、适合商业使用的中文结论。
系统指令你是 Tikpan 的商业级 AI 助手,回答要准确、结构化、可执行。信息不足时说明不确定性,不要编造。
输出格式Markdown结构化
推理强度低|low
回答详细度适中|medium
最大输出Token4096
创意温度1.00
图片细节自动|auto
抽帧策略混合智能
视频帧率FPS24
最大抽帧数12
启用联网搜索false
URL错误处理严格报错
POST重试策略幂等键轻重试
复用本地缓存true
跳过错误false
校验HTTPS证书true
图片URL列表
文件URL列表
本地文件路径

If you want OpenAI's current reasoning model inside a ComfyUI workflow without your own OpenAI key, TikpanGPT5MiniResponsesNode is the relay wrapper for it: it calls gpt-5.4-mini through Tikpan's /v1/responses endpoint. The "Responses" part matters - this is OpenAI's newer unified API (the one that fuses chat, tools, and file inputs into a single response object), not the older chat/completions shape. The node's job is to surface the core parameters as ComfyUI fields and hide the fixed host, so you get image inputs, video frame analysis, file reading, web search, and a reasoning-strength dial without touching the API.

How it works

You supply a question, optionally images (图片14, up to 16 per the tooltip), image URLs, video frames (视频帧_IMAGE - it analyzes by frame-sampling), or file URLs/local file paths (small files inline as input_file). The node builds a Responses payload with your system prompt, reasoning strength, and detail settings, POSTs to the relay, and returns the usual five outputs: 回答文本, 优化提示词, 结构化JSON, 用量, and 状态日志. The 任务类型 presets (9 of them - 通用问答 through 安全合规检查) swap system-prompt templates so you don't write one from scratch.

The inputs that actually matter

  • API_密钥 - sk- from tikpan.com.
  • 用户问题 - the question, combined with any media.
  • 推理强度 - minimal / low / medium / high reasoning effort. This is the cost lever: higher = better at hard reasoning, slower, pricier.
  • 回答详细度 - low / medium / high (default), a separate knob for answer length.
  • 最大输出Token - 4096 default, up to 32768.
  • 图片细节 - auto / low / high; resolution detail is a token cost.
  • 抽帧策略 and 最大抽帧数 - the video-analysis controls (mixed-smart default, 12 frames max default), same family as the Gemini analyst node.
  • 启用联网搜索 - off by default; flipping it on lets the model fetch current info, at extra cost.

Optional: 图片1–4, 图片URL列表, 视频帧_IMAGE, 文件URL列表, 本地文件路径.

Installing it

cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro

restart (or Manager → "Tikpan"). No models to download - pure relay client.

Where people get burned

  • Reasoning strength is where the bill hides. Every "high" run on long input is a noticeably bigger charge. The 用量 output is there so you can actually watch it - check it after a few runs and calibrate.
  • File size rules. Small files inline; the tooltip explicitly says big files should go on a CDN/OSS first and be passed by URL. Huge base64 payloads will time out.
  • URL errors abort by default. URL错误处理 defaults to 严格报错 - switch to skip-bad-links for batch.
  • Cache and retries. 复用本地缓存 (default on) avoids re-billing the same analysis; POST重试策略 (幂等键轻重试 by default) is the network-resilience knob.

If your pipeline wants OpenAI-grade reasoning on documents, images, and video frames with a per-call meter, this is the node - just treat 推理强度 like a budget slider rather than a quality slider, because that's what it economically is.

Category👑 Tikpan 官方独家节点/04 文字与多模态 Text & Multimodal

Inputs (30)

NameTypeDefaultDescription
福利说明COMBO1 options: gpt-5.4-mini 多模态文本/图片推理 | /v1/responses | 按输入/输出/缓存命中 Tokens 计费
获取密钥地址COMBO1 options: 👉 https://tikpan.com 获取 Tikpan API Key
API_密钥STRINGsk-Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取
模型COMBOgpt-5.4-mini选择 GPT-5 系列模型
任务类型COMBO通用问答预设场景,会自动调整 system prompt 模板
用户问题STRING请分析输入内容,给出清晰、可执行、适合商业使用的中文结论。本次对话的提问内容;可结合下方的图片/视频/文件输入
系统指令STRING你是 Tikpan 的商业级 AI 助手,回答要准确、结构化、可执行。信息不足时说明不确定性,不要编造。system prompt:约束 AI 的角色、口吻和回答风格
输出格式COMBOMarkdown结构化回答形式:报告 / Markdown / JSON / 直接产出提示词
推理强度COMBO低|low思考链长度:越高越擅长复杂推理但更慢更贵
回答详细度COMBO适中|medium控制最终回答的长度与展开程度
最大输出TokenINT4096256–32768回答最长字数上限
创意温度FLOAT1.000–20=最稳,1=均衡,>1=更发散
图片细节COMBO自动|auto图片解析清晰度:高清更准但 token 消耗大
抽帧策略COMBO混合智能视频抽帧算法:混合智能=综合最佳
视频帧率FPSINT241–120源视频帧率
最大抽帧数INT121–48最多抽几帧用于分析;越多越准但更贵
启用联网搜索BOOLEANfalse开启后允许模型联网检索最新信息
URL错误处理COMBO严格报错URL 拉取失败时的策略
POST重试策略COMBO幂等键轻重试网络异常重试方式;带幂等键更安全
复用本地缓存BOOLEANtrue开启后同一文件复用本地缓存,省带宽和时间
跳过错误BOOLEANfalse开启后异常时返回空,不打断后续工作流
校验HTTPS证书BOOLEANtrue默认开启;遇到本地证书问题再关闭(不推荐关闭)
图片1optIMAGE可选输入图 1,用于图文混合提问(最多 16 张)
图片2optIMAGE可选输入图 2
图片3optIMAGE可选输入图 3
图片4optIMAGE可选输入图 4
图片URL列表optSTRING每行一个公开图片 URL。Responses API 会作为 input_image.image_url 传递。
视频帧_IMAGEoptIMAGELoadVideo 等节点输出的视频帧 IMAGE。gpt-5.4-mini 会按抽帧图片进行视频内容分析。
文件URL列表optSTRING每行一个公开文件 URL。适合 PDF、文本、CSV 等可由上游读取的文件。
本地文件路径optSTRING每行一个本地文件路径。小文件会 inline 为 input_file,适合 PDF/TXT/CSV/JSON。

Outputs (5)

NameTypeDescription
回答文本STRING
优化提示词STRING
结构化JSONSTRING
用量STRING
状态日志STRING