视频|HappyHorse 1.0 视频编辑
An edit instruction instead of a redraw prompt
- 本地视频
- 参考图1
- 参考图2
- 参考图3
- 参考图4
- 参考图5
- 📁_本地保存路径
- 🆔_任务ID
- 🔗_视频云端链接
- 📄_完整日志
- 🎬_视频输出
The one HappyHorse node that takes a video in and gives a changed video back. Feed it a source clip plus an instruction - "replace the background with a sunset beach, keep the person's movement, add a warm filter" - and up to five reference images, and it re-renders the original footage with the edits applied. The edit node is the family's most useful commercial tool: background swaps, regrades, subject swaps, and motion tweaks without re-shooting or reaching for a heavyweight video editor.
The honest caveat up front: "video editing" on a closed model like this is not frame-accurate compositing. It's a re-generation conditioned on your source video and instruction - the motion and identity usually survive, fine details and exact frames don't. For a background swap on a talking-head or product clip, it's great. For "fix this one typo on that sign at 00:14," it's the wrong tool. Set expectations accordingly and you'll be pleasantly surprised more often than not.
How it works
Source video can come in three ways: a 视频URL (recommended - a public URL, used when present), a 本地视频 VIDEO tensor, or a plain local path. Large local files hit the inline upload limit and the docs recommend the URL route for anything substantial. 参考图1–参考图5 (or the 参考图URL列表 field) are optional style/identity anchors for the edit - for example, a reference that pins down the new look you want. The node submits to HappyHorse's edit endpoint, polls, downloads, and returns the standard five outputs: 🎬_视频输出, 📁_本地保存路径, 🔗_视频云端链接, 🆔_任务ID, 📄_完整日志.
The inputs that matter
编辑指令- the whole game. Say what changes and what must not: "replace the background with X, keep the person's movement, add a warm tone." The default template is a good skeleton.视频URL/本地视频- the source footage.参考图1–参考图5- optional references for the new look; name each one's job in the instruction.执行方式- sync for a quick test, async for real edits.清晰度- 1080P default.视频时长- 3–15 seconds of output.随机种子- fixed default.
Install and first run
cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro
Restart (or Manager → "Tikpan"), paste your sk- key, load a short clip, write one focused edit instruction, and run at 720P first. Short clips and single-purpose instructions edit far more reliably than long videos with stacked demands.
Common issues
Where people get burned here: uploading a huge local video and watching it stall - use a hosted URL instead; and stacking multiple edits into one instruction, which invites the model to drop one of them (split into sequential edits instead). Timeouts and double-billing behave like every other video node - keep the 任务ID and use the task-query node to recover, check the log before re-running. And remember the preview gotcha: a VIDEO output that won't render in the UI usually means the file is fine on disk and your ComfyUI lacks a video-preview extension.
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| 💰_福利_💰 | COMBO | 1 options: 🔥 0.6元RMB兑1虚拟美元余额 | 全网底价 👉 https://tikpan.com | |
| 获取密钥请访问 | COMBO | 1 options: 👉 https://tikpan.com (官方授权Key获取点) | |
| API_密钥 | STRING | sk- | Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取 |
| 编辑指令 | STRING | 将背景替换为日落海滩,保持人物动作不变,添加暖色调滤镜 | 告诉 AI 怎么改这段视频,例如『换背景』『改色调』 |
| 执行方式 | COMBO | 同步 (等待生成并下载) | 同步=直接等到出片;异步=只提交任务,配合『异步任务查询』节点取结果 |
| 清晰度 | COMBO | 1080P | 视频分辨率:1080P 更清晰但更慢更贵 |
| 视频时长 | COMBO | 5秒|5 | 生成视频的秒数;越长越慢越贵 |
| 水印 | COMBO | 无水印 | 是否在视频右下角加官方水印 |
| 随机种子 | INT | 8888880–2147483647 | 同种子+同提示词可复现视频;改种子可换不同结果 |
| 最长等待秒数 | INT | 60030–3600 | 等待视频生成完成的最长秒数;1080P/长视频建议加大 |
| 查询间隔秒数 | INT | 105–60 | 轮询任务状态的间隔秒数 |
| 中转站地址opt | COMBO | https://tikpan.com | Tikpan 中转站地址,一般保持默认即可 |
| 视频URLopt | STRING | 输入视频的公开 URL(推荐),或留空上传本地视频 | |
| 本地视频opt | VIDEO | 本地视频文件,将自动上传(视频较大可能耗时较长) | |
| 参考图1opt | IMAGE | 参考图片1(可选,最多5张) | |
| 参考图2opt | IMAGE | 参考图片2(可选) | |
| 参考图3opt | IMAGE | 参考图片3(可选) | |
| 参考图4opt | IMAGE | 参考图片4(可选) | |
| 参考图5opt | IMAGE | 参考图片5(可选) | |
| 参考图URL列表opt | STRING | 多行输入,每行一个图片URL(优先级高于图片输入,最多5张) |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| 📁_本地保存路径 | STRING | — |
| 🆔_任务ID | STRING | — |
| 🔗_视频云端链接 | STRING | — |
| 📄_完整日志 | STRING | — |
| 🎬_视频输出 | VIDEO | — |