H3 prompt writer
Skill alperktt/awesome-minimax-h3-skills/skills/h3-prompt-writer
Write MiniMax H3 video+audio prompts in the exact format the model was trained on, with ready genre templates. Use when the user wants to generate video with MiniMax H3, asks for an H3 prompt, wants a product ad, talking head, action scene, ambient clip, or character scene, is running H3 in ComfyUI/diffusers/vLLM/SGLang, or mentions T2VA, I2VA, FL2VA, L2VA, Ref2VA, fl2va, ref2va, or H3 reference/keyframe generation. Also use when an existing H3 prompt produced silent audio, a slideshow, fragmented POV shots, garbled or invented speech, or drifting character identity.From its SKILL.md
npx -y skills add alperktt/awesome-minimax-h3-skills --skill h3-prompt-writerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.9 KB, as published. Nobody here has run it
H3 Prompt Writer
MiniMax H3's open weights ship without H3-Context-IR, the module that normally rewrites a
casual request into the model's native input. Locally you write that representation yourself. This
skill does that.
Step 1 — Pick the dialect
| Target | Dialect | Action |
|---|---|---|
| Local weights (ComfyUI, diffusers, vLLM, SGLang) | Training caption | Continue with this skill |
| Hosted Context-IR API endpoint | Plain intent | Write natural language; Context-IR compiles it. Apply only §"Shot planning" below |
Everything else here assumes local weights. If the user is on the API and wants maximum quality, say so plainly: the API path is what the team recommends for full native behavior.
Step 2 — Pick the mode
| Inputs the user has | Mode | Checkpoint |
|---|---|---|
| Text only | T2VA | fl2va |
| One image, it starts the video | I2VA | fl2va |
| First and last image | FL2VA | fl2va |
| One image, it ends the video | L2VA | fl2va |
| Any mix of reference images / videos / audio | Ref2VA | ref2va |
The checkpoints fail closed — the wrong one gives a load error, not degraded output. If the user has reference material and a keyframe, that is Ref2VA.
Step 3 — Fix duration and resolution before writing
Duration snaps to 17n + 5 frames at 24 fps. Compute backwards from the grid rather than
trusting a seconds field:
| Frames | Seconds | n |
|---|---|---|
| 107 | 4.46 | 6 |
| 124 | 5.17 | 7 |
| 175 | 7.29 | 10 |
| 226 | 9.42 | 13 |
| 294 | 12.25 | 17 |
| 362 | 15.08 | 21 |
Resolution is a multiple of 32, short side ≤768 locally. 16:9 ladder:
1344×768 → 1024×576 → 832×480 → 640×352. Block new prompts at 832×480, promote what holds.
For Ref2VA, state width and height explicitly — omitted, they resolve to 1344×768 at much higher cost.
Step 4 — Plan the shots
Read reference/shot-planning.md. It is short and it decides output quality more than word choice
does. The three rules that matter most:
- Shot count follows duration: 5 s → 2–3, 6–10 s → 3–5, 11–15 s → 5–7. Fewer for calm material.
- POV / one-take / continuous / first-person collapses to exactly one shot. No
[Shot 2]. - Every shot gets audio — dialogue, SFX/ambience, or explicit silence. Never infer silence from the fact that no audio file was attached.
Step 5 — Write it
Check library/ first. Twelve finished prompts across action, commercial, stylized, and genre
atmosphere — complete and correct by construction. If one is close to the job, copy it and swap the
nouns; that is faster and safer than composing from scratch.
Then templates/. If no library prompt fits, the template for that genre gives you a blank with
the frame count, shot count, dialogue budget, and failure card already applied:
| Template | For |
|---|---|
talking-head.md | Presenter, UGC, testimonial, explainer |
product-ad.md | Product, e-commerce, launch |
action-beat.md | Fight, chase, impact, sport |
atmosphere.md | Ambient, lyrical, landscape, mood |
multi-shot-scene.md | One character across several shots |
character-ref2va.md | Reference images, video, or audio |
Otherwise compose from the schema:
Base modes → reference/base-schema.md (three fields, fixed order).
Ref2VA → reference/ref-schema.md (six sections, fixed order).
Camera, speaker, and dialogue syntax for both → reference/camera-and-dialogue.md.
Field names and their order are part of the format. Do not rename, reorder, merge, or omit them.
Four layers, in order of how fast they get you moving:
| Layer | What it is |
|---|---|
library/ | Finished prompts. Copy and swap nouns |
templates/ | Genre blanks with the numbers pre-solved |
examples/ | Worked prompts with commentary on why |
reference/ | The schemas themselves, plus prompt-patterns.md and porting-prompts.md |
Porting a prompt written for Seedance, Veo, Kling, or Wan? Read reference/porting-prompts.md —
roughly seven in ten such prompts carry no audio direction and render silent on H3 unless you add it.
Step 6 — Check against the failure cards
Before returning the prompt, scan failures/ and read any card whose activation_hints match what
you just wrote. Each card is a decision test, not a style rule. The most frequently triggered:
silent-audio.md— any prompt where the audio fields are thin or missingdialogue-underfill.md— any prompt with dialogue. Word count must match the duration at ~2.5 words/sec, and a visible speaker with no<d>tag makes the model invent a languageidentity-density.md— any multi-shot prompt with a recurring character. Continuity has to be re-described, not assertedslideshow.md— multi-shot promptspov-fragmentation.md— anything first-person or one-takeref-identity-drift.md— any Ref2VA prompt carrying a characternegated-constraint.md— any "without X" / "no X" in the request
Output
Return the prompt only, in the correct field structure, ready to paste. Then, in one short block beneath it, state the frame count, resolution, checkpoint, and shot count you assumed — so the user can set the nodes without re-deriving them.
Do not return a plot summary, unresolved reference labels, or timing that contradicts the requested duration.