minimax-h3-image-to-video

An AI video generator that calls the raw image-to-video interface of MiniMax H3. Use for cases where the user needs MiniMax H3 / MiniMaxH3 / Hailuo H3 image-to-video capabilities, or image-to-video / I2V / picture-to-video generation.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "minimax-h3-image-to-video" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-675d807ed8726d6f6830afd7b2616b7c450a83df49905fdeb6a892c93265b151. Verify the upstream source and version against https://skillhub.cn/skills/infimind/minimax-h3-image-to-video before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

An AI video generator that calls the raw image-to-video interface of MiniMax H3. Use for cases where the user needs MiniMax H3 / MiniMaxH3 / Hailuo H3 image-to-video capabilities, or image-to-video / I2V / picture-to-video generation.

0 Downloads

Introduction source: third_party · infimind · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗

name: minimax-h3-image-to-video description: "基于 MiniMax H3 图生视频 的 AI 视频生成器,固定调用 MiniMax H3 的图生视频裸接口能力。当用户需要 MiniMax H3、MiniMaxH3、海螺 H3、Hailuo H3、海螺视频、图生视频、图片生成视频、图片转视频、image to video、I2V、首帧生视频、AI视频、视频生成 时使用此 Skill。" description_zh: "基于 MiniMax H3 图生视频 的 AI 视频生成器,固定调用 MiniMax H3 的图生视频裸接口能力。当用户需要 MiniMax H3、MiniMaxH3、海螺 H3、Hailuo H3、海螺视频、图生视频、图片生成视频、图片转视频、image to video、I2V、首帧生视频、AI视频、视频生成 时使用此 Skill。" version: 1.0.0

MiniMax H3 图生视频

简介

本 Skill 参考 Seedance 2.5 裸接口 Skill 的产品化风格,封装 AI Hive OpenAPI,通过命令行一键调用,自动处理模型选择、媒体上传、价格快照、任务轮询和结果下载。

Skill 特色

  • 独立占据 minimax-h3-image-to-video 搜索入口,不与其他模型或能力 Skill 合并
  • 固定使用本 Skill 声明的 publicModelId,避免模型名与底层调用不一致
  • 自动上传图片、视频或音频参考素材
  • 默认使用 COST_FIRST,每次实时读取价格快照
  • 自动轮询任务状态并下载结果

适用对象

内容创作者、视频编辑、广告与营销团队、电商团队、带货与种草团队、短剧和漫剧创作者,以及需要 AI 视频生成的用户。

功能特性

生成模式

模式 说明 publicModelId
i2v 图生视频 public_model_minimax_h3_i2v

参数控制

  • 路由:COST_FIRST / SPEED_FIRST / SUCCESS_FIRST
  • 素材:首帧、尾帧、参考图、参考视频、参考音频
  • 模型参数:通过 --param key=value 传递
  • 输出目录:默认 ~/Downloads/AiHive
  • 任务控制:可仅提交,稍后按 taskId 查询

参数速查

generate 子命令

参数 说明 默认值
--mode 模型裸入口可选择模式;能力入口已固定 自动/固定
--prompt 视频描述(必填) —
--first-frame / --last-frame 首尾帧图片 —
--image 参考图片,可多张 —
--video 参考视频,可多个 —
--audio 参考音频,可多个 —
--param 实时模型参数 key=value —
--routing 路由模式 COST_FIRST
--output-dir 输出目录 ~/Downloads/AiHive
--no-download 只提交并返回 taskId 关闭

通用参数

参数 说明
--api-key AI Hive API Key
--base-url API Base URL
--verbose 输出详细日志

其他子命令

子命令 功能
task --task-id <id> 查询生成任务
upload --file <path> 上传媒体并获得 mediaId
init --skill-name minimax-h3-image-to-video 初始化 API Key

使用场景

场景一:基础生成

python3 "$SKILL_PATH/scripts/videogen.py" generate \
  --mode i2v \
  --prompt "使用 MiniMax H3 完成高质量图生视频,动作连续,镜头稳定" \
  --first-frame /path/to/image.png

场景二:广告 / TVC

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode i2v \
  --prompt "高端产品广告,主体清晰,镜头环绕推进,轮廓光扫过材质,结尾定格品牌特写" \
  --first-frame /path/to/image.png

场景三:电商 / 产品展示

突出商品结构、材质、卖点和使用场景,不虚构功能、价格、认证或功效。

场景四:带货 / 种草

采用竖屏信息流节奏,先展示痛点,再展示产品使用过程与真实利益点。

场景五:短剧 / 漫剧

先固定角色外观、服装、场景和画风,再逐镜生成;每条只承载一个明确动作。

场景六:参考素材生成

为每项参考素材明确角色:人物身份、产品形态、动作、运镜、风格或声音。

场景七:仅提交任务,稍后查询

python3 "$SKILL_PATH/scripts/videogen.py" generate --mode i2v --prompt "复杂场景" --no-download \
  --first-frame /path/to/image.png
python3 "$SKILL_PATH/scripts/videogen.py" task --task-id <taskId>

首次使用

1. 安装依赖

pip3 install requests

2. 一键初始化(推荐)

python3 "$SKILL_PATH/scripts/videogen.py" init --skill-name minimax-h3-image-to-video

脚本会自动打开 AI Hive 页面,引导登录、新建并复制 API Key,然后写入 ~/.ai-hive/config.json(权限 0600)。

