minimax-h3-video-gen
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-video-gen" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-74287a5d63745df956877f472431003610e876759caba59755c79d898269c9b9. Verify the upstream source and version against https://skillhub.cn/skills/user_814dbe54/minimax-h3-video-gen 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
MiniMax H3: a general-purpose multimodal generation system supporting multimodal understanding and video generation (2K resolution, 15-second duration, native stereo), based on a 33-billion-parameter single-stream Transformer architecture.
Introduction source: third_party · user_814dbe54 · 1.0.2 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: minimax-h3-video-gen
description: MiniMax H3:通用全模态生成系统,支持多模态理解+视频生成(2K/15s/原生立体声),33B 单流 Transformer
slug: minimax-h3-video-gen
version: 1.0.2
displayName: MiniMax-H3 视频生成
summary: MiniMax H3:通用全模态生成系统,支持多模态理解+视频生成(2K/15s/原生立体声),33B 单流 Transformer
license: MiniMax-H3-Community
tags:
- 视频生成
- AI视频
- MiniMax
- H3
- 全模态
- 多模态
- 2K视频
- 立体声音频
- 文生视频
- 图生视频
agent_created: trueMiniMax-H3 视频生成
Overview
MiniMax H3 是一个通用全模态生成系统,能够理解文本、图像、视频和音频的组合输入,并生成带原生立体声音频的高质量视频。
核心特色:
- 全模态理解:支持文本+图像+视频+音频的多模态上下文
- 2K 视频输出:最高 2K 分辨率,最长 15 秒
- 原生立体声音频:32kHz 立体声同步生成
- 11 种语言:中文、英语、日语、韩语等稳定支持
系统架构
| 模块 | 说明 | 开源状态 |
|---|---|---|
| H3-Context-IR | 多模态指令深度理解与精炼 | 未开源(API) |
| H3-Base | 基于 IR 输出生成 768p 音视频 | 已开源 |
| H3-Regenerate-2K | 768p → 2K 重生成 | 未开源(API) |
系统要求
- GPU:4 张 GPU(推荐 NVIDIA H100/A100)
- 精度:BF16
- 依赖:PyTorch, diffusers(minimax-h3 分支), transformers, accelerate
模型变体
| 变体 | 输入模式 | 规格 |
|---|---|---|
| H3-Base-FL2VA | 首尾帧模式 | 0/1/2 张输入图像 |
| H3-Base-Ref2VA | 全参考模式 | 图像≤9张 + 视频≤3段 + 音频≤3段 |
快速安装
# 安装 Prompt Writing Skill(通用代理框架可用)
npx skills add https://github.com/MiniMax-AI/MiniMax-H3 --skill h3-prompt-writing
# 克隆仓库(本地部署)
git clone https://github.com/MiniMax-AI/MiniMax-H3.git
cd MiniMax-H3
# 安装依赖
pip install -r requirements.txt
pip install sglang[all] # SGLang 推理框架
模型下载
# 下载完整模型(FL2VA + Ref2VA)
hf download MiniMaxAI/MiniMax-H3 \
--include "model_index.json" "FL2VA/*" "Ref2VA/*" \
--local-dir MiniMax-H3
# 仅下载 FL2VA 模式
hf download MiniMaxAI/MiniMax-H3 \
--include "model_index.json" "FL2VA/*" \
--local-dir MiniMax-H3
使用方法
1. 在线 API(推荐入门)
- 全球:https://platform.minimax.io/docs/api-reference/video-generation-v2-create
- 中国:https://platform.minimaxi.com/docs/api-reference/video-generation-v2-create
- WebApp:https://hailuoai.com/
2. 本地部署 - SGLang(FL2VA 首尾帧模式)
# 启动服务
sglang serve \
--model-path MiniMaxAI/MiniMax-H3 \
--num-gpus 4 \
--ulysses-degree 4 \
--performance-mode speed \
--host 0.0.0.0 \
--port 30010 \
--model-variant fl2va
3. 本地部署 - SGLang(Ref2VA 全参考模式)
sglang serve \
--model-path MiniMaxAI/MiniMax-H3 \
--num-gpus 4 \
--ulysses-degree 4 \
--performance-mode speed \
--host 0.0.0.0 \
--port 30011 \
--model-variant ref2va
4. Diffusers 加载
from diffusers import ModularPipeline
pipe = ModularPipeline.from_pretrained("MiniMaxAI/MiniMax-H3")
pipe.to("cuda")
# FL2VA 模式 - 文生视频
output = pipe(prompt="视频描述...", num_frames=96)
# FL2VA 模式 - 首帧生视频
output = pipe(image=first_frame, prompt="描述图像动起来...")
# Ref2VA 模式 - 多参考生成
output = pipe(images=[img1, img2, img3], prompt="基于参考图像...")
5. 完整 2K 工作流(本地 + API)
# 环境变量配置
export SGLANG_DEPLOYMENT_URL="http://localhost:30010"
export MINIMAX_API_BASE="https://api.minimaxi.com"
export TOKEN="<your-minimax-token>"
# 流程: Context-IR(API) → H3-Base(SGLang本地) → Regenerate-2K(API)
Prompt Writing Skill
MiniMax-H3 仓库内置 h3-prompt-writing 技能,提供视频提示词写作指导:
npx skills add https://github.com/MiniMax-AI/MiniMax-H3 --skill h3-prompt-writing
参考文件:
references/base-en.txt— 文本/关键帧模式提示指南references/ref-en.txt— 全参考模式提示指南
输入输出规格
| 参数 | 规格 |
|---|---|
| 输出时长 | 4–15 秒 |
| 宽高比 | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 |
| 分辨率 | 短边 768px;2K 通过 Regenerate-2K |
| 帧率 | 24 FPS |
| 音频 | 32 kHz 立体声 |
| 输入语言 | 11 种语言(含中文) |
风格特定 Skills(MiniMax Hub 专属)
| Skill | 功能 |
|---|---|
| minimalist-product-ad-generator | 极简产品广告 |
| 3d-animation-short-generator | 3D 动画短片 |
| papercraft-stop-motion-explainer | 纸艺定格动画 |
| brand-promo-video-generator | 品牌推广视频 |
| music-video-subtitle-generator | 音乐视频字幕 |
| co-op-game-intro-generator | 合作游戏开场 |
| paper-collage-explainer-generator | 纸拼贴解说 |
| handdrawn-live-video-generator | 手绘实拍视频 |
关键知识点
- 33B 参数:密集单流 Transformer,约 13B 在 AdaLN 分支(可缓存)
- 三维 MM-RoPE:多模态旋转位置编码
- 4 GPU 最低要求:Ulysses Degree 4 分布式推理
- Context-IR 不开源:需要 MiniMax API token
- 8 个风格 Skills:仅限 MiniMax Hub 画布工作流,不可移植
Resources
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 MiniMax-H3 视频生成模型的完整部署与使用指南
- 支持多模态输入(文本、图像、视频、音频)和高质量视频输出
Highlights
- 触发词覆盖全面,包含模型名称、功能特性等关键信息
- description 内容完整,无截断或错位
Highlights
- 文档结构清晰,章节划分合理
- 提供多种使用方式的详细示例(API、本地部署、Diffusers)
- frontmatter 完整,包含必要元数据
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
未提及网络连接失败、模型下载中断等常见异常处理
Recommendation: 建议补充常见异常场景的处理建议,如网络重试机制、下载断点续传等
Highlights
- 工具来源明确,提供具体仓库地址和模型链接
- 参数配置详细,包含 GPU 要求、环境变量等关键信息
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.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 59, 66, 67, 153
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.
- api.minimaxi.com
- docs.sglang.io
- github.com
- hailuoai.com
- huggingface.co
- localhost
- platform.minimax.io
- platform.minimaxi.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.