@slatesvideo/shared 0.7.3 → 0.7.5

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 (53) hide show
  1. package/dist/analytics/events.d.ts +155 -0
  2. package/dist/analytics/events.js +430 -0
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +4 -0
  5. package/dist/manual/content.d.ts +1 -1
  6. package/dist/manual/content.js +1 -1
  7. package/dist/operations/index.d.ts +88 -82
  8. package/dist/operations/index.js +235 -45
  9. package/dist/operations/surface.js +1 -0
  10. package/dist/prompts/agent-doctrine.js +26 -7
  11. package/dist/prompts/banned-tokens.d.ts +18 -0
  12. package/dist/prompts/banned-tokens.js +59 -4
  13. package/dist/prompts/generation-policy.d.ts +1 -1
  14. package/dist/prompts/model-capabilities.d.ts +3 -3
  15. package/dist/prompts/model-capabilities.js +3 -3
  16. package/dist/prompts/model-facts.d.ts +1 -1
  17. package/dist/prompts/model-facts.js +2 -2
  18. package/dist/prompts/partials.generated.js +1 -1
  19. package/dist/prompts/prompting-tips.js +8 -8
  20. package/dist/prompts/shot-grammar.d.ts +2 -2
  21. package/dist/prompts/shot-grammar.js +2 -2
  22. package/dist/skills/content.js +18 -18
  23. package/dist/update-check.js +1 -1
  24. package/exports/slates-prompt-builder/generated/reference-character.md +2 -2
  25. package/exports/slates-prompt-builder/generated/reference-content-policy.md +3 -3
  26. package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +4 -4
  27. package/exports/slates-prompt-builder/generated/reference-kling.md +5 -6
  28. package/exports/slates-prompt-builder/generated/reference-omni-flash.md +1 -1
  29. package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +15 -15
  30. package/exports/slates-prompt-builder/generated/reference-seedance.md +3 -4
  31. package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +26 -26
  32. package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
  33. package/package.json +5 -2
  34. package/skills/_partials/cinematic-card.md +1 -1
  35. package/skills/_partials/model-routing.md +2 -2
  36. package/skills/slates-character-identity.md +2 -2
  37. package/skills/slates-content-policy.md +3 -3
  38. package/skills/slates-model-selection.md +3 -3
  39. package/skills/slates-prompting-elevenlabs.md +1 -1
  40. package/skills/slates-prompting-flux-2-max.md +1 -2
  41. package/skills/slates-prompting-gpt-image-2-5.md +5 -5
  42. package/skills/slates-prompting-inworld-tts.md +1 -1
  43. package/skills/slates-prompting-kling-v3.md +4 -5
  44. package/skills/slates-prompting-lip-sync.md +5 -8
  45. package/skills/slates-prompting-ltx-2-5.md +2 -2
  46. package/skills/slates-prompting-minimax-h3.md +5 -5
  47. package/skills/slates-prompting-motion-transfer.md +2 -4
  48. package/skills/slates-prompting-omni-flash.md +1 -1
  49. package/skills/slates-prompting-seed-audio.md +1 -1
  50. package/skills/slates-prompting-seedance-2-5.md +19 -19
  51. package/skills/slates-prompting-seedance.md +10 -11
  52. package/skills/slates-prompting-seedream-5-lite.md +2 -3
  53. package/skills/slates-vision-feedback-loop.md +117 -117
@@ -2,7 +2,7 @@
2
2
  // and @slatesvideo/cli).
3
3
  //
4
4
  // WHY THIS EXISTS (2026-09-13): a Discord user's agent reported "H3 isn't in
5
- // the API tool, only Kling, Veo and Seedance are exposed" — a server older
5
+ // the API tool, only Kling, [a model] and Seedance are exposed" — a server older
6
6
  // than 0.5.10 (2026-08-28). Nothing told him, and nothing told his agent. The
7
7
  // install path is `npx -y @slatesvideo/mcp-server` with no version pinned, so
8
8
  // a client RESTART is the whole update; the failure is a client that never
@@ -83,8 +83,8 @@ Critically, the app injects **no** wardrobe, expression, or lighting directive.
83
83
  - **Don't** studio-light, white-background, or black-background the sheet. White bleeds into the video and washes out the location; black eats edge detail. Flat, even, shadowless light on a deep neutral grey.
84
84
  - **Don't** create a second character image. One canonical identity is what the storyboard pipeline reads.
85
85
  - **Don't** invent character details. Stick to what's in the reference image and the user's description.
86
- - **Don't** describe the front panel's crop as an absent head — in `userNotes` or any hand-written variant. The template asks for it as *framing*: **"cropped at the collarbone, an invisible-mannequin presentation with just the face cropped out"**, a standard e-commerce genre with deep training data. **"the head not shown" is a hard 422 on GPT Image** (measured on `gpt-image-2`, the model 2.5 replaced; the classifier is OpenAI's, not the version's, so the rule carries — but nobody has re-run it on Flare or Sunburst) — fal returns `content_policy_violation` with `loc: ["body","prompt"]`, so the text is rejected before any image is read, because an anatomical absence reads as gore to OpenAI's classifier. It passed NB2, which is why the original receipt looked safe: **it was model-scoped.** State an exclusion as a framing choice, never as a missing body part.
86
+ - **Don't** describe the front panel's crop as an absent head — in `userNotes` or any hand-written variant. The template asks for it as *framing*: **"cropped at the collarbone, an invisible-mannequin presentation with just the face cropped out"**, a standard e-commerce genre with deep training data. **"the head not shown" is a hard 422 on GPT Image** (measured on `gpt-image-2`, the model 2.5 replaced; the classifier is OpenAI's, not the version's, so the rule carries — but nobody has re-run it on Flare or Sunburst) — the request comes back `content_policy_violation` with `loc: ["body","prompt"]`, so the text is rejected before any image is read, because an anatomical absence reads as gore to OpenAI's classifier. It passed NB2, which is why the original receipt looked safe: **it was model-scoped.** State an exclusion as a framing choice, never as a missing body part.
87
87
  - **Don't** invoke the invisible-mannequin genre without bounding it to the face. **"an invisible-mannequin presentation where the clothing holds its own shape" removed all the skin** — no neck, no hands, no forearms, a garment floating on nothing — because that *is* the e-commerce genre in full: an empty outfit. **"with just the face cropped out"** keeps the anchor and bounds it. Generalises: a genre anchor imports the whole genre, so name what STAYS, not only what goes.
88
- **Resolved composer hazard:** on 2026-07-30, `#3a3a3c` reached fal as `background ()` because unresolved sigils were deleted. The composer now preserves unresolved `#` and `@` text byte-for-byte; a token binds a reference only when it resolves. Literal hex colours and handles are safe. The sheet template keeps its bare hex as a wording choice, not a workaround.
88
+ **Resolved composer hazard:** on 2026-07-30, `#3a3a3c` reached the model as `background ()` because unresolved sigils were deleted. The composer now preserves unresolved `#` and `@` text byte-for-byte; a token binds a reference only when it resolves. Literal hex colours and handles are safe. The sheet template keeps its bare hex as a wording choice, not a workaround.
89
89
  - **Don't** use 4K — wastes credits, no quality gain at sheet scale.
90
90
  - **Don't** feed a multi-view sheet into a Seedance 2.0 shot that has **several characters in frame** without binding each character to its image and appending the anti-twin constraint; ByteDance documents multi-view assets as a cause of duplicate characters on 2.0. See `reference-seedance.md`. Seedance 2.5 supports multi-view subject references; see `reference-seedance-2-5.md`.
@@ -64,13 +64,13 @@ If a box fails, apply the substitution table before writing the prompt.
64
64
  Video edit takes the user's own footage, which often contains real people. Rules:
65
65
 
66
66
  - The user must hold rights/consent for any real person's likeness in footage they edit — ask once when it's clearly someone other than the user, then proceed.