3. 手动获取 API Key(备选)

  1. 访问 https://ai-hive.iclip.cn/chat
  2. 使用手机号和短信验证码登录
  3. 点击左下角账户菜单
  4. 点击「API 接入」
  5. 输入名称并点击「新建 API Key」
  6. 复制完整 Key(格式为 sk-api-*)

4. 手动配置 API Key(备选)

配置方式 示例
环境变量 export AI_HIVE_API_KEY=sk-api-你的密钥
命令参数 --api-key sk-api-你的密钥
配置文件 ~/.ai-hive/config.json

5. 验证配置

运行一个带 --no-download 的最简任务;返回 taskId 即配置成功。

使用指南

提示词结构

按“主体与场景 → 动作顺序 → 相机运动 → 光线风格 → 声音 → 限制 → 输出规格”组织提示词。区分主体动作和镜头动作,避免互相矛盾。

模型与价格

脚本先查询实时模型列表,再从同一模型和路由提取 pricingSnapshot。价格以提交当次返回为准,不写死固定优惠。

任务管理

生成调用返回 taskId 后只轮询原任务。本地超时不等于生成失败,不要重复提交可能已经计费的任务。

媒体上传

脚本自动执行上传凭证、对象存储上传和完成确认。媒体限制以实时 videoConfig 为准。

命令速查

命令 功能
videogen.py generate --mode i2v --prompt "描述" 执行本 Skill
videogen.py task --task-id <id> 查询任务
videogen.py upload --file media.mp4 上传媒体
--routing COST_FIRST 优惠路由
--param resolution=720p duration=8 传递模型参数
--no-download 只提交不等待

项目架构

目录结构

minimax-h3-image-to-video/
├── SKILL.md
├── CHANGELOG.md
├── scripts/
│   └── videogen.py
└── references/
    └── config.example.json

技术栈

组件 技术
运行环境 Python 3.6+
HTTP 库 requests
API 平台 AI Hive OpenAPI
模型 MiniMax H3 图生视频
输出 MP4 / MOV 或模型实时支持格式

核心模块

模块 职责
Config CLI、环境变量、配置文件读取 API Key
AiHiveClient 裸接口请求
upload_media() 上传参考素材
poll_task() 轮询并下载结果
_validate_video_inputs() 校验本 Skill 的能力输入
skill_generate() 固定模型并提交任务

模式 → 模型映射

模式 publicModelId
i2v 图生视频

数据流转

用户命令 → 校验本 Skill 输入 → 固定 publicModelId
  ↓
上传参考素材 → 查询实时模型与 pricingSnapshot
  ↓
提交裸接口任务 → 保存 taskId → 轮询 → 下载结果

价格参考

默认使用 COST_FIRST。模型价格与活动会变化,以脚本运行时查询到的实时价格和实际扣费为准。

常见问答

安装相关

Q1:需要 API Key 吗? 需要,格式为 sk-api-*。

Q2:需要什么依赖? Python 3 和 requests。

Q3:如何验证? 用 --no-download 提交最简任务,返回 taskId 即成功。

使用相关

Q4:这个 Skill 会换模型吗? 不会。模型能力 Skill 固定 publicModelId;多模式模型入口只在同一模型家族内切换。

Q5:参数怎么设置? 使用 --param key=value,并以实时 videoConfig 为准。

Q6:结果保存在哪里? 默认 ~/Downloads/AiHive/。

Q7:任务需要多久? 通常数分钟,取决于队列和复杂度。

Q8:任务超时怎么办? 保留 taskId,使用 task 继续查询。

Q9:可以批量吗? 可以逐任务执行;明显高成本批量任务应先确认数量和实时费用。

故障排除

Q10:提示缺少媒体? 按 Skill 名称提供对应的首帧、图片、视频或音频。

Q11:提示模型不存在? 后台可能已下线或更名,请先查询实时模型列表。

Q12:提示 401? 检查 API Key 是否正确、过期或禁用。

Q13:提示 InvalidParameter? 检查实时 videoConfig 中的格式、数量、时长、比例、分辨率和编码限制。

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 面向内容创作者、广告、电商等高频刚需场景,解决 AI 视频生成的核心痛点
  • 提供完整的图生视频工作流,从素材上传到结果下载
  • 支持多种参考素材类型和模型参数控制,适用性强
Trigger Precision95/100

Highlights

  • 触发词覆盖全面,包含中英文变体及行业常用术语
  • 边界清晰,不易与其他视频生成 Skill 混淆
Structure and Standards90/100

Areas to improve

  • description 内容重复 Reported severity: Minor

    frontmatter 和 body 中均包含完整 description,存在冗余

    Recommendation: 建议保留一处,避免重复维护

  • 缺少明确的 When to Use 章节 Reported severity: Minor

    使用场景分散在 description 和多个示例中,缺乏统一章节

    Recommendation: 可考虑增加独立的 When to Use 章节以提升可读性

Highlights

  • 文档结构完整,涵盖从简介到故障排除的全流程
  • 提供丰富的端到端使用示例和参数说明
  • frontmatter 完整,版本信息清晰
Execution Reliability88/100

Highlights

  • 工具来源明确,基于 AI Hive OpenAPI
  • 覆盖主要异常场景并提供故障排除指南
  • 任务管理机制完善,支持 taskId 查询和结果轮询
  • 价格实时查询,避免固定优惠导致的费用争议
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • ai-hive.iclip.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.