@slatesvideo/shared 0.7.7 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/README.md +3 -6
  2. package/dist/analytics/events.d.ts +1 -1
  3. package/dist/analytics/events.js +7 -0
  4. package/dist/auth.d.ts +2 -0
  5. package/dist/auth.js +5 -0
  6. package/dist/clients/cloud.d.ts +2 -0
  7. package/dist/clients/cloud.js +5 -1
  8. package/dist/index.d.ts +7 -3
  9. package/dist/index.js +7 -3
  10. package/dist/manual/content.d.ts +1 -1
  11. package/dist/manual/content.js +1 -1
  12. package/dist/operations/index.d.ts +587 -161
  13. package/dist/operations/index.js +663 -57
  14. package/dist/operations/surface.d.ts +2 -2
  15. package/dist/operations/surface.js +18 -5
  16. package/dist/prompts/agent-doctrine.d.ts +12 -2
  17. package/dist/prompts/agent-doctrine.js +56 -28
  18. package/dist/prompts/banned-tokens.js +23 -13
  19. package/dist/prompts/brain.d.ts +29 -0
  20. package/dist/prompts/brain.js +72 -0
  21. package/dist/prompts/craft-cards.d.ts +15 -4
  22. package/dist/prompts/craft-cards.js +71 -9
  23. package/dist/prompts/generation-policy.d.ts +1 -1
  24. package/dist/prompts/guide-discovery.d.ts +6 -6
  25. package/dist/prompts/guide-retrieval.d.ts +7 -1
  26. package/dist/prompts/guide-retrieval.js +33 -5
  27. package/dist/prompts/partials.generated.js +1 -13
  28. package/dist/prompts/shot-grammar.d.ts +1 -1
  29. package/dist/prompts/shot-grammar.js +1 -1
  30. package/dist/skills/brain-check.d.ts +44 -0
  31. package/dist/skills/brain-check.js +172 -0
  32. package/dist/skills/content.d.ts +3 -0
  33. package/dist/skills/content.js +81 -44
  34. package/dist/skills/hyperframes-content.js +4 -4
  35. package/dist/skills/my-brain.d.ts +52 -0
  36. package/dist/skills/my-brain.js +218 -0
  37. package/dist/skills/served.d.ts +52 -0
  38. package/dist/skills/served.js +202 -0
  39. package/package.json +2 -4
  40. package/skills/hyperframes/NOTICE +19 -3
  41. package/skills/hyperframes/SLATES-MAPPING.md +1 -1
  42. package/skills/hyperframes/embedded-captions/CATALOG.md +3 -0
  43. package/skills/hyperframes/embedded-captions/SKILL.md +6 -6
  44. package/skills/hyperframes/embedded-captions/assets/fonts/char-widths.json +227 -1
  45. package/skills/hyperframes/embedded-captions/modes/standard/fonts/build-fonts-css.cjs +19 -2
  46. package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-italic.woff2 +0 -0
  47. package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-normal.woff2 +0 -0
  48. package/skills/hyperframes/embedded-captions/scripts/make-theme.cjs +438 -3
  49. package/skills/hyperframes/embedded-captions/scripts/make-theme.test.mjs +1 -0
  50. package/skills/hyperframes/embedded-captions/themes/README.md +26 -1
  51. package/skills/hyperframes/embedded-captions/themes/lesson.json +31 -0
  52. package/skills/slates-start-here.md +78 -0
  53. package/exports/slates-chatgpt-images/generated/SKILL.md +0 -113
  54. package/exports/slates-chatgpt-images/generated/slates-chatgpt-images.skill +0 -0
  55. package/exports/slates-prompt-builder/generated/SKILL.md +0 -71
  56. package/exports/slates-prompt-builder/generated/reference-character.md +0 -92
  57. package/exports/slates-prompt-builder/generated/reference-content-policy.md +0 -81
  58. package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +0 -191
  59. package/exports/slates-prompt-builder/generated/reference-kling.md +0 -295
  60. package/exports/slates-prompt-builder/generated/reference-nano-banana.md +0 -240
  61. package/exports/slates-prompt-builder/generated/reference-omni-flash.md +0 -97
  62. package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +0 -392
  63. package/exports/slates-prompt-builder/generated/reference-seedance.md +0 -441
  64. package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +0 -133
  65. package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
  66. package/skills/_partials/blender-action-curves.md +0 -24
  67. package/skills/_partials/cinematic-card.md +0 -8
  68. package/skills/_partials/decision-log.md +0 -1
  69. package/skills/_partials/image-defaults.md +0 -9
  70. package/skills/_partials/iteration-diagnosis.md +0 -5
  71. package/skills/_partials/living-performance.md +0 -22
  72. package/skills/_partials/model-routing.md +0 -35
  73. package/skills/_partials/references-read-literally.md +0 -11
  74. package/skills/_partials/seedance-25-timestamps.md +0 -34
  75. package/skills/_partials/sheet-tool-defaults.md +0 -6
  76. package/skills/_partials/still-gate.md +0 -3
  77. package/skills/_partials/thresholds.md +0 -19
  78. package/skills/slates-blocking-to-prompt.md +0 -279
  79. package/skills/slates-camera-language.md +0 -234
  80. package/skills/slates-captions.md +0 -81
  81. package/skills/slates-character-identity.md +0 -117
  82. package/skills/slates-chatgpt-images.md +0 -113
  83. package/skills/slates-cinematic-look.md +0 -237
  84. package/skills/slates-content-policy.md +0 -88
  85. package/skills/slates-cost-discipline.md +0 -150
  86. package/skills/slates-cuts.md +0 -46
  87. package/skills/slates-dialogue-blocking.md +0 -134
  88. package/skills/slates-direct-response-ad.md +0 -26
  89. package/skills/slates-edit-and-iterate.md +0 -76
  90. package/skills/slates-layer-brand-captions.md +0 -87
  91. package/skills/slates-layer-lower-third.md +0 -85
  92. package/skills/slates-layer-title.md +0 -82
  93. package/skills/slates-model-selection.md +0 -129
  94. package/skills/slates-motion.md +0 -57
  95. package/skills/slates-one-prompt-film.md +0 -38
  96. package/skills/slates-previs-blocking.md +0 -186
  97. package/skills/slates-project-organization.md +0 -42
  98. package/skills/slates-prompting-elevenlabs.md +0 -128
  99. package/skills/slates-prompting-flux-3.md +0 -157
  100. package/skills/slates-prompting-gpt-image-2-5.md +0 -196
  101. package/skills/slates-prompting-inworld-tts.md +0 -174
  102. package/skills/slates-prompting-kling-v3.md +0 -303
  103. package/skills/slates-prompting-lip-sync.md +0 -216
  104. package/skills/slates-prompting-ltx-2-5.md +0 -245
  105. package/skills/slates-prompting-minimax-h3.md +0 -383
  106. package/skills/slates-prompting-motion-transfer.md +0 -202
  107. package/skills/slates-prompting-nano-banana-2-1.md +0 -250
  108. package/skills/slates-prompting-omni-flash.md +0 -117
  109. package/skills/slates-prompting-seed-audio.md +0 -168
  110. package/skills/slates-prompting-seedance-2-5.md +0 -420
  111. package/skills/slates-prompting-seedance.md +0 -462
  112. package/skills/slates-prompting-seedream-5-lite.md +0 -122
  113. package/skills/slates-prompting-wan-3.md +0 -143
  114. package/skills/slates-restyle-from-blocking.md +0 -121
  115. package/skills/slates-script-craft.md +0 -45
  116. package/skills/slates-shot-variety.md +0 -24
  117. package/skills/slates-storyboard-from-script.md +0 -32
  118. package/skills/slates-style-prompting.md +0 -56
  119. package/skills/slates-transitions.md +0 -40
  120. package/skills/slates-ugc-influencer-ad.md +0 -32
  121. package/skills/slates-vision-feedback-loop.md +0 -118
