H3 Prompt Writing logo

H3 Prompt Writing

Community
mini-yifan
h3-prompt-writing

Write MiniMax H3 video generation prompts for T2VA, I2VA, FL2VA, L2VA, and Ref2VA. Use when rewriting multimodal requests into H3 prompt structures, composing integrated_multimodal_description, overall_soundscape, and non_diegetic_music, aligning keyframes, defining reference labels, or when the caller hands off a structured handoff (the production's own shot/segment notes, or a minimax-h3 brief) after choosing a workflow. Do not SSH, pick ComfyUI workflows, or submit GPU jobs.

Overview

Publishermini-yifan
Repositoryopen-source-video-gen-skill
Skill nameh3-prompt-writing
Stars
40
Forks
6
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by mini-yifan on GitHub. Read the source before you install it.

Installation

Install the H3 Prompt Writing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/mini-yifan/open-source-video-gen-skill/tree/main/skills/h3-prompt-writing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mini-yifan/open-source-video-gen-skill.git /tmp/open-source-video-gen-skill
mkdir -p .claude/skills
cp -r /tmp/open-source-video-gen-skill/skills/h3-prompt-writing .claude/skills/h3-prompt-writing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable H3 Prompt Writing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads H3 Prompt Writing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so H3 Prompt Writing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

H3 Prompt Writing

This skill writes the prompt body only. Connecting to SeetaCloud, choosing U03/U06/U02, acceleration, upload, and download belong to minimax-h3.

It is portable to any agent that can read local files and requires no external API calls, MiniMax Hub tools, or proprietary runtime. The agents/openai.yaml file only adds optional ChatGPT/Codex UI metadata and does not restrict the skill to OpenAI agents.

Workflow

  1. If the caller passed a structured handoff — the production's own shot/segment notes, or a minimax-h3 brief — read references/comfy-handoff.md, lock prompt_mode from it, and apply its override table. Do not re-guess the mode from the images alone.
  2. Otherwise identify the input mode: T2VA, I2VA, FL2VA, L2VA, or full-reference Ref2VA. Use only references/base-en.txt or references/ref-en.txt — do not apply Comfy patches.
  3. For base text/keyframe modes, follow references/base-en.txt.
  4. For full-reference mode, follow references/ref-en.txt.
  5. Preserve the exact field names, section order, labels, and timing notation from the selected guide.

Base Modes

  • T2VA: build the full audiovisual timeline from text.
  • I2VA: start from the first frame and develop forward from it. Picture 1 is the first frame.
  • FL2VA: describe the continuous path between the first and last frames.
  • L2VA: infer a plausible opening and converge to the supplied last frame.

Use integrated_multimodal_description, overall_soundscape, and non_diegetic_music in the order shown in references/base-en.txt.

Full-Reference Mode

Ref2VA rewrites use subject_definitions, summary, retention_analysis, detailed_description, overall_soundscape, and non_diegetic_music in that order. Reference labels stay consistent across all sections.

Read references/ref-en.txt for label rules, retention analysis, and complete examples.

Output Rules

  • Write rewrite sections in English; preserve dialogue, lyrics, and visible scene text in their original language.
  • Describe each shot by composition, subjects, environment, actions, camera, sound, and the exact point where referenced content appears.
  • 皮肤真实感锁(仅写实真人项目适用;项目为写实且有人物出镜时必写、写进正文;H3 无独立负面提示词栏,必须正向点名):matte realistic skin with visible pores and fine texture, completely free of oily shine, greasy glow, waxy highlights or plastic smoothing;脸部特写另加 absolutely no harsh specular hot spots。光线优先用柔光写法(soft diffused daylight / window light / soft diffused overhead light with gentle falloff + subtle bounce fill),并点明额头、鼻梁、颧骨在光下保持哑光。动漫、卡通等非写实项目不写此锁。参考图质感必须与项目风格一致(见 character-three-view);写实项目的参考图若带 CG 感会锁死油腻观感。
  • 禁写颗粒与美化词:不得出现 film grain、35mm、grain、beautified、retouched、flawless skin 之类的词——模型会把它们放大成重噪点或磨皮油腻脸。写实风格用 documentary-style live-action、natural muted colors、clean crisp digital cinema image 表达。
  • Write camera motion as natural English inside the shot (references/base-en.txt §4.3).
  • When the handoff (production handoff notes or minimax-h3 brief) provides VISIBLE_CAST, IDENTITY_CONTINUITY, or DUPLICATION_GUARD, carry them into the official prompt body as natural English. State the exact visible count of each named character positively, then add the relevant no-duplication constraints; do not invent extra top-level output fields. Use this canonical guard form, adapted to the shot: Exactly one instance of <Subject 1> is visible in the frame. <Subject 1> remains one single physical person with one continuous complete body throughout the shot. No duplicate, clone, twin, doppelganger, extra copy, lookalike, ghost image, afterimage, motion trail, split body, or suddenly appearing extra person. In multi-character shots, write exactly one for each named character and add Background extras must not resemble any named character. Avoid mirrors, glass reflections, and person-shaped shadows unless the story needs them; when a mirror is required, state that the reflection is an optical copy of the one real person, not a second individual. Intentional duplicates (clones, mirror doubles, time-states) are exempt only where the handoff explicitly approves each instance.
  • In Ref2VA, multiple reference pictures of one character define one <Subject N>. Explicitly say they are alternate identity views of the same single physical person, not separate people, and keep that subject to the exact per-shot count from VISIBLE_CAST.
  • Avoid plot summaries, unresolved reference labels, and timing that does not match the requested duration.

Tips for Better Results

  • Match the total duration of the description to the requested video length (4–15 seconds unless the handoff specifies otherwise).
  • Keep reference labels consistent (e.g. <Picture 1>, <Video 1>, <Audio 1>) across every section.
  • Prefer concrete visual and audio details over empty praise such as "beautiful". Style tokens at the start of Shot 1 (live-action, cinematic, 2D-animated) are allowed; for realistic character work prefer Documentary-style live-action footage, natural muted colors, clean crisp digital cinema image as the opening token block.
  • When using keyframes (I2VA / FL2VA / L2VA), clearly state how the first and/or last frame connects to the timeline.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the H3 Prompt Writing AI skill do?

Write MiniMax H3 video generation prompts for T2VA, I2VA, FL2VA, L2VA, and Ref2VA. Use when rewriting multimodal requests into H3 prompt structures, composing integrated_multimodal_description, overall_soundscape, and non_diegetic_music, aligning keyframes, defining reference labels, or when the caller hands off a structured handoff (the production's own shot/segment notes, or a minimax-h3 brief) after choosing a workflow. Do not SSH, pick ComfyUI workflows, or submit GPU jobs.

Why use H3 Prompt Writing on TypingMind?

Because you install it once and use it with any model. H3 Prompt Writing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install H3 Prompt Writing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/mini-yifan/open-source-video-gen-skill/tree/main/skills/h3-prompt-writing. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use H3 Prompt Writing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with H3 Prompt Writing?

As many as you like. As long as a model supports skills, you can use H3 Prompt Writing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the H3 Prompt Writing AI skill free?

It is published on GitHub by mini-yifan. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