MiniMax Video Generator

# MiniMax 视频生成技能

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "MiniMax Video Generator" with this command: npx skills add hongjiahao371-pixel/minimax-video-gen

MiniMax 视频生成技能

使用 MiniMax Hailuo 生成视频,支持首尾帧模式(首图→尾图)和文生视频模式。

功能

  1. 首尾帧生成视频 - 上传首帧和尾帧图片,生成过渡视频
  2. 文生视频 - 根据文本描述生成视频
  3. 查询任务状态 - 查询视频生成进度
  4. 下载视频 - 获取视频下载链接并下载到本地

前置准备

API Key 配置

API Key 存储在 ~/.openclaw/openclaw.json 中,路径为:

{
  "models": {
    "providers": {
      "minimax-cn": {
        "apiKey": "your-api-key-here",
        "baseUrl": "https://api.minimaxi.com/anthropic"
      }
    }
  }
}

脚本会自动从配置文件中读取 API Key。

使用方式

首尾帧模式生成视频

cd ~/.openclaw/workspace/skills/minimax-video
node scripts/generate.js --mode fl2v \
  --first-frame "https://example.com/first.jpg" \
  --last-frame "https://example.com/last.jpg" \
  --prompt "A little girl grow up." \
  --model MiniMax-Hailuo-02 \
  --duration 6 \
  --resolution 1080P

文生视频模式

cd ~/.openclaw/workspace/skills/minimax-video
node scripts/generate.js --mode t2v \
  --prompt "A cute cat playing with a ball of yarn" \
  --model MiniMax-Hailuo-2.3 \
  --duration 6 \
  --resolution 1080P

查询任务状态

node scripts/query.js --task-id <task_id>

下载视频

node scripts/download.js --file-id <file_id> --output ./output.mp4

API 文档

  • 生成视频: POST https://api.minimaxi.com/v1/video_generation
  • 查询状态: GET https://api.minimaxi.com/v1/query/video_generation?task_id=xxx
  • 获取下载链接: GET https://api.minimaxi.com/v1/files/retrieve?file_id=xxx

模型说明

模型说明推荐用途
MiniMax-Hailuo-02首尾帧模式图片转视频
MiniMax-Hailuo-2.3文生视频/图生视频文字/图片生成视频
MiniMax-Hailuo-2.3-Fast快速版本快速生成

注意事项

  • 下载链接有效期 1小时,超时需重新获取
  • Token Plan 视频配额每日重置:
    • Plus-极速版: 3个/日
    • Max-极速版: 5个/日
    • Ultra-极速版: 5个/日

文件结构

minimax-video/
├── SKILL.md           # 本文档
└── scripts/
    ├── generate.js    # 生成视频主脚本
    ├── query.js       # 查询任务状态
    └── download.js    # 下载视频

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated