Minimax H3 标志

Minimax H3

社区
SlavaSexton
minimax-h3

编写或调试 MiniMax H3(Hailuo 3)音视频生成提示词、在 ComfyUI 中本地运行开放权重、根据现有显存选择量化版本或加速 LoRA、使用图像、视频或音频配置参考转视频,或遇到生成片段出现乱码语音、偏离参考身份、潜空间放大后音频失真,或在看似最新的版本上无法运行时,使用此技能。

Add to TypingMind

概览

发布者SlavaSexton
代码仓库ComfyUI-Agent-Kit
技能名称minimax-h3
星标数
113
复刻数
18
附带文件
1
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 SlavaSexton 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Minimax H3 AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/SlavaSexton/ComfyUI-Agent-Kit/tree/master/claude-code/skills/minimax-h3
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SlavaSexton/ComfyUI-Agent-Kit.git /tmp/ComfyUI-Agent-Kit
mkdir -p .claude/skills
cp -r /tmp/ComfyUI-Agent-Kit/claude-code/skills/minimax-h3 .claude/skills/minimax-h3
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Minimax H3,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Minimax H3。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Minimax H3 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

MiniMax H3 (Hailuo 3)

H3 generates video and synchronised stereo audio jointly, from text, images, reference video, reference audio, or any mix. It is the same model family whether you hit the hosted API or run the open weights, but the two paths are wired completely differently and only one of them is free.

Two paths, do not confuse them.

  • Hosted API, partner nodes MinimaxHailuo03TextToVideoNode / ...FirstLastFrameNode / ...ReferenceNode, category partner/video/MiniMax. 2K output, priced per second, no local weights.
  • Local open weights, core nodes MiniMaxH3ImageToVideo and MiniMaxH3ReferenceToVideo from comfy_extras/nodes_minimax_h3.py. 768p, free, and everything below is about this path.

Who owns what, so you open one file, not three. THIS file owns the prompt format and the operating rules. reference.md next to it owns weights, quant sizes, acceleration packs and their wiring. The MiniMax entry in the kit's MODELS.md owns the node-level graph (every node and socket) and the licence. When they disagree, the node code wins and the discrepancy is a bug worth reporting.

The prompt format is not free-form prose

H3-Base consumes the output of a hosted prompt refiner (H3-Context-IR) that is not in the open release. So locally you write in the refiner's output shape yourself. From MiniMax's own VIDEO_PROMPT_WRITING_GUIDE_base_en.md, that is an optional instruction line, a blank line, then three fields:

integrated_multimodal_description: [Shot 1] ... [Shot 2] At 00:04.500, ...

overall_soundscape: ...

non_diegetic_music: ...
  • integrated_multimodal_description carries visuals, action, shots, speakers, dialogue and diegetic sound along the timeline. overall_soundscape sums ambience and physical-action sound. non_diegetic_music is score the characters cannot hear.
  • Image modes need a fixed first line. I2V: For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced. First-and-last-frame uses the alignment sentence naming both pictures and the second each lands on, to two decimals.

A complete prompt, end to end

Nothing above is usable until you have seen one whole. This is a 5 s text-to-video brief in the official shape:

integrated_multimodal_description: [Shot 1] Cinematic medium-wide shot, Push In slowly. A bicycle mechanic in
a navy work coat lowers a metal shutter in a narrow workshop at dusk; warm tungsten light spills across
scattered tools and rain-dark pavement outside. He pauses, looks toward the street. At 00:03.200 he switches
off the bench lamp and the frame drops to ambient blue. The mechanic (weathered voice, mid-fifties, speaks
English only) says quietly: <d>[English] That's enough for today.</d>

overall_soundscape: Steady rain on a metal awning, the rolling clatter of the shutter, one soft click of the
lamp switch, distant tyres on wet asphalt. No music from within the scene.

non_diegetic_music: Sparse solo piano, slow, minor key, entering after the shutter closes and fading to
silence on the lamp click.

For image-to-video the same block is preceded by the fixed line and one blank line:

For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced.

integrated_multimodal_description: [Shot 1] ...

Note what is doing the work: one physical action the camera and the sound can both follow, a camera move from the fixed vocabulary, the spoken line wrapped in <d> so the words are exact, and the two audio fields kept separate so diegetic sound and score do not fight.

Dialogue: the single most common cause of "the speech is gibberish"

Speakers get stable IDs (S1), (S2), joint (S1,S2). The words go inside <d> with a language tag, and everything about who says it and how stays outside. Copy the line verbatim, do not paraphrase or translate:

The young woman with a quiet, breathy voice (S1) says: <d>[English] I get off at the next station.</d>

Without <d> the model is never told the exact words and improvises phonetics. Voiceover needs the exact phrase says in an off-screen voiceover plus a statement that the lips stay closed. Use <scenetrans> when a line crosses a cut, <cutoff> when speech is truncated by the end. On-screen text goes in double quotes, verbatim.

Camera is a controlled vocabulary

Motion type plus amplitude plus speed, and medium amplitude at normal speed is the default you simply omit: Zoom In/Out, Push In/Pull Out, Pan Left/Right, Truck Left/Right, Tilt Up/Down, Pedestal Up/Down, Arc Shot, Tracking Shot.

Reference-to-video: label every file with a job

<Subject N> is the one that does the real work, because it binds sources: "<Subject 1> is the woman whose appearance comes from <Picture 1> and whose walking motion comes from <Video 1>." Then <Picture N> is a frame or composition anchor, <Video N> an editing or temporal source, <Audio N> a copied signal.

Reference-to-video has its OWN output contract, and it is six sections, not the three above. MiniMax ships two prompt guides, and until 2026-08-09 this skill knew only the first. VIDEO_PROMPT_WRITING_GUIDE_base_en.md governs T2VA / I2VA / FL2VA / L2VA and gives the three fields at the top of this file. VIDEO_PROMPT_WRITING_GUIDE_ref_en.md governs full-reference mode and opens: "A complete rewrite output consists of six sections in the following order":

subject_definitions: <Subject 1> is ... whose appearance comes from <Picture 1> ...
summary: ...
retention_analysis: ...
detailed_description: [Shot 1] ...
overall_soundscape: ...
non_diegetic_music: ...

subject_definitions declares the references and their labels; summary states the task type, the target video and the main relationships to the references; retention_analysis says how each reference is retained, transferred or reused; detailed_description carries visuals, action, shots, sound and dialogue in playback order; the last two match their base-mode meanings. The order is fixed, and the field is retention_analysis, not retention. Note this is six named sections of prose in one string, not a JSON array, whatever a third-party node's docs call it. Confirmed by reading the guide on MiniMaxAI/MiniMax-H3 (23 553 bytes, 2026-08-09); the core node itself validates none of this, comfy_extras/nodes_minimax_h3.py takes a plain multiline string, so nothing will tell you when you get it wrong except the result.

Limits from the official card: 9 images, 3 video clips, 3 audio clips, 12 files total, clips 2 to 15 s each and 15 s total, and audio can never be the only reference. The local MiniMaxH3ReferenceToVideo node has four Autogrow families reaching those ceilings: ref_images (max 9), ref_videos (3), ref_video_audios (3, the soundtrack of the same-numbered reference video) and ref_audios (3, standalone). A template showing three image sockets is not the limit.

Ten production jobs to write against

Krea's 2026-08-05 guide frames H3 prompts as production paperwork, one job per clip: director's single-shot brief · timed three-beat teaser · first-to-last-frame passage · influencer identity-and-voice lock · reference-motion performance · native-audio product reveal · brand-title reveal with required text and negatives · protected-frame object swap · UI walkthrough · omni-reference director brief. Pick the job first, then decide which control has to survive: camera, timing, identity, motion source, or the sound event line.

Note their examples use a [0-3s] beat style, which is a readable shorthand rather than MiniMax's own [Shot N] plus At 00:04.500 convention. Both work; the official form is the safer default locally.

Operating facts that bite

  • Frame count sits on a grid. length must leave remainder 5 modulo 17 (124 frames = ~5 s, 73 = ~3 s, 362 = ~15 s). The node calls it the "17k+5 grid" and the trained range is ~124 to 362 frames.
  • Native size is ~1 MP, template default 1344 x 768 at 24 fps. Higher costs time and VRAM without more real detail; the official 2K route is a hosted regenerate pass that is not open.
  • Duration: trained and tested 5 to 15 s. Longer runs but is untrained territory.
  • Speed: the open release ships full attention only; sparse attention is promised later. This is why it is slow, and why the community acceleration below matters.
  • Licence: open weights, not open source, and the territory clause is unusually strict. See MODELS.md.

When it goes wrong

SymptomMost likely cause
Speech is fluent-sounding nonsenseThe line is not inside <d>[Language] ... </d>
Face drifts across the clipNo <Subject N> binding the identity source, or refs at the wrong scale after an upscale
Audio garbles after a latent upscaleaudio_denoise left at its default 1.0 (inferred cause, not measured); audio settles late, so run more of the schedule in pass 1
Wrong face animated in a crowdReference sizing set to match when identity needed max
Acceleration node refuses to loadThe build is older than the pack requires; a tagged release is not automatically new enough
Output length is not what you askedlength fell off the 17k+5 grid

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Minimax H3 AI 技能有什么作用?

编写或调试 MiniMax H3(Hailuo 3)音视频生成提示词、在 ComfyUI 中本地运行开放权重、根据现有显存选择量化版本或加速 LoRA、使用图像、视频或音频配置参考转视频,或遇到生成片段出现乱码语音、偏离参考身份、潜空间放大后音频失真,或在看似最新的版本上无法运行时,使用此技能。

为什么在 TypingMind 中使用 Minimax H3?

因为您只需安装一次,就能搭配任何模型使用。Minimax H3 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Minimax H3?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/SlavaSexton/ComfyUI-Agent-Kit/tree/master/claude-code/skills/minimax-h3。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Minimax H3?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Minimax H3 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Minimax H3 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Minimax H3 AI 技能免费吗?

是的。SlavaSexton 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