@slatesvideo/shared 0.7.7 → 0.7.9
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.
- package/README.md +3 -6
- package/dist/analytics/events.d.ts +1 -1
- package/dist/analytics/events.js +7 -0
- package/dist/auth.d.ts +2 -0
- package/dist/auth.js +5 -0
- package/dist/clients/cloud.d.ts +2 -0
- package/dist/clients/cloud.js +5 -1
- package/dist/clients/desktop.js +6 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +7 -3
- package/dist/manual/content.d.ts +1 -1
- package/dist/manual/content.js +1 -1
- package/dist/operations/index.d.ts +724 -173
- package/dist/operations/index.js +875 -65
- package/dist/operations/surface.d.ts +2 -2
- package/dist/operations/surface.js +26 -6
- package/dist/prompts/agent-doctrine.d.ts +12 -2
- package/dist/prompts/agent-doctrine.js +56 -28
- package/dist/prompts/banned-tokens.js +23 -13
- package/dist/prompts/brain.d.ts +29 -0
- package/dist/prompts/brain.js +72 -0
- package/dist/prompts/craft-cards.d.ts +15 -4
- package/dist/prompts/craft-cards.js +71 -9
- package/dist/prompts/generation-policy.d.ts +1 -1
- package/dist/prompts/guide-discovery.d.ts +6 -6
- package/dist/prompts/guide-retrieval.d.ts +7 -1
- package/dist/prompts/guide-retrieval.js +33 -5
- package/dist/prompts/partials.generated.js +1 -13
- package/dist/prompts/shot-grammar.d.ts +1 -1
- package/dist/prompts/shot-grammar.js +1 -1
- package/dist/skills/brain-check.d.ts +44 -0
- package/dist/skills/brain-check.js +174 -0
- package/dist/skills/content.d.ts +3 -0
- package/dist/skills/content.js +81 -44
- package/dist/skills/hyperframes-content.js +4 -4
- package/dist/skills/my-brain.d.ts +52 -0
- package/dist/skills/my-brain.js +218 -0
- package/dist/skills/served.d.ts +56 -0
- package/dist/skills/served.js +232 -0
- package/package.json +2 -4
- package/skills/hyperframes/NOTICE +19 -3
- package/skills/hyperframes/SLATES-MAPPING.md +1 -1
- package/skills/hyperframes/embedded-captions/CATALOG.md +3 -0
- package/skills/hyperframes/embedded-captions/SKILL.md +6 -6
- package/skills/hyperframes/embedded-captions/assets/fonts/char-widths.json +227 -1
- package/skills/hyperframes/embedded-captions/modes/standard/fonts/build-fonts-css.cjs +19 -2
- package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-italic.woff2 +0 -0
- package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-normal.woff2 +0 -0
- package/skills/hyperframes/embedded-captions/scripts/make-theme.cjs +438 -3
- package/skills/hyperframes/embedded-captions/scripts/make-theme.test.mjs +1 -0
- package/skills/hyperframes/embedded-captions/themes/README.md +26 -1
- package/skills/hyperframes/embedded-captions/themes/lesson.json +31 -0
- package/skills/slates-start-here.md +78 -0
- package/exports/slates-chatgpt-images/generated/SKILL.md +0 -113
- package/exports/slates-chatgpt-images/generated/slates-chatgpt-images.skill +0 -0
- package/exports/slates-prompt-builder/generated/SKILL.md +0 -71
- package/exports/slates-prompt-builder/generated/reference-character.md +0 -92
- package/exports/slates-prompt-builder/generated/reference-content-policy.md +0 -81
- package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +0 -191
- package/exports/slates-prompt-builder/generated/reference-kling.md +0 -295
- package/exports/slates-prompt-builder/generated/reference-nano-banana.md +0 -240
- package/exports/slates-prompt-builder/generated/reference-omni-flash.md +0 -97
- package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +0 -392
- package/exports/slates-prompt-builder/generated/reference-seedance.md +0 -441
- package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +0 -133
- package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
- package/skills/_partials/blender-action-curves.md +0 -24
- package/skills/_partials/cinematic-card.md +0 -8
- package/skills/_partials/decision-log.md +0 -1
- package/skills/_partials/image-defaults.md +0 -9
- package/skills/_partials/iteration-diagnosis.md +0 -5
- package/skills/_partials/living-performance.md +0 -22
- package/skills/_partials/model-routing.md +0 -35
- package/skills/_partials/references-read-literally.md +0 -11
- package/skills/_partials/seedance-25-timestamps.md +0 -34
- package/skills/_partials/sheet-tool-defaults.md +0 -6
- package/skills/_partials/still-gate.md +0 -3
- package/skills/_partials/thresholds.md +0 -19
- package/skills/slates-blocking-to-prompt.md +0 -279
- package/skills/slates-camera-language.md +0 -234
- package/skills/slates-captions.md +0 -81
- package/skills/slates-character-identity.md +0 -117
- package/skills/slates-chatgpt-images.md +0 -113
- package/skills/slates-cinematic-look.md +0 -237
- package/skills/slates-content-policy.md +0 -88
- package/skills/slates-cost-discipline.md +0 -150
- package/skills/slates-cuts.md +0 -46
- package/skills/slates-dialogue-blocking.md +0 -134
- package/skills/slates-direct-response-ad.md +0 -26
- package/skills/slates-edit-and-iterate.md +0 -76
- package/skills/slates-layer-brand-captions.md +0 -87
- package/skills/slates-layer-lower-third.md +0 -85
- package/skills/slates-layer-title.md +0 -82
- package/skills/slates-model-selection.md +0 -129
- package/skills/slates-motion.md +0 -57
- package/skills/slates-one-prompt-film.md +0 -38
- package/skills/slates-previs-blocking.md +0 -186
- package/skills/slates-project-organization.md +0 -42
- package/skills/slates-prompting-elevenlabs.md +0 -128
- package/skills/slates-prompting-flux-3.md +0 -157
- package/skills/slates-prompting-gpt-image-2-5.md +0 -196
- package/skills/slates-prompting-inworld-tts.md +0 -174
- package/skills/slates-prompting-kling-v3.md +0 -303
- package/skills/slates-prompting-lip-sync.md +0 -216
- package/skills/slates-prompting-ltx-2-5.md +0 -245
- package/skills/slates-prompting-minimax-h3.md +0 -383
- package/skills/slates-prompting-motion-transfer.md +0 -202
- package/skills/slates-prompting-nano-banana-2-1.md +0 -250
- package/skills/slates-prompting-omni-flash.md +0 -117
- package/skills/slates-prompting-seed-audio.md +0 -168
- package/skills/slates-prompting-seedance-2-5.md +0 -420
- package/skills/slates-prompting-seedance.md +0 -462
- package/skills/slates-prompting-seedream-5-lite.md +0 -122
- package/skills/slates-prompting-wan-3.md +0 -143
- package/skills/slates-restyle-from-blocking.md +0 -121
- package/skills/slates-script-craft.md +0 -45
- package/skills/slates-shot-variety.md +0 -24
- package/skills/slates-storyboard-from-script.md +0 -32
- package/skills/slates-style-prompting.md +0 -56
- package/skills/slates-transitions.md +0 -40
- package/skills/slates-ugc-influencer-ad.md +0 -32
- package/skills/slates-vision-feedback-loop.md +0 -118
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: slates-prompting-motion-transfer
|
|
3
|
-
description: "Prepare Kling Motion Control with slates_generate_motion_transfer: a character image plus a driving clip. Covers orientation, source selection, tiers and the separate Seedance video-reference alternative."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Motion transfer — setup guide
|
|
7
|
-
|
|
8
|
-
<!-- @card:start -->
|
|
9
|
-
<!-- slates-only -->
|
|
10
|
-
<!-- MACHINE-READ. Everything between the @card markers is extracted by
|
|
11
|
-
src/prompts/craft-cards.ts and returned on every cost estimate for this
|
|
12
|
-
model, so it is the ONE piece of positive craft guidance the agent cannot
|
|
13
|
-
skip. Measured 2026-08-30: a fact inlined where it cannot be skipped moved
|
|
14
|
-
compliance 0/8 to 30/32; the same guidance behind a fetch moved nothing.
|
|
15
|
-
Keep it under 2,400 characters (the build fails above that) and keep the
|
|
16
|
-
rationale, the receipts and the worked examples in the body below. -->
|
|
17
|
-
<!-- /slates-only -->
|
|
18
|
-
**Card: Motion transfer (Kling Motion Control only).** A target IMAGE (your character) plus a source VIDEO (the motion) produces your character performing that motion. Output follows the driving clip, up to 30s with video orientation or 10s with image orientation, billed per 5s block.
|
|
19
|
-
|
|
20
|
-
**The five levers**
|
|
21
|
-
1. **The target image must show body proportions clearly** and the character must occupy more than about 5% of the frame. A tiny figure in a wide shot has nothing to drive.
|
|
22
|
-
2. **Single character in the target.** A group image breaks the identity anchor.
|
|
23
|
-
3. **Choose `characterOrientation` on purpose** — `video` takes the source clip's framing, `image` preserves the portrait's. It is the most-missed choice here.
|
|
24
|
-
|
|
25
|
-
4. **The prompt is atmosphere only** — `Soft afternoon sunlight, dust motes in the air, vintage warm color grade.` Motion verbs are ignored; the motion is already in the driving video.
|
|
26
|
-
5. **Pick the source section up front**, and write only atmosphere: `soft afternoon sunlight`, `vintage warm color grade`, `clean studio backdrop`. The output follows that section, up to the orientation's limit; longer clips cost more blocks.
|
|
27
|
-
|
|
28
|
-
**Examples**
|
|
29
|
-
- `Soft afternoon sunlight, dust motes in the air, vintage warm color grade.`
|
|
30
|
-
- `Clean studio backdrop, sharp focus on the character.` (Or leave it empty.)
|
|
31
|
-
|
|
32
|
-
**Hard constraint:** cartoon driving videos fail, and a cropped or partial target character drifts. std is fine while the motion-and-framing combination is still moving; switch to pro once it is locked. For a REGENERATED shot instead — physical contact, cloth and hair, camera motion, native audio — that is a normal Seedance video generation with the driving clip as a video reference, not a mode of this tool.
|
|
33
|
-
<!-- @card:end -->
|
|
34
|
-
|
|
35
|
-
<!-- @banned:start -->
|
|
36
|
-
<!-- slates-only -->
|
|
37
|
-
<!-- MACHINE-READ. Every `backticked` token between the @banned markers is
|
|
38
|
-
extracted by src/prompts/banned-tokens.ts and returned on this model's cost
|
|
39
|
-
estimate, and every submitted prompt is matched against it. Keep entries
|
|
40
|
-
backticked and prose outside the backticks. -->
|
|
41
|
-
<!-- /slates-only -->
|
|
42
|
-
**Never use** — the motion is already in the driving video, so motion verbs are ignored:
|
|
43
|
-
- `spins faster`, `jumps higher`, `add more energy`, `moves quicker`
|
|
44
|
-
<!-- @banned:end -->
|
|
45
|
-
|
|
46
|
-
Take a still **target image** (your character) and a **source video** (the motion you want), produce a new video of your character performing the source video's motion. **This tool is Kling-only** — it wraps Kling Motion Control and nothing else.
|
|
47
|
-
|
|
48
|
-
| Tier | Cost | Use case |
|
|
49
|
-
|------|-----------|----------|
|
|
50
|
-
| Kling std (`kling-mc-std-5s`) | ~32 credits / 5s | General motion transfer, budget lane |
|
|
51
|
-
| Kling pro (`kling-mc-pro-5s`) | ~42 credits / 5s | Cleaner anatomy, better identity preservation |
|
|
52
|
-
|
|
53
|
-
Both tiers trip the confirm gate. User OK required every time. (Prices are approximate — `slates_estimate_generation_cost` returns the exact credit total.)
|
|
54
|
-
|
|
55
|
-
## Want Seedance instead? That is a video generation, not a mode here
|
|
56
|
-
|
|
57
|
-
Kling MC retargets a skeleton onto a finished image; Seedance *generates* the shot with the motion as a conditioning input — the difference shows on fast choreography, physical contact, cloth/hair, and camera motion, and the output carries native audio. **It is not an engine switch on this tool.** Run a normal `slates_generate_video` on `seedance-2` with the driving clip attached as a video reference and the character image as an ingredient, then write the prompt yourself:
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
The character from image 1 performs the exact motion, choreography, and camera
|
|
61
|
-
movement from video 1. Preserve the character's identity, appearance, and outfit.
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
That is the same endpoint the old `motionModel=seedance-2` branch called — it just wrote that sentence for you, invisibly. Add style/setting/camera direction freely; Seedance re-generates the whole shot.
|
|
65
|
-
|
|
66
|
-
- **Reference videos must total 2–15s on 2.0, or 2–30s on 2.5.** Longer clips: trim first. Kling MC (`characterOrientation: 'video'`) takes up to 30s.
|
|
67
|
-
- **Billing = combined input+output seconds** (the vref keys). The server probes the clip and corrects an understated key; quote via the confirm gate before spending. On a Seedance 2.0 or 2.5 Face row the input side counts as at least the output's length: max(input, output) + output.
|
|
68
|
-
- **Faces go through the face cascade**: `seedanceFace` for a character, `[REAL_FACE_DETECTED]` → confirm consent → `seedanceRealFace=true, realFaceConsent=true` (premium realface vref pricing).
|
|
69
|
-
- `characterOrientation` has no Seedance equivalent; framing follows the prompt + `aspectRatio`.
|
|
70
|
-
|
|
71
|
-
Everything below is about the Kling tool.
|
|
72
|
-
|
|
73
|
-
## Inputs
|
|
74
|
-
|
|
75
|
-
- `sourceVideoAssetId` — driving video. **Must be a realistic human** with clear proportions. Anime/cartoon/CG driving videos fail.
|
|
76
|
-
- `targetImageAssetId` — character to be animated. Can be any style (cartoon, anime, realistic, painted).
|
|
77
|
-
- Both must already exist as assets in the project. Use `slates_list_assets` to find them or upload first.
|
|
78
|
-
|
|
79
|
-
## Source video constraints
|
|
80
|
-
|
|
81
|
-
- Realistic human (not animated, not CG)
|
|
82
|
-
- Entire body OR upper body visible — head must not be obstructed
|
|
83
|
-
- Subject occupies a clear share of the frame
|
|
84
|
-
- Single primary subject. Multi-person driving videos confuse the motion anchor.
|
|
85
|
-
- Clean motion — choppy / cut-edited driving videos produce jittery output
|
|
86
|
-
|
|
87
|
-
Good driving video sources:
|
|
88
|
-
- Reference dance footage with one subject
|
|
89
|
-
- Walking / gesture / posing clips
|
|
90
|
-
- Talking-head footage when paired with character_orientation: 'video'
|
|
91
|
-
|
|
92
|
-
Bad driving video sources:
|
|
93
|
-
- Music videos with multi-shot edits
|
|
94
|
-
- Anime / animation clips
|
|
95
|
-
- Heavily stylized footage with smoke / particles obscuring the body
|
|
96
|
-
- Footage where the subject's head leaves frame mid-clip
|
|
97
|
-
|
|
98
|
-
## Target image constraints
|
|
99
|
-
|
|
100
|
-
- Character body proportions clearly visible
|
|
101
|
-
- Character occupies >5% of image area (not a tiny figure in a wide shot)
|
|
102
|
-
- Single character. Group images break the identity anchor.
|
|
103
|
-
- Any artistic style works — cartoon, anime, painted, realistic, 3D render
|
|
104
|
-
|
|
105
|
-
Avoid:
|
|
106
|
-
- Extreme close-up of just the face (no body to drive)
|
|
107
|
-
- Character partially cropped at the waist when the driving video is full-body
|
|
108
|
-
- Multiple characters
|
|
109
|
-
|
|
110
|
-
## character_orientation — the most-missed choice
|
|
111
|
-
|
|
112
|
-
This single parameter changes the output dramatically. Pick deliberately.
|
|
113
|
-
|
|
114
|
-
| Value | Output framing | Max source duration | Best for |
|
|
115
|
-
|-------|----------------|---------------------|----------|
|
|
116
|
-
| `video` | Matches driving video framing | Up to 30s source | Complex full-body motion (dance, action, athletics) |
|
|
117
|
-
| `image` | Matches target image framing | Up to 10s source | Camera moves, simpler motion, preserving original composition |
|
|
118
|
-
|
|
119
|
-
**Default `video`** when the driving video has the look you want (most cases).
|
|
120
|
-
|
|
121
|
-
Switch to `image` when the target image's composition is the brand asset and the motion is secondary (e.g., a hero shot of a character that needs subtle gesture, not a full performance).
|
|
122
|
-
|
|
123
|
-
## Tier choice — std vs pro
|
|
124
|
-
|
|
125
|
-
**std (~32 credits)** for:
|
|
126
|
-
- Drafts, motion exploration, blocking
|
|
127
|
-
- Group scenes where the character isn't a hero shot
|
|
128
|
-
- When the budget is tight and the motion is the focus
|
|
129
|
-
|
|
130
|
-
**pro (~42 credits)** for:
|
|
131
|
-
- Final hero takes
|
|
132
|
-
- Branded characters where identity drift = unacceptable
|
|
133
|
-
- Anatomically complex motion (limbs crossing, fast direction changes)
|
|
134
|
-
- Anime / cartoon target images — pro handles non-realistic styles better
|
|
135
|
-
|
|
136
|
-
Don't default to pro. The ~10-credit delta compounds fast across iteration.
|
|
137
|
-
|
|
138
|
-
## Prompt usage (optional)
|
|
139
|
-
|
|
140
|
-
The `prompt` field is **scene/style refinement**, not motion direction. The motion comes from the driving video — the prompt sets ambiance, lighting, additional detail.
|
|
141
|
-
|
|
142
|
-
Good:
|
|
143
|
-
- `Soft afternoon sunlight, dust motes in the air, vintage warm color grade.`
|
|
144
|
-
- `Clean studio backdrop, sharp focus on the character.`
|
|
145
|
-
|
|
146
|
-
Bad (model ignores motion verbs — they're already in the driving video):
|
|
147
|
-
- ❌ `She spins faster and jumps higher.`
|
|
148
|
-
- ❌ `Add more energy to the dance.`
|
|
149
|
-
|
|
150
|
-
Leave it empty if you don't have a specific atmospheric note.
|
|
151
|
-
|
|
152
|
-
## Common failure modes
|
|
153
|
-
|
|
154
|
-
| Symptom | Likely cause | Fix |
|
|
155
|
-
|---------|--------------|-----|
|
|
156
|
-
| Limbs distort / extra fingers | std tier, complex motion | Switch to pro |
|
|
157
|
-
| Character identity drifts | Target image cropped too tight | Use a fuller-body target |
|
|
158
|
-
| Output looks "stuck" / minimal motion | Driving video subject too small in frame | Pick a driving video where the subject fills more of the frame |
|
|
159
|
-
| Cartoon target turns realistic | std tier on stylized art | Switch to pro — handles non-realistic styles better |
|
|
160
|
-
| Garbled output entirely | Anime / CG driving video | Use realistic human driving footage |
|
|
161
|
-
| Wrong framing on output | character_orientation set wrong | Try the other value |
|
|
162
|
-
| Background bleeds through character | Target image had complex background | Use a target with cleaner background separation |
|
|
163
|
-
|
|
164
|
-
## Workflow patterns
|
|
165
|
-
|
|
166
|
-
**Reference dance to brand character:**
|
|
167
|
-
1. Generate or upload the brand character as a still image (clean background, full body, single subject)
|
|
168
|
-
2. Find driving footage — a clean reference video of the dance you want
|
|
169
|
-
3. Upload both as project assets
|
|
170
|
-
4. Run motion transfer with `motionModel: 'kling-mc-pro'`, `characterOrientation: 'video'`
|
|
171
|
-
5. Total cost: ~42 credits per 5s take
|
|
172
|
-
|
|
173
|
-
**Subtle motion on a hero portrait:**
|
|
174
|
-
1. Use the locked hero portrait as the target image
|
|
175
|
-
2. Pick a driving video with subtle gesture (head turn, slight posture shift)
|
|
176
|
-
3. `characterOrientation: 'image'` to preserve the portrait's framing
|
|
177
|
-
4. std tier is fine for this case — motion isn't dramatic
|
|
178
|
-
|
|
179
|
-
**Avoid:**
|
|
180
|
-
- Pro tier on first iteration — waste, switch to it once the motion + framing combo is locked
|
|
181
|
-
- Cartoon driving videos — guaranteed failure
|
|
182
|
-
- Cropped or partial target characters — identity will drift
|
|
183
|
-
- Driving videos longer than the needed motion; pick the source section upfront, within the orientation's limit
|
|
184
|
-
|
|
185
|
-
## Cost discipline
|
|
186
|
-
|
|
187
|
-
- Output follows the driving clip, up to 30s with video orientation or 10s with image orientation; billed per 5s block
|
|
188
|
-
- Both tiers trip the confirm gate — every call needs explicit user OK
|
|
189
|
-
- Iteration is expensive: 4 five-second takes at pro ≈ 168 credits. Lock framing + driving video before tier-up to pro.
|
|
190
|
-
- Always run a single std take first to validate the motion + framing combo before committing to pro
|
|
191
|
-
|
|
192
|
-
## Confirm gate: cost + codes, no inline preview
|
|
193
|
-
|
|
194
|
-
Motion transfer is mechanical — the model deterministically applies source motion to target image. Both tiers trip the confirm gate; the response includes the asset codes for source and target so you can announce them in chat.
|
|
195
|
-
|
|
196
|
-
- ✅ "Transferring motion from **VID-V3** onto **IMG-A12 — Detective Closeup**. ~42 credits, confirm?"
|
|
197
|
-
- ❌ "Using the walk video and the detective image..." (multiple of each in the project.)
|
|
198
|
-
|
|
199
|
-
Don't second-guess the assets the user picked — the model executes the transfer. If the output is wrong, iterate on motion source or target choice, not on a refinement prompt.
|
|
200
|
-
|
|
201
|
-
## Sources
|
|
202
|
-
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: slates-prompting-nano-banana-2-1
|
|
3
|
-
description: "Prompt Nano Banana 2.1 image generation and edits. Use on this model; covers sentence briefs, photographic craft, what each reference supplies, edits, typography and prompt structure."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Nano Banana 2.1 — cinematic & photorealistic prompting
|
|
7
|
-
|
|
8
|
-
<!-- @card:start -->
|
|
9
|
-
<!-- slates-only -->
|
|
10
|
-
<!-- MACHINE-READ. Everything between the @card markers is extracted by
|
|
11
|
-
src/prompts/craft-cards.ts and returned on every cost estimate for this
|
|
12
|
-
model, so it is the ONE piece of positive craft guidance the agent cannot
|
|
13
|
-
skip. Measured 2026-08-30: a fact inlined where it cannot be skipped moved
|
|
14
|
-
compliance 0/8 to 30/32; the same guidance behind a fetch moved nothing.
|
|
15
|
-
Keep it under 2,400 characters (the build fails above that) and keep the
|
|
16
|
-
rationale, the receipts and the worked examples in the body below. -->
|
|
17
|
-
<!-- /slates-only -->
|
|
18
|
-
**Card — 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.
|
|
19
|
-
|
|
20
|
-
**The six levers**
|
|
21
|
-
1. **Sentences, not keywords.** Describe the scene the way a photographer would describe the shot they took.
|
|
22
|
-
2. **Light by direction and quality**, never "good lighting" — `hard sidelight from a single window, deep falloff`, `overcast north light`.
|
|
23
|
-
3. **Control the camera** — `85mm f/1.4`, `low angle`, `aerial view`, `rule of thirds with the subject camera-left`.
|
|
24
|
-
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.
|
|
25
|
-
5. **Quote text that must render** and describe its type — `the word "OPEN" in thin red neon script above the door`.
|
|
26
|
-
6. **Positive framing only.** "Empty street", never "no cars"; "unstaged documentary photography", never "not anime".
|
|
27
|
-
|
|
28
|
-
<!-- @inject:cinematic-card -->
|
|
29
|
-
**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:
|
|
30
|
-
- **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.
|
|
31
|
-
- **One light system** — `low sun behind her`, `her face falls into deep shadow`, `no light in front of her`.
|
|
32
|
-
- **Visible exposure** — `the sky burns out to white`, `dense, slightly crushed shadows`.
|
|
33
|
-
- **Lens name plus effect** — `200mm telephoto`, `peaks loom huge behind her and melt into soft shapes`.
|
|
34
|
-
- **Name every garment and close the foreground.** Omissions invite reference leakage or invented props.
|
|
35
|
-
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.
|
|
36
|
-
<!-- slates-only -->Use `slates-cinematic-look` with a technique ID or section query for more.<!-- /slates-only -->
|
|
37
|
-
<!-- @end:cinematic-card -->
|
|
38
|
-
|
|
39
|
-
**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`.
|
|
40
|
-
<!-- @card:end -->
|
|
41
|
-
|
|
42
|
-
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.<!-- slates-only --> It is the one Nano Banana model in Slates (Nano Banana 2, its Lite variant and Nano Banana Pro retired on 2026-10-23; takes made on them keep their labels) and the headless image model used when `projectId` is omitted. The op also exposes GPT Image 2.5, `flux-3` and `seedream-5-lite`, each with its own prompting skill. The image default stays GPT Image 2.5 Sunburst; when to reroll a frame on 2.1 instead is in `slates-cinematic-look` § Model notes.<!-- /slates-only --> It is a language model that outputs pixels and reasons before it draws<!-- slates-only --> (Slates asks for its standard thinking level on every request)<!-- /slates-only -->, 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**.
|
|
43
|
-
|
|
44
|
-
## Google's guidance
|
|
45
|
-
|
|
46
|
-
No guide is written for 2.1 itself; Google's Nano Banana guidance is what applies:
|
|
47
|
-
|
|
48
|
-
1. **Describe the scene in sentences, not keywords.** Concrete subject, lighting and composition.
|
|
49
|
-
2. **Use positive framing.** Describe what you want, not what you don't: "empty street", never "no cars".
|
|
50
|
-
3. **Control the camera** with photographic and cinematic terms like "low angle" and "aerial view".
|
|
51
|
-
4. **In an edit, say what must stay the same** as well as what changes.
|
|
52
|
-
5. **Quote text that must render**, and describe its type.
|
|
53
|
-
|
|
54
|
-
Documented limits (Google's model card): small text, imperfect character consistency, and left/right confusion. Each has a fix below.
|
|
55
|
-
|
|
56
|
-
## Prompt formula
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
[Subject] + [Action] + [Location/context] + [Composition] + [Style]
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
For the cinematic / photoreal use case, expand to sentences:
|
|
63
|
-
|
|
64
|
-
```
|
|
65
|
-
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].
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
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...`
|
|
69
|
-
|
|
70
|
-
## Photorealism positives
|
|
71
|
-
|
|
72
|
-
⚠️ **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.
|
|
73
|
-
|
|
74
|
-
<!-- @inject:lens-video-split -->
|
|
75
|
-
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.
|
|
76
|
-
<!-- @end:lens-video-split -->
|
|
77
|
-
|
|
78
|
-
**Named lenses + apertures** beat generic "shallow depth of field":
|
|
79
|
-
- `85mm f/1.4`, `135mm f/2.8`, `50mm f/1.2`, `35mm f/2`
|
|
80
|
-
- `Panavision anamorphic` for horizontal flares + cinematic width
|
|
81
|
-
- `400mm telephoto` for compression + isolation
|
|
82
|
-
- `24mm` for environmental interiors
|
|
83
|
-
|
|
84
|
-
**Named cameras / sensors:**
|
|
85
|
-
- `ARRI Alexa 65`, `Hasselblad X2D`, `Canon EOS R5`, `Sony A7III`, `Fujifilm X-T5`
|
|
86
|
-
- "Specific gear" beats "DSLR"
|
|
87
|
-
|
|
88
|
-
**Named film stocks** (one per prompt — never mix):
|
|
89
|
-
- `Kodak Portra 400` — natural skin, warm
|
|
90
|
-
- `Fuji Velvia 50` — saturated, landscape
|
|
91
|
-
- `Ilford HP5 Plus` — black and white, gritty grain
|
|
92
|
-
- `CineStill 800T` — tungsten night, halation
|
|
93
|
-
|
|
94
|
-
**Physics-based lighting** (direction + quality):
|
|
95
|
-
- `Single key light at 45 degrees from upper left`
|
|
96
|
-
- `Late afternoon sun at 15 degrees above horizon`
|
|
97
|
-
- `Color temperature 4500K` beats `slightly warm`
|
|
98
|
-
- `Practicals only — no fill` for Deakins-style realism
|
|
99
|
-
|
|
100
|
-
**Imperfection vocabulary** (forces away from AI-clean):
|
|
101
|
-
- `visible pores`, `natural skin grain`, `peach fuzz`, `slight hyperpigmentation`
|
|
102
|
-
- `unretouched raw photography`, `ISO noise`, `sweat beading`
|
|
103
|
-
- `crisp catchlights in the eyes`, `skin micro-detail`
|
|
104
|
-
- 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).<!-- slates-only --> Technique: `slates-cinematic-look` → `name-the-capture-context`.<!-- /slates-only -->
|
|
105
|
-
|
|
106
|
-
**Director references** (use when locking style):
|
|
107
|
-
| Director | Tone | Visual signature |
|
|
108
|
-
|---|---|---|
|
|
109
|
-
| Denis Villeneuve | Cold, vast, existential | Desaturated, overwhelming scale |
|
|
110
|
-
| Roger Deakins | Precise motivated light | Single source, deep shadows, practicals |
|
|
111
|
-
| Emmanuel Lubezki | Natural, spiritual | Available light, golden hour |
|
|
112
|
-
| Bradford Young | Warm darkness | Underexposed, rich shadows, skin tones |
|
|
113
|
-
|
|
114
|
-
**Genre cues that move the model:**
|
|
115
|
-
- `unstaged documentary photography style`
|
|
116
|
-
- `fashion magazine editorial, shot on medium-format analog film, pronounced grain`
|
|
117
|
-
- `Film still from [Director] [genre]`
|
|
118
|
-
|
|
119
|
-
## The anti-list — phrases that degrade realism
|
|
120
|
-
|
|
121
|
-
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.
|
|
122
|
-
|
|
123
|
-
<!-- @banned:start -->
|
|
124
|
-
<!-- slates-only -->
|
|
125
|
-
<!-- MACHINE-READ. Every `backticked` token between the @banned markers is extracted
|
|
126
|
-
by src/prompts/banned-tokens.ts, inlined verbatim into the slates_generate_image
|
|
127
|
-
op description (always in context on both surfaces), and matched against every
|
|
128
|
-
submitted prompt. Editing this list changes what the agent is told AND what it
|
|
129
|
-
is warned about — keep every entry backticked, and keep prose outside the
|
|
130
|
-
backticks. -->
|
|
131
|
-
<!-- /slates-only -->
|
|
132
|
-
**Never use:**
|
|
133
|
-
- `8k`, `4k` (as a quality token)
|
|
134
|
-
- `hyperrealistic`, `ultra-realistic`, `photorealistic` standing alone
|
|
135
|
-
- `masterpiece`, `best quality`, `highly detailed`, `ultra-detailed`
|
|
136
|
-
- `trending on ArtStation`, `award-winning`
|
|
137
|
-
- `perfect skin`, `flawless`, `airbrushed`, `smooth skin`
|
|
138
|
-
- `cinematic` standing alone — always specify *which cinema* (director, lens, era, stock)
|
|
139
|
-
- `not anime, not cartoon, not 3D` — negation tag soup, replace with a positive style cue
|
|
140
|
-
<!-- @banned:end -->
|
|
141
|
-
|
|
142
|
-
**Examples**
|
|
143
|
-
- `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.`
|
|
144
|
-
|
|
145
|
-
## Negative prompting — there is no field
|
|
146
|
-
|
|
147
|
-
Nano Banana 2.1 has **no `negativePrompt` parameter**,<!-- slates-only --> and Slates appends no exclusion list to the prompt on this model, because an "Avoid: …" line is negative framing, which Google's guidance rules out<!-- /slates-only -->. Three patterns to suppress unwanted content:
|
|
148
|
-
|
|
149
|
-
1. **Positive reframing (preferred):** "empty street" not "no cars". "Unstaged documentary photography" not "not anime."
|
|
150
|
-
2. **Inline `without` / `free of`:** "without any people, vehicles, or man-made structures", "free of text overlays, logos, or watermarks."
|
|
151
|
-
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."
|
|
152
|
-
|
|
153
|
-
Default to #1. Reach for #2 only when positive framing can't suppress the unwanted element.
|
|
154
|
-
|
|
155
|
-
## Reference images
|
|
156
|
-
|
|
157
|
-
- **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.
|
|
158
|
-
- **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.
|
|
159
|
-
- **Slates names each reference inline for you.** When you `@mention` a subject/environment or `#mention` a style<!-- slates-only --> (or pass `referenceAssetIds`)<!-- /slates-only -->, 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.
|
|
160
|
-
|
|
161
|
-
### Reference rules (the verified ones)
|
|
162
|
-
|
|
163
|
-
<!-- @inject:references-read-literally -->
|
|
164
|
-
> **The general law: the model reads a reference literally.**
|
|
165
|
-
> 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.
|
|
166
|
-
|
|
167
|
-
Every reference rule below is a corollary of that one sentence, which is why "prep the reference" beats "prompt around the reference" every time:
|
|
168
|
-
|
|
169
|
-
- **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).
|
|
170
|
-
- **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."
|
|
171
|
-
- **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.
|
|
172
|
-
- **Break perfect symmetry** — mirrored faces and dead-square framing read as synthetic, and the model preserves that reading rather than correcting it.
|
|
173
|
-
|
|
174
|
-
**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.
|
|
175
|
-
<!-- @end:references-read-literally -->
|
|
176
|
-
|
|
177
|
-
<!-- @inject:reference-rules-core -->
|
|
178
|
-
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.
|
|
179
|
-
|
|
180
|
-
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.
|
|
181
|
-
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.
|
|
182
|
-
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.
|
|
183
|
-
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.
|
|
184
|
-
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.
|
|
185
|
-
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.
|
|
186
|
-
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.
|
|
187
|
-
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.
|
|
188
|
-
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.)
|
|
189
|
-
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.
|
|
190
|
-
<!-- @end:reference-rules-core -->
|
|
191
|
-
|
|
192
|
-
### For Nano Banana 2.1 specifically
|
|
193
|
-
|
|
194
|
-
- **Name what each image supplies** — that is Google's binding mechanism, and rule 2 above in its words.
|
|
195
|
-
- **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.
|
|
196
|
-
- **Character consistency is imperfect** per Google's model card. Test before bulk generations; high-resolution, front-facing references help most.
|
|
197
|
-
|
|
198
|
-
## Edits
|
|
199
|
-
|
|
200
|
-
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.
|
|
201
|
-
|
|
202
|
-
## Common failure modes + fixes
|
|
203
|
-
|
|
204
|
-
**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.
|
|
205
|
-
|
|
206
|
-
**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.
|
|
207
|
-
|
|
208
|
-
**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.
|
|
209
|
-
|
|
210
|
-
**Surreal / absurd prompts trip uncanny valley:** The model drags toward realism. If you want surrealism, lean hard into stylization keywords (`painted`, `illustrated`, `stop-motion`).
|
|
211
|
-
|
|
212
|
-
**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.
|
|
213
|
-
|
|
214
|
-
**Recent products, people and events:** give it reference images rather than relying on what it knows.
|
|
215
|
-
|
|
216
|
-
**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`.
|
|
217
|
-
|
|
218
|
-
## Resolution tactics
|
|
219
|
-
|
|
220
|
-
- Resolution is priced, and 4k costs the most. Check current numbers<!-- slates-only --> by calling `slates_estimate_generation_cost`<!-- /slates-only -->. Pick the cheapest resolution that serves the use case.
|
|
221
|
-
- **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.
|
|
222
|
-
- 1k for fast iteration / drafts; 2k for hero shots; 4k only when you need print-grade detail.
|
|
223
|
-
|
|
224
|
-
## Boring vs cinema — examples
|
|
225
|
-
|
|
226
|
-
❌ **Boring:** "Wide shot of a man on a dock looking at the forest."
|
|
227
|
-
|
|
228
|
-
✅ **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."
|
|
229
|
-
|
|
230
|
-
❌ **Boring:** "Close up of a woman looking scared."
|
|
231
|
-
|
|
232
|
-
✅ **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."
|
|
233
|
-
|
|
234
|
-
<!-- @inject:iteration-diagnosis -->
|
|
235
|
-
## Diagnose repeated failures
|
|
236
|
-
|
|
237
|
-
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.
|
|
238
|
-
|
|
239
|
-
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.
|
|
240
|
-
<!-- @end:iteration-diagnosis -->
|
|
241
|
-
|
|
242
|
-
<!-- slates-only -->
|
|
243
|
-
Routing against GPT Image 2.5, FLUX 3 and Seedream: `slates-model-selection`.
|
|
244
|
-
<!-- /slates-only -->
|
|
245
|
-
|
|
246
|
-
## Sources
|
|
247
|
-
|
|
248
|
-
- Google, Gemini API image generation guide and model card (Nano Banana family guidance; no 2.1-specific guide exists as of 2026-10-23).
|
|
249
|
-
- Google Cloud, image generation prompt guide (reference ordering).
|
|
250
|
-
- Slates receipt: Nano Banana 2.1 against Sunburst, three cinematic scenes, 2026-10-23 (the overridden one-sided light).
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: slates-prompting-omni-flash
|
|
3
|
-
description: "Prompt Gemini Omni Flash 1.1 video generation or edits (omni-flash, omni-flash-edit). Covers native sound, the single-scene rule, first and last frames, reference images and videos, and short change-only edit prompts."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Gemini Omni Flash 1.1 — prompting
|
|
7
|
-
|
|
8
|
-
<!-- @card:start -->
|
|
9
|
-
<!-- slates-only -->
|
|
10
|
-
<!-- MACHINE-READ. Everything between the @card markers is extracted by
|
|
11
|
-
src/prompts/craft-cards.ts and returned on every cost estimate for this
|
|
12
|
-
model, so it is the ONE piece of positive craft guidance the agent cannot
|
|
13
|
-
skip. Measured 2026-08-30: a fact inlined where it cannot be skipped moved
|
|
14
|
-
compliance 0/8 to 30/32; the same guidance behind a fetch moved nothing.
|
|
15
|
-
Keep it under 2,400 characters (the build fails above that) and keep the
|
|
16
|
-
rationale, the receipts and the worked examples in the body below. -->
|
|
17
|
-
<!-- /slates-only -->
|
|
18
|
-
**Card — Gemini Omni Flash.** Two different jobs with OPPOSITE prompt rules, and getting them the wrong way round is the whole failure mode.
|
|
19
|
-
|
|
20
|
-
**The five levers**
|
|
21
|
-
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.
|
|
22
|
-
2. **Editing: always end with `Keep everything else the same.`** — the one documented preservation lever.
|
|
23
|
-
|
|
24
|
-
3. **Editing: describe the EFFECT, never a real object as a metaphor.** "Candle-like flame" rendered a literal candle in the subject's hand.
|
|
25
|
-
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.
|
|
26
|
-
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`.
|
|
27
|
-
|
|
28
|
-
**Examples**
|
|
29
|
-
- 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.`
|
|
30
|
-
- 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.`
|
|
31
|
-
|
|
32
|
-
**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.
|
|
33
|
-
<!-- @card:end -->
|
|
34
|
-
|
|
35
|
-
<!-- @banned:start -->
|
|
36
|
-
<!-- slates-only -->
|
|
37
|
-
<!-- MACHINE-READ. Every `backticked` token between the @banned markers is
|
|
38
|
-
extracted by src/prompts/banned-tokens.ts and returned on this model's cost
|
|
39
|
-
estimate, and every submitted prompt is matched against it. Keep entries
|
|
40
|
-
backticked and prose outside the backticks. -->
|
|
41
|
-
<!-- /slates-only -->
|
|
42
|
-
**Never use in an EDIT prompt** (each one has a receipt above):
|
|
43
|
-
- a long preservation preamble — it produces WORSE drift than `Keep everything else the same.`
|
|
44
|
-
- a real object as a metaphor: `candle-like`, `flame-like`, `laser-like`
|
|
45
|
-
- 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
|
|
46
|
-
- harm-to-person framing: `ignite`, `catch fire`, `on fire` applied to a person trips the safety filter
|
|
47
|
-
<!-- @banned:end -->
|
|
48
|
-
|
|
49
|
-
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.
|
|
50
|
-
|
|
51
|
-
## Where it routes
|
|
52
|
-
|
|
53
|
-
- **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: slates-model-selection.
|
|
54
|
-
- **Drafts and iteration volume with sound**: an audio-native video seat. Ask the cost estimate for the price per resolution.
|
|
55
|
-
- **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.
|
|
56
|
-
|
|
57
|
-
## Editing (<!-- slates-only -->`slates_edit_video`, <!-- /slates-only -->model `omni-flash-edit`) — THE RULES (receipts, not theory)
|
|
58
|
-
|
|
59
|
-
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."*
|
|
60
|
-
2. **Always end with "Keep everything else the same."** — the one documented preservation lever.
|
|
61
|
-
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").
|
|
62
|
-
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.
|
|
63
|
-
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 slates-content-policy §Gemini for the substitution patterns.
|
|
64
|
-
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.
|
|
65
|
-
6. **Prompt + source clip ONLY.** No element/style reference images — identity swaps that need refs go to `kling-v3.0-omni-edit`.
|
|
66
|
-
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.
|
|
67
|
-
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.
|
|
68
|
-
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).
|
|
69
|
-
9. Chain edits one change at a time — each edit saves as a new asset linked to its parent.
|
|
70
|
-
|
|
71
|
-
## Generation (<!-- slates-only -->`slates_generate_video`, <!-- /slates-only -->model `omni-flash`)
|
|
72
|
-
|
|
73
|
-
- **Inputs, three shapes that never mix:** prompt only (t2v); prompt + a start frame and an optional **last frame** (<!-- slates-only -->`firstFrameAssetId`, `lastFrameAssetId`, <!-- /slates-only -->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").
|
|
74
|
-
- **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`.
|
|
75
|
-
- 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.
|
|
76
|
-
- **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.
|
|
77
|
-
- **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.
|
|
78
|
-
- **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.
|
|
79
|
-
- **Strip what you do not want:** `No dialogue`, `No extra sound effects`, `No embellishments`. There is no negative-prompt field.
|
|
80
|
-
- **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").
|
|
81
|
-
- Duration is an explicit 3–10s integer param; cost scales linearly per second.
|
|
82
|
-
|
|
83
|
-
## Nobody holds still
|
|
84
|
-
|
|
85
|
-
<!-- @inject:living-performance -->
|
|
86
|
-
**Nobody holds still. Write every person a performance that changes on every beat.** A video model
|
|
87
|
-
animates what the prompt describes and nothing more. Describe one expression ("she screams, mouth
|
|
88
|
-
open") and the person freezes in it for the whole take, which reads as dead and fake however good the
|
|
89
|
-
camera is.
|
|
90
|
-
|
|
91
|
-
- **Every person, every beat:** what their hands do, where their head and body go, what they say or
|
|
92
|
-
shout and to whom, and how the expression shifts, then shifts again. "Yelling at him with both hands
|
|
93
|
-
up, then grabs the dash as the car snaps sideways" moves; "terrified" is a still.
|
|
94
|
-
- **Escalate and turn.** A scene's emotion travels: fear into fury into a stunned laugh. Each beat
|
|
95
|
-
gives the next state, never a repeat of the last.
|
|
96
|
-
- **One calm character may stay still in the face, never in the body.** The stoic one still blinks,
|
|
97
|
-
breathes, glances, and works their hands, and reacts once the scene earns it (a smirk, a look across).
|
|
98
|
-
A held beat before a spoken line is the same: the face settles, the body keeps small movement.
|
|
99
|
-
- **Keep it physical.** Write the visible action, not the feeling: a jabbed finger, a slap on the
|
|
100
|
-
shoulder, a hand clawing hair out of a mouth. Name the lines or shouts when the audio matters.
|
|
101
|
-
- **A blocking or previs reference makes stillness worse.** Its stand-in figures are frozen
|
|
102
|
-
mannequins, and the model copies their stillness unless the prompt says so. Say it in the prompt:
|
|
103
|
-
"its figures are frozen stand-ins and their stillness is not the acting; take only the camera and
|
|
104
|
-
the timing from video 1, and the people perform as written below, moving in every second."
|
|
105
|
-
- **On a model that reads timestamps (Seedance 2.5), write the acting inside every interval,** beside
|
|
106
|
-
the camera and the action, so no range leaves a person without something to do. On a model that
|
|
107
|
-
reads shots instead, give every shot its own acting the same way.
|
|
108
|
-
<!-- @end:living-performance -->
|
|
109
|
-
|
|
110
|
-
## Input conditioning (Slates handles this — know it exists)
|
|
111
|
-
|
|
112
|
-
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.
|
|
113
|
-
|
|
114
|
-
## Content notes
|
|
115
|
-
|
|
116
|
-
- 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 slates-content-policy.
|
|
117
|
-
- Output carries an invisible SynthID watermark (Google-side, programmatic detection only).
|