视频|Gemini Omni Flash 视频生成
Gemini Omni Flash video — five generation modes in one node
- 参考图1
- 参考图2
- 参考图3
- 本地视频
- 📁_本地保存路径
- 🆔_任务ID
- 🔗_视频云端直链
- 📋_完整日志
- 🎬_视频输出
TikpanGeminiOmniVideoNode is the pack's do-everything video node: it wraps Gemini's Omni Flash video endpoint (/v1/video/create through the Tikpan relay) and switches between five modes via a single dropdown - text-to-video, first/last-frame, reference-image padding, and Omni-Flash video editing. The README lists it as supporting 文生/图生/多参考/编辑/音频驱动 five ways of working; in practice that means you can draft a clip, constrain it with bookends, add subject references, and even edit an existing video, all from one node. Video editing is the unusual bit - most video nodes in this pack generate; this one can also revise.
How it works
The 生成类型 field maps 1=文生视频, 2=首尾帧, 3=垫图参考, 4=Omni-Flash 视频编辑. Types 1–3 submit an async generation job; type 4 takes a source video (视频URL or 本地视频 up to ~48MB inlined as data:video) and passes it to input_reference. Either way it's the standard async pattern - submit, poll 任务ID, download - and the five outputs are the familiar 本地保存路径, 任务ID, 视频云端直连, 完整日志, and 视频输出 (VIDEO).
The inputs that actually matter
- API_密钥 - sk- from tikpan.com.
- 生成指令 - the prompt. The default is a cinematic commercial brief - write for camera motion, lighting, and subject consistency.
- 模型 -
omni-flash(default) oromni-flash-edit(the tooltip recommends the edit variant for video editing). - 生成类型 - the mode switch above. Pick 4 for editing and provide a source video.
- 视频时长 - 5, 8, or 10 seconds.
- 画面比例 - 16:9 or 9:16.
- 清晰度 - 720p or 1080p; the tooltip notes 1080p engages
enable_sampleupstream.
Optional: 参考图1–3 (type 2 bookends max 2, type 3 padding max 3), 视频URL (for editing), 本地视频 (≤48MB inline), plus local knobs - 最长等待秒数 defaults to 1200s here, 查询间隔秒数 8s, and 校验HTTPS证书 defaults false on this node.
Installing it
cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro
restart (or Manager → "Tikpan"). No models to download - the 48MB inline-video cap is the only size concern, and it's a payload limit, not a disk one.
Where people get burned
- Mode confusion. All five modes share one node, and the reference-image limits differ per mode (2 bookends vs 3 padding). Read the tooltips before wiring images - a type-2 run with 3 images can reject.
- The 48MB inline wall. Editing a video bigger than that fails unless you use a public URL. Upload to a host and pass
视频URL. - 1080p is a toggle with a cost.
enable_sampleis the upstream's upscale path - it's the premium lane, not the default. - Cert off by default.
校验HTTPS证书=falseagain on this node. Flip it on if you can.
The short version: it's the Swiss-army video node - five modes, one install, and the only one in the pack that edits existing footage. The mode dropdown is both the feature and the trap; read it carefully.
Inputs (18)
| Name | Type | Default | Description |
|---|---|---|---|
| 💰_福利_💰 | COMBO | 1 options: 🔥 0.6元≈1美金余额 | 全网底价 👉 https://tikpan.com | |
| 获取密钥请访问 | COMBO | 1 options: 👉 https://tikpan.com (官方授权 Key 获取地址) | |
| API_密钥 | STRING | sk- | Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取 |
| 生成指令 | STRING | A cinematic commercial video. Natural lighting, smooth camera motion, high quality, subject remains consistent throughout. | 描述你想生成的视频画面/动作/氛围,越具体越准确 |
| 模型 | COMBO | omni-flash | 选择 Omni 视频模型;视频编辑推荐 omni-flash-edit |
| 生成类型 | COMBO | 文生视频|1 | 1=文生视频,2=首尾帧,3=垫图参考,4=Omni-Flash 视频编辑 |
| 视频时长 | COMBO | 8 秒|8 | 生成视频的秒数;会按上游接口传 seconds 字段 |
| 画面比例 | COMBO | 16:9 横屏|16:9 | 视频比例:16:9 横屏,9:16 竖屏短视频 |
| 清晰度 | COMBO | 720p 标准|720p | 1080p 会启用 enable_sample;720p 不启用 |
| 参考图1opt | IMAGE | 参考图 1:首尾帧最多 2 张,垫图参考最多 3 张 | |
| 参考图2opt | IMAGE | 参考图 2:首尾帧最多 2 张,垫图参考最多 3 张 | |
| 参考图3opt | IMAGE | 参考图 3:首尾帧最多 2 张,垫图参考最多 3 张 | |
| 视频URLopt | STRING | 用于 Omni-Flash 视频编辑(type=4),优先使用公开可访问 URL;会传给 input_reference。 | |
| 本地视频opt | VIDEO | 用于 Omni-Flash 视频编辑(type=4)。小于约 48MB 时会 inline 直传为 data:video;更大的视频请使用视频URL。 | |
| 最长等待秒数opt | INT | 120060–7200 | 本地轮询等待最长秒数,不会传给上游模型 |
| 查询间隔秒数opt | INT | 83–60 | 本地轮询任务状态的间隔秒数 |
| 校验HTTPS证书opt | BOOLEAN | false | 本地网络参数:控制 requests 是否校验证书,不会传给上游模型 |
| 跳过错误opt | BOOLEAN | false | 开启后异常时返回空,不打断后续工作流 |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| 📁_本地保存路径 | STRING | — |
| 🆔_任务ID | STRING | — |
| 🔗_视频云端直链 | STRING | — |
| 📋_完整日志 | STRING | — |
| 🎬_视频输出 | VIDEO | — |