@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,240 +0,0 @@
1
- <!-- Generated from the Slates production prompting guides. Do not edit — this file is rebuilt from source. -->
2
-
3
- > Generated from the production Slates guide. Model-specific syntax and measured examples apply to the endpoints named below. For another generation tool, check its current schema and reference handling; its limits, billing and defaults may differ.
4
-
5
- # Nano Banana 2.1 — cinematic & photorealistic prompting
6
-
7
- ## Contents
8
-
9
- - [Google's guidance](#googles-guidance)
10
- - [Prompt formula](#prompt-formula)
11
- - [Photorealism positives](#photorealism-positives)
12
- - [The anti-list — phrases that degrade realism](#the-anti-list--phrases-that-degrade-realism)
13
- - [Negative prompting — there is no field](#negative-prompting--there-is-no-field)
14
- - [Reference images](#reference-images)
15
- - [Reference rules (the verified ones)](#reference-rules-the-verified-ones)
16
- - [For Nano Banana 2.1 specifically](#for-nano-banana-21-specifically)
17
- - [Edits](#edits)
18
- - [Common failure modes + fixes](#common-failure-modes--fixes)
19
- - [Resolution tactics](#resolution-tactics)
20
- - [Boring vs cinema — examples](#boring-vs-cinema--examples)
21
- - [Diagnose repeated failures](#diagnose-repeated-failures)
22
- - [Sources](#sources)
23
-
24
- **Card — Nano Banana 2.1.** Brief it in sentences like a creative director, never a tag list; it reasons before it draws. Structure: `[Subject and action]. [Setting and composition]. [Lighting — direction + quality]. [Lens, stock or medium]. [Color palette].` With references, say what each image supplies, then the scene.
25
-
26
- **The six levers**
27
- 1. **Sentences, not keywords.** Describe the scene the way a photographer would describe the shot they took.
28
- 2. **Light by direction and quality**, never "good lighting" — `hard sidelight from a single window, deep falloff`, `overcast north light`.
29
- 3. **Control the camera** — `85mm f/1.4`, `low angle`, `aerial view`, `rule of thirds with the subject camera-left`.
30
- 4. **Say what each reference supplies** — `the jacket from image 2`, `lit and graded like image 3`. In an edit, say what must stay the same.
31
- 5. **Quote text that must render** and describe its type — `the word "OPEN" in thin red neon script above the door`.
32
- 6. **Positive framing only.** "Empty street", never "no cars"; "unstaged documentary photography", never "not anime".
33
-
34
- <!-- @inject:cinematic-card -->
35
- **For a photographic look, use only what this frame needs.** Image models default to clean, evenly lit and fully exposed. Describe what the camera sees, not just gear or mood:
36
- - **Inspect every reference first.** Write its grade and imperfections in words: darkness, contrast, muddy or true blacks, colour, softness/noise, subject separation. Never grade cleaner or brighter than the look reference unless asked.
37
- - **One light system** — `low sun behind her`, `her face falls into deep shadow`, `no light in front of her`.
38
- - **Visible exposure** — `the sky burns out to white`, `dense, slightly crushed shadows`.
39
- - **Lens name plus effect** — `200mm telephoto`, `peaks loom huge behind her and melt into soft shapes`.
40
- - **Name every garment and close the foreground.** Omissions invite reference leakage or invented props.
41
- 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.
42
- <!-- @end:cinematic-card -->
43
-
44
- **Hard constraint:** there is no `negativePrompt` field, and Slates sends no exclusion list on this model. Suppress by reframing positively, or inline `without` / `free of`.
45
-
46
- Nano Banana 2.1 is Google's **Gemini Nano Banana 2.1**, generally available since 2026-10-06 and described by Google as an update to Nano Banana 2 with improved visual quality, character consistency and text rendering. It is a language model that outputs pixels and reasons before it draws, so brief it like a creative director, not like a Stable-Diffusion tag tool. The single biggest lever for realism: **specificity that mimics how real photographers and cinematographers describe their work**.
47
-
48
- ## Google's guidance
49
-
50
- No guide is written for 2.1 itself; Google's Nano Banana guidance is what applies:
51
-
52
- 1. **Describe the scene in sentences, not keywords.** Concrete subject, lighting and composition.
53
- 2. **Use positive framing.** Describe what you want, not what you don't: "empty street", never "no cars".
54
- 3. **Control the camera** with photographic and cinematic terms like "low angle" and "aerial view".
55
- 4. **In an edit, say what must stay the same** as well as what changes.
56
- 5. **Quote text that must render**, and describe its type.
57
-
58
- Documented limits (Google's model card): small text, imperfect character consistency, and left/right confusion. Each has a fix below.
59
-
60
- ## Prompt formula
61
-
62
- ```
63
- [Subject] + [Action] + [Location/context] + [Composition] + [Style]
64
- ```
65
-
66
- For the cinematic / photoreal use case, expand to sentences:
67
-
68
- ```
69
- Film still from [DIRECTOR] [GENRE]. Shot on [CAMERA] with [LENS]. [SUBJECT and action]. [3-5 specific visual details]. [LIGHTING — direction + quality]. [COLOR PALETTE]. [FILM STOCK or sensor language]. [1-2 word emotional tone].
70
- ```
71
-
72
- With references, Google's Cloud guide orders it: the references, then how they relate, then the scene. `The woman in image 1 wears the jacket from image 2. She waits at a rain-slick bus stop at night...`
73
-
74
- ## Photorealism positives
75
-
76
- ⚠️ **This vocabulary is correct here and does not carry into a video prompt.** The leak happens one way: you write a start frame here, then carry its look description straight into the prompt that animates it.
77
-
78
- <!-- @inject:lens-video-split -->
79
- Named lenses, apertures, film stocks and camera bodies (`85mm f/1.4`, `Kodak Portra 400`, `ARRI Alexa 65`) are an image-model lever. On a video model, translate the look instead of pasting the gear list: `85mm f/1.4, Portra 400` becomes `close-up, shallow depth of field, warm natural colors, cinematic texture, film-grain texture`. ByteDance's Seedance 2.0 guide never mentions fps, shutter angle, f-stop or lens millimetres. Its Seedance 2.5 guide does, once: the visual-style line of its own storyboard example names one camera body and one 35 mm cinema lens. On 2.5 a single line like that is vendor-sanctioned; a stacked gear list still is not.
80
- <!-- @end:lens-video-split -->
81
-
82
- **Named lenses + apertures** beat generic "shallow depth of field":
83
- - `85mm f/1.4`, `135mm f/2.8`, `50mm f/1.2`, `35mm f/2`
84
- - `Panavision anamorphic` for horizontal flares + cinematic width
85
- - `400mm telephoto` for compression + isolation
86
- - `24mm` for environmental interiors
87
-
88
- **Named cameras / sensors:**
89
- - `ARRI Alexa 65`, `Hasselblad X2D`, `Canon EOS R5`, `Sony A7III`, `Fujifilm X-T5`
90
- - "Specific gear" beats "DSLR"
91
-
92
- **Named film stocks** (one per prompt — never mix):
93
- - `Kodak Portra 400` — natural skin, warm
94
- - `Fuji Velvia 50` — saturated, landscape
95
- - `Ilford HP5 Plus` — black and white, gritty grain
96
- - `CineStill 800T` — tungsten night, halation
97
-
98
- **Physics-based lighting** (direction + quality):
99
- - `Single key light at 45 degrees from upper left`
100
- - `Late afternoon sun at 15 degrees above horizon`
101
- - `Color temperature 4500K` beats `slightly warm`
102
- - `Practicals only — no fill` for Deakins-style realism
103
-
104
- **Imperfection vocabulary** (forces away from AI-clean):
105
- - `visible pores`, `natural skin grain`, `peach fuzz`, `slight hyperpigmentation`
106
- - `unretouched raw photography`, `ISO noise`, `sweat beading`
107
- - `crisp catchlights in the eyes`, `skin micro-detail`
108
- - Lead with the kind of photograph and the conditions on the skin (sun, wind, sweat), then add one or two of these. A bare list of flaw words read as tokens and produced plastic skin on GPT Image 2 (2026-08-24).
109
-
110
- **Director references** (use when locking style):
111
- | Director | Tone | Visual signature |
112
- |---|---|---|
113
- | Denis Villeneuve | Cold, vast, existential | Desaturated, overwhelming scale |
114
- | Roger Deakins | Precise motivated light | Single source, deep shadows, practicals |
115
- | Emmanuel Lubezki | Natural, spiritual | Available light, golden hour |
116
- | Bradford Young | Warm darkness | Underexposed, rich shadows, skin tones |
117
-
118
- **Genre cues that move the model:**
119
- - `unstaged documentary photography style`
120
- - `fashion magazine editorial, shot on medium-format analog film, pronounced grain`
121
- - `Film still from [Director] [genre]`
122
-
123
- ## The anti-list — phrases that degrade realism
124
-
125
- These are Stable-Diffusion-era tag soup. They name no observable result, so the model reads them as low-signal noise; positive description of the medium, light and texture does the work instead.
126
-
127
- **Never use:**
128
- - `8k`, `4k` (as a quality token)
129
- - `hyperrealistic`, `ultra-realistic`, `photorealistic` standing alone
130
- - `masterpiece`, `best quality`, `highly detailed`, `ultra-detailed`
131
- - `trending on ArtStation`, `award-winning`
132
- - `perfect skin`, `flawless`, `airbrushed`, `smooth skin`
133
- - `cinematic` standing alone — always specify *which cinema* (director, lens, era, stock)
134
- - `not anime, not cartoon, not 3D` — negation tag soup, replace with a positive style cue
135
-
136
- **Examples**
137
- - `Film still from a Denis Villeneuve thriller. Shot on ARRI Alexa 65, 85mm f/1.4. A woman in a charcoal wool coat stands at a rain-slick bus stop, her breath visible. Hard sodium light falls from a single overhead lamp, with deep falloff into blue night. Kodak Vision3 500T. Isolated.`
138
-
139
- ## Negative prompting — there is no field
140
-
141
- Nano Banana 2.1 has **no `negativePrompt` parameter**,. Three patterns to suppress unwanted content:
142
-
143
- 1. **Positive reframing (preferred):** "empty street" not "no cars". "Unstaged documentary photography" not "not anime."
144
- 2. **Inline `without` / `free of`:** "without any people, vehicles, or man-made structures", "free of text overlays, logos, or watermarks."
145
- 3. **Constraint clauses for anatomy/quality:** "accurate anatomy with five fingers per hand, symmetrical features, natural proportions"; "sharp, well-exposed, free of blur or JPEG artifacts."
146
-
147
- Default to #1. Reach for #2 only when positive framing can't suppress the unwanted element.
148
-
149
- ## Reference images
150
-
151
- - **Up to 14 images** (Google: 10 object-fidelity + 4 character-consistency). Categories don't trade — you can't use 14 object slots even if no characters are referenced.
152
- - **Google sets no reference notation.** Its pages say "the first image", "Image A" or name the subject; none is normative. What binds a reference is a sentence saying what it supplies.
153
- - **Slates names each reference inline for you.** When you `@mention` a subject/environment or `#mention` a style, Slates composes the prompt so each reference is named as "image N" — e.g. `Marcus (image 1) sits across from the woman (image 2) in the cafe (image 3)`, or `lit and graded like image 4` where you placed the style mention. An unmentioned style attachment gets a short fallback clause. The model does NOT infer a reference's role from its position; the name and the sentence carry it. Google's own consistency lever is **"assign a distinct name to each character/object"**. **Do NOT hand-write a "Reference Image Instructions" block or role essays** ("use for identity, ignore the outfit, render the scene's expression") — that drags the sheet's wardrobe + studio lighting into the scene. The prompt leads; the user's words own wardrobe, expression, lighting, and action.
154
-
155
- ### Reference rules (the verified ones)
156
-
157
- <!-- @inject:references-read-literally -->
158
- > **The general law: the model reads a reference literally.**
159
- > 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.
160
-
161
- Every reference rule below is a corollary of that one sentence, which is why "prep the reference" beats "prompt around the reference" every time:
162
-
163
- - **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).
164
- - **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."
165
- - **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.
166
- - **Break perfect symmetry** — mirrored faces and dead-square framing read as synthetic, and the model preserves that reading rather than correcting it.
167
-
168
- **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.
169
- <!-- @end:references-read-literally -->
170
-
171
- <!-- @inject:reference-rules-core -->
172
- 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.
173
-
174
- 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.
175
- 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.
176
- 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.
177
- 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.
178
- 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.
179
- 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.
180
- 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.
181
- 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.
182
- 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.)
183
- 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.
184
- <!-- @end:reference-rules-core -->
185
-
186
- ### For Nano Banana 2.1 specifically
187
-
188
- - **Name what each image supplies** — that is Google's binding mechanism, and rule 2 above in its words.
189
- - **Rule 8 is a job you do, not one you delegate.** This *is* the start-frame model: when a downstream video shot needs legible text, render it here and animate from this frame.
190
- - **Character consistency is imperfect** per Google's model card. Test before bulk generations; high-resolution, front-facing references help most.
191
-
192
- ## Edits
193
-
194
- Describe the change, then say what must stay the same: `Change her coat to deep green wool. Keep her face, pose, the bus stop and the night lighting exactly as they are.` The source already carries composition and light; re-describing them invites the model to redraw them.
195
-
196
- ## Common failure modes + fixes
197
-
198
- **Hands:** Append `accurate anatomy with five fingers per hand, symmetrical features, natural proportions, relaxed open palm`. Avoid heavy jewelry, props intersecting fingers, motion blur in references.
199
-
200
- **Text in images:** Quote the exact text and describe its type: weight, style, size and placement (`the headline "LAST CALL" in heavy condensed capitals across the top third`). Small text is a documented limit: keep type large, and short.
201
-
202
- **Left/right confusion:** Default is **viewer's perspective**, not subject's. Append `left and right are from the character's perspective, NOT the camera's` when scene-blocking matters.
203
-
204
- **Surreal / absurd prompts trip uncanny valley:** The model drags toward realism. If you want surrealism, lean hard into stylization keywords (`painted`, `illustrated`, `stop-motion`).
205
-
206
- **Soft faces / dead eyes:** Add `crisp catchlights in the eyes`, `skin micro-detail`, `peach fuzz visible`. Don't stack quality enhancers — single clean prompt beats multiple re-interpretations.
207
-
208
- **Recent products, people and events:** give it reference images rather than relying on what it knows.
209
-
210
- **Written light overridden (Slates receipt, 2026-10-23, N=1 per scene):** in a three-scene test against GPT Image 2.5 Sunburst, the night-bar scene asked for one-sided blue TV light and Nano Banana 2.1 lit the face warm and from the front, brighter than asked; Sunburst kept the dark side dark. State the one light system plainly and early, say which side stays dark, and describe the exposure as it should look: `the left half of her face falls to near black`.
211
-
212
- ## Resolution tactics
213
-
214
- - Resolution is priced, and 4k costs the most. Check current numbers. Pick the cheapest resolution that serves the use case.
215
- - **At 2K and above, the model has more pixels for surface detail** — explicit texture vocabulary (pores, fabric weave, grain) pays off more at higher resolution.
216
- - 1k for fast iteration / drafts; 2k for hero shots; 4k only when you need print-grade detail.
217
-
218
- ## Boring vs cinema — examples
219
-
220
- ❌ **Boring:** "Wide shot of a man on a dock looking at the forest."
221
-
222
- ✅ **Cinema:** "Direct overhead drone shot of a weathered dock. A single figure stands center frame, climbing up from the bottom of the frame, with boot prints leading away from him toward shore. Pale winter light, an anamorphic flare from the low sun, a desaturated blue and slate grey palette and Kodak Portra 400 grain. The path was already walked by someone else."
223
-
224
- ❌ **Boring:** "Close up of a woman looking scared."
225
-
226
- ✅ **Cinema:** "Extreme close-up on her mouth and nose, 135mm f/2.8, shallow depth of field. Her breath plumes out and catches cold light from an upper-left key. Her lips are slightly parted, peach fuzz visible, and the breath holds. CineStill 800T halation around the catchlights. Waiting."
227
-
228
- <!-- @inject:iteration-diagnosis -->
229
- ## Diagnose repeated failures
230
-
231
- After three failed attempts at the same requirement, pause unchanged re-rolls and diagnose the source reference, prompt structure, model fit and tool result. Three is a review checkpoint, not a universal limit or proof that the seed cannot matter. Preserve the attempts and name what each test changed.
232
-
233
- Continue autonomously when the brief is clear, a specific correction is supported and the next request is already authorized. Hand control back when taste or intent cannot be inferred, the next request needs fresh consent, or the available tool cannot meet the requirement. A failed roll never authorizes an additional charge. Follow the existing batch and per-request cost policy.
234
- <!-- @end:iteration-diagnosis -->
235
-
236
- ## Sources
237
-
238
- - Google, Gemini API image generation guide and model card (Nano Banana family guidance; no 2.1-specific guide exists as of 2026-10-23).
239
- - Google Cloud, image generation prompt guide (reference ordering).
240
- - Slates receipt: Nano Banana 2.1 against Sunburst, three cinematic scenes, 2026-10-23 (the overridden one-sided light).
@@ -1,97 +0,0 @@
1
- <!-- Generated from the Slates production prompting guides. Do not edit — this file is rebuilt from source. -->
2
-
3
- > Generated from the production Slates guide. Model-specific syntax and measured examples apply to the endpoints named below. For another generation tool, check its current schema and reference handling; its limits, billing and defaults may differ.
4
-
5
- # Gemini Omni Flash 1.1 — prompting
6
-
7
- **Card — Gemini Omni Flash.** Two different jobs with OPPOSITE prompt rules, and getting them the wrong way round is the whole failure mode.
8
-
9
- **The five levers**
10
- 1. **Editing: short prompt, ONE change, nothing else.** Google's own doc says so and a 2026-07-09 receipt confirms it — a long "keep every frame identical" preamble produced WORSE drift than two sentences.
11
- 2. **Editing: always end with `Keep everything else the same.`** — the one documented preservation lever.
12
-
13
- 3. **Editing: describe the EFFECT, never a real object as a metaphor.** "Candle-like flame" rendered a literal candle in the subject's hand.
14
- 4. **Editing: no chained stage directions.** Several beats cued to moments ("…flies onto his shoulder when he calls it, and perches as he walks…") hard-failed with `invalid_request`. One effect tied to an action already in the footage ("…when he snaps his fingers…") passed. Collapse to one continuous action; the model syncs to the footage's own motion.
15
- 5. **Generation: the opposite — describe fully, and say `in a single continuous shot` when you want one shot.** By default it cuts between a few shots of its own. Subject, action, setting, `camera tracking alongside`, `overcast flat light`, tone. Audio is prompt-driven with no parameters: dialogue in quotes, sound in plain language — `rain patters on the tin roof`, `a horn somewhere behind`.
16
-
17
- **Examples**
18
- - Edit: `Small magical flames appear on his fingertips when he snaps his fingers, and vanish when he blows on them. Keep everything else the same.`
19
- - Generate: `In a single continuous shot, a courier in a yellow shell jacket weaves between stalled cars on a wet arterial road, camera tracking alongside at shoulder height. Overcast flat light, spray from tyres. Rain patters on car roofs, a horn somewhere behind.`
20
-
21
- **Hard constraint:** it is the EDIT-fidelity winner for footage-synced VFX; its generation quality on our own shots is not yet measured, so a hero shot still goes to the default seat. Expect a possible jitter or doubled speech beat in the last half second of an edit: trim the tail rather than burning a re-roll.
22
-
23
- **Never use in an EDIT prompt** (each one has a receipt above):
24
- - a long preservation preamble — it produces WORSE drift than `Keep everything else the same.`
25
- - a real object as a metaphor: `candle-like`, `flame-like`, `laser-like`
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
- - harm-to-person framing: `ignite`, `catch fire`, `on fire` applied to a person trips the safety filter
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). Version 1.1 (`gemini-omni-1.1-flash`) since 2026-10-17. 720p native, with **1080p and 4K as upscales** (Google's word), 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
-
31
- ## Where it routes
32
-
33
- - **Video editing (`omni-flash-edit`) — its headline strength and the edit-lane default** for footage-synced VFX: verified 2026-07-09 head-to-head vs Kling O3 Edit on real phone footage (fire-on-fingertips on a talking take) — Omni Flash held lip movement perfectly, audio near-identical, and executed both action beats; Kling kept audio verbatim but drifted lips and missed the second beat. Full routing: SKILL.md.
34
- - **Drafts and iteration volume with sound**: an audio-native video seat. Ask the cost estimate for the price per resolution.
35
- - **Hero-generation quality is still unproven.** Use the current model-routing guide for the final generation seat; the edit-fidelity receipt does not establish generation quality.
36
-
37
- ## Editing (model `omni-flash-edit`) — THE RULES (receipts, not theory)
38
-
39
- 1. **SHORT PROMPT. One change. Nothing else.** Google's own doc: *"Simple prompts work best for video editing. Overly descriptive prompts can lead to unintended changes."* Live receipt 2026-07-09: a long "keep every frame/word/movement identical…" preamble produced WORSE drift (re-synthesized performance, wrong timing); the winning prompt was two sentences: *"Small magical flames appear on his fingertips when he snaps his fingers, and vanish when he blows on them. Keep everything else the same."*
40
- 2. **Always end with "Keep everything else the same."** — the one documented preservation lever.
41
- 3. **Never name a real-world object as a metaphor.** "Candle-like flame" rendered a literal candle in his hand. Describe the effect itself ("small magical flames on his fingertips").
42
- 3b. **No chained stage directions: they HARD-FAIL, not drift.** Receipt 2026-07-09: "a dragon appears behind him, flies onto his shoulder WHEN HE CALLS IT, and perches AS HE WALKS…" → deterministic `invalid_request` (2×, "could not generate with the given inputs"); collapsing to one continuous action — "A small photorealistic dragon flies in and perches on his shoulder, puffing a small breath of flame and smoke." — succeeded first try. The model syncs the change to the footage's own motion; it cannot take beat-by-beat stage directions cued to moments in the video. The winning flames prompt above ("when he snaps his fingers") shows one effect tied to an action the footage already contains is fine; which part of the dragon prompt triggered the refusal is untested beyond that.
43
- 4. **Safety filter (Google's, strict about harm-to-person):** "fingertips ignite / catch fire" → `content_policy_violation`. Frame effects as magical/harmless VFX: "small magical flames appear on his fingertips" passed. See reference-content-policy.md §Gemini for the substitution patterns.
44
- 5. **Expect a possible tail artifact** — jitter or a doubled final speech beat in the last ~0.5s. Plan to trim the tail on the timeline; don't burn a re-roll on it.
45
- 6. **Prompt + source clip ONLY.** No element/style reference images — identity swaps that need refs go to `kling-v3.0-omni-edit`.
46
- 7. Source clip 3–10s (trim longer clips first). Output length follows the source; billing per output second at the chosen resolution, rounded up. 720p is the default; 1080p and 4K are upscales of it. Voice editing unsupported — never ask it to change dialogue.
47
- 7b. The 2026-07-09 receipts above were measured on Omni Flash 1.0. 1.1 has not been re-measured against them yet; until it is, treat them as the best evidence, not as proven on 1.1.
48
- 8. **Ship via segment-splice** (the workflow, not the model): edit only the seconds where the change happens, splice back over the original on the timeline with the original audio underneath. Most of the deliverable stays untouched original footage — this is how the pro demos are actually assembled (gesture-only edited beats + voiceover in post).
49
- 9. Chain edits one change at a time — each edit saves as a new asset linked to its parent.
50
-
51
- ## Generation (model `omni-flash`)
52
-
53
- - **Inputs, three shapes that never mix:** prompt only (t2v); prompt + a start frame and an optional **last frame** (i2v; it interpolates between them); or prompt + references: up to **10 reference images** (ingredient/character/environment/style asset params merge into one list) and up to **3 reference videos of 10s or less each**. With references, a start frame rides as reference image 1 (it counts toward the 10); a last frame has no slot there, so a last frame with references is refused. No audio references at all (Google: "Uploading audio references is unsupported").
54
- - **One shot or several.** Google: *"By default Omni Flash will try to create a video with a few different shots."* For one shot, say so: `in a single continuous shot`, `no scene cuts`.
55
- - Descriptive prompts are fine for GENERATION (the short-prompt law above is edit-specific). Structure like a shot brief: subject + action + setting + camera + lighting + tone.
56
- - **Name references inline** the standard Slates way ("Marcus (image 1) walks…"). The endpoint also reads Google's binding tags, zero-indexed: `<IMAGE_REF_0>` for the first reference image and `<VIDEO_REF_0>` for the first reference video (for example `A cat inspired by <IMAGE_REF_0> walks through the setting in <VIDEO_REF_0>.`). Use them when a specific file must bind to a specific role.
57
- - **Reference videos carry a likeness, not a sound.** Google: they *"work best with likenesses; any audio in a video reference is ignored"*, and reasoning across several videos *"may result in degraded model performance"*. One reference video is the safe default.
58
- - **Timing in plain words works:** `After 3 seconds, a woman enters the scene.` Text on screen renders readably when you spell it out in quotes.
59
- - **Strip what you do not want:** `No dialogue`, `No extra sound effects`, `No embellishments`. There is no negative-prompt field.
60
- - **Audio is prompt-driven** — no audio parameters. Dialogue in quotes; direct sound in plain language ("rain patters on the tin roof"). Negative direction as plain instructions ("Do not show text").
61
- - Duration is an explicit 3–10s integer param; cost scales linearly per second.
62
-
63
- ## Nobody holds still
64
-
65
- <!-- @inject:living-performance -->
66
- **Nobody holds still. Write every person a performance that changes on every beat.** A video model
67
- animates what the prompt describes and nothing more. Describe one expression ("she screams, mouth
68
- open") and the person freezes in it for the whole take, which reads as dead and fake however good the
69
- camera is.
70
-
71
- - **Every person, every beat:** what their hands do, where their head and body go, what they say or
72
- shout and to whom, and how the expression shifts, then shifts again. "Yelling at him with both hands
73
- up, then grabs the dash as the car snaps sideways" moves; "terrified" is a still.
74
- - **Escalate and turn.** A scene's emotion travels: fear into fury into a stunned laugh. Each beat
75
- gives the next state, never a repeat of the last.
76
- - **One calm character may stay still in the face, never in the body.** The stoic one still blinks,
77
- breathes, glances, and works their hands, and reacts once the scene earns it (a smirk, a look across).
78
- A held beat before a spoken line is the same: the face settles, the body keeps small movement.
79
- - **Keep it physical.** Write the visible action, not the feeling: a jabbed finger, a slap on the
80
- shoulder, a hand clawing hair out of a mouth. Name the lines or shouts when the audio matters.
81
- - **A blocking or previs reference makes stillness worse.** Its stand-in figures are frozen
82
- mannequins, and the model copies their stillness unless the prompt says so. Say it in the prompt:
83
- "its figures are frozen stand-ins and their stillness is not the acting; take only the camera and
84
- the timing from video 1, and the people perform as written below, moving in every second."
85
- - **On a model that reads timestamps (Seedance 2.5), write the acting inside every interval,** beside
86
- the camera and the action, so no range leaves a person without something to do. On a model that
87
- reads shots instead, give every shot its own acting the same way.
88
- <!-- @end:living-performance -->
89
-
90
- ## Input conditioning (Slates handles this — know it exists)
91
-
92
- Phone footage stores rotation as a metadata flag; models ignore it and edit the raw sideways pixels. Clips must be rotation-normalized (and oversized sources downscaled) before upload — receipt 2026-07-09: a portrait Pixel clip came back sideways until conditioned. If an edit output comes back rotated, the source wasn't normalized.
93
-
94
- ## Content notes
95
-
96
- - Google applies its own safety filters to input images/clips and output. Uploads containing recognizable real people are restricted by Google's policy — though own-footage editing of the uploader passed on our route 2026-07-09. See reference-content-policy.md.
97
- - Output carries an invisible SynthID watermark (Google-side, programmatic detection only).