Nodes/Tikpan Official Nodes/视频|MiniMax Hailuo 视频生成
ComfyUI Node

视频|MiniMax Hailuo 视频生成

Text, first-frame, and first+last frame video in one node

By htrert·Created 5 months ago·Updated 2 months ago· 1
视频|MiniMax Hailuo 视频生成
  • 首帧图
  • 尾帧图
  • 📁_本地保存路径
  • 🆔_任务ID
  • 🔗_视频云端直链
  • 📄_完整日志
  • 🎬_视频输出
◄💰_福利_💰▾►
◄获取密钥请访问▾►
◄API_密钥sk-►
◄生成模式文生视频|text2video►
◄模型版本MiniMax-Hailuo-2.3 最新质量|MiniMax-Hailuo-2.3►
◄生成指令A cinematic short video, smooth camera movement, realistic lighting, high detail.►
◄视频时长6秒|6►
◄分辨率768P►
◄提示词优化true►
◄中转站地址https://tikpan.com►
◄最长等待秒数1200►
◄查询间隔秒数8►
◄校验HTTPS证书false►
◄跳过错误false►

MiniMax Hailuo is one of the closed Chinese video services the community points at in "what made this?" threads, and this node brings three of its modes into one canvas: text-to-video, first-frame image-to-video, and first+last-frame video (bookend a clip with two images). It defaults to MiniMax-Hailuo-2.3, with MiniMax-Hailuo-02 as the alternative - and the tooltip drops the one rule you need to remember: first+last-frame mode requires switching to the 02 model. Leave it on 2.3 and the mode selector will fight you.

The pack's README mentions something worth knowing about this integration: the node auto-validates upstream limits like the 10-second/1080P cap and the tail-frame rule, so it refuses early instead of burning money on a request Hailuo would reject anyway. That's a small mercy in a pack where most failure handling is "check the log."

How it works

生成模式 picks text2video, image2video (needs 首帧图), or first+last-frame (needs both 首帧图 and 尾帧图). 提示词优化 defaults to on - Hailuo's own prompt_optimizer, which rewrites your prompt server-side and generally helps more than it hurts. The node submits to MiniMax's video endpoint, polls, downloads, and returns the standard five outputs: 🎬_视频输出, 📁_本地保存路径, 🆔_任务ID, 🔗_视频云端直链, 📄_完整日志.

The inputs that matter

  • 生成模式 - text2video / image2video / first+last-frame.
  • 模型版本 - 2.3 for text and first-frame; switch to 02 for first+last-frame.
  • 生成指令 - subject, action, camera, style. The default cinematic template is a fine base.
  • 视频时长 - 6s or 10s (the 10s/1080P cap is the auto-validation mentioned above).
  • 分辨率 - 768P default; 1080P is slower and pricier.
  • 首帧图 / 尾帧图 - required per mode, as above.

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 from https://tikpan.com, and for the simplest test set text2video + 6s + 768P. Once that renders, try first-frame with a good still - image-to-video is where Hailuo earns its reputation.

Common issues

The pack-wide failure family (401/402/429, task timeouts with recovery via 任务ID, charges-with-no-file - check 完整日志). Hailuo-specific: the model/mode mismatch is the classic newbie trap (first+last-frame on 2.3), and trying to exceed the 10-second/1080P ceiling gets you a rejection rather than a graceful crop - that's the auto-validation doing its job, so pick a compliant config. Preview problems are usually local, not the model's fault: if the VIDEO output won't render but 本地保存路径 has a file, your ComfyUI just lacks a video-preview extension.

Category👑 Tikpan 官方独家节点/02 视频 Video

Inputs (16)

NameTypeDefaultDescription
💰_福利_💰COMBO1 options: 🔥 0.6元RMB兑1美元余额 | 全网底价 👉 https://tikpan.com
获取密钥请访问COMBO1 options: 👉 https://tikpan.com (官方授权Key获取点)
API_密钥STRINGsk-Tikpan 平台的 API 密钥,以 sk- 开头,从 https://tikpan.com 获取
生成模式COMBO文生视频|text2videoMiniMax/Hailuo 视频模式:文生、首帧图生、首尾帧
模型版本COMBOMiniMax-Hailuo-2.3 最新质量|MiniMax-Hailuo-2.3默认使用 MiniMax-Hailuo-2.3;首尾帧模式请切换 MiniMax-Hailuo-02
生成指令STRINGA cinematic short video, smooth camera movement, realistic lighting, high detail.描述视频主体、动作、镜头、风格,推荐英文或中英混合
视频时长COMBO6秒|6MiniMax/Hailuo duration 参数
分辨率COMBO768PMiniMax/Hailuo resolution 参数;1080P 更慢更贵
首帧图optIMAGE图生视频/首尾帧模式必填:视频第一帧
尾帧图optIMAGE首尾帧模式必填:视频最后一帧
提示词优化optBOOLEANtrueMiniMax prompt_optimizer 参数
中转站地址optCOMBOhttps://tikpan.comTikpan 中转站地址,一般保持默认即可
最长等待秒数optINT120060–7200等待视频生成完成的最长秒数
查询间隔秒数optINT85–60轮询任务状态的间隔秒数
校验HTTPS证书optBOOLEANfalse默认关闭以兼容部分网络;遇到 SSL 问题可保持关闭
跳过错误optBOOLEANfalse开启后异常时返回空,不打断后续工作流

Outputs (5)

NameTypeDescription
📁_本地保存路径STRING—
🆔_任务IDSTRING—
🔗_视频云端直链STRING—
📄_完整日志STRING—
🎬_视频输出VIDEO—