|
| 1 | +--- |
| 2 | +name: h3-official-prompt-optimization |
| 3 | +description: Rewrite a MiniMax H3 video draft into the model's official prompt structure (instruction line plus integrated_multimodal_description, overall_soundscape and non_diegetic_music) while preserving OpenDirector's inline reference markers. Use to compare output against h3-prompt-optimization. |
| 4 | +--- |
| 5 | + |
| 6 | +# H3 official-structure prompt optimization |
| 7 | + |
| 8 | +Rewrite the draft into the structure MiniMax documents for H3 generation modes |
| 9 | +(T2VA, I2VA, FL2VA, L2VA, Ref2VA). Keep the draft's own language for everything |
| 10 | +descriptive; the structure and its tokens are English. Return only the rewritten |
| 11 | +prompt. |
| 12 | + |
| 13 | +## Hard invariants |
| 14 | + |
| 15 | +- Keep every `[[OD_REF_n]]` marker exactly once and in its existing order. These |
| 16 | + markers are the editor's inline references; never delete them, renumber them, |
| 17 | + or move them into a different shot. |
| 18 | +- Write the description text in the draft's language. A Chinese draft stays |
| 19 | + Chinese; do not translate it into English. |
| 20 | +- Never translate the structural tokens. Field names, `[Shot N]`, the cue tags |
| 21 | + `<d>`, `<scenetrans>`, `<cutoff>`, `<Picture N>`, `<Video N>`, `<Audio N>`, |
| 22 | + speaker ids such as `(S1)`, and the mode instruction line stay exactly as this |
| 23 | + skill writes them, in English. A translated token is a broken prompt. |
| 24 | +- Keep dialogue, lyrics and visible on-screen text verbatim in the language they |
| 25 | + were supplied in. |
| 26 | +- Do not invent references, dialogue, sound or shots that the draft and its |
| 27 | + references do not support. |
| 28 | + |
| 29 | +## Skeleton |
| 30 | + |
| 31 | +```text |
| 32 | +<optional mode instruction line> |
| 33 | +
|
| 34 | +integrated_multimodal_description: [Shot 1] ... |
| 35 | +
|
| 36 | +overall_soundscape: ... |
| 37 | +
|
| 38 | +non_diegetic_music: ... |
| 39 | +``` |
| 40 | + |
| 41 | +Leave one blank line between the three fields. Ref2VA replaces them with its six |
| 42 | +sections in order: `subject_definitions`, `summary`, `retention_analysis`, |
| 43 | +`detailed_description`, `overall_soundscape`, `non_diegetic_music`. |
| 44 | + |
| 45 | +## Mode instruction line |
| 46 | + |
| 47 | +The instruction line is a fixed English sentence. Write it as given; only the |
| 48 | +field contents below it follow the draft's language. |
| 49 | + |
| 50 | +T2VA has no instruction line; start directly with |
| 51 | +`integrated_multimodal_description:`. |
| 52 | + |
| 53 | +First-frame mode: the first line is exactly |
| 54 | + |
| 55 | +```text |
| 56 | +For the target video, at 0.00 seconds into the target video, <Picture 1> (from [Shot 1]) is fully referenced. |
| 57 | +``` |
| 58 | + |
| 59 | +First-and-last-frame mode: the first line states how both pictures align, naming |
| 60 | +the shot each picture comes from and the exact second mark, formatted to two |
| 61 | +decimals. |
| 62 | + |
| 63 | +Last-frame mode: the first line aligns the single picture with the final |
| 64 | +`[Shot N]` at the duration's second mark. That picture belongs to the last shot, |
| 65 | +not to Shot 1. |
| 66 | + |
| 67 | +## Shots |
| 68 | + |
| 69 | +- `[Shot 1]` carries no timestamp. Later shots are `[Shot 2] At 00:03.500, |
| 70 | + 镜头切到…`, each with a strictly increasing time inside the duration. The time |
| 71 | + notation and `[Shot N]` stay in English; the sentence after them follows the |
| 72 | + draft's language. |
| 73 | +- Ordinary cuts use the draft's language: `镜头切到`, `画面转到`, `镜头转换为`, |
| 74 | + or, in an English draft, `the camera cuts to`, `the shot cuts to`, `the shot |
| 75 | + transitions to`, `the shot changes to`, `the shot switches to`. Use |
| 76 | + cross-dissolve, fade or wipe only when the draft asks for them. |
| 77 | +- A cut must bring new information: subject, space, state, viewpoint or time. To |
| 78 | + change only distance or a slight angle, use camera motion instead. |
| 79 | +- Open `[Shot 1]` with the overall style and the initial composition, written in |
| 80 | + the draft's language: `写实电影感,中景,画面框住…` or |
| 81 | + `Live-action, cinematic, a medium-wide shot frames …`. |
| 82 | + |
| 83 | +## Camera motion |
| 84 | + |
| 85 | +Write motion as a natural action inside the sentence, never as tags appended to |
| 86 | +the end: motion type first, then amplitude and speed only when they matter. Omit |
| 87 | +amplitude and speed for ordinary movement. Use the draft's language. |
| 88 | + |
| 89 | +```text |
| 90 | +The camera pushes in with small amplitude at slow speed toward the folded letter. |
| 91 | +镜头缓慢推近,小幅,推向她手中的信。 |
| 92 | +``` |
| 93 | + |
| 94 | +Motion types, in the draft's language: 推近 / 拉远, 横摇左 / 右, 横移左 / 右, |
| 95 | +上摇 / 下摇, 升降, 环绕, 跟拍, 固定镜头, 轻微抖动 / 强烈抖动, 主观视角, |
| 96 | +顺时针 / 逆时针旋转. The English set is zoom in/out, push in/pull out, pan |
| 97 | +left/right, truck left/right, tilt up/down, pedestal up/down, arc shot, tracking |
| 98 | +shot, static shot, shake slightly/strongly, POV, roll clockwise/counterclockwise. |
| 99 | +Amplitude: `小幅` / `大幅` (small/large amplitude). Speed: `慢速` / `快速` |
| 100 | +(slow/fast speed). |
| 101 | + |
| 102 | +## Speakers and dialogue |
| 103 | + |
| 104 | +- Give every speaking, singing or off-screen voice a stable id `(S1)`, `(S2)`; |
| 105 | + joint lines use `(S1,S2)`. Characters who never vocalize get no id. |
| 106 | +- Outside `<d>`: the identifying phrase, the id, the action and the delivery. |
| 107 | + Inside `<d>`: only the language tag and the draft's exact words, untranslated. |
| 108 | +- Off-screen narration keeps the official English phrase `says in an off-screen |
| 109 | + voiceover`, and must add, in the draft's language, that the on-screen |
| 110 | + character's lips stay closed. |
| 111 | +- A line crossing a cut uses `<scenetrans>` at both ends and states that the |
| 112 | + audio continues; speech truncated by the video end uses `<cutoff>`. |
| 113 | + |
| 114 | +```text |
| 115 | +The young woman (S1) says: <d>[Chinese] 没事,我下站就到。 |
| 116 | +年轻女子(S1)轻声说:<d>[Chinese] 没事,我下站就到。 |
| 117 | +``` |
| 118 | + |
| 119 | +## On-screen text |
| 120 | + |
| 121 | +Put visible banners, signs, labels or neon text in ASCII double quotes rather than |
| 122 | +CJK corner brackets, and keep the original characters and punctuation |
| 123 | +untranslated. |
| 124 | + |
| 125 | +## overall_soundscape |
| 126 | + |
| 127 | +One continuous paragraph of 1–4 sentences in the draft's language, covering |
| 128 | +ambience, physical action sounds and non-verbal human sounds across the whole |
| 129 | +video. Do not repeat dialogue, singing or diegetic music here. Use `N/A` only |
| 130 | +when the draft asks for complete silence. |
| 131 | + |
| 132 | +## non_diegetic_music |
| 133 | + |
| 134 | +1–3 sentences in the draft's language describing music only the audience hears: |
| 135 | +instrumentation, tempo, rhythm and dynamic changes. No abstract mood words and no |
| 136 | +explanation of the score's emotional purpose. Audio the characters can hear |
| 137 | +belongs in the multimodal description instead. Use `N/A` when there is none. |
| 138 | + |
| 139 | +## References |
| 140 | + |
| 141 | +- Cite the official tokens (`<Picture 1>`, `<Video 1>`, `<Audio 1>`) where the |
| 142 | + structure calls for them; the application appends the numbered reference list |
| 143 | + that maps each token to an uploaded asset. |
| 144 | +- Place the matching `[[OD_REF_n]]` marker where that reference drives the action, |
| 145 | + so the editor keeps its inline position. |
| 146 | +- Keep one role per reference and use it consistently across all fields; never |
| 147 | + reference a token the draft did not supply. |
| 148 | + |
| 149 | +## Output |
| 150 | + |
| 151 | +Return the prompt body only: no analysis, no heading, no code fence, no notes |
| 152 | +about what changed. |
0 commit comments