67
- - Kling's video-to-video filter behavior on real faces is **not yet verified** (unlike Seedance, where the consent-gated real-face route is confirmed). If an edit of real-person footage is rejected by the provider, do NOT retry-spam variations — tell the user the filter blocked it and offer a no-face crop/segment or an AI-character swap instead.
68
- - **Omni Flash: own-footage editing of the uploader's own face PASSED live 2026-07-09** (real talking-head clip, edited on our fal route) despite Google's documented "recognizable people" restriction — treat that restriction as aimed at third-party/public figures, but expect probabilistic refusals and never promise passage.
67
+ - Kling's video-to-video filter behavior on real faces is **not yet verified** (unlike Seedance, where the consent-gated real-person option is confirmed). If an edit of real-person footage is rejected by the model's filter, do NOT retry-spam variations — tell the user the filter blocked it and offer a no-face crop/segment or an AI-character swap instead.
68
+ - **Omni Flash: own-footage editing of the uploader's own face PASSED live 2026-07-09** (real talking-head clip, edited in Slates) despite Google's documented "recognizable people" restriction — treat that restriction as aimed at third-party/public figures, but expect probabilistic refusals and never promise passage.
69
69
  - Never use edit to put a real, named public figure into a scene, or to make someone appear to say/do something they didn't. Faceless b-roll (hands, products, landscapes, crowds-from-behind) edits freely.
70
70
 
71
71
  ## Gemini / Omni Flash filter regime (video gen + edit) — receipts 2026-07-09
72
72
 
73
- Google's filter is its own regime (stricter than fal-hosted Kling about harm-to-a-person, looser than BytePlus about faces). Live receipts:
73
+ Google's filter is its own regime (stricter than Kling about harm-to-a-person, looser than Seedance about faces). Live receipts:
74
74
 
75
75
  | Blocked (`content_policy_violation`) | Passed |
76
76
  |---|---|