@@ -1,245 +0,0 @@
1
- ---
2
- name: slates-prompting-ltx-2-5
3
- description: "Prompt LTX-2.5 or LTX-2.5 Pro (ltx-2-5, ltx-2-5-pro) with slates_generate_video. Covers sound-first direction, connected shots, frame inputs, variant differences and duration constraints."
4
- ---
5
-
6
- # LTX-2.5 — prompting
7
-
8
- <!-- @card:start -->
9
- <!-- slates-only -->
10
- <!-- MACHINE-READ. Everything between the @card markers is extracted by
11
- src/prompts/craft-cards.ts and returned on every cost estimate for this
12
- model, so it is the ONE piece of positive craft guidance the agent cannot
13
- skip. Measured 2026-08-30: a fact inlined where it cannot be skipped moved
14
- compliance 0/8 to 30/32; the same guidance behind a fetch moved nothing.
15
- Keep it under 2,400 characters (the build fails above that) and keep the
16
- rationale, the receipts and the worked examples in the body below. -->
17
- <!-- /slates-only -->
18
- **Card — LTX-2.5.** It scores the picture on the same pass that draws it, so SOUND IS THE FIRST THING YOU WRITE. Lightricks' own priority order: sound, camera, character detail, shot type and scene, then scene dressing. One flowing paragraph, not labelled sections. When a prompt sprawls, cut from the bottom.
19
-
20
- **The five levers**
21
- 1. **Lead with sound, and anchor every sound to something in frame.** The test is "visible, or at least locatable" — `the rope creaks against the cleat`, `the hull knocking hollow against the fenders`, `rain on the awning`. A distant whistle is fine IF you have named the post it comes from.
22
- 2. **Camera second**, because framing decides the visual weight of the shot — `low camera at the gunwale`, `slow drift right`, `static medium behind the counter`.
23
- 3. **Character detail as physical ACTION**, not as adjectives about a person — `she braces a boot on the rail and hauls`, `his hands counting notes`.
24
- 4. **It is the native MULTISHOT seat** — one generation carries two to four connected shots holding character, light and voice across the cuts. Write the cuts.
25
- 5. **Quote dialogue and name the language and accent** — `in English with a slight German accent` — `"We should not have come back," in English with a slight German accent.`
26
-
27
- **Examples**
28
- - `The rope creaks against the cleat as she leans back, gulls calling somewhere off the port bow, the hull knocking hollow against the fenders. Low camera at the gunwale, slow drift right. She braces a boot on the rail and hauls, twice, then stops.`
29
- - `A till drawer bangs shut, a fan ticks against its cage, rain on the awning outside. Static medium behind the counter, then cut to a close-up of his hands counting notes, then cut wide as he looks up at the door.`
30
-
31
- **Hard constraint:** durations are EVEN numbers from six — there is no 5s or 7s clip. There is NO reference endpoint at all, so identity references are unavailable; use MiniMax H3 or Kling when a character must hold across shots. Any sound not anchored to something in frame gets invented for you. And never write mood adjectives as sound: "tense atmosphere", "a sense of dread" and "ominous ambience" produce nothing usable — the fix is one more moving object in frame with a sound attached to it.
32
- <!-- @card:end -->
33
-
34
- <!-- @banned:start -->
35
- <!-- slates-only -->
36
- <!-- MACHINE-READ. Every `backticked` token between the @banned markers is
37
- extracted by src/prompts/banned-tokens.ts and returned on this model's cost
38
- estimate, and every submitted prompt is matched against it. Keep entries
39
- backticked and prose outside the backticks. -->
40
- <!-- /slates-only -->
41
- **Never use** — mood adjectives standing in for sound produce nothing usable:
42
- - `tense atmosphere`, `a sense of dread`, `ominous ambience`, `eerie silence`
43
- - an unanchored sound: name the thing in frame it comes from, or cut it
44
- <!-- @banned:end -->
45
-
46
- LTX-2.5 generates picture and sound **in a single pass**, with a Gemma-4 12B text encoder reading
47
- one flowing paragraph. That single fact drives everything below: the prompt is not a shot
48
- description with audio bolted on, it is **a scene where the sound is load-bearing** — and
49
- Lightricks' own priority order puts sound first, ahead of the camera.
50
-
51
- Two seats, and the naming is a trap:
52
-
53
- | | `ltx-2-5` (base) | `ltx-2-5-pro` |
54
- |---|---|---|
55
- | Build | Distilled, 8-step | Full diffusion ("Diffusion Fidelity Rendering") |
56
- | Resolutions | 720p / 1080p / **1440p** / 4K | 720p / 1080p |
57
- | Durations | 6–20s, even steps | 6 / 8 / 10s |
58
- | Price | ~4.5–15 cr/s | ~6–8.5 cr/s |
59
- | Reach for it when | iterating, long takes, 4K delivery, batch volume | one dense final render inside 1080p and 10s |
60
-
61
- **Pro is not "base plus more."** It buys picture quality on a *narrower* envelope — it cannot make
62
- a 1440p frame and it cannot make a 12-second clip. Reaching for it out of habit costs a third more
63
- *and* takes away the reach.
64
-
65
- ---
66
-
67
- ## 1. The six parts, in priority order, in one paragraph
68
-
69
- Lightricks ranks the elements of an LTX prompt like this. When a prompt sprawls, **cut from the
70
- bottom.**
71
-
72
- 1. **Sound** — highest priority; the model scores the picture as it draws it.
73
- 2. **Camera** — framing decides visual weight and the feel of the shot.
74
- 3. **Character detail** — expressed as physical action.
75
- 4. **Shot type and scene** — the action itself.
76
- 5. **Scene dressing** — the first thing to trim.
77
-
78
- Write it as **one flowing paragraph**, not a list of labelled sections. LTX is not Seedance (eight
79
- engineering slots) and not H3 (three separate audio layers) — it wants continuous prose.
80
-
81
- ---
82
-
83
- ## 2. Sound: anchor it or it gets invented
84
-
85
- **Write the audio line last, then go back and check every cue has a source you could point at.**
86
- Anything unanchored, the model invents for you.
87
-
88
- The test is **"visible, or at least locatable."** A distant whistle is fine *if* you have named the
89
- marshal's post it comes from. A "distant whistle" with nothing to attach to is a coin flip.
90
-
91
- > the rope creaks against the cleat as she leans back, gulls calling somewhere off the port bow,
92
- > the hull knocking hollow against the fenders
93
-
94
- **Never write mood adjectives as sound.** "Tense atmosphere", "a sense of dread" and "ominous
95
- ambience" produce nothing usable. If a scene feels thin, the fix is **one more moving object in
96
- frame with a sound attached to it** — never another adjective.
97
-
98
- ### Dialogue
99
-
100
- Quote it, and name the language and accent:
101
-
102
- > "We should not have come back," in English with a slight German accent.
103
-
104
- Two rules that decide whether the lip sync lands:
105
-
106
- - **Give the character a beat of stillness in the face before they speak.** The sync needs something
107
- to lock against; a character already mid-motion when the line starts drifts. The body keeps small
108
- movement through that beat (see Nobody holds still below).
109
- - **Describe the beat structure** — when they look, how long they wait, when they speak, where they
110
- look afterwards.
111
-
112
- Slates pins the frame rate at 25fps, which is also what Lightricks recommends for dialogue: at 50fps
113
- the performance "pulls toward a video look."
114
-
115
- ---
116
-
117
- ## 3. Character emotion is physical
118
-
119
- The model renders actions. It does not render adjectives.
120
-
121
- | Instead of | Write |
122
- |---|---|
123
- | she looks anxious | her jaw sets, she turns the ring on her finger twice |
124
- | he seems exhausted | he blinks slowly and lets his shoulder take the doorframe |
125
- | a tense standoff | neither moves; his thumb finds the strap and stays there |
126
-
127
- ### Nobody holds still
128
-
129
- <!-- @inject:living-performance -->
130
- **Nobody holds still. Write every person a performance that changes on every beat.** A video model
131
- animates what the prompt describes and nothing more. Describe one expression ("she screams, mouth
132
- open") and the person freezes in it for the whole take, which reads as dead and fake however good the
133
- camera is.
134
-
135
- - **Every person, every beat:** what their hands do, where their head and body go, what they say or
136
- shout and to whom, and how the expression shifts, then shifts again. "Yelling at him with both hands
137
- up, then grabs the dash as the car snaps sideways" moves; "terrified" is a still.
138
- - **Escalate and turn.** A scene's emotion travels: fear into fury into a stunned laugh. Each beat
139
- gives the next state, never a repeat of the last.
140
- - **One calm character may stay still in the face, never in the body.** The stoic one still blinks,
141
- breathes, glances, and works their hands, and reacts once the scene earns it (a smirk, a look across).
142
- A held beat before a spoken line is the same: the face settles, the body keeps small movement.
143
- - **Keep it physical.** Write the visible action, not the feeling: a jabbed finger, a slap on the
144
- shoulder, a hand clawing hair out of a mouth. Name the lines or shouts when the audio matters.
145
- - **A blocking or previs reference makes stillness worse.** Its stand-in figures are frozen
146
- mannequins, and the model copies their stillness unless the prompt says so. Say it in the prompt:
147
- "its figures are frozen stand-ins and their stillness is not the acting; take only the camera and
148
- the timing from video 1, and the people perform as written below, moving in every second."
149
- - **On a model that reads timestamps (Seedance 2.5), write the acting inside every interval,** beside
150
- the camera and the action, so no range leaves a person without something to do. On a model that
151
- reads shots instead, give every shot its own acting the same way.
152
- <!-- @end:living-performance -->
153
-
154
- ---
155
-
156
- ## 4. Multishot
157
-
158
- **One LTX generation can carry several connected shots**, holding character, environment, lighting,
159
- voice and style across every cut. It is one of the seats that carry several shots in one generation.
160
-
161
- **Working range is two to four shots.** Three is the comfortable stopping point.
162
-
163
- At **every** transition you must supply four things:
164
-
165
- 1. **Name the edit in the prose** — "hard cut", "dissolve", "match cut".
166
- 2. **Re-establish the shot completely** — scale, angle, lens and light all reset at a cut. A cut is
167
- not a continuation.
168
- 3. **Re-identify recurring characters by their original descriptor.** "The woman in the bronze
169
- gown", never "she". Pronouns lose the character across a cut — this is the single most common
170
- multishot failure.
171
- 4. **State what the sound does at the cut.** Silence is not assumed; if the room tone should drop
172
- out, say so.
173
-
174
- A shape that works:
175
-
176
- > Wide establishing shot of the workshop, dust in the window light, a lathe turning somewhere off
177
- > frame — hard cut — macro close-up of the brass fitting as it seats, the turning noise gone,
178
- > replaced by a single dry click — match cut — medium shot of the woman in the bronze gown stepping
179
- > back, the room tone returning underneath her.
180
-
181
- ---
182
-
183
- ## 5. Camera: write it, don't enumerate it
184
-
185
- The endpoint exposes a `camera_motion` enum (dolly in/out/left/right, jib up/down, static, focus shift).
186
- **Slates does not surface it, deliberately** — and prose is the better instrument anyway:
187
-
188
- - **A written move can be tied to a specific moment.** "A slow push-in that settles as she reaches
189
- the door, then holds" is not expressible as an enum value.
190
- - **For multishot it would be actively wrong** — one enum value would impose a single camera
191
- behaviour on three shots that each want their own.
192
-
193
- So name the lens, the framing, the move, and **the moment the move resolves**.
194
-
195
- ---
196
-
197
- ## 6. The hard constraints
198
-
199
- ### Durations are even numbers only, starting at six
200
-
201
- **6, 8, 10, 12, 14, 16, 18, 20.** There is no 5-second LTX clip and no odd duration of any length.
202
- Asking for 7s is not a rounding matter — that generation does not exist.
203
-
204
- **And the long end is 1080p-and-below only.** At 1440p and 4K the ceiling drops to **6, 8 or 10**.
205
-
206
- The endpoint's own default is `auto`, which lets the model pick the length from the described action.
207
- **Slates always sends an explicit length instead**, so what you choose is what you are billed for.
208
- Choose the length the beat needs.
209
-
210
- ### Aspect ratios: 16:9 and 9:16, and nothing else
211
-
212
- The narrowest set in the catalogue. Square, 4:5 and 21:9 are not available on this
213
- model at any resolution.
214
-
215
- ### Frames, not references
216
-
217
- LTX takes a **start frame** and an **optional end frame** (which generates a transition between the
218
- two). It has **no reference-to-video endpoint at all** — no identity references, no style
219
- references, no environment references, no reference video, no reference audio.
220
-
221
- **For character consistency across separate shots, use MiniMax H3 or Kling.** Within a single LTX
222
- generation, use multishot instead — that is precisely the gap it fills.
223
-
224
- In image-to-video, **do not cut away from the opening frame too early.** You have paid for that
225
- frame; let it play before the first move.
226
-
227
- ### Do not ask for text on screen
228
-
229
- Neither the spelling nor its stability from frame to frame can be relied on. Signage, labels,
230
- captions and lower-thirds belong in post.
231
-
232
- ---
233
-
234
- ## 7. Audio is free here, and that changes the routing
235
-
236
- Native synchronised audio is **included at every resolution on both seats**, with no surcharge and
237
- no toggle that costs money — unlike Kling, where sound is a paid dimension. A 6-second 1080p LTX
238
- clip **with sound** is 39 credits.
239
-
240
- Combined with 1080p at ~6.5 cr/s, the cheapest native 1080p second with sound included in Slates, this makes LTX **the
241
- coverage seat**: the one to reach for when the job is many takes rather than one hero shot, when a
242
- sequence needs its own sound, or when the credit budget is the binding constraint.
243
-
244
- Route away from it when you need identity references (H3, Kling), a ratio other than 16:9 or 9:16
245
- (Seedance, Kling), or authored multi-layer audio direction (H3).
@@ -1,383 +0,0 @@
1
- ---
2
- name: slates-prompting-minimax-h3
3
- description: "Prompt MiniMax H3, H3 Max or H3 Max Turbo with slates_generate_video. Covers separately authored dialogue, scene sound and score, declared reference relationships, frame inputs and variant-specific constraints."
4
- ---
5
-
6
- # MiniMax H3 — prompting
7
-
8
- <!-- @card:start -->
9
- <!-- slates-only -->
10
- <!-- MACHINE-READ. Everything between the @card markers is extracted by
11
- src/prompts/craft-cards.ts and returned on every cost estimate for this
12
- model, so it is the ONE piece of positive craft guidance the agent cannot
13
- skip. Measured 2026-08-30: a fact inlined where it cannot be skipped moved
14
- compliance 0/8 to 30/32; the same guidance behind a fetch moved nothing.
15
- Keep it under 2,400 characters (the build fails above that) and keep the
16
- rationale, the receipts and the worked examples in the body below. -->
17
- <!-- /slates-only -->
18
- **Card: MiniMax H3.** The only seat with three separately authored audio layers: dialogue, scene sound and score are three separate sections of the prompt, generated in one pass, and putting a sound in the wrong section drops or doubles it.
19
-
20
- **The five levers**
21
- 1. **Write the three audio layers separately**: `overall_soundscape:` for what is in the room, `non_diegetic_music:` for what only the audience hears, and the dialogue quoted inline. Section decides attribution.
22
- 2. **Quote dialogue and name the language** — `says in English`, `speaks in Spanish`. Eleven languages are stably supported; the language is part of the instruction, not an afterthought.
23
- 3. **Declare the reference RELATIONSHIP**, which no other seat has: `kept whole`, `partly kept`, `transferred`, or `a loose echo`. An undeclared reference is a guess.
24
- 4. **Give a beat of stillness before a line** — `sits still for a beat, then looks up`. The sync needs something to lock against; a character already mid-motion when the line starts drifts.
25
- 5. **Describe the beat structure** — `waits`, `then speaks`, `under the last three seconds`. H3 is a timeline, so write one.
26
-
27
- **Examples**
28
- - `A woman sits still at a kitchen table for a beat, then looks up. She says in English, "You said Tuesday." overall_soundscape: a fridge hum, a spoon set down on formica. non_diegetic_music: N/A.`
29
- - `Two mechanics either side of an open bonnet. The younger one wipes his hands, waits, then speaks in Spanish, "No es el alternador." overall_soundscape: a socket wrench, a radio two bays over. non_diegetic_music: a low sustained cello under the last three seconds, audience only.`
30
-
31
- **Hard constraint:** the three seats differ in what the ENDPOINT accepts, not in grammar. Base H3 reaches 2K/4K and takes references; `minimax-h3-max` tops out at 1080p, takes the same 9+3+3 references, and costs MORE at the tier they share — a speed pick, never the cheap one; `minimax-h3-max-turbo` has Max's ladder at half its rate and takes frames only, NO references. Every tier above 768p is built from the native 768p render: judge at native. Reference inputs affect the quote; include every attached modality when estimating.
32
- <!-- @card:end -->
33
-
34
- <!-- @banned:start -->
35
- <!-- slates-only -->
36
- <!-- MACHINE-READ. Every `backticked` token between the @banned markers is
37
- extracted by src/prompts/banned-tokens.ts and returned on this model's cost
38
- estimate, and every submitted prompt is matched against it. Keep entries
39
- backticked and prose outside the backticks. -->
40
- <!-- /slates-only -->
41
- **Never use:**
42
- - a sound written into the wrong audio section — it is dropped, doubled, or attributed to the wrong layer
43
- - `background music` as a bare instruction: the score is its own authored layer, audience-only, and it is named as such
44
- - an undeclared reference relationship — say kept whole, partly kept, transferred, or a loose echo
45
- <!-- @banned:end -->
46
-
47
- H3 is an **omni transformer**: it generates picture and sound in the same pass, at 24fps with
48
- 32kHz stereo, 5–15 seconds, in 11 stably-supported languages (Arabic, Chinese, English, French,
49
- German, Italian, Japanese, Korean, Portuguese, Russian, Spanish). That single fact drives
50
- everything below — the prompt is not a shot description with sound bolted on, it is a **timeline
51
- with three audio layers you author separately**.
52
-
53
- **Three seats, one grammar.** Everything in this file applies to all three. They differ only in
54
- what the endpoint accepts:
55
-
56
- | | `minimax-h3` | `minimax-h3-max` | `minimax-h3-max-turbo` |
57
- |---|---|---|---|
58
- | Resolution | 480p / 768p / **2K / 4K** | 480p / 768p / 1080p | 480p / 768p / 1080p |
59
- | References | 9 images + 3 video + 3 audio (12 files) | 9 images + 3 video + 3 audio (12 files) | **none** (no reference endpoint) |
60
- | Frames | start and/or end | start and/or end | start and/or end |
61
- | Price at 768p | **~3 cr/s** | ~4 cr/s | ~2 cr/s |
62
- | Why pick it | resolution, references, and the cheaper second | **speed** — a 5s 768p clip in **4.8s** vs **57s** (measured) | **price** — half Max's rate at every tier |
63
-
64
- **Max is the premium seat, not the budget one.** It is 33% dearer at 768p, equal at 480p, and it
65
- tops out lower. Route there when a fast turnaround on a text-to-video or start-frame shot is worth
66
- paying for; route to base H3 for anything needing resolution, references, or the same tier cheaper.
67
-
68
- **Turbo is the budget seat.** Same grammar and Max's ladder at half Max's rate, with no reference
69
- endpoint: attach a reference and Slates refuses the call rather than dropping it. Route there for
70
- drafts, volume and start-frame coverage, then re-run the keeper on Max or base H3 when it needs
71
- references.
72
-
73
- **1080p on Max and Turbo is a refinement, not a native render.** The endpoint's schema, verbatim: *"1080P
74
- latent refinement from a native 768P source."* It is a different stage from base H3's 2K/4K
75
- upscaler, and it costs double the 768p second. Judge a 1080p take against the same shot at 768p
76
- before paying for it across a batch.
77
-
78
- **The speed is measured, not claimed** (2026-08-27, same prompt and params on both rows): a 5-second
79
- 768p text-to-video finished in **4.8 seconds** on Max against **57 seconds** on base H3 — roughly
80
- **12x**, queue to finished file. The model page advertises "under 3 seconds"; the literal claim did not hold at
81
- 4.8s wall-clock, but the order of magnitude did. For iteration loops and client-present work that gap
82
- is the entire reason the seat exists.
83
-
84
- 🚨 **Max's known weakness: colour banding in low light (Eric, 2026-09-09).** Certain shots —
85
- especially dark or low-key ones — come back with low-bitrate-looking banding across gradients (skies,
86
- walls, shadow falloff). It is the one place the seat visibly gives something up. If a shot is dark
87
- and gradient-heavy, either light it up in the prompt or route to base H3 at 768p; do not fix it by
88
- reaching for 2K, which adds its own artifacting on top.
89
-
90
- ---
91
-
92
- ## The one thing that makes H3 different: audio is a THREE-LAYER instruction
93
-
94
- Kling and Seedance have their own sound syntax. H3 splits audio into three separately authored layers, enforced by where
95
- you write each thing. Get the section wrong and the sound is dropped, doubled, or attributed to the
96
- wrong source.
97
-
98
- | Layer | What belongs in it | Where it goes |
99
- |---|---|---|
100
- | **Synchronised events** | dialogue, singing, and any sound tied to a specific shot or action | the **body** of the prompt, on the beat it lands |
101
- | **Scene sound** | ambience and physical sounds that run across the whole clip, room tone, rain, traffic, a ventilation hum | the **overall_soundscape** section |
102
- | **Score** | music the characters cannot hear; audience-only | the **non_diegetic_music** section |
103
-
104
- **Three rules, all from MiniMax's own guide:**
105
-
106
- 1. **Dialogue and singing NEVER go in the soundscape section.** They are synchronised events; they
107
- belong in the body, at the moment they happen.
108
- 2. **Diegetic music — music the characters can hear** (a radio in the scene, a busker) — also
109
- belongs in the **body**, not in the score section. The score section is audience-only.
110
- 3. **Write the score in instrumental terms, not mood words.** Name the instruments, the tempo, and
111
- how it develops. *"A restrained solo-piano score at a slow tempo, sustained low cello underneath,
112
- no swell"* — not *"emotional music"*.
113
-
114
- Use **N/A** for a section only when silence or absence is genuinely what the shot wants. An empty
115
- score section is a real choice; a vague one is a wasted layer.
116
-
117
- ### The shape, in the one prompt field
118
-
119
- Slates sends one prompt string, so write the three layers as labelled paragraphs in this order:
120
-
121
- ```
122
- [Shot 1] Live-action, cinematic. A medium-wide shot frames a baker opening the shutters of a
123
- small street bakery before sunrise. The camera pushes in with small amplitude at slow speed as
124
- the middle-aged baker with a calm, slightly raspy voice places a fresh loaf on the counter and
125
- says: "First batch of the morning." [Shot 2] At 00:05.000, the camera cuts to a close-up of
126
- steam rising from the sliced bread while his final words carry over from the previous shot.
127
-
128
- overall_soundscape: wooden shutters scrape open over a quiet street, trays clink softly inside, a
129
- doorbell rings once, then light footsteps and the crisp sound of bread being sliced.
130
-
131
- non_diegetic_music: a soft acoustic-guitar pattern at a moderate tempo, joined by sparse upright-bass notes,
132
- gentle fade at the end.
133
- ```
134
-
135
- **Body target: 350–500 words** for a reference-carrying shot. Dialogue-heavy content prioritises
136
- fitting the complete spoken timeline over hitting a word count.
137
-
138
- 🚨 **Slates disables the provider's prompt expander.** H3's API can rewrite your prompt before
139
- generation; Slates turns that off, because a model rewriting the user's words invisibly is banned
140
- outright (prompt transparency: what the composer shows is what the model gets). The practical
141
- consequence is on you: **nothing will pad a thin prompt.** Write the whole body.
142
-
143
- ---
144
-
145
- ## Shots and timing
146
-
147
- The first shot carries **no timestamp**. Every later shot opens with the bracket and a cut time
148
- that increases and stays inside the clip length:
149
-
150
- ```
151
- [Shot 2] At 00:03.500, the camera cuts to ...
152
- ```
153
-
154
- Transition verbs the model knows: **cuts to · transitions to · changes to · switches to**.
155
-
156
- **Dialogue that continues across a cut** needs the continuity said out loud — *"his final words
157
- carry over from the previous shot"* — or the line restarts. **Speech that ends abruptly** should be
158
- described as cut off rather than trailed off.
159
-
160
- ---
161
-
162
- ## Nobody holds still
163
-
164
- <!-- @inject:living-performance -->
165
- **Nobody holds still. Write every person a performance that changes on every beat.** A video model
166
- animates what the prompt describes and nothing more. Describe one expression ("she screams, mouth
167
- open") and the person freezes in it for the whole take, which reads as dead and fake however good the
168
- camera is.
169
-
170
- - **Every person, every beat:** what their hands do, where their head and body go, what they say or
171
- shout and to whom, and how the expression shifts, then shifts again. "Yelling at him with both hands
172
- up, then grabs the dash as the car snaps sideways" moves; "terrified" is a still.
173
- - **Escalate and turn.** A scene's emotion travels: fear into fury into a stunned laugh. Each beat
174
- gives the next state, never a repeat of the last.
175
- - **One calm character may stay still in the face, never in the body.** The stoic one still blinks,
176
- breathes, glances, and works their hands, and reacts once the scene earns it (a smirk, a look across).
177
- A held beat before a spoken line is the same: the face settles, the body keeps small movement.
178
- - **Keep it physical.** Write the visible action, not the feeling: a jabbed finger, a slap on the
179
- shoulder, a hand clawing hair out of a mouth. Name the lines or shouts when the audio matters.
180
- - **A blocking or previs reference makes stillness worse.** Its stand-in figures are frozen
181
- mannequins, and the model copies their stillness unless the prompt says so. Say it in the prompt:
182
- "its figures are frozen stand-ins and their stillness is not the acting; take only the camera and
183
- the timing from video 1, and the people perform as written below, moving in every second."
184
- - **On a model that reads timestamps (Seedance 2.5), write the acting inside every interval,** beside
185
- the camera and the action, so no range leaves a person without something to do. On a model that
186
- reads shots instead, give every shot its own acting the same way.
187
- <!-- @end:living-performance -->
188
-
189
- ---
190
-
191
- ## Camera — write the move into the sentence
192
-
193
- The model has a named motion vocabulary:
194
-
195
- > Zoom In / Zoom Out · Push In / Pull Out · Pan Left / Pan Right · Truck Left / Truck Right ·
196
- > Tilt Up / Tilt Down · Pedestal Up / Pedestal Down · Arc Shot · Tracking Shot · Static Shot ·
197
- > Shake Slightly / Shake Strongly · POV · Roll Clockwise / Roll Counterclockwise
198
-
199
- Modify with **amplitude** (`with small amplitude` / `with large amplitude`) and **speed**
200
- (`at slow speed` / `at fast speed`).
201
-
202
- 🚨 **Integrate the motion into the sentence — never stack labels.** MiniMax's own example:
203
- *"The camera pushes in with small amplitude at slow speed toward the folded letter in her hands."*
204
- Not *"Push In. Small amplitude. Slow."*
205
-
206
- ---
207
-
208
- ## Speakers and dialogue
209
-
210
- Give each speaking character a stable identity in the prose and keep it: describe the voice once
211
- (*"a young woman with a quiet, breathy voice"*), then refer back to the same description at every
212
- line. Identification, delivery and action sit **outside** the quoted line; the line itself is only
213
- the words.
214
-
215
- ```
216
- The young woman with a quiet, breathy voice says: "I get off at the next station."
217
- ```
218
-
219
- **Voiceover** needs two things — the phrase *"says in an off-screen voiceover"* **and** an explicit
220
- statement that the lips stay closed. Without the second half the model animates a mouth.
221
-
222
- ```
223
- The man says in an off-screen voiceover: "I still remember that road." — his lips remain
224
- completely closed.
225
- ```
226
-
227
- **On-screen text** — signs, banners, labels, subtitles, neon — goes in double quotes with the
228
- original wording preserved exactly: *A red neon sign reading "Open Late" glows above the doorway.*
229
-
230
- ---
231
-
232
- ## References — H3's real differentiator is the declared RELATIONSHIP
233
-
234
- *(`minimax-h3` and `minimax-h3-max`. Max gained the reference set on 2026-09-09; its free allowance
235
- is FOUR images rather than the base row's five. `minimax-h3-max-turbo` takes no references.)*
236
-
237
- <!-- @inject:references-read-literally -->
238
- > **The general law: the model reads a reference literally.**
239
- > A reference image is not a suggestion. Whatever is baked into it — lighting, medium, texture, symmetry, competing identities — is read as a **property of the subject** and reproduced downstream. A baked rim light tints every shot made from that sheet. A sheet that looks like a 3D game render gets animated like game footage. Two competing renderings of one face get averaged into a third face.
240
-
241
- Every reference rule below is a corollary of that one sentence, which is why "prep the reference" beats "prompt around the reference" every time:
242
-
243
- - **Flat, plain identity refs** — because scene lighting in the sheet becomes scene lighting in the output (Slates' own receipt: a studio-lit sheet produced a subject that looked green-screen-pasted in front of mountains).
244
- - **One authoritative rendering per subject** — because the model cannot tell which panel is the real one. ByteDance documents this failure directly: multi-view character assets "confuse the model's character recognition, causing it to generate duplicate characters of the same appearance."
245
- - **No 3D-game-render look in a reference** — the model recognizes the render mood and inherits its motion character, so the *animation* comes out looking like game footage. This is not a taste rule; it is the same literal-reading mechanism applied to the temporal layer.
246
- - **Break perfect symmetry** — mirrored faces and dead-square framing read as synthetic, and the model preserves that reading rather than correcting it.
247
-
248
- **What this means in practice:** when output is wrong in a way that tracks the *subject* rather than the *scene* — the lighting is wrong the same way in every shot, the face drifts, the material looks synthetic everywhere — fix the reference, not the prompt. Prompting around a baked-in property is the expensive way to lose.
249
- <!-- @end:references-read-literally -->
250
-
251
- <!-- @inject:reference-rules-core -->
252
- Identity = a few flat-lit neutral angles; one reference per role, named inline; 2-4 refs not 12; describe environments instead of feeding a grid.
253
-
254
- 1. **2-4 strong references beat both extremes.** Not 1 (warps toward itself), not 12 (averages worse). Start with 2-3 focused refs — each one adds context AND another variable to balance.
255
- 2. **One reference per ROLE, named in the prompt** — identity / style-grade / environment. The model does **not** infer a reference's role from its position in the list; the inline name carries it. Same-role competitors drift (two "identity" refs of different people blend into a third face). Slates resolves `@mentions` / `#tags` into numbered citations. You can also bind references directly in scene prose, naming what each image supplies.
256
- 3. **One identity sheet per character, named inline.** A character's identity is a single asset (dominant portrait + body panels), so attach that one asset rather than a pile of views: **fewer competing renderings of a face is better, because the model cannot tell which one is authoritative and averages them.** Slates cites it as `Marcus (image 1)`. **Do NOT hand-write a "Reference Image Instructions" block or role essays** ("use for identity, ignore the outfit, render a neutral expression") — that drags the sheet's studio lighting and wardrobe into a scene that asked for neither. The prompt leads; the user's words own wardrobe, expression, lighting, and action.
257
- 4. **Flat-light identity refs.** Prep identity references with flat, even, shadowless lighting on a plain neutral background. A studio-lit or scene-lit character sheet bleeds its lighting into every generation — the failure looks like the subject was green-screen-pasted in front of the location. Reference prep beats prompting here.
258
- 5. **Environment: describe it, don't feed a grid.** Default to describing the location in words and let the model build a space that fits the shot. Reserve an environment reference for a mandatory exact-match, and then use ONE clean establishing image with natural ambient light that reads as the location's real light — never a multi-panel grid fed whole.
259
- 6. **Grids: explore, don't input.** Use grids to explore compositions cheaply, then pick a cell. Never feed a grid back in as a reference — the cells share a split detail budget and were generated jointly, so their flaws propagate.
260
- 7. **Reuse the same refs across every shot** in a sequence. Lock a set and keep it; swapping references mid-sequence causes drift, because the model adapts each reference to the current prompt rather than copying it.
261
- 8. **Legible in-shot text → bake it into a still start frame, never trust text-to-video.** Have an image model render the text, then animate from that locked frame. Video models smear type.
262
- 9. **Working from existing media — describe ONLY what changes.** The source already carries its composition, motion, timing, and performance; re-describing them fights the model. Narrate the delta. (Video lane: restyle your own clip while keeping the performance; delayed-VFX on "video one"; marker-object insertion; video-as-reference for a series.)
263
- 10. **Style transforms happen in natural language.** By default the source's artistic medium and visual style are inherited. To change it, add a plain-text instruction ("anime → real person"). There are no preset pickers, and there is no style slider.
264
- <!-- @end:reference-rules-core -->
265
-
266
- ### Cite references by number — Slates already does it for you
267
-
268
- H3 in Slates takes references as **typed slots** and expects the prompt to name them by modality and
269
- order: **`image 1`, `image 2`, `video 1`, `audio 1`**. That is exactly what the Slates composer
270
- emits from your `@mentions` and `#tags` (`Marcus (image 1) in the workshop (image 2)`), in the
271
- exact order it sends them.
272
-
273
- 🚨 **Do NOT hand-write angle-bracket reference tags.** MiniMax's own model-card grammar uses
274
- `<Subject N>` / `<Picture N>` / `<Video N>` / `<Audio N>` labels; the endpoints Slates calls do
275
- not — they build the binding from the typed slots and ask for plain numbered prose. Typing the tags
276
- yourself puts literal angle brackets in the prompt the model reads.
277
-
278
- ### State how much of each reference survives
279
-
280
- This is the lever no other model in the catalogue gives you. Say, in plain words, what each
281
- reference is FOR and how much of it should carry through:
282
-
283
- | Intent | Say something like |
284
- |---|---|
285
- | Keep it whole | *"Keep the woman in image 1 exactly as she appears — hair, cardigan, necklace."* |
286
- | Keep part of it | *"Use the café in image 2 for the brick wall and the sofa; the lighting is late evening, not daylight."* |
287
- | **Move a trait onto someone else** | *"Give the man in image 3 the weathered leather texture of the jacket in image 4."* |
288
- | Loose echo | *"Match the general palette and grain of image 5; nothing else from it."* |
289
-
290
- The third row is the one with no equivalent anywhere else in Slates: **transferring a characteristic
291
- onto a different subject** is a first-class thing H3 understands. Reach for H3 when that is the job.
292
-
293
- **Audio references** bind a voice or a texture without copying the words. Say which speaker an
294
- audio reference is for (*"the woman in image 1 speaks in the voice timbre of audio 1"*), and when
295
- you are referencing only the timbre, **do not carry the reference clip's original dialogue into your
296
- prompt** — write the new line. When you genuinely want the same words re-performed, quote them
297
- exactly and say so.
298
-
299
- **An audio reference cannot travel alone** — H3 refuses a reference set that is audio only. Pair it
300
- with at least one image or video reference.
301
-
302
- ### 💸 Reference images past the free allowance are billed — and the two reference rows differ
303
-
304
- On `minimax-h3` the first **5** are free and each additional image adds **4 credits**.
305
- Max pools image pixels, reference-video seconds and reference-audio seconds into one token
306
- allowance. Include `referenceImages`, `videoRefSeconds` and `audioRefSeconds` when estimating;
307
- character voices count as audio. The generation preflight resolves the actual attached media.
308
-
309
- Four extra images on a 10s
310
- 768p clip add 16 credits to a 30-credit generation: **more than half again**, for references that
311
- often make the output worse rather than better (see the 2–4 rule above).
312
-
313
- Attach the references the shot needs, not the ceiling. Call
314
- `slates_estimate_generation_cost` with `referenceImages` set to the real count before a
315
- reference-heavy job — a quote that omits it under-reports the bill.
316
-
317
- ---
318
-
319
- ## Frames
320
-
321
- All three rows take a **start frame**, an **end frame**, or both. With an
322
- end frame, land it explicitly: describe the final pose, spacing and composition as the thing the
323
- shot **settles into** at the end, rather than hoping the model finds it.
324
-
325
- > *"…she rotates the handle into the final angle and settles into the pose, spacing and composition
326
- > of image 2 at the end of the shot."*
327
-
328
- **Frames and references are mutually exclusive** on the two reference rows — they are different endpoints, and
329
- the reference endpoint has no frame slots at all. Slates refuses the combination rather than
330
- dropping one side.
331
-
332
- ---
333
-
334
- ## Cost discipline
335
-
336
- | Combination | Credits |
337
- |---|---:|
338
- | `minimax-h3` · 768p · 5s | 15 |
339
- | `minimax-h3` · 768p · 10s | 30 |
340
- | `minimax-h3` · 2K · 10s | 65 |
341
- | `minimax-h3` · 4K · 10s | 80 |
342
- | `minimax-h3-max` · 768p · 10s | 40 |
343
- | `minimax-h3-max` · 1080p · 10s | 80 |
344
- | `minimax-h3-max-turbo` · 768p · 10s | 20 |
345
- | `minimax-h3-max-turbo` · 1080p · 10s | 40 |
346
- | `minimax-h3` — every reference image past the **fifth** | **+4** |
347
-
348
- **768p is the default for a reason.** It is the tier the model natively generates.
349
-
350
- 🚨 **2K and 4K are UPSCALES of a 768p render, not larger generations.** The endpoint's own schema says so:
351
- *"480P and 768P are native generation modes; 2K and 4K upscale a 768P base result."* The upscaler
352
- (H3-Regenerate-2K) is a separate stage bolted onto a finished take — it can enlarge detail but it
353
- cannot add information.
354
-
355
- **In our own test (2026-08-27, same prompt, same seed) the 2K pass came back with MORE artifacting
356
- than the 768p original it was built from**, while costing 33 credits for a 5-second take against 15,
357
- and taking nearly twice as long to return.
358
-
359
- 🚨 **Confirmed independently (Eric, 2026-09-09): 2K and 4K carry visible AI noise artifacting and
360
- "just look bad".** That is now TWO separate observations, months apart, pointing the same way — it is
361
- no longer a single-shot warning. The tiers stay available because a delivery spec sometimes demands
362
- the pixels, but **do not route to 2K/4K for quality**: you are paying more, waiting longer, and
363
- adding artifacts to a 768p render. Upscale in post from a clean 768p master instead.
364
-
365
- **So: generate at 768p and judge it at 768p.** Reach for 2K or 4K only when a delivery spec demands
366
- the pixels, and expect to be paying for size rather than quality — a post-production upscale from a
367
- clean 768p master is very often the better result. **4K video is Pro-only** (the server returns
368
- `PRO_REQUIRED` for a base account); 2K is open to every tier.
369
-
370
- ---
371
-
372
- ## Quick checklist
373
-
374
- - Body written as a timeline, first shot untimestamped, later shots on `[Shot N] At MM:SS.mmm`.
375
- - Camera motion written **into** a sentence with amplitude and speed.
376
- - Dialogue and diegetic music in the body; ambience in the soundscape section; audience-only score
377
- in the score section, described by instrument and tempo.
378
- - Voiceover carries both the off-screen phrase and the closed-lips statement.
379
- - References cited as `image 1` / `video 1` / `audio 1`, each with a stated job and a stated degree
380
- of retention. No angle-bracket tags.
381
- - Reference count is deliberate — you are paying 4 credits for each one past the fifth.
382
- - Frames **or** references, never both.
383
- - The prompt is the prompt: no expander will fill it out for you.