Nodes/Tikpan Official Nodes/多模态|Gemini 3 Flash 图片/视频分析
ComfyUI Node

多模态|Gemini 3 Flash 图片/视频分析

Gemini 3 Flash as an image/video analyst node with real frame extraction

By htrert·Created 5 months ago·Updated 2 months ago· 1
多模态|Gemini 3 Flash 图片/视频分析
  • 图片1
  • 图片2
  • 图片3
  • 图片4
  • 视频帧_IMAGE
  • 本地视频
  • 分析报告
  • 反推提示词
  • 结构化JSON
  • 用量
  • 状态日志
福利说明
获取密钥地址
API_密钥sk-
模型gemini-3-flash-preview
分析任务通用分析
分析要求请分析画面主体、场景、动作、镜头、光线、色彩、文字信息、潜在问题,并给出可复用的生成提示词。
输出格式Markdown结构化
最大输出Token4096
创意温度0.30
媒体解析度默认
抽帧策略混合智能
视频帧率FPS24
最大抽帧数24
视频输入策略自动优先抽帧
URL错误处理严格报错
POST重试策略幂等键轻重试
复用本地缓存true
跳过错误false
校验HTTPS证书true
中转站地址https://tikpan.com
图片URL列表
本地视频路径
视频URL
高级自定义JSON

This is the "look at my content and tell me what's wrong with it" node. TikpanGemini3FlashPreviewAnalystNode wraps gemini-3-flash-preview as a specialized analyst: product/ad diagnosis, video shot-by-shot breakdown, prompt reverse-engineering, and compliance checks. It's the deeper cousin of the pack's generic Gemini 3.5 Flash node - fewer raw capabilities, but purpose-built presets and, crucially, a frame-extraction engine so you can feed it videos without paying to upload whole files.

How it works

Media goes in, a structured report comes out. The node accepts up to 12 images, image URL lists, a 视频帧_IMAGE input (video frames from a LoadVideo-style node - it auto-samples and compresses them), local video under ~18MB (inlined), or a public/YouTube URL. It then calls Gemini with your 分析任务 preset and returns 分析报告, 反推提示词 (reverse-engineered generation prompt), 结构化JSON, 用量, and 状态日志.

The inputs that actually matter

  • API_密钥 - sk- from tikpan.com.
  • 分析任务 - seven presets: 通用分析, 视频分镜拆解, 商品卖点分析, 广告素材诊断, 画面提示词反推, 安全与合规检查, 自定义. Pick the job, the node loads the template.
  • 分析要求 - your focus areas on top of the preset (default asks for subject, scene, motion, lens, light, color, text, issues, and a reusable prompt).
  • 抽帧策略 - how video becomes frames: 均匀覆盖, 按秒抽帧, 首尾加密, 运动变化优先, 混合智能 (default). For action analysis, 运动变化优先 is the one you want.
  • 最大抽帧数 - up to 48 (default 24); more frames = more accurate, more expensive.
  • 媒体解析度 - default / low / medium / high. Resolution is a token-cost lever; high detail on a long video is spendy.
  • 视频输入策略 - 自动优先抽帧 (default, cheapest), 只用抽帧, 只用视频原件, or both (highest cost). Frames are the budget move.

Optional: 本地视频 (≤18MB inline; bigger → use URL or frames), 视频URL (accepts YouTube links), and the 高级自定义JSON payload deep-merge.

Installing it

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

restart (or Manager → "Tikpan"). No models to download; this is relay + frame handling.

Where people get burned

  • Frame strategy is a cost dial. 混合智能 at 48 frames on a long video is the expensive combo. Start with 均匀覆盖 at a modest frame count, then raise detail where it matters.
  • Video inputs have size rules. Local video inline is capped around 18MB per the tooltip; past that it falls back to URL or pre-extracted frames. A 1080p 60fps file will blow the cap instantly - extract frames first.
  • URL errors abort by default. URL错误处理 is 严格报错; switch to skip-bad-links for batch runs.
  • Cache on. 复用本地缓存 defaults on and saves bandwidth/time on repeat analysis of the same file. Leave it.

Honest take: if you're doing "watch this ad and tell me why it converts / what to change," the preset templates plus the motion-aware frame strategy make this the pack's best content-diagnosis tool. It's a specialist - use it for analysis, not general reasoning, where the 3.5 Flash node is the better default.

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

Inputs (30)

NameTypeDefaultDescription
福利说明COMBO1 options: gemini-3-flash-preview 图片/视频理解分析 | 按输入/输出 Tokens 计费
获取密钥地址COMBO1 options: 👉 https://tikpan.com 获取 Tikpan API Key
API_密钥STRINGsk-Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取
模型COMBOgemini-3-flash-preview选择对应版本的 Gemini 图像/视频理解模型
分析任务COMBO通用分析预设场景,会自动加载对应的分析模板
分析要求STRING请分析画面主体、场景、动作、镜头、光线、色彩、文字信息、潜在问题,并给出可复用的生成提示词。具体想让 AI 关注/输出的内容,可在预设模板基础上微调
输出格式COMBOMarkdown结构化回答形式:报告/Markdown/JSON/直接产出提示词
最大输出TokenINT4096256–32768回答最长字数上限(约 1 token≈0.7 个汉字)
创意温度FLOAT0.300–20=最稳,1=均衡,>1=更发散;事实分析建议低
媒体解析度COMBO默认上传图像/视频帧的清晰度:越高越精细但 token 消耗越大
抽帧策略COMBO混合智能视频抽帧的算法:混合智能=综合最佳;运动变化优先适合动作分析
视频帧率FPSINT241–120源视频的帧率(影响抽帧时长换算)
最大抽帧数INT241–48最多抽几帧用于分析;越多越准但更贵
视频输入策略COMBO自动优先抽帧怎么把视频喂给模型:抽帧便宜;视频原件适合长视频但贵
URL错误处理COMBO严格报错URL 拉取失败时的策略
POST重试策略COMBO幂等键轻重试网络异常重试方式;带幂等键更安全
复用本地缓存BOOLEANtrue开启后同一文件复用本地缓存,省带宽和时间
跳过错误BOOLEANfalse开启后异常时返回空,不打断后续工作流
校验HTTPS证书BOOLEANtrue默认开启;遇到本地证书问题再关闭(不推荐关闭)
中转站地址optCOMBOhttps://tikpan.comTikpan 中转站地址,一般保持默认即可
图片1optIMAGE可选输入图 1(最多 12 张图片)
图片2optIMAGE可选输入图 2
图片3optIMAGE可选输入图 3
图片4optIMAGE可选输入图 4
图片URL列表optSTRING每行一个公开图片 URL。会作为 file_data 传给 Gemini。
视频帧_IMAGEoptIMAGELoadVideo 等节点输出的视频帧 IMAGE。节点会自动抽帧压缩后作为多张图片分析。
本地视频optVIDEO小于约 18MB 时 inline 直传。更大的视频建议用 视频URL 或 视频帧_IMAGE。
本地视频路径optSTRING可选,直接填 mp4/mov/webm 等本地路径。
视频URLoptSTRING公开视频 URL 或 YouTube URL。会作为 file_data.file_uri 传给 Gemini。
高级自定义JSONoptSTRING可选,会深度合并到 generateContent payload,用于后续 Tikpan/上游扩展参数。

Outputs (5)

NameTypeDescription
分析报告STRING
反推提示词STRING
结构化JSONSTRING
用量STRING
状态日志STRING