@@ -85,7 +85,7 @@ All five rungs are exposed, and they span ~36× end to end (2k class: $0.0044
85
85
 
86
86
  🚨 **The tier NAMES moved between versions and the strings did not.** GPT Image 2's `medium` is this model's `high`; its `high` is this model's `max` — same money, one rung of renaming. For a recipe explicitly written for GPT Image 2, map the old tier before reusing it on 2.5. A current user request for `medium` still means `medium`. Getting this backwards costs picture quality silently: nothing errors, the bill is correct for what was asked, and the image is just worse.
87
87
 
88
- Never rely on the provider default. fal's default is `high`, which is correct today — but it is the third rung of five rather than the top of two, so leaning on it means a fal-side change silently reprices you. Slates sends its configured quality explicitly; current defaults live in `SKILL.md`. Your explicit choice overrides them.
88
+ Never rely on the API's default. It is `high`, which is correct today — but it is the third rung of five rather than the top of two, so leaning on it means a change upstream silently reprices you. Slates sends its configured quality explicitly; current defaults live in `SKILL.md`. Your explicit choice overrides them.
89
89
 
90
90
  **Start at the default and change tiers for an unmet requirement.** OpenAI's own procedure: *"If the output falls short, test a higher quality setting. Once it meets your requirements, test lower settings to see whether they preserve acceptable quality while reducing latency. Use `xhigh` or `max` only when they improve an unmet quality requirement within your latency budget."* A higher rung does **not** guarantee a better result on a given prompt. Compare `medium` against `high` when the job is small or dense text; that is where the rungs separate most visibly.
91
91
 
@@ -97,7 +97,7 @@ Never rely on the provider default. fal's default is `high`, which is correct to
97
97
 
98
98
  ⚠️ **Above 2560×1440 you are on a path OpenAI marks EXPERIMENTAL.** Verbatim: *"Outputs with more than 3,686,400 total pixels ('2560x1440') are experimental."* That is the whole **4k** class (≈8.0 MP) plus 3k at 4:3/3:4 (≈3.70 MP). It bills normally and it works — but prove the shot at 2k or 3k 16:9 first, and do not be surprised by an odd frame at 4k.
99
99
 
100
- **Hard size bounds**, from fal's schema verbatim: each edge ≤ 3840 px, both edges multiples of 16, longer:shorter ratio ≤ 3:1, total pixels between 655,360 and 8,294,400. **The pixel ceiling is the one that actually bites** — the multiple-of-16 rule is documented but NOT enforced, and we have the receipt: 1920×1080 fails it (1080 = 67.5 × 16), is one of fal's own six priced canonical sizes, and metered clean. Slates picks sizes that respect the ceiling; these matter only if you hand-build a request.
100
+ **Hard size bounds**, from the endpoint's schema verbatim: each edge ≤ 3840 px, both edges multiples of 16, longer:shorter ratio ≤ 3:1, total pixels between 655,360 and 8,294,400. **The pixel ceiling is the one that actually bites** — the multiple-of-16 rule is documented but NOT enforced, and we have the receipt: 1920×1080 fails it (1080 = 67.5 × 16), is one of the six priced canonical sizes, and metered clean. Slates picks sizes that respect the ceiling; these matter only if you hand-build a request.
101
101
 
102
102
  🚨 **THE ASPECT RATIO CHANGES THE PRICE ON THIS MODEL, and on no other image model.** OpenAI bills image OUTPUT TOKENS and the count tracks the frame's SHAPE, so at the same resolution class **`1:1` costs about 1.8× and `4:3`/`3:4` about 1.37× what `16:9` costs**; `9:16` costs the same as `16:9`. Metered 2026-09-09 and priced into the cost key, so the quote you get before generating is the real number — but if you are choosing between shapes and the budget is tight, **16:9 or 9:16 is the cheap one.** Every other image model charges the same whatever the shape.
103
103
 
@@ -109,7 +109,7 @@ Never rely on the provider default. fal's default is `high`, which is correct to
109
109
 
110
110
  **Receipt, 2026-09-15, Sunburst, IMG-A192–A198.** The up-front version returned the studio look; the inline versions were never refused and never came back as a sheet. Two costs, both fixed in words: anything the prompt does not describe is taken from the reference (name every garment), and props nobody asked for appear (say what is in the foreground and that nothing else is). One sheet-only plate kept its described location, which narrows the two-reference rule in `slates-ugc-influencer-ad`. A look reference did far less than a described light. The full ladder is the vault's `cinematic-look-research.md`; the techniques are `slates-cinematic-look`.
111
111
 
112
- Reference images route through the edit endpoint, **up to 16** — fal's documented `maxItems`, and the highest reference ceiling of any image seat in Slates (the Banana line takes 14). It was capped at 10 until 2026-09-09, which was never anybody's limit, just a number nobody had checked. The composed "image N" naming applies as everywhere else. Mask-based inpainting exists at the API level but is not surfaced: a mask is something the user has to paint, and there is no painting surface — describe the change instead.
112
+ Reference images route through the edit endpoint, **up to 16** — the endpoint's documented `maxItems`, and the highest reference ceiling of any image seat in Slates (the Banana line takes 14). It was capped at 10 until 2026-09-09, which was never anybody's limit, just a number nobody had checked. The composed "image N" naming applies as everywhere else. Mask-based inpainting exists at the API level but is not surfaced: a mask is something the user has to paint, and there is no painting surface — describe the change instead.
113
113
 
114
114
  ## Editing — separate the change from the constraints
115
115
 
@@ -160,7 +160,7 @@ Name materials, lighting, colour and medium. Mood words are cues only — "cinem
160
160
 
161
161
  ## 🚨 WHAT GETS YOU BLOCKED — read before writing a prompt with a person in it
162
162
 
163
- **Receipt: 24 consecutive attempts on one character, 2026-08-24, same project and same rail.** Eleven were refused with `content_policy_violation` on the fal edit endpoint. The refusals were never about the scene — one of the blocked prompts was a woman standing at a kitchen counter with her hand on it. **Two phrasings were hard blocks, 5 for 5 each, and neither ever passed:**
163
+ **Receipt: 24 consecutive attempts on one character, 2026-08-24, same project and same rail.** Eleven were refused with `content_policy_violation` on the edit endpoint. The refusals were never about the scene — one of the blocked prompts was a woman standing at a kitchen counter with her hand on it. **Two phrasings were hard blocks, 5 for 5 each, and neither ever passed:**
164
164
 
165
165
  **1. Never describe the reference as a photograph of a real person.**
166
166
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## Contents
8
8
 
9
- - [Subject definition rule (verbatim, fal blog)](#subject-definition-rule-verbatim-fal-blog)
9
+ - [Subject definition rule (verbatim, published guide)](#subject-definition-rule-verbatim-published-guide)
10
10
  - [Dialogue syntax](#dialogue-syntax)
11
11
  - [Voice direction formula (Omni)](#voice-direction-formula-omni)
12
12
  - [The Immediately keyword (Omni only)](#the-immediately-keyword-omni-only)
@@ -49,7 +49,7 @@ Kuaishou's video model. Three tiers: `kling-v3.0-std` (general use, sound suppor
49
49
 
50
50
  Up to 15s. Multi-shot supported (up to 6 cuts in 15s total). Strong on image-to-video — preserves identity, layout, and text from the input image well.
51
51
 
52
- ## Subject definition rule (verbatim, fal blog)
52
+ ## Subject definition rule (verbatim, published guide)
53
53
 
54
54
  > "Define your core subjects clearly at the beginning of the prompt and keep descriptions consistent across shots."
55
55
 
@@ -113,7 +113,7 @@ SFX accepts physical-cause specificity:
113
113
 
114
114
  ## Image-to-video guidance
115
115
 
116
- **Verbatim (fal blog):**
116
+ **Verbatim (published guide):**
117
117
  > "Treat the input image as an anchor. Kling 3.0 excels at preserving the identity, layout, and text details. Focus prompts on how the scene evolves *from* the image: subtle movements, camera motion, or environmental changes."
118
118
 
119
119
  **Don't re-describe what's already in the image.** Focus on motion, changes, evolution.
@@ -184,7 +184,7 @@ Identity = a few flat-lit neutral angles; one reference per role, named inline;
184
184
 
185
185
  ## Negative prompting — has a real field
186
186
 
187
- Kling exposes `negative_prompt` on the fal endpoint (different from Seedance which has none). Default block to start from:
187
+ Kling exposes `negative_prompt` on the endpoint Slates calls (different from Seedance which has none). Default block to start from:
188
188
 
189
189
  ```
190
190
  blurry, low quality, watermark, text overlay, distorted hands, extra fingers,
@@ -216,7 +216,7 @@ Ambient noise: <soundscape>.
216
216
  Camera <single move>.
217
217
  ```
218
218
 
219
- Cinematic example (paraphrasing fal blog patterns):
219
+ Cinematic example (paraphrasing published guide patterns):
220
220
  > "Shot 1: Wide establishing shot of a neon-lit alleyway in heavy rain, steam rising from grates. Camera slowly tracks forward.
221
221
  > Shot 2: Medium shot of a detective in a trench coat ducking under an awning, water dripping from his hat brim. [Detective: weary, raspy]: 'I knew she'd come back.' Ambient noise: distant traffic, rain on metal.
222
222
  > Shot 3: Close-up on his eyes, narrowing as headlights flash across his face."
@@ -249,7 +249,6 @@ Rules:
249
249
 
250
250
  ## Sources
251
251
 
252
- - [fal.ai — Kling 3.0 Prompting Guide](https://blog.fal.ai/kling-3-0-prompting-guide/)
253
252
  - [Vidguru — Kling 3.0 Omni Guide](https://www.vidguru.ai/blog/kling-3.0-omni-guide.html)
254
253
  - [AcceptPrompt — Kling 3 Prompt Guide](https://www.acceptprompt.com/blog/kling-3-prompt-guide)
255
254
  - [DataCamp — Kling 3.0 Tutorial](https://www.datacamp.com/tutorial/kling-3-0)
@@ -26,7 +26,7 @@
26
26
  - several staged beats cued to moments (`when he calls it, and perches as he walks`): these hard-fail, they do not merely drift. One effect tied to an action already in the clip (`when he snaps his fingers`) passed
27
27
  - harm-to-person framing: `ignite`, `catch fire`, `on fire` applied to a person trips the safety filter
28
28
 
29
- Google's fast video generation + editing model ("Nano Banana Pro for video" in creator slang — a nickname; it is NOT the NB Pro image model). Carried on fal (`google/gemini-omni-flash*`). 720p only, 24fps, 3–10 second clips, 16:9 or 9:16. **Audio is native and included** — dialogue, SFX, and ambient generate WITH the video at no extra cost.
29
+ Google's fast video generation + editing model ("Nano Banana Pro for video" in creator slang — a nickname; it is NOT the NB Pro image model). 720p only, 24fps, 3–10 second clips, 16:9 or 9:16. **Audio is native and included** — dialogue, SFX, and ambient generate WITH the video at no extra cost.
30
30
 
31
31
  ## Where it routes
32
32
 
@@ -123,15 +123,15 @@ Worked, at the shipped rates:
123
123
  | 2.5 · 720p · 5s · faceless | 58 |
124
124
  | 2.5 · 1080p · 5s · faceless | 142 |
125
125
  | 2.5 · 720p · 30s · faceless | 347 |
126
- | 2.5 · 720p · 30s · AI-face route | **489** |
127
- | 2.5 · 720p · 30s · consented real-face route | **710** |
126
+ | 2.5 · 720p · 30s · Face | **489** |
127
+ | 2.5 · 720p · 30s · consented real person | **710** |
128
128
  | 2.5 · 1080p · 30s · faceless | **853** |
129
- | 2.5 · 1080p · 30s · consented real-face route | **1,749** |
130
- | *(for scale)* 2.0 · 1080p · 15s · AI-face route | 411 |
129
+ | 2.5 · 1080p · 30s · consented real person | **1,749** |
130
+ | *(for scale)* 2.0 · 1080p · 15s · Face | 411 |
131
131
 
132
132
  **A 30-second 720p clip can cost more than a 15-second 1080p one** — and a base licence starts
133
- with 1,000 credits. Someone who reads "720p" as "cheap" and asks for a 30-second take on the
134
- real-face route has spent 71% of their welcome grant on one clip; **on the real-face route a single
133
+ with 1,000 credits. Someone who reads "720p" as "cheap" and asks for a 30-second take of a
134
+ consented real person has spent 71% of their welcome grant on one clip; **for a real person a single
135
135
  30-second 1080p take is more than the whole grant.**
136
136
 
137
137
  **Discipline:**
@@ -221,13 +221,13 @@ That makes one recipe possible that was not before: drive a scene's timing, voic
221
221
  a recording with no visual anchor at all — a voice line, a music bed, a room tone — and let the
222
222
  model build the picture to it. Cite it the same way as any other reference
223
223
  (`Reference the timbre in <Audio_N> to generate…`), and remember that audio references carry **no
224
- billing dimension** on any Seedance route: audio is included.
224
+ billing dimension** on any Seedance row: audio is included.
225
225
 
226
226
  ### Video references
227
227
 
228
228
  Up to 10 clips, ≤30s combined (2.0: 3 clips, ≤15s). A reference VIDEO switches the cost key to
229
- `seedance-2.5*-vref-{res}-{T}s`, where **T = Σ input seconds + output seconds** on faceless and real-face routes;
230
- on the AI-face route, **T = max(Σ input seconds, output seconds) + output seconds** on both 2.0 and 2.5. The sum is across
229
+ `seedance-2.5*-vref-{res}-{T}s`, where **T = Σ input seconds + output seconds** without Face and for a consented real person;
230
+ on a Face row, **T = max(Σ input seconds, output seconds) + output seconds** on both 2.0 and 2.5. The sum is across
231
231
  **every** clip attached, not just the longest. Three 6-second references on a 12-second output bills
232
232
  30 seconds, not 12 and not 18. Quote before confirming.
233
233
 
@@ -284,7 +284,7 @@ the citation, not a fallback — *"use her face and wardrobe from image 1, not i
284
284
  background"* is a stronger instruction than naming the positive alone, because an unscoped reference
285
285
  brings its whole frame with it.
286
286
 
287
- **BytePlus documents disagree on reference sigils.** Its API tutorial says *"Use `@Image 1`,
287
+ **ByteDance's documents disagree on reference sigils.** Its API tutorial says *"Use `@Image 1`,
288
288
  `@Video 1`, and `@Audio 1`"*, while its 2.5 prompt guide uses the bare form
289
289
  (`Image 1 / Video 1 / Audio 1`) in its normative sentence. Both are first-party sources; the
290
290
  bare form is confirmed working on both Seedance models. Use the syntax accepted by the endpoint
@@ -316,12 +316,12 @@ Kling O3 Edit is the one that takes element and style reference images.
316
316
  (ByteDance recommends 1–5 — *"replace the man in dark clothing in @Video 1 with @Image 2"*);
317
317
  **Slates has not wired that path**, so today an edit that must lock an identity from a photo
318
318
  goes to Kling O3 Edit. Constraint of our build, not of the model — worth revisiting.
319
- - **An edit costs about 1.2x a plain 2.5 generation of the same length**: every Seedance provider
320
- charges an edit on input + output seconds, at the reduced video-reference rate. Read the confirm
319
+ - **An edit costs about 1.2x a plain 2.5 generation of the same length**: every Seedance edit
320
+ is charged on input + output seconds, at the reduced video-reference rate. Read the confirm
321
321
  gate's number; do not reason from the generation rate.
322
- - **Set `seedanceFace: true` when a character's face is visible in the clip.** The faceless provider
323
- blocks faces outright — this is not a price optimisation, it is whether the job runs at all.
324
- - **There is no consented-real-face route for editing.** Real-person footage that the AI-face route
322
+ - **Set `seedanceFace: true` when a character's face is visible in the clip.** Without it, a
323
+ face is blocked outright — this is not a price optimisation, it is whether the job runs at all.
324
+ - **There is no consented real-person option for editing.** Real-person footage that the Face edit
325
325
  rejects has to go to Kling O3 Edit.
326
326
 
327
327
  **Prompting an edit** — the same discipline as every other edit engine: **describe only what
@@ -51,10 +51,10 @@
51
51
 
52
52
  **Hard constraint:** NO timestamps — 2.0 ignores them and answers only to shot numbers (2.5 acts on them). No lens, aperture, film stock or camera body: that is image-model vocabulary and a Seedance anti-pattern. There is no negativePrompt field.
53
53
 
54
- ByteDance's video model — first-party via **BytePlus ModelArk** (credits only, no BYOK). Audio always generated alongside the video. Single model `seedance-2` across the full resolution ladder (480p / 720p / 1080p / native 4K — 4K video is Pro-only, default 1080p), 4–15s, first+last frame, and up to 9 reference images / 3 videos / 3 audio clips.
54
+ ByteDance's video model, on Slates credits. Audio always generated alongside the video. Single model `seedance-2` across the full resolution ladder (480p / 720p / 1080p / native 4K — 4K video is Pro-only, default 1080p), 4–15s, first+last frame, and up to 9 reference images / 3 videos / 3 audio clips.
55
55
 
56
56
  > **How to read this file.**
57
- > **[official :NNNN]** — ByteDance's own BytePlus ModelArk prompting guide, line `NNNN` of the archived doc dump (`research/byteplus-seedance-2-0-api-docs.md`). Receipt-grade; treat as law.
57
+ > **[official :NNNN]** — ByteDance's own Seedance prompting guide, line `NNNN` of the archived doc dump (`research/byteplus-seedance-2-0-api-docs.md`). Receipt-grade; treat as law.
58
58
  > **[community]** — third-party guides and our own field notes. Useful, but an `[official]` block always wins.
59
59
  > **[slates]** — how the Slates app composes or bills this; not ByteDance doctrine.
60
60
  >
@@ -406,9 +406,8 @@ Stability phrases that help:
406
406
  ## Sources
407
407
 
408
408
  **Official (authoritative):**
409
- - BytePlus ModelArk — Seedance 2.0 prompting guide, archived at `research/byteplus-seedance-2-0-api-docs.md` (all `:NNNN` refs above)
409
+ - ByteDance — Seedance 2.0 prompting guide, archived at `research/byteplus-seedance-2-0-api-docs.md` (all `:NNNN` refs above)
410
410
 
411
411
  **Community (secondary):**
412
- - [fal.ai — How to Use Seedance 2.0](https://fal.ai/learn/tools/how-to-use-seedance-2-0)
413
412
  - [apiyi.com — Seedance 2.0 Prompt Guide](https://help.apiyi.com/en/seedance-2-0-prompt-guide-video-generation-camera-style-tips-en.html)
414
413
  - [atlabs.ai — Ultimate Seedance 2.0 Prompting Guide](https://www.atlabs.ai/blog/the-ultimate-seedance-2.0-prompting-guide-47-prompts-2026)
@@ -8,19 +8,19 @@
8
8
  },
9
9
  {
10
10
  "path": "skills/slates-character-identity.md",
11
- "sha256": "144beb0c551201b9ba55aa6ed441928d6494860c1c0ee2eacfe5681c179421f0"
11
+ "sha256": "c4ef94ff87bbbaa3977075f033c85905246df59dcb878d67e41da5dc96ec7f72"
12
12
  },
13
13
  {
14
14
  "path": "skills/slates-content-policy.md",
15
- "sha256": "89ed04fb8d4d7e7aa23d1706d36055cfa7b1e8b7acb09c860c966bb848a4c9ca"
15
+ "sha256": "3495cf0e1a2114d1d6a903e420e2d37c4ec4c0e632761fd97b578a95e2f47c86"
16
16
  },
17
17
  {
18
18
  "path": "skills/slates-prompting-gpt-image-2-5.md",
19
- "sha256": "501276dd45d5d8f8faae199680bfb5c78c9e4cc083d9fcde76a49e3cf674600e"
19
+ "sha256": "33bf0c1ad645a8c4d81a2e9c70a1565a2b398d861d888037b3b1fe25ba6a8ff9"
20
20
  },
21
21
  {
22
22
  "path": "skills/slates-prompting-kling-v3.md",
23
- "sha256": "e247bf2ba2999a57ee2255cd31c197d1391c0b24acef0508e948bce7bad1650c"
23
+ "sha256": "6bfc552a3bd8c0da97b4d908af835c2a017cfe352df4579a75591d3128842da9"
24
24
  },
25
25
  {
26
26
  "path": "skills/slates-prompting-nano-banana-2.md",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  {
30
30
  "path": "skills/slates-prompting-omni-flash.md",
31
- "sha256": "887551ad854a05d0065a08fc15c654153803486ffda7ee1dcea23ad31219afd2"
31
+ "sha256": "011e8ca2b1b815b7557c775c0775559962aea2ba3ec4dc617b41dbd4622cc415"
32
32
  },
33
33
  {
34
34
  "path": "skills/slates-prompting-seedance-2-5.md",
35
- "sha256": "6e8b17b81bef5ba50a10e46610268f718c2941b6e78c18a2cae4393332337c49"
35
+ "sha256": "ca5d49a5780f7c4fb0bb4e055c0cafb60db84e5832fb8ed3071de3049099d378"
36
36
  },
37
37
  {
38
38
  "path": "skills/slates-prompting-seedance.md",
39
- "sha256": "e65776d8d803f10d6eac57f2a4742a634f55699e9d725d3cbec24e1099552a40"
39
+ "sha256": "ec7f26e178552403842091c019a041d8f6db4c62897f06e7c82ce48ea0cf0a0c"
40
40
  },
41
41
  {
42
42
  "path": "src/prompts/character-sheet.ts",
@@ -48,15 +48,15 @@
48
48
  },
49
49
  {
50
50
  "path": "src/prompts/model-capabilities.ts",
51
- "sha256": "abf78613f8210e80a67e1ccbb8d4a93fc094baa23b075b0043fa98b3974d9324"
51
+ "sha256": "1f3ea8f851718af39061cf699b33cc167f563252a6b161521c6629e60c661c6e"
52
52
  },
53
53
  {
54
54
  "path": "src/prompts/model-facts.ts",
55
- "sha256": "e7298b62ff4562b60808d7c5addff2737d648b4ae89b95c84796bb0238986bba"
55
+ "sha256": "d557cec55116af6621f6b630f93027bddf938b82511f69c24d620f7709c3e667"
56
56
  },
57
57
  {
58
58
  "path": "src/prompts/partials.generated.ts",
59
- "sha256": "8051b8cc02ce38f8fa35eea2b2db55ac948faf4c6a1728632bf68534004b676b"
59
+ "sha256": "3499d6d7a05dbbed909d2ba5377ed02c245d5aad9680f7e45e5a9a3363844c32"
60
60
  },
61
61
  {
62
62
  "path": "src/prompts/reference-rules.ts",
@@ -75,18 +75,18 @@
75
75
  },
76
76
  {
77
77
  "path": "reference-character.md",
78
- "bytes": 12614,
79
- "sha256": "09bc878dd5618ceaa954019b676dea79357ae2e8dcda3a611d4381380cbfa0e4"
78
+ "bytes": 12631,
79
+ "sha256": "8fa613033925fc27e9ce97e5f160d357409f4eb835f5c10a5d5165f2d2755143"
80
80
  },
81
81
  {
82
82
  "path": "reference-seedance.md",
83
- "bytes": 37635,
84
- "sha256": "910cb83f446f0264c4b3a1bc0fe545aecfc1057394ab2a5870cd6f2eac6491b8"
83
+ "bytes": 37480,
84
+ "sha256": "4e3f40fd831f9576aa51241f06da3166345f9835d67bafb6f4340bb2b8005960"
85
85
  },
86
86
  {
87
87
  "path": "reference-kling.md",
88
- "bytes": 17639,
89
- "sha256": "6fbea11e3dc2e0e592e426a07e533e43baebe1eb949c6230848e72dfbb8d59df"
88
+ "bytes": 17594,
89
+ "sha256": "8f9d0d4906a7af30536c88fedaaff6948437a353a862d96bb1072fd0ae86fe3a"
90
90
  },
91
91
  {
92
92
  "path": "reference-nano-banana.md",
@@ -95,29 +95,29 @@
95
95
  },
96
96
  {
97
97
  "path": "reference-seedance-2-5.md",
98
- "bytes": 22995,
99
- "sha256": "8a3b9fe96f7a03fcd861fd943555c40fbf82d1fb7a50d349c0fd0b9cbb85b265"
98
+ "bytes": 22959,
99
+ "sha256": "bf6bd361b7aed94f17d6406aefc0dd7e5fcaee8e49b9a752520b5763b8ee2575"
100
100
  },
101
101
  {
102
102
  "path": "reference-gpt-image-2-5.md",
103
- "bytes": 23072,
104
- "sha256": "459494344b294ed269c8c3dc2aec2d686357497fe9d5f8fa1c25a9f9c7a91020"
103
+ "bytes": 23066,
104
+ "sha256": "7224d180b8675e8252a518af3b66419616fa0a4c1ca0e72a782052e6d065aeb7"
105
105
  },
106
106
  {
107
107
  "path": "reference-omni-flash.md",
108
- "bytes": 8639,
109
- "sha256": "d54bf97d0f88b1f288a40571638e7c6a05f7dc4b23fdcb2a8aa5cdbfef45882b"
108
+ "bytes": 8593,
109
+ "sha256": "a6401f822a04162186e4839392040aa5017aeb34e75862a73be406461f2d77b1"
110
110
  },
111
111
  {
112
112
  "path": "reference-content-policy.md",
113
- "bytes": 7194,
114
- "sha256": "66bb27b46e10696c42fad1660f8e6a37d2b54c14b4901297fc244efa6a3e6d3a"
113
+ "bytes": 7185,
114
+ "sha256": "baf507d1b4344764c1e2c73655915bd61f9d02d610ed18196f59dcfa5ee6af1b"
115
115
  }
116
116
  ],
117
117
  "archive": {
118
118
  "path": "slates-prompt-builder.skill",
119
- "bytes": 69638,
120
- "sha256": "2fa30156c21241d4bf27dc6db462245d8f8f9bcab7e88ff1b792aebf02a22795",
119
+ "bytes": 69490,
120
+ "sha256": "afd288a461dd10853f4c97cea574a2c48755b179eab537dbb9b857830cbd0401",
121
121
  "entries": [
122
122
  "SKILL.md",
123
123
  "reference-character.md",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slatesvideo/shared",
3
- "version": "0.7.3",
3
+ "version": "0.7.5",
4
4
  "description": "Shared operations layer for the Slates MCP server and CLI: auth, cloud/desktop clients, and the single tool surface both consume. Most users want @slatesvideo/mcp-server or @slatesvideo/cli instead.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,6 +34,10 @@
34
34
  "./model-facts": {
35
35
  "types": "./dist/prompts/model-facts.d.ts",
36
36
  "default": "./dist/prompts/model-facts.js"
37
+ },
38
+ "./analytics": {
39
+ "types": "./dist/analytics/events.d.ts",
40
+ "default": "./dist/analytics/events.js"
37
41
  }
38
42
  },
39
43
  "files": [
@@ -71,7 +75,6 @@
71
75
  "video-generation",
72
76
  "image-generation",
73
77
  "claude",
74
- "veo",
75
78
  "kling",
76
79
  "seedance"
77
80
  ],
@@ -5,4 +5,4 @@
5
5
  - **Lens name plus effect** — `200mm telephoto`, `peaks loom huge behind her and melt into soft shapes`.
6
6
  - **Name every garment and close the foreground.** Omissions invite reference leakage or invented props.
7
7
  Bind references inline. A scene reference owns the grade; for a look-only reference, write the new scene's light. References are optional. For owned-frame edits, describe only the change and what stays.
8
- <!-- slates-only -->Use `slates-cinematic-look` with a technique ID or section query for more.<!-- /slates-only -->
8
+ <!-- slates-only -->Use `slates-cinematic-look` with a technique ID or section query for more.<!-- /slates-only -->
@@ -17,8 +17,8 @@ Seedance 2.5: DEFAULT VIDEO MODEL — the strongest seat for physics, effects, s
17
17
  Kling 3.0: THE COST-EFFECTIVE SEAT — strong start-frame adherence (identity, layout, text), acting, dialogue and lip-sync; pick it when the budget matters and the shot is a performance or a start-frame animation. Kling is also the ONLY engine behind the Motion Transfer and Lip Sync tools.
18
18
  Gemini Omni Flash: 720p seat with native synced audio included. Route here for drafts with sound in one pass and reference-to-video character-consistency trials; LTX, H3 and H3 Max Turbo cost less per second. VIDEO-ONLY. Quality against Kling/Seedance is unproven — do not route hero shots here.
19
19
  MiniMax H3: THE AUTHORED-AUDIO SEAT — reach for H3 when the sound is part of the shot rather than a switch on it: synchronised dialogue, scene sound and an audience-only score directed as three separate layers in ONE pass, across eleven languages. Kling and Seedance treat audio as on/off. Only H3 also carries a DECLARED REFERENCE RELATIONSHIP (kept whole, partly kept, transferred, or a loose echo). VIDEO-ONLY. Its top two resolution tiers are UPSCALES of the native render, not larger generations — judge at native and upscale in post. Reference images past the fifth are a PAID key dimension: pass referenceImages when quoting.
20
- MiniMax H3 Max: THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default. fal's post-train of the H3 weights: MEASURED 2026-08-27 at about 12x faster than base H3 on the same prompt and params, queue to finished file, plus a thin vendor-reported quality edge. It tops out at a 1080p refinement of its 768p render. It takes the same omni-reference set as base H3 and animates start and end frames — but not both in one call, the same as base H3: frames and references go to different endpoints. Never describe this row as taking no image or reference input. Route here when a fast turnaround on text-to-video or a start-frame shot is worth the premium.
21
- MiniMax H3 Max Turbo: THE BUDGET SEAT of the MiniMax family: a second fal post-train of the H3 weights, billed at half H3 Max's rate at every tier. Its 1080p is a refinement of the native 768p render, not a native 1080p generation. INPUTS ARE FRAMES, NOT REFERENCES: text-to-video and start/end frames only, with no reference endpoint, so reference-driven consistency goes to H3 Max or base H3. Route here for drafts, volume and cheap coverage, then re-run the keeper on H3 Max or a hero seat.
20
+ MiniMax H3 Max: THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default. A post-train of the H3 weights: MEASURED 2026-08-27 at about 12x faster than base H3 on the same prompt and params, queue to finished file, plus a thin vendor-reported quality edge. It tops out at a 1080p refinement of its 768p render. It takes the same omni-reference set as base H3 and animates start and end frames — but not both in one call, the same as base H3: frames and references go to different endpoints. Never describe this row as taking no image or reference input. Route here when a fast turnaround on text-to-video or a start-frame shot is worth the premium.
21
+ MiniMax H3 Max Turbo: THE BUDGET SEAT of the MiniMax family: a second post-train of the H3 weights, billed at half H3 Max's rate at every tier. Its 1080p is a refinement of the native 768p render, not a native 1080p generation. INPUTS ARE FRAMES, NOT REFERENCES: text-to-video and start/end frames only, with no reference endpoint, so reference-driven consistency goes to H3 Max or base H3. Route here for drafts, volume and cheap coverage, then re-run the keeper on H3 Max or a hero seat.
22
22
  LTX-2.5: THE VOLUME SEAT — the cheapest 1080p second with sound included, and the row for MANY takes rather than one hero shot. Native synced audio is included free at every tier, unlike Kling where sound is a paid key dimension. It supports native high-resolution output and longer takes than most seats; use the capability surface for its resolution-dependent duration limits. VIDEO-ONLY. INPUTS ARE FRAMES, NOT REFERENCES: start frame plus an optional end frame, and no reference endpoint at all — for character consistency across shots use H3 or Kling. Route here for batch coverage, long takes, and anything where the credit budget is the binding constraint.
23
23
  LTX-2.5 Pro: THE FIDELITY SEAT of the LTX pair — the full diffusion build against the base row's distilled one. 🚨 IT IS NOT A SUPERSET OF THE BASE ROW, which is the opposite of every other Pro seat here: it reaches a SHORTER resolution ladder and makes SHORTER clips, and it costs more at both tiers they share. Reaching for it because the name says Pro costs more AND takes away reach. Everything else matches the base row. Route here only when a specific shot needs the fidelity and fits inside its narrower envelope.
24
24
 
@@ -108,8 +108,8 @@ Critically, the app injects **no** wardrobe, expression, or lighting directive.
108
108
  - **Don't** create a second character image. One canonical identity is what the storyboard pipeline reads.
109
109
  <!-- slates-only -->- **Don't** skip binding. An unbound asset doesn't help downstream.<!-- /slates-only -->
110
110
  - **Don't** invent character details. Stick to what's in the reference image and the user's description.
111
- - **Don't** describe the front panel's crop as an absent head — in `userNotes` or any hand-written variant. The template asks for it as *framing*: **"cropped at the collarbone, an invisible-mannequin presentation with just the face cropped out"**, a standard e-commerce genre with deep training data. **"the head not shown" is a hard 422 on GPT Image** (measured on `gpt-image-2`, the model 2.5 replaced; the classifier is OpenAI's, not the version's, so the rule carries — but nobody has re-run it on Flare or Sunburst) — fal returns `content_policy_violation` with `loc: ["body","prompt"]`, so the text is rejected before any image is read, because an anatomical absence reads as gore to OpenAI's classifier. It passed NB2, which is why the original receipt looked safe: **it was model-scoped.** State an exclusion as a framing choice, never as a missing body part.
111
+ - **Don't** describe the front panel's crop as an absent head — in `userNotes` or any hand-written variant. The template asks for it as *framing*: **"cropped at the collarbone, an invisible-mannequin presentation with just the face cropped out"**, a standard e-commerce genre with deep training data. **"the head not shown" is a hard 422 on GPT Image** (measured on `gpt-image-2`, the model 2.5 replaced; the classifier is OpenAI's, not the version's, so the rule carries — but nobody has re-run it on Flare or Sunburst) — the request comes back `content_policy_violation` with `loc: ["body","prompt"]`, so the text is rejected before any image is read, because an anatomical absence reads as gore to OpenAI's classifier. It passed NB2, which is why the original receipt looked safe: **it was model-scoped.** State an exclusion as a framing choice, never as a missing body part.
112
112
  - **Don't** invoke the invisible-mannequin genre without bounding it to the face. **"an invisible-mannequin presentation where the clothing holds its own shape" removed all the skin** — no neck, no hands, no forearms, a garment floating on nothing — because that *is* the e-commerce genre in full: an empty outfit. **"with just the face cropped out"** keeps the anchor and bounds it. Generalises: a genre anchor imports the whole genre, so name what STAYS, not only what goes.
113
- **Resolved composer hazard:** on 2026-07-30, `#3a3a3c` reached fal as `background ()` because unresolved sigils were deleted. The composer now preserves unresolved `#` and `@` text byte-for-byte; a token binds a reference only when it resolves. Literal hex colours and handles are safe. The sheet template keeps its bare hex as a wording choice, not a workaround.
113
+ **Resolved composer hazard:** on 2026-07-30, `#3a3a3c` reached the model as `background ()` because unresolved sigils were deleted. The composer now preserves unresolved `#` and `@` text byte-for-byte; a token binds a reference only when it resolves. Literal hex colours and handles are safe. The sheet template keeps its bare hex as a wording choice, not a workaround.
114
114
  - **Don't** use 4K — wastes credits, no quality gain at sheet scale.
115
115
  - **Don't** feed a multi-view sheet into a Seedance 2.0 shot that has **several characters in frame** without binding each character to its image and appending the anti-twin constraint; ByteDance documents multi-view assets as a cause of duplicate characters on 2.0. See `slates-prompting-seedance`. Seedance 2.5 supports multi-view subject references; see `slates-prompting-seedance-2-5`.
@@ -71,13 +71,13 @@ If a box fails, apply the substitution table before writing the prompt.
71
71
  Video edit takes the user's own footage, which often contains real people. Rules:
72
72
 
73
73
  - The user must hold rights/consent for any real person's likeness in footage they edit — ask once when it's clearly someone other than the user, then proceed.
74
- - Kling's video-to-video filter behavior on real faces is **not yet verified** (unlike Seedance, where the consent-gated real-face route is confirmed). If an edit of real-person footage is rejected by the provider, do NOT retry-spam variations — tell the user the filter blocked it and offer a no-face crop/segment or an AI-character swap instead.
75
- - **Omni Flash: own-footage editing of the uploader's own face PASSED live 2026-07-09** (real talking-head clip, edited on our fal route) despite Google's documented "recognizable people" restriction — treat that restriction as aimed at third-party/public figures, but expect probabilistic refusals and never promise passage.
74
+ - Kling's video-to-video filter behavior on real faces is **not yet verified** (unlike Seedance, where the consent-gated real-person option is confirmed). If an edit of real-person footage is rejected by the model's filter, do NOT retry-spam variations — tell the user the filter blocked it and offer a no-face crop/segment or an AI-character swap instead.
75
+ - **Omni Flash: own-footage editing of the uploader's own face PASSED live 2026-07-09** (real talking-head clip, edited in Slates) despite Google's documented "recognizable people" restriction — treat that restriction as aimed at third-party/public figures, but expect probabilistic refusals and never promise passage.
76
76
  - Never use edit to put a real, named public figure into a scene, or to make someone appear to say/do something they didn't. Faceless b-roll (hands, products, landscapes, crowds-from-behind) edits freely.
77
77
 
78
78
  ## Gemini / Omni Flash filter regime (video gen + edit) — receipts 2026-07-09
79
79
 
80
- Google's filter is its own regime (stricter than fal-hosted Kling about harm-to-a-person, looser than BytePlus about faces). Live receipts:
80
+ Google's filter is its own regime (stricter than Kling about harm-to-a-person, looser than Seedance about faces). Live receipts:
81
81
 
82
82
  | Blocked (`content_policy_violation`) | Passed |
83
83
  |---|---|
@@ -37,8 +37,8 @@ Seedance 2.5: DEFAULT VIDEO MODEL — the strongest seat for physics, effects, s
37
37
  Kling 3.0: THE COST-EFFECTIVE SEAT — strong start-frame adherence (identity, layout, text), acting, dialogue and lip-sync; pick it when the budget matters and the shot is a performance or a start-frame animation. Kling is also the ONLY engine behind the Motion Transfer and Lip Sync tools.
38
38
  Gemini Omni Flash: 720p seat with native synced audio included. Route here for drafts with sound in one pass and reference-to-video character-consistency trials; LTX, H3 and H3 Max Turbo cost less per second. VIDEO-ONLY. Quality against Kling/Seedance is unproven — do not route hero shots here.
39
39
  MiniMax H3: THE AUTHORED-AUDIO SEAT — reach for H3 when the sound is part of the shot rather than a switch on it: synchronised dialogue, scene sound and an audience-only score directed as three separate layers in ONE pass, across eleven languages. Kling and Seedance treat audio as on/off. Only H3 also carries a DECLARED REFERENCE RELATIONSHIP (kept whole, partly kept, transferred, or a loose echo). VIDEO-ONLY. Its top two resolution tiers are UPSCALES of the native render, not larger generations — judge at native and upscale in post. Reference images past the fifth are a PAID key dimension: pass referenceImages when quoting.
40
- MiniMax H3 Max: THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default. fal's post-train of the H3 weights: MEASURED 2026-08-27 at about 12x faster than base H3 on the same prompt and params, queue to finished file, plus a thin vendor-reported quality edge. It tops out at a 1080p refinement of its 768p render. It takes the same omni-reference set as base H3 and animates start and end frames — but not both in one call, the same as base H3: frames and references go to different endpoints. Never describe this row as taking no image or reference input. Route here when a fast turnaround on text-to-video or a start-frame shot is worth the premium.
41
- MiniMax H3 Max Turbo: THE BUDGET SEAT of the MiniMax family: a second fal post-train of the H3 weights, billed at half H3 Max's rate at every tier. Its 1080p is a refinement of the native 768p render, not a native 1080p generation. INPUTS ARE FRAMES, NOT REFERENCES: text-to-video and start/end frames only, with no reference endpoint, so reference-driven consistency goes to H3 Max or base H3. Route here for drafts, volume and cheap coverage, then re-run the keeper on H3 Max or a hero seat.
40
+ MiniMax H3 Max: THE SPEED SEAT, dearer than base H3 at 768p and equal at 480p — never the cheap H3 and never the default. A post-train of the H3 weights: MEASURED 2026-08-27 at about 12x faster than base H3 on the same prompt and params, queue to finished file, plus a thin vendor-reported quality edge. It tops out at a 1080p refinement of its 768p render. It takes the same omni-reference set as base H3 and animates start and end frames — but not both in one call, the same as base H3: frames and references go to different endpoints. Never describe this row as taking no image or reference input. Route here when a fast turnaround on text-to-video or a start-frame shot is worth the premium.
41
+ MiniMax H3 Max Turbo: THE BUDGET SEAT of the MiniMax family: a second post-train of the H3 weights, billed at half H3 Max's rate at every tier. Its 1080p is a refinement of the native 768p render, not a native 1080p generation. INPUTS ARE FRAMES, NOT REFERENCES: text-to-video and start/end frames only, with no reference endpoint, so reference-driven consistency goes to H3 Max or base H3. Route here for drafts, volume and cheap coverage, then re-run the keeper on H3 Max or a hero seat.
42
42
  LTX-2.5: THE VOLUME SEAT — the cheapest 1080p second with sound included, and the row for MANY takes rather than one hero shot. Native synced audio is included free at every tier, unlike Kling where sound is a paid key dimension. It supports native high-resolution output and longer takes than most seats; use the capability surface for its resolution-dependent duration limits. VIDEO-ONLY. INPUTS ARE FRAMES, NOT REFERENCES: start frame plus an optional end frame, and no reference endpoint at all — for character consistency across shots use H3 or Kling. Route here for batch coverage, long takes, and anything where the credit budget is the binding constraint.
43
43
  LTX-2.5 Pro: THE FIDELITY SEAT of the LTX pair — the full diffusion build against the base row's distilled one. 🚨 IT IS NOT A SUPERSET OF THE BASE ROW, which is the opposite of every other Pro seat here: it reaches a SHORTER resolution ladder and makes SHORTER clips, and it costs more at both tiers they share. Reaching for it because the name says Pro costs more AND takes away reach. Everything else matches the base row. Route here only when a specific shot needs the fidelity and fits inside its narrower envelope.
44
44
 
@@ -91,7 +91,7 @@ Omni Flash Edit needs a short change instruction plus “Keep everything else th
91
91
 
92
92
  A Seedance alternative is a normal `slates_generate_video` call with a video reference and explicit motion or dialogue direction, for example “the character from image 1 performs the exact motion from video 1.” This preserves an editable prompt and conditions the generation in one pass. Field experience favours it for fast choreography, contact, cloth and hair where post-hoc retargeting loses fidelity; compare for the specific performance rather than promising a universal win.
93
93
 
94
- Video-reference calls bill from both input and output duration. Pass the actual reference durations when quoting; do not assume the output length is the whole charge. Face flags and any consented real-face route follow the selected endpoint's requirements and returned gate. A provider's face rejection is not permission for a more expensive retry.
94
+ Video-reference calls bill from both input and output duration. Pass the actual reference durations when quoting; do not assume the output length is the whole charge. Face flags and any consented real-person option follow the selected model's requirements and returned gate. A face rejection is not permission for a more expensive retry.
95
95
 
96
96
  ## Image and style production
97
97
 
@@ -42,7 +42,7 @@ description: "Prompt ElevenLabs Sound Effects v2 (eleven-sfx) for a single effec
42
42
  - `door sound`, `whoosh`, `footsteps`, `impact`, `ambience` standing alone
43
43
  <!-- @banned:end -->
44
44
 
45
- One short sound with an exact length, carried on fal (`fal-ai/elevenlabs/sound-effects/v2`). This Slates audio surface has a real duration control and a real loop mode.
45
+ One short sound with an exact length. This Slates audio surface has a real duration control and a real loop mode.
46
46
 
47
47
  ## Where it routes
48
48
 
@@ -55,7 +55,7 @@ Bind references inline. A scene reference owns the grade; for a look-only refere
55
55
  - `A chef plating in a steel kitchen pass. Shot on Hasselblad X2D, 80mm, f/2.8. Overhead fluorescents plus warm spill from the line. Natural skin texture, subtle imperfections. Muted steel and #7A3B2E copper.`
56
56
  - `An empty municipal pool at dusk, 35mm, deep focus, early digital camera with slight noise and flash falloff. Cracked #4A7C8C tiles. Candid, unstaged.`
57
57
 
58
- Black Forest Labs' top image model, routed via fal.ai. In Slates: `slates_generate_image` with `model: flux-2-max` (REQUIRES projectId — no headless path), priced per resolution (1k/2k/4k — call `slates_estimate_generation_cost` for current numbers, never quote from memory). Strengths vs Nano Banana 2: photoreal texture, less censored, precise hex-color control, strong typography. Reference images route through FLUX's edit endpoint and carry a lower per-model cap than NB2's 14.
58
+ Black Forest Labs' top image model. In Slates: `slates_generate_image` with `model: flux-2-max` (REQUIRES projectId — no headless path), priced per resolution (1k/2k/4k — call `slates_estimate_generation_cost` for current numbers, never quote from memory). Strengths vs Nano Banana 2: photoreal texture, less censored, precise hex-color control, strong typography. Reference images route through FLUX's edit endpoint and carry a lower per-model cap than NB2's 14.
59
59
 
60
60
  ## Core structure — front-load what matters
61
61
 
@@ -189,4 +189,3 @@ When you pass `referenceAssetIds`, the first call returns the references **inlin
189
189
  ## Sources
190
190
 
191
191
  - [Black Forest Labs — FLUX.2 Prompting Guide](https://docs.bfl.ml/guides/prompting_guide_flux2)
192
- - [fal.ai — FLUX.2 [max] Prompt Guide](https://fal.ai/learn/devs/flux-2-max-prompt-guide)
@@ -90,7 +90,7 @@ All five rungs are exposed, and they span ~36× end to end (2k class: $0.0044
90
90
 
91
91
  🚨 **The tier NAMES moved between versions and the strings did not.** GPT Image 2's `medium` is this model's `high`; its `high` is this model's `max` — same money, one rung of renaming. For a recipe explicitly written for GPT Image 2, map the old tier before reusing it on 2.5. A current user request for `medium` still means `medium`. Getting this backwards costs picture quality silently: nothing errors, the bill is correct for what was asked, and the image is just worse.
92
92
 
93
- Never rely on the provider default. fal's default is `high`, which is correct today — but it is the third rung of five rather than the top of two, so leaning on it means a fal-side change silently reprices you. Slates sends its configured quality explicitly; current defaults live in `slates-model-selection`. Your explicit choice overrides them.
93
+ Never rely on the API's default. It is `high`, which is correct today — but it is the third rung of five rather than the top of two, so leaning on it means a change upstream silently reprices you. Slates sends its configured quality explicitly; current defaults live in `slates-model-selection`. Your explicit choice overrides them.
94
94
 
95
95
  **Start at the default and change tiers for an unmet requirement.** OpenAI's own procedure: *"If the output falls short, test a higher quality setting. Once it meets your requirements, test lower settings to see whether they preserve acceptable quality while reducing latency. Use `xhigh` or `max` only when they improve an unmet quality requirement within your latency budget."* A higher rung does **not** guarantee a better result on a given prompt. Compare `medium` against `high` when the job is small or dense text; that is where the rungs separate most visibly.
96
96
 
@@ -102,7 +102,7 @@ Never rely on the provider default. fal's default is `high`, which is correct to
102
102
 
103
103
  ⚠️ **Above 2560×1440 you are on a path OpenAI marks EXPERIMENTAL.** Verbatim: *"Outputs with more than 3,686,400 total pixels ('2560x1440') are experimental."* That is the whole **4k** class (≈8.0 MP) plus 3k at 4:3/3:4 (≈3.70 MP). It bills normally and it works — but prove the shot at 2k or 3k 16:9 first, and do not be surprised by an odd frame at 4k.
104
104
 
105
- **Hard size bounds**, from fal's schema verbatim: each edge ≤ 3840 px, both edges multiples of 16, longer:shorter ratio ≤ 3:1, total pixels between 655,360 and 8,294,400. **The pixel ceiling is the one that actually bites** — the multiple-of-16 rule is documented but NOT enforced, and we have the receipt: 1920×1080 fails it (1080 = 67.5 × 16), is one of fal's own six priced canonical sizes, and metered clean. Slates picks sizes that respect the ceiling; these matter only if you hand-build a request.
105
+ **Hard size bounds**, from the endpoint's schema verbatim: each edge ≤ 3840 px, both edges multiples of 16, longer:shorter ratio ≤ 3:1, total pixels between 655,360 and 8,294,400. **The pixel ceiling is the one that actually bites** — the multiple-of-16 rule is documented but NOT enforced, and we have the receipt: 1920×1080 fails it (1080 = 67.5 × 16), is one of the six priced canonical sizes, and metered clean. Slates picks sizes that respect the ceiling; these matter only if you hand-build a request.
106
106
 
107
107
  🚨 **THE ASPECT RATIO CHANGES THE PRICE ON THIS MODEL, and on no other image model.** OpenAI bills image OUTPUT TOKENS and the count tracks the frame's SHAPE, so at the same resolution class **`1:1` costs about 1.8× and `4:3`/`3:4` about 1.37× what `16:9` costs**; `9:16` costs the same as `16:9`. Metered 2026-09-09 and priced into the cost key, so the quote you get before generating is the real number — but if you are choosing between shapes and the budget is tight, **16:9 or 9:16 is the cheap one.** Every other image model charges the same whatever the shape.
108
108
 
@@ -114,7 +114,7 @@ Never rely on the provider default. fal's default is `high`, which is correct to
114
114
 
115
115
  **Receipt, 2026-09-15, Sunburst, IMG-A192–A198.** The up-front version returned the studio look; the inline versions were never refused and never came back as a sheet. Two costs, both fixed in words: anything the prompt does not describe is taken from the reference (name every garment), and props nobody asked for appear (say what is in the foreground and that nothing else is). One sheet-only plate kept its described location, which narrows the two-reference rule in `slates-ugc-influencer-ad`. A look reference did far less than a described light. The full ladder is the vault's `cinematic-look-research.md`; the techniques are `slates-cinematic-look`.
116
116
 
117
- Reference images route through the edit endpoint, **up to 16** — fal's documented `maxItems`, and the highest reference ceiling of any image seat in Slates (the Banana line takes 14). It was capped at 10 until 2026-09-09, which was never anybody's limit, just a number nobody had checked. The composed "image N" naming applies as everywhere else. Mask-based inpainting exists at the API level but is not surfaced: a mask is something the user has to paint, and there is no painting surface — describe the change instead.
117
+ Reference images route through the edit endpoint, **up to 16** — the endpoint's documented `maxItems`, and the highest reference ceiling of any image seat in Slates (the Banana line takes 14). It was capped at 10 until 2026-09-09, which was never anybody's limit, just a number nobody had checked. The composed "image N" naming applies as everywhere else. Mask-based inpainting exists at the API level but is not surfaced: a mask is something the user has to paint, and there is no painting surface — describe the change instead.
118
118
 
119
119
  ## Editing — separate the change from the constraints
120
120
 
@@ -135,7 +135,7 @@ Reference images route through the edit endpoint, **up to 16** — fal's documen
135
135
 
136
136
  ## Transparent backgrounds
137
137
 
138
- If you need a cut-out rather than a scene, **ask for it explicitly and check the alpha**. OpenAI: request `background=transparent` and use PNG or WebP, then *"check the decoded image's alpha channel, including hair, glass, shadows, and object edges"* — a painted-white backdrop is the common failure and it is not transparency. Say what must NOT appear: *"no solid backdrop, no checkerboard, no scenery, no watermark"*, and do not let the product get restyled while the background is removed. **On every follow-up edit, repeat the transparency requirement** or it gets dropped. <!-- slates-only -->(Slates always requests PNG, so the format half is handled for you. **`background` IS surfaced now** — the Background control on the prompt bar, and `backgroundMode` on `slates_generate_image` / `slates_edit_image`. It is free: fal prices this family on size × quality alone.)<!-- /slates-only -->
138
+ If you need a cut-out rather than a scene, **ask for it explicitly and check the alpha**. OpenAI: request `background=transparent` and use PNG or WebP, then *"check the decoded image's alpha channel, including hair, glass, shadows, and object edges"* — a painted-white backdrop is the common failure and it is not transparency. Say what must NOT appear: *"no solid backdrop, no checkerboard, no scenery, no watermark"*, and do not let the product get restyled while the background is removed. **On every follow-up edit, repeat the transparency requirement** or it gets dropped. <!-- slates-only -->(Slates always requests PNG, so the format half is handled for you. **`background` IS surfaced now** — the Background control on the prompt bar, and `backgroundMode` on `slates_generate_image` / `slates_edit_image`. It is free: this family is priced on size × quality alone.)<!-- /slates-only -->
139
139
 
140
140
  ## When an edit must not touch a region at all
141
141
 
@@ -165,7 +165,7 @@ Name materials, lighting, colour and medium. Mood words are cues only — "cinem
165
165
 
166
166
  ## 🚨 WHAT GETS YOU BLOCKED — read before writing a prompt with a person in it
167
167
 
168
- **Receipt: 24 consecutive attempts on one character, 2026-08-24, same project and same rail.** Eleven were refused with `content_policy_violation` on the fal edit endpoint. The refusals were never about the scene — one of the blocked prompts was a woman standing at a kitchen counter with her hand on it. **Two phrasings were hard blocks, 5 for 5 each, and neither ever passed:**
168
+ **Receipt: 24 consecutive attempts on one character, 2026-08-24, same project and same rail.** Eleven were refused with `content_policy_violation` on the edit endpoint. The refusals were never about the scene — one of the blocked prompts was a woman standing at a kitchen counter with her hand on it. **Two phrasings were hard blocks, 5 for 5 each, and neither ever passed:**
169
169
 
170
170
  **1. Never describe the reference as a photograph of a real person.**
171
171
 
@@ -140,7 +140,7 @@ Exactly one source per call, and none of them requires a character to exist firs
140
140
 
141
141
  ## Consent
142
142
 
143
- Cloning a real person's voice needs that person's explicit, documented permission, scoped to what you are making. Clone from original human recordings only — never from another model's output. This is the same gate the real-face route applies to likeness, and it applies here for the same reason.
143
+ Cloning a real person's voice needs that person's explicit, documented permission, scoped to what you are making. Clone from original human recordings only — never from another model's output. This is the same gate the real-person video option applies to likeness, and it applies here for the same reason.
144
144
 
145
145
  ## Worked examples
146
146