视频|Kling 图生视频
First frame in, cinematic motion out, v2.5 Turbo by default
- 首帧图
- 尾帧图
- 📁_本地保存路径
- 🆔_任务ID
- 🔗_视频云端直链
- 📄_完整日志
- 🎬_视频输出
Kling is one of the Chinese video labs the community actually knows by name - when people ask "what made this?" in video threads, Kling is a recurring answer alongside Veo and Hailuo. This node gives you Kling's image-to-video inside ComfyUI through the Tikpan reseller: a first-frame image in, an animated clip out, with an optional tail frame to bookend the motion. It defaults to kling-v2-5-turbo, which the tooltip sells as the value pick - faster and cheaper, with the heavier v2.6/v3 models a dropdown away.
As with every node in this pack, it's a metered cloud call: your sk- key from https://tikpan.com, pay per task, images and prompts leave your machine. Kling's closed models are exactly the "no open weights, so local isn't an option" category the KB's API-node doc describes - there is no Kling you can run at home, which is the entire reason this node exists.
How it works
The required 首帧图 is your first frame - the image the video starts from. An optional 尾帧图 sends image_tail, letting you specify where the motion should end; that's the difference between "anything happens" and "this video ends here." The node submits to Kling's image2video endpoint, polls, downloads, and returns the standard five outputs (🎬_视频输出, 📁_本地保存路径, 🆔_任务ID, 🔗_视频云端直链, 📄_完整日志).
Beyond the frame ports, the interesting knobs are the Kling-native params most packs strip out:
模式-std(faster/cheaper) vspro(higher quality).负向提示词- what you don't want in the frame; leave empty to omit.CFG Scale- defaults to 0.5, Kling's cfg_scale passthrough.生成声音- sendssound=on, but only v2.6 and up support it, and it adds time and cost.相机控制JSON- raw Kling camera_control JSON, for the crowd who wants literal camera moves.视频时长- 5s or 10s;画面比例- 16:9 / 9:16 / 1:1.
Install and first run
cd ComfyUI/custom_nodes
git clone https://github.com/htrert/ComfyUI-Tikpan-Pro
Restart (or Manager → "Tikpan"), paste your key, load a first frame, set std + 5 seconds + 480p-equivalent, run. Nothing to download; the model is server-side. Once the loop works, experiment with 尾帧图 - it's the cheapest way to add intent to a clip.
Common issues
The pack-wide trio (401 key, 402 balance, 429 rate) plus the standard video-task failures - timeouts (hold the 任务ID, recover via the task-query node rather than paying again), and charges with no file (read 完整日志 to see if the render actually finished). Two Kling-specific gotchas: 生成声音 silently does nothing on v2.5 Turbo (it needs v2.6+ - the tooltip says so, easy to miss), and a first frame with a big file can stall the upload, so compress it or use a hosted URL. If the VIDEO output won't preview, check 本地保存路径 first - the clip is usually on disk.
Inputs (19)
| 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 获取 |
| 模型版本 | COMBO | Kling v2.5 Turbo 性价比|kling-v2-5-turbo | 默认 v2.5 turbo,性价比优先 |
| 生成指令 | STRING | A cinematic product video with smooth motion, realistic lighting, high quality. | 描述视频画面、动作、镜头和风格 |
| 模式 | COMBO | 标准模式|std | std 标准更快更省;pro 更高质量 |
| 视频时长 | COMBO | 5秒|5 | Kling duration 参数 |
| 画面比例 | COMBO | 16:9 横屏|16:9 | Kling aspect_ratio 参数 |
| 首帧图 | IMAGE | Kling image2video 必填首帧图 | |
| 负向提示词opt | STRING | 不希望出现的内容,留空则不传 | |
| CFG Scaleopt | FLOAT | 0.500–1 | Kling cfg_scale 参数 |
| 生成声音opt | BOOLEAN | false | 开启后发送 sound=on;仅支持 Kling v2.6 及以上模型,可能增加耗时/费用 |
| 相机控制JSONopt | STRING | 可选,传入 Kling camera_control JSON 对象 | |
| 中转站地址opt | COMBO | https://tikpan.com | Tikpan 中转站地址,一般保持默认即可 |
| 最长等待秒数opt | INT | 120060–7200 | 等待视频生成完成的最长秒数 |
| 查询间隔秒数opt | INT | 85–60 | 轮询任务状态的间隔秒数 |
| 校验HTTPS证书opt | BOOLEAN | false | 默认关闭以兼容部分网络 |
| 跳过错误opt | BOOLEAN | false | 开启后异常时返回空,不打断后续工作流 |
| 尾帧图opt | IMAGE | 可选尾帧图,会发送 image_tail |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| 📁_本地保存路径 | STRING | — |
| 🆔_任务ID | STRING | — |
| 🔗_视频云端直链 | STRING | — |
| 📄_完整日志 | STRING | — |
| 🎬_视频输出 | VIDEO | — |