@slatesvideo/shared 0.7.3 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/analytics/events.d.ts +155 -0
  2. package/dist/analytics/events.js +430 -0
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +4 -0
  5. package/dist/manual/content.d.ts +1 -1
  6. package/dist/manual/content.js +1 -1
  7. package/dist/operations/index.d.ts +88 -82
  8. package/dist/operations/index.js +235 -45
  9. package/dist/operations/surface.js +1 -0
  10. package/dist/prompts/agent-doctrine.js +26 -7
  11. package/dist/prompts/banned-tokens.d.ts +18 -0
  12. package/dist/prompts/banned-tokens.js +59 -4
  13. package/dist/prompts/generation-policy.d.ts +1 -1
  14. package/dist/prompts/model-capabilities.d.ts +3 -3
  15. package/dist/prompts/model-capabilities.js +3 -3
  16. package/dist/prompts/model-facts.d.ts +1 -1
  17. package/dist/prompts/model-facts.js +2 -2
  18. package/dist/prompts/partials.generated.js +1 -1
  19. package/dist/prompts/prompting-tips.js +8 -8
  20. package/dist/prompts/shot-grammar.d.ts +2 -2
  21. package/dist/prompts/shot-grammar.js +2 -2
  22. package/dist/skills/content.js +18 -18
  23. package/dist/update-check.js +1 -1
  24. package/exports/slates-prompt-builder/generated/reference-character.md +2 -2
  25. package/exports/slates-prompt-builder/generated/reference-content-policy.md +3 -3
  26. package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +4 -4
  27. package/exports/slates-prompt-builder/generated/reference-kling.md +5 -6
  28. package/exports/slates-prompt-builder/generated/reference-omni-flash.md +1 -1
  29. package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +15 -15
  30. package/exports/slates-prompt-builder/generated/reference-seedance.md +3 -4
  31. package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +26 -26
  32. package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
  33. package/package.json +5 -2
  34. package/skills/_partials/cinematic-card.md +1 -1
  35. package/skills/_partials/model-routing.md +2 -2
  36. package/skills/slates-character-identity.md +2 -2
  37. package/skills/slates-content-policy.md +3 -3
  38. package/skills/slates-model-selection.md +3 -3
  39. package/skills/slates-prompting-elevenlabs.md +1 -1
  40. package/skills/slates-prompting-flux-2-max.md +1 -2
  41. package/skills/slates-prompting-gpt-image-2-5.md +5 -5
  42. package/skills/slates-prompting-inworld-tts.md +1 -1
  43. package/skills/slates-prompting-kling-v3.md +4 -5
  44. package/skills/slates-prompting-lip-sync.md +5 -8
  45. package/skills/slates-prompting-ltx-2-5.md +2 -2
  46. package/skills/slates-prompting-minimax-h3.md +5 -5
  47. package/skills/slates-prompting-motion-transfer.md +2 -4
  48. package/skills/slates-prompting-omni-flash.md +1 -1
  49. package/skills/slates-prompting-seed-audio.md +1 -1
  50. package/skills/slates-prompting-seedance-2-5.md +19 -19
  51. package/skills/slates-prompting-seedance.md +10 -11
  52. package/skills/slates-prompting-seedream-5-lite.md +2 -3
  53. package/skills/slates-vision-feedback-loop.md +117 -117
@@ -48,7 +48,7 @@ Kuaishou's video model. Three tiers: `kling-v3.0-std` (general use, sound suppor
48
48
 
49
49
  Up to 15s. Multi-shot supported (up to 6 cuts in 15s total). Strong on image-to-video — preserves identity, layout, and text from the input image well.
50
50
 
51
- ## Subject definition rule (verbatim, fal blog)
51
+ ## Subject definition rule (verbatim, published guide)
52
52
 
53
53
  > "Define your core subjects clearly at the beginning of the prompt and keep descriptions consistent across shots."
54
54
 
@@ -112,7 +112,7 @@ SFX accepts physical-cause specificity:
112
112
 
113
113
  ## Image-to-video guidance
114
114
 
115
- **Verbatim (fal blog):**
115
+ **Verbatim (published guide):**
116
116
  > "Treat the input image as an anchor. Kling 3.0 excels at preserving the identity, layout, and text details. Focus prompts on how the scene evolves *from* the image: subtle movements, camera motion, or environmental changes."
117
117
 
118
118
  **Don't re-describe what's already in the image.** Focus on motion, changes, evolution.
@@ -183,7 +183,7 @@ Identity = a few flat-lit neutral angles; one reference per role, named inline;
183
183
 
184
184
  ## Negative prompting — has a real field
185
185
 
186
- Kling exposes `negative_prompt` on the fal endpoint (different from Seedance which has none). Default block to start from:
186
+ Kling exposes `negative_prompt` on the endpoint Slates calls (different from Seedance which has none). Default block to start from:
187
187
 
188
188
  ```
189
189
  blurry, low quality, watermark, text overlay, distorted hands, extra fingers,
@@ -215,7 +215,7 @@ Ambient noise: <soundscape>.
215
215
  Camera <single move>.
216
216
  ```
217
217
 
218
- Cinematic example (paraphrasing fal blog patterns):
218
+ Cinematic example (paraphrasing published guide patterns):
219
219
  > "Shot 1: Wide establishing shot of a neon-lit alleyway in heavy rain, steam rising from grates. Camera slowly tracks forward.
220
220
  > Shot 2: Medium shot of a detective in a trench coat ducking under an awning, water dripping from his hat brim. [Detective: weary, raspy]: 'I knew she'd come back.' Ambient noise: distant traffic, rain on metal.
221
221
  > Shot 3: Close-up on his eyes, narrowing as headlights flash across his face."
@@ -259,7 +259,6 @@ Rules:
259
259
 
260
260
  ## Sources
261
261
 
262
- - [fal.ai — Kling 3.0 Prompting Guide](https://blog.fal.ai/kling-3-0-prompting-guide/)
263
262
  - [Vidguru — Kling 3.0 Omni Guide](https://www.vidguru.ai/blog/kling-3.0-omni-guide.html)
264
263
  - [AcceptPrompt — Kling 3 Prompt Guide](https://www.acceptprompt.com/blog/kling-3-prompt-guide)
265
264
  - [DataCamp — Kling 3.0 Tutorial](https://www.datacamp.com/tutorial/kling-3-0)
@@ -40,7 +40,7 @@ description: "Prepare Kling lip-sync or avatar generation with slates_generate_l
40
40
  <!-- /slates-only -->
41
41
  **Never use** — the avatar prompt is scene context and motion verbs are ignored:
42
42
  - `turns her head`, `raises an eyebrow`, `hand gestures`, `nods`, `walks`
43
- - `reader_en_m-v1` — listed in fal's docs, returns "Voice id not found" in production
43
+ - `reader_en_m-v1` — listed in the API docs, returns "Voice id not found" in production
44
44
  <!-- @banned:end -->
45
45
 
46
46
  **This tool is Kling-only.** It wraps Kling's dedicated lip-sync and avatar endpoints; output follows the source clip for video or the voice track for a still, billed per 5s block.
@@ -60,7 +60,7 @@ Seedance can generate the performance rather than bolting a mouth onto finished
60
60
  That is the same endpoint the old `engine=seedance-2` branch called — it just built the sentence for you, invisibly, and it presupposed a "video 1" that might not exist. Writing the prompt is the whole difference, and it is the part you want control of.
61
61
 
62
62
  - Driving clips must be 2–15s; output duration is whatever you set (4–15s).
63
- - Video references bill COMBINED input+output seconds (`seedance-2*-vref-*` keys); pass the clip duration and quote before confirming. On both Seedance 2.0 and 2.5's AI-face route (EvoLink) the input side counts as at least the output's length: max(input, output) + output.
63
+ - Video references bill COMBINED input+output seconds (`seedance-2*-vref-*` keys); pass the clip duration and quote before confirming. 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.
64
64
  - Faces go through the normal cascade: `seedanceFace` for a character, `[REAL_FACE_DETECTED]` → `seedanceRealFace` + `realFaceConsent` for a real person.
65
65
 
66
66
  Everything below is about the Kling tool.
@@ -114,7 +114,7 @@ Prefer upload for production-quality voice. TTS for fast iteration / placeholder
114
114
 
115
115
  ## Voice catalog (TTS)
116
116
 
117
- Reliable English voices (verified working on the fal endpoint as of 2026):
117
+ Reliable English voices (verified working in Slates as of 2026):
118
118
 
119
119
  | Voice ID | Description |
120
120
  |----------|-------------|
@@ -125,9 +125,9 @@ Reliable English voices (verified working on the fal endpoint as of 2026):
125
125
  | `uk_oldman3` | Older man, UK accent |
126
126
  | `calm_story1` | Storyteller / narrator |
127
127
 
128
- Avoid `reader_en_m-v1` — listed in fal.ai docs but returns "Voice id not found" in production.
128
+ Avoid `reader_en_m-v1` — listed in the API docs but returns "Voice id not found" in production.
129
129
 
130
- Full 48-voice list (ZH, JA, KO included): https://fal.ai/models/fal-ai/kling-video/lipsync/text-to-video/api
130
+ The full list has 48 voices, ZH, JA and KO included.
131
131
 
132
132
  ## Speech-rate notes
133
133
 
@@ -214,6 +214,3 @@ Don't second-guess the source. If the output is wrong, iterate on source choice
214
214
 
215
215
  ## Sources
216
216
 
217
- - [fal.ai — Kling LipSync API](https://fal.ai/models/fal-ai/kling-video/lipsync/text-to-video/api)
218
- - [fal.ai — AI Avatar v2 Standard](https://fal.ai/models/fal-ai/kling-video/ai-avatar/v2/standard/api)
219
- - [fal.ai — AI Avatar v2 Pro](https://fal.ai/models/fal-ai/kling-video/ai-avatar/v2/pro/api)
@@ -154,7 +154,7 @@ A shape that works:
154
154
 
155
155
  ## 5. Camera: write it, don't enumerate it
156
156
 
157
- fal exposes a `camera_motion` enum (dolly in/out/left/right, jib up/down, static, focus shift).
157
+ The endpoint exposes a `camera_motion` enum (dolly in/out/left/right, jib up/down, static, focus shift).
158
158
  **Slates does not surface it, deliberately** — and prose is the better instrument anyway:
159
159
 
160
160
  - **A written move can be tied to a specific moment.** "A slow push-in that settles as she reaches
@@ -175,7 +175,7 @@ Asking for 7s is not a rounding matter — that generation does not exist.
175
175
 
176
176
  **And the long end is 1080p-and-below only.** At 1440p and 4K the ceiling drops to **6, 8 or 10**.
177
177
 
178
- fal's own default is `auto`, which lets the model pick the length from the described action.
178
+ The endpoint's own default is `auto`, which lets the model pick the length from the described action.
179
179
  **Slates always sends an explicit length instead**, so what you choose is what you are billed for.
180
180
  Choose the length the beat needs.
181
181
 
@@ -70,14 +70,14 @@ endpoint: attach a reference and Slates refuses the call rather than dropping it
70
70
  drafts, volume and start-frame coverage, then re-run the keeper on Max or base H3 when it needs
71
71
  references.
72
72
 
73
- **1080p on Max and Turbo is a refinement, not a native render.** fal's schema, verbatim: *"1080P
73
+ **1080p on Max and Turbo is a refinement, not a native render.** The endpoint's schema, verbatim: *"1080P
74
74
  latent refinement from a native 768P source."* It is a different stage from base H3's 2K/4K
75
75
  upscaler, and it costs double the 768p second. Judge a 1080p take against the same shot at 768p
76
76
  before paying for it across a batch.
77
77
 
78
78
  **The speed is measured, not claimed** (2026-08-27, same prompt and params on both rows): a 5-second
79
79
  768p text-to-video finished in **4.8 seconds** on Max against **57 seconds** on base H3 — roughly
80
- **12x**, queue to finished file. fal advertises "under 3 seconds"; the literal claim did not hold at
80
+ **12x**, queue to finished file. The model page advertises "under 3 seconds"; the literal claim did not hold at
81
81
  4.8s wall-clock, but the order of magnitude did. For iteration loops and client-present work that gap
82
82
  is the entire reason the seat exists.
83
83
 
@@ -236,13 +236,13 @@ Identity = a few flat-lit neutral angles; one reference per role, named inline;
236
236
 
237
237
  ### Cite references by number — Slates already does it for you
238
238
 
239
- H3 on fal takes references as **typed slots** and expects the prompt to name them by modality and
239
+ H3 in Slates takes references as **typed slots** and expects the prompt to name them by modality and
240
240
  order: **`image 1`, `image 2`, `video 1`, `audio 1`**. That is exactly what the Slates composer
241
241
  emits from your `@mentions` and `#tags` (`Marcus (image 1) in the workshop (image 2)`), in the
242
242
  exact order it sends them.
243
243
 
244
244
  🚨 **Do NOT hand-write angle-bracket reference tags.** MiniMax's own model-card grammar uses
245
- `<Subject N>` / `<Picture N>` / `<Video N>` / `<Audio N>` labels; the fal endpoints Slates calls do
245
+ `<Subject N>` / `<Picture N>` / `<Video N>` / `<Audio N>` labels; the endpoints Slates calls do
246
246
  not — they build the binding from the typed slots and ask for plain numbered prose. Typing the tags
247
247
  yourself puts literal angle brackets in the prompt the model reads.
248
248
 
@@ -318,7 +318,7 @@ dropping one side.
318
318
 
319
319
  **768p is the default for a reason.** It is the tier the model natively generates.
320
320
 
321
- 🚨 **2K and 4K are UPSCALES of a 768p render, not larger generations.** fal's own schema says so:
321
+ 🚨 **2K and 4K are UPSCALES of a 768p render, not larger generations.** The endpoint's own schema says so:
322
322
  *"480P and 768P are native generation modes; 2K and 4K upscale a 768P base result."* The upscaler
323
323
  (H3-Regenerate-2K) is a separate stage bolted onto a finished take — it can enlarge detail but it
324
324
  cannot add information.
@@ -64,8 +64,8 @@ movement from video 1. Preserve the character's identity, appearance, and outfit
64
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
65
 
66
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 both Seedance 2.0 and 2.5's AI-face route (EvoLink) the input side counts as at least the output's length: max(input, output) + output.
68
- - **Faces route through the face cascade**: `seedanceFace` for a character, `[REAL_FACE_DETECTED]` → confirm consent → `seedanceRealFace=true, realFaceConsent=true` (premium realface vref pricing).
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
69
  - `characterOrientation` has no Seedance equivalent; framing follows the prompt + `aspectRatio`.
70
70
 
71
71
  Everything below is about the Kling tool.
@@ -200,5 +200,3 @@ Don't second-guess the assets the user picked — the model executes the transfe
200
200
 
201
201
  ## Sources
202
202
 
203
- - [fal.ai — Kling Motion Control V3 Standard](https://fal.ai/models/fal-ai/kling-video/v3/standard/motion-control)
204
- - [fal.ai — Kling Motion Control V3 Pro](https://fal.ai/models/fal-ai/kling-video/v3/pro/motion-control)
@@ -46,7 +46,7 @@ description: "Prompt Gemini Omni Flash video generation or Omni Flash edits (omn
46
46
  - harm-to-person framing: `ignite`, `catch fire`, `on fire` applied to a person trips the safety filter
47
47
  <!-- @banned:end -->
48
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). Carried on fal (`google/gemini-omni-flash*`). 720p only, 24fps, 3–10 second clips, 16:9 or 9:16. **Audio is native and included** — dialogue, SFX, and ambient generate WITH the video at no extra cost.
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). 720p only, 24fps, 3–10 second clips, 16:9 or 9:16. **Audio is native and included** — dialogue, SFX, and ambient generate WITH the video at no extra cost.
50
50
 
51
51
  ## Where it routes
52
52
 
@@ -43,7 +43,7 @@ description: "Prompt Seed Audio 1.0 (seed-audio) with slates_generate_audio. Cov
43
43
  - shot language: `wide shot`, `slow push in`, `warm tungsten` — camera and lighting words are video-prompt words the model has to ignore
44
44
  <!-- @banned:end -->
45
45
 
46
- ByteDance's one-pass audio scene model, carried on fal (`bytedance/seed-audio-1.0`). It generates dialogue, sound effects and ambience **together**, from a single plain sentence. Use the generated duration bounds below and the current catalogue for routing; it is useful for continuity beds.
46
+ ByteDance's one-pass audio scene model. It generates dialogue, sound effects and ambience **together**, from a single plain sentence. Use the generated duration bounds below and the current catalogue for routing; it is useful for continuity beds.
47
47
 
48
48
  <!-- @inject:thresholds -->
49
49
  <!-- GENERATED from @slatesvideo/shared — do not edit between the markers.
@@ -129,15 +129,15 @@ Worked, at the shipped rates:
129
129
  | 2.5 · 720p · 5s · faceless | 58 |
130
130
  | 2.5 · 1080p · 5s · faceless | 142 |
131
131
  | 2.5 · 720p · 30s · faceless | 347 |
132
- | 2.5 · 720p · 30s · AI-face route | **489** |
133
- | 2.5 · 720p · 30s · consented real-face route | **710** |
132
+ | 2.5 · 720p · 30s · Face | **489** |
133
+ | 2.5 · 720p · 30s · consented real person | **710** |
134
134
  | 2.5 · 1080p · 30s · faceless | **853** |
135
- | 2.5 · 1080p · 30s · consented real-face route | **1,749** |
136
- | *(for scale)* 2.0 · 1080p · 15s · AI-face route | 411 |
135
+ | 2.5 · 1080p · 30s · consented real person | **1,749** |
136
+ | *(for scale)* 2.0 · 1080p · 15s · Face | 411 |
137
137
 
138
138
  **A 30-second 720p clip can cost more than a 15-second 1080p one** — and a base licence starts
139
- with 1,000 credits. Someone who reads "720p" as "cheap" and asks for a 30-second take on the
140
- real-face route has spent 71% of their welcome grant on one clip; **on the real-face route a single
139
+ with 1,000 credits. Someone who reads "720p" as "cheap" and asks for a 30-second take of a
140
+ consented real person has spent 71% of their welcome grant on one clip; **for a real person a single
141
141
  30-second 1080p take is more than the whole grant.**
142
142
 
143
143
  **Discipline:**
@@ -232,13 +232,13 @@ That makes one recipe possible that was not before: drive a scene's timing, voic
232
232
  a recording with no visual anchor at all — a voice line, a music bed, a room tone — and let the
233
233
  model build the picture to it. Cite it the same way as any other reference
234
234
  (`Reference the timbre in <Audio_N> to generate…`), and remember that audio references carry **no
235
- billing dimension** on any Seedance route: audio is included.
235
+ billing dimension** on any Seedance row: audio is included.
236
236
 
237
237
  ### Video references
238
238
 
239
239
  Up to 10 clips, ≤30s combined (2.0: 3 clips, ≤15s). A reference VIDEO switches the cost key to
240
- `seedance-2.5*-vref-{res}-{T}s`, where **T = Σ input seconds + output seconds** on faceless and real-face routes;
241
- on the AI-face route, **T = max(Σ input seconds, output seconds) + output seconds** on both 2.0 and 2.5. The sum is across
240
+ `seedance-2.5*-vref-{res}-{T}s`, where **T = Σ input seconds + output seconds** without Face and for a consented real person;
241
+ on a Face row, **T = max(Σ input seconds, output seconds) + output seconds** on both 2.0 and 2.5. The sum is across
242
242
  **every** clip attached, not just the longest. Three 6-second references on a 12-second output bills
243
243
  30 seconds, not 12 and not 18. Quote before confirming.
244
244
 
@@ -295,7 +295,7 @@ the citation, not a fallback — *"use her face and wardrobe from image 1, not i
295
295
  background"* is a stronger instruction than naming the positive alone, because an unscoped reference
296
296
  brings its whole frame with it.
297
297
 
298
- **BytePlus documents disagree on reference sigils.** Its API tutorial says *"Use `@Image 1`,
298
+ **ByteDance's documents disagree on reference sigils.** Its API tutorial says *"Use `@Image 1`,
299
299
  `@Video 1`, and `@Audio 1`"*, while its 2.5 prompt guide uses the bare form
300
300
  (`Image 1 / Video 1 / Audio 1`) in its normative sentence. Both are first-party sources; the
301
301
  bare form is confirmed working on both Seedance models. Use the syntax accepted by the endpoint
@@ -336,12 +336,12 @@ Kling O3 Edit is the one that takes element and style reference images.
336
336
  (ByteDance recommends 1–5 — *"replace the man in dark clothing in @Video 1 with @Image 2"*);
337
337
  **Slates has not wired that path**, so today an edit that must lock an identity from a photo
338
338
  goes to Kling O3 Edit. Constraint of our build, not of the model — worth revisiting.
339
- - **An edit costs about 1.2x a plain 2.5 generation of the same length**: every Seedance provider
340
- charges an edit on input + output seconds, at the reduced video-reference rate. Read the confirm
339
+ - **An edit costs about 1.2x a plain 2.5 generation of the same length**: every Seedance edit
340
+ is charged on input + output seconds, at the reduced video-reference rate. Read the confirm
341
341
  gate's number; do not reason from the generation rate.
342
- - **Set `seedanceFace: true` when a character's face is visible in the clip.** The faceless provider
343
- blocks faces outright — this is not a price optimisation, it is whether the job runs at all.
344
- - **There is no consented-real-face route for editing.** Real-person footage that the AI-face route
342
+ - **Set `seedanceFace: true` when a character's face is visible in the clip.** Without it, a
343
+ face is blocked outright — this is not a price optimisation, it is whether the job runs at all.
344
+ - **There is no consented real-person option for editing.** Real-person footage that the Face edit
345
345
  rejects has to go to Kling O3 Edit.
346
346
 
347
347
  **Prompting an edit** — the same discipline as every other edit engine: **describe only what
@@ -371,11 +371,11 @@ not a lip-sync job. Bill it like any other edit — on the source clip's length.
371
371
  ## Faces, and what does NOT change
372
372
 
373
373
  <!-- slates-only -->
374
- The three-tier face routing is identical to 2.0 — faceless → default route, an AI character's face →
375
- `seedanceFace: true` (the relaxed provider, a real cost premium), a real person's photo → the
376
- consent-gated real-person route after a `[REAL_FACE_DETECTED]` rejection, with `realFaceConsent: true`
374
+ The three face tiers are identical to 2.0 — faceless → leave Face off, an AI character's face →
375
+ `seedanceFace: true` (a real cost premium), a real person's photo → the
376
+ consent-gated real-person option after a `[REAL_FACE_DETECTED]` rejection, with `realFaceConsent: true`
377
377
  set **only** after the user explicitly confirms they hold the rights to the likeness. The full rules,
378
- including why the real-vs-AI call is the provider's and not yours, are in
378
+ including why the real-vs-AI call is the model's and not yours, are in
379
379
  `slates-prompting-seedance`.
380
380
  <!-- /slates-only -->
381
381
 
@@ -31,10 +31,10 @@ description: "Prompt Seedance 2.0 (seedance-2), and retrieve the shared Seedance
31
31
  **Hard constraint:** NO timestamps — 2.0 ignores them and answers only to shot numbers (2.5 acts on them). No lens, aperture, film stock or camera body: that is image-model vocabulary and a Seedance anti-pattern. There is no negativePrompt field.
32
32
  <!-- @card:end -->
33
33
 
34
- ByteDance's video model — first-party via **BytePlus ModelArk** (credits only, no BYOK). Audio always generated alongside the video. Single model `seedance-2` across the full resolution ladder (480p / 720p / 1080p / native 4K — 4K video is Pro-only, default 1080p), 4–15s, first+last frame, and up to 9 reference images / 3 videos / 3 audio clips.
34
+ ByteDance's video model, on Slates credits. Audio always generated alongside the video. Single model `seedance-2` across the full resolution ladder (480p / 720p / 1080p / native 4K — 4K video is Pro-only, default 1080p), 4–15s, first+last frame, and up to 9 reference images / 3 videos / 3 audio clips.
35
35
 
36
36
  > **How to read this file.**
37
- > **[official :NNNN]** — ByteDance's own BytePlus ModelArk prompting guide, line `NNNN` of the archived doc dump (`research/byteplus-seedance-2-0-api-docs.md`). Receipt-grade; treat as law.
37
+ > **[official :NNNN]** — ByteDance's own Seedance prompting guide, line `NNNN` of the archived doc dump (`research/byteplus-seedance-2-0-api-docs.md`). Receipt-grade; treat as law.
38
38
  > **[community]** — third-party guides and our own field notes. Useful, but an `[official]` block always wins.
39
39
  > **[slates]** — how the Slates app composes or bills this; not ByteDance doctrine.
40
40
  >
@@ -256,22 +256,22 @@ These aren't separate Seedance features; they're prompting strategies over refer
256
256
  - **Lip-sync / dialogue:** write the line in the prompt — `The person in video 1 says: "…"` — with audio generation on (always on in Slates). A **video** source's own voice is cloned natively; an **audio** reference (≤15s) drives speech from an existing recording: `…speaks the dialogue from audio 1 with accurate lip sync.`
257
257
  - **Voice + face from one clip (the talking-head recipe):** ONE unedited 2–15s clip of the person speaking (clear voice, no music, no cuts) as the video reference + prompt with the new script → their likeness AND voice deliver the new line.
258
258
  <!-- slates-only -->
259
- - **Billing:** a reference VIDEO switches the cost key to `seedance-2*-vref-{res}-{T}s` where T = combined clip seconds + output seconds on faceless and real-face routes. The AI-face route bills max(combined input, output) + output on both 2.0 and 2.5; quote before confirming. Audio references are free (audio is included on every route).
259
+ - **Billing:** a reference VIDEO switches the cost key to `seedance-2*-vref-{res}-{T}s` where T = combined clip seconds + output seconds without Face and for a consented real person. A Face row bills max(combined input, output) + output on both 2.0 and 2.5; quote before confirming. Audio references are free (audio is included on every row).
260
260
  <!-- /slates-only -->
261
261
 
262
262
  <!-- slates-only -->
263
263
  ## Faces — set `seedanceFace` for AI-character faces
264
264
 
265
- Seedance routes through **three tiers** depending on the face in the reference, exposed as the "Face in Reference" toggle plus the real-face params on `slates_generate_video`:
265
+ Seedance has **three face tiers** depending on the face in the reference, exposed as the "Face in Reference" toggle plus the real-face params on `slates_generate_video`:
266
266
 
267
- - **Faceless / object / environment refs → default route (cheapest).** Leave `seedanceFace` off.
268
- - **An AI-character's FACE in a reference → `seedanceFace: true`.** The default route's baseline moderation rejects or degrades faces, so this reroutes to the face-capable provider. It costs **~45% more** — the cost key becomes `seedance-2-face-{res}-{N}s`, so the pre-flight quote already reflects it. Announce the face-route price, not the faceless one.
269
- - **A REAL person's photo (the user themselves, an actor) → the consent-gated real-person route.** If a `seedanceFace` gen fails with `[REAL_FACE_DETECTED]`, the provider classified the reference as a real person: confirm with the user that (a) they hold the rights/consent to the likeness and (b) they accept the higher price (cost key `seedance-2-realface-{res}-{N}s`, about 1.4× the AI-face rate, about 2× faceless; quote via `slates_estimate_generation_cost`), then retry with `seedanceRealFace: true` + `realFaceConsent: true`. Never set `realFaceConsent` without the user's explicit confirmation.
267
+ - **Faceless / object / environment refs → Face off (cheapest).** Leave `seedanceFace` off.
268
+ - **An AI-character's FACE in a reference → `seedanceFace: true`.** Without it, moderation rejects or degrades faces. It costs **~45% more** — the cost key becomes `seedance-2-face-{res}-{N}s`, so the pre-flight quote already reflects it. Announce the Face price, not the faceless one.
269
+ - **A REAL person's photo (the user themselves, an actor) → the consent-gated real-person option.** If a `seedanceFace` gen fails with `[REAL_FACE_DETECTED]`, the model classified the reference as a real person: confirm with the user that (a) they hold the rights/consent to the likeness and (b) they accept the higher price (cost key `seedance-2-realface-{res}-{N}s`, about 1.4× the AI-face rate, about 2× faceless; quote via `slates_estimate_generation_cost`), then retry with `seedanceRealFace: true` + `realFaceConsent: true`. Never set `realFaceConsent` without the user's explicit confirmation.
270
270
 
271
271
  Rules:
272
- - **The real-vs-AI call is the PROVIDER'S, not yours.** ByteDance's classifier is probabilistic — some real photos pass the standard face route (billed at the cheap rate; fine), others get rejected with `[REAL_FACE_DETECTED]` (auto-refunded). Don't preemptively route to the real-face tier just because a photo looks real; try `seedanceFace: true` first and escalate only on the marked rejection. Public figures / celebrities fail on every route.
272
+ - **The real-vs-AI call is the MODEL'S, not yours.** ByteDance's classifier is probabilistic — some real photos pass on Face (billed at the cheap rate; fine), others get rejected with `[REAL_FACE_DETECTED]` (auto-refunded). Don't preemptively escalate to the real-person tier just because a photo looks real; try `seedanceFace: true` first and escalate only on the marked rejection. Public figures / celebrities fail on every tier.
273
273
  - It's about the **reference, not the output.** If your character identity or generated portrait shows a face, turn it on. A product shot with no person stays off.
274
- - Don't toggle it on "just in case" — a faceless gen on the face route burns ~45% extra for nothing.
274
+ - Don't toggle it on "just in case" — a faceless gen on Face burns ~45% extra for nothing.
275
275
  <!-- /slates-only -->
276
276
 
277
277
  ## Reference rules (the verified ones)
@@ -428,9 +428,8 @@ Stability phrases that help:
428
428
  ## Sources
429
429
 
430
430
  **Official (authoritative):**
431
- - BytePlus ModelArk — Seedance 2.0 prompting guide, archived at `research/byteplus-seedance-2-0-api-docs.md` (all `:NNNN` refs above)
431
+ - ByteDance — Seedance 2.0 prompting guide, archived at `research/byteplus-seedance-2-0-api-docs.md` (all `:NNNN` refs above)
432
432
 
433
433
  **Community (secondary):**
434
- - [fal.ai — How to Use Seedance 2.0](https://fal.ai/learn/tools/how-to-use-seedance-2-0)
435
434
  - [apiyi.com — Seedance 2.0 Prompt Guide](https://help.apiyi.com/en/seedance-2-0-prompt-guide-video-generation-camera-style-tips-en.html)
436
435
  - [atlabs.ai — Ultimate Seedance 2.0 Prompting Guide](https://www.atlabs.ai/blog/the-ultimate-seedance-2.0-prompting-guide-47-prompts-2026)
@@ -54,7 +54,7 @@ Bind references inline. A scene reference owns the grade; for a look-only refere
54
54
  - `Professional headshot of a female CEO, short blonde hair, confident expression, navy suit, neutral office background. Studio lighting, shallow depth of field, high-end corporate photography, shot on 85mm.`
55
55
  - `A rain-soaked night market stall, cinematic, rule of thirds with the vendor camera-right, foreground steam blurred, moody low-key lighting with practical neon, shot on 35mm.`
56
56
 
57
- ByteDance's Seedream image model, Lite tier, routed via fal.ai. In Slates: `slates_generate_image` with `model: seedream-5-lite` (REQUIRES projectId; no headless path). **Flat-priced regardless of resolution**, the cheapest flat-priced seat in Slates, which makes it a useful choice for high-volume drafting, storyboard exploration, and variant grids. Call `slates_estimate_generation_cost` for the current number; never quote prices from memory. Less censored than Nano Banana 2.
57
+ ByteDance's Seedream image model, Lite tier. In Slates: `slates_generate_image` with `model: seedream-5-lite` (REQUIRES projectId; no headless path). **Flat-priced regardless of resolution**, the cheapest flat-priced seat in Slates, which makes it a useful choice for high-volume drafting, storyboard exploration, and variant grids. Call `slates_estimate_generation_cost` for the current number; never quote prices from memory. Less censored than Nano Banana 2.
58
58
 
59
59
  **When to pick it:** lots of frames cheap (storyboard passes, 3-4 variant exploration), posters/layouts with text, quick look-dev. Step up to NB2 or FLUX.2 Max for the locked hero shot.
60
60
 
@@ -119,5 +119,4 @@ Flat pricing supports iteration: draft, evaluate inline, diagnose one specific d
119
119
 
120
120
  ## Sources
121
121
 
122
- - [fal.ai — Seedream Prompt Guide](https://fal.ai/learn/devs/seedream-v4-5-prompt-guide)
123
- - [BytePlus ModelArk — Seedream Prompt Guide](https://docs.byteplus.com/en/docs/ModelArk/1829186)
122
+ - [ByteDance — Seedream Prompt Guide](https://docs.byteplus.com/en/docs/ModelArk/1829186)
@@ -1,118 +1,118 @@
1
- ---
2
- name: slates-vision-feedback-loop
3
- description: "Inspect generated media against the brief, diagnose defects and choose a targeted correction. Use during production or iteration; covers reference review, image defects and model-specific failure receipts."
4
- ---
5
-
6
- # Vision feedback loop — Slates utility skill
7
-
8
- Slates returns generated images inline as base64. You see the actual pixels. Use that — don't trust prompt-following blindly.
9
-
10
- ## Asset codes are your shared vocabulary with the user
11
-
12
- Every asset in Slates has a short stable code (e.g. `IMG-A12`, `VID-V3`, `AUD-S1`) and a label derived from its prompt (e.g. `Beach Sunset`). These are visible in the gallery as a corner badge on each thumbnail. **Always refer to assets by their code in chat** so the user can match what you're saying to a specific card in their gallery.
13
-
14
- - ✅ "I'm using **IMG-A12 — Beach Sunset** as the first frame. The second-frame candidate **IMG-A15** has the right composition but warmer light — want me to use that one instead?"
15
- - ❌ "I'm using the beach sunset image..." (user has four beach sunset variants — which one?)
16
- - ❌ "I'm using asset `7a3f9e4b-...`" (UUIDs aren't readable; user can't match to a badge)
17
-
18
- The code is the FORMAL reference. The label is human texture. Use both: `IMG-A12 — Beach Sunset`.
19
-
20
- ## Vision tools at your disposal
21
-
22
- - `slates_get_asset_image` — pull one image into context. Returns its code+label.
23
- - `slates_get_assets_batch` — pull up to 8 images in one call. Use when picking from a candidate set; cheaper than N individual fetches.
24
- - `slates_get_asset_video_frames` — extract N keyframes (default 3) from a video and inline them as JPEGs. These sampled stills support appearance, framing and identity checks. They do not verify continuous motion, lip sync or sound. Use actual playback or an audio-capable host for those claims when available; otherwise report them unreviewed and retain the saved asset.
25
-
26
- ## Pre-flight is automatic on the gen tools
27
-
1
+ ---
2
+ name: slates-vision-feedback-loop
3
+ description: "Inspect generated media against the brief, diagnose defects and choose a targeted correction. Use during production or iteration; covers reference review, image defects and model-specific failure receipts."
4
+ ---
5
+
6
+ # Vision feedback loop — Slates utility skill
7
+
8
+ Slates returns generated images inline as base64. You see the actual pixels. Use that — don't trust prompt-following blindly.
9
+
10
+ ## Asset codes are your shared vocabulary with the user
11
+
12
+ Every asset in Slates has a short stable code (e.g. `IMG-A12`, `VID-V3`, `AUD-S1`) and a label derived from its prompt (e.g. `Beach Sunset`). These are visible in the gallery as a corner badge on each thumbnail. **Always refer to assets by their code in chat** so the user can match what you're saying to a specific card in their gallery.
13
+
14
+ - ✅ "I'm using **IMG-A12 — Beach Sunset** as the first frame. The second-frame candidate **IMG-A15** has the right composition but warmer light — want me to use that one instead?"
15
+ - ❌ "I'm using the beach sunset image..." (user has four beach sunset variants — which one?)
16
+ - ❌ "I'm using asset `7a3f9e4b-...`" (UUIDs aren't readable; user can't match to a badge)
17
+
18
+ The code is the FORMAL reference. The label is human texture. Use both: `IMG-A12 — Beach Sunset`.
19
+
20
+ ## Vision tools at your disposal
21
+
22
+ - `slates_get_asset_image` — pull one image into context. Returns its code+label.
23
+ - `slates_get_assets_batch` — pull up to 8 images in one call. Use when picking from a candidate set; cheaper than N individual fetches.
24
+ - `slates_get_asset_video_frames` — extract N keyframes (default 3) from a video and inline them as JPEGs. These sampled stills support appearance, framing and identity checks. They do not verify continuous motion, lip sync or sound. Use actual playback or an audio-capable host for those claims when available; otherwise report them unreviewed and retain the saved asset.
25
+
26
+ ## Pre-flight is automatic on the gen tools
27
+
28
28
  `slates_generate_video` and `slates_generate_image` show you their reference assets **inline** on the confirm response. You don't need to fetch them yourself, but you DO need to look at what comes back, revise the prompt if the references suggest a different motion/framing, and only then re-call with `confirm=true`.
29
-
30
- ## 🔴 The still-gate — never animate a bad frame
31
-
32
- <!-- @inject:still-gate -->
33
- **Inspect a start frame before animating it.** Repair a visible defect that would make the intended crop or performance unusable before spending on motion. A clean frame can be animated whenever the brief calls for movement; this check does not require an image stage for text-to-video.
34
-
35
- This is a cost rule as well as craft: a premium video call can cost many times an image correction. Broken geometry can turn to mush, oily textures can crawl and malformed objects can fall apart in motion. Fix a known source defect at the source instead of buying a more expensive copy. Judge intentional stylisation against the brief, not a universal photoreal standard. Additional image or video requests still follow the existing generation authorization.
36
- <!-- @end:still-gate -->
37
-
38
- ## The pattern
39
-
40
- 1. **Generate.** Call `slates_generate_image` with a prompt. The result is in your context as an image content block.
41
- 2. **Evaluate on TWO axes — they are different questions:**
42
- - **Brief-conformance** — what did the user actually want? Are the elements right? Composition? Lighting? Subject identity?
43
- - **Defects** — run the slop rubric below. *A frame can match the brief perfectly and still be slop that mushes the moment it moves.* Checking only the first axis is how a bad frame reaches an expensive video call.
44
- 3. **One of three outcomes:**
45
- - **Right** → save it (bind to a frame, character slot, etc.) and move on.
46
- - **Close, but adjustable** → refine with a specific delta, regenerate **once**.
47
- - **Wrong direction** → diagnose the failed requirement. Refine within the supplied brief and existing authorization; ask only when the creative intent is unresolved or the next request needs fresh consent.
48
-
49
- ## The defect rubric — five slop tells
50
-
51
- | Tell | What it looks like | Why it matters downstream |
52
- |---|---|---|
53
- | **Light with no transitions** | Flat-black pits instead of a shadow ramp; light that stops rather than falls off | Transfers onto every character or object added into that plate later |
54
- | **Broken-but-plausible objects** | Crates, railings, hardware, mechanisms you can *almost* read but that don't resolve | Turn to mush in motion, and the model multiplies them |
55
- | **Local logic breaks** | An effect present in only part of the frame — rain scratching one corner, wet ground under one figure | The video model's physical logic breaks along with it |
56
- | **Oily textures** | Soapy, licked-smooth surfaces that have lost their material identity | Reflections crawl in motion; the plate can't hold continuity |
57
- | **Too perfect** | A soft light on the face that nothing in the scene could cast, the subject sharper and cleaner than everything around them, every region exposed to be readable, colour pushed warm and saturated | It reads as a subject pasted onto a location, and every shot built from the plate inherits the studio look. Fix it in words: `slates-cinematic-look` |
58
-
59
- ### Per-model accents — check the one you actually used
60
-
61
- - **Nano Banana Pro** (`nano-banana-pro`) — ruler-straight symmetry, everything parallel and square, flat even light, pretty but staged/stock, textures reading as 3D render rather than photograph. **It hyperbolizes every edit**: ask for graffiti on one wall and the whole location gets tagged.
62
- - **GPT Image** (`gpt-image-2-5-flare`, `gpt-image-2-5-sunburst`) — microcontrast to the ceiling, hard halos on every edge, no depth or bokeh, white balance pulled warm until the frame yellows, plastic licked-smooth materials. Worst tell: **one sickly texture pattern laid over the entire frame**. ⚠️ Catalogued on `gpt-image-2`, which 2.5 replaced on 2026-09-09 — an accent is a per-model observation, so treat this as a prior to check rather than a finding, and correct it here the first time a 2.5 frame disagrees.
63
-
64
- > ⚠️ These are accents for **`nano-banana-pro`** and the **GPT Image** line specifically. `nano-banana-2` is a **different model** (Gemini 3.1 Flash Image vs NB Pro's Gemini 3 Pro Image) and we have **no evidence** about its accent. Do not inherit one — say nothing rather than warn about a failure mode you can't substantiate. That caution applies to the GPT Image entry above too: it was measured on `gpt-image-2`, not on either 2.5 seat.
65
-
66
- ## Where the fault lives — triage before you change anything
67
-
68
- We say "one specific delta per regeneration" but that only helps once you know *which* variable to move. Diagnose first:
69
-
70
- | Visible pattern | Diagnosis | Fix |
71
- |---|---|---|
72
- | The defect exists in the source asset, or stays tied to the same feature when the direction changes | **Source asset** | Fix the sheet / plate, not the prompt |
73
- | Source is clean, and the defect changes when only the suspect motion clause changes | **Motion direction** | Fix the prompt |
74
- | Controls conflict, or the failure follows neither variable | **Inconclusive** | Narrow the test — change less, not more |
75
-
76
- **Review routes; it is not pass/fail.** Geography melts → fix the location. Identity drifts → fix the character sheet. Assets are sound but the action is wrong → fix the video direction. Wrong idea entirely → reopen the brief with the user.
77
-
78
- **Correct the earliest broken handoff.** Polishing a downstream symptom hides the source and guarantees it resurfaces in the next shot built from the same asset.
79
-
80
- ## Baseline hygiene — isolate the variable you're testing
81
-
82
- When the **character** is the question, keep the location out of it: test on a plate that already holds its own geometry, depth, materials, and light. **A broken plate gives every character failure a second plausible cause**, and you will spend re-rolls deciding which one you're looking at. The same applies in reverse — test a plate empty before you populate it.
83
-
84
- ## Refinement rules
85
-
86
- - **One specific delta per regeneration.** Don't change five things at once — you won't know what helped.
87
- - **A fresh generation needs a complete coherent prompt.** Change one decision and retain the unchanged requirements so old and new clauses do not conflict. An edit request uses its model's change-only grammar instead; do not turn a surgical edit into a full scene re-description.
88
- - On **Seedance**, retain the selected model's structure: shot numbers for 2.0, whole-second timing where used for 2.5. See the matching model guide.
89
- - **Exception — Omni Flash Edit.** Long prompts documentedly destroy its fidelity. There the rule inverts: one short instruction plus *"Keep everything else the same."*
90
- - **Anchor with references.** If the result drifted from the user's intent, attach the *previous best* generation as a reference image alongside the original brief.
91
- - **Use `slates_get_asset_image`** to pull a previously-generated image back into context if you need to compare against a fresh generation.
92
- - **Use `slates_edit_image`** for surgical tweaks instead of full regeneration when ~90% of the image is right — `sourceAssetId` = the asset, `prompt` = the change only. Edits preserve composition and identity; full regen rolls the dice. Recipe: `slates-edit-and-iterate`.
93
-
94
- ## Cost discipline
95
-
96
- - Track total credits spent across the loop. Surface to the user every 3 iterations.
97
- - Use the repeated-failure checkpoint below; do not keep submitting an unchanged failed request.
98
- - **Follow the existing consent for every attempt.** An approved enumerated batch covers its listed calls. A retry or changed input outside that batch needs a new quote and the applicable confirmation; a timeout requires a status check before another submission.
99
-
100
- <!-- @inject:iteration-diagnosis -->
101
- ## Diagnose repeated failures
102
-
103
- 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.
104
-
105
- 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.
106
- <!-- @end:iteration-diagnosis -->
107
-
108
- ## When to break the loop
109
-
110
- - The user said "good enough" or "ship it." Stop iterating.
111
- - Repeated attempts show no progress. Diagnose the source, prompt or model before spending again; apply the scoped retry rule above.
112
- - The user changes brief mid-loop. Treat it as a new brief, not a continuation.
113
-
114
- ## Voice when narrating to the user
115
-
116
- Tight, observational, no editorializing.
117
- - ✅ "Frame 2 has the wrong lighting direction — back-lit instead of side. Regenerating with side light."
118
- - ❌ "I notice that the lighting in frame 2 isn't quite what we were going for. I'll go ahead and try again with a different approach."
29
+
30
+ ## 🔴 The still-gate — never animate a bad frame
31
+
32
+ <!-- @inject:still-gate -->
33
+ **Inspect a start frame before animating it.** Repair a visible defect that would make the intended crop or performance unusable before spending on motion. A clean frame can be animated whenever the brief calls for movement; this check does not require an image stage for text-to-video.
34
+
35
+ This is a cost rule as well as craft: a premium video call can cost many times an image correction. Broken geometry can turn to mush, oily textures can crawl and malformed objects can fall apart in motion. Fix a known source defect at the source instead of buying a more expensive copy. Judge intentional stylisation against the brief, not a universal photoreal standard. Additional image or video requests still follow the existing generation authorization.
36
+ <!-- @end:still-gate -->
37
+
38
+ ## The pattern
39
+
40
+ 1. **Generate.** Call `slates_generate_image` with a prompt. The result is in your context as an image content block.
41
+ 2. **Evaluate on TWO axes — they are different questions:**
42
+ - **Brief-conformance** — what did the user actually want? Check the four edges first: a subject cut off by the frame (a lighthouse missing its lantern, a head cropped at the brow) is a defect unless the brief asked for that crop. Then: are the elements right? Composition? Lighting? Subject identity?
43
+ - **Defects** — run the slop rubric below. *A frame can match the brief perfectly and still be slop that mushes the moment it moves.* Checking only the first axis is how a bad frame reaches an expensive video call.
44
+ 3. **One of three outcomes:**
45
+ - **Right** → save it (bind to a frame, character slot, etc.) and move on.
46
+ - **Close, but adjustable** → refine with a specific delta, regenerate **once**.
47
+ - **Wrong direction** → diagnose the failed requirement. Refine within the supplied brief and existing authorization; ask only when the creative intent is unresolved or the next request needs fresh consent.
48
+
49
+ ## The defect rubric — five slop tells
50
+
51
+ | Tell | What it looks like | Why it matters downstream |
52
+ |---|---|---|
53
+ | **Light with no transitions** | Flat-black pits instead of a shadow ramp; light that stops rather than falls off | Transfers onto every character or object added into that plate later |
54
+ | **Broken-but-plausible objects** | Crates, railings, hardware, mechanisms you can *almost* read but that don't resolve | Turn to mush in motion, and the model multiplies them |
55
+ | **Local logic breaks** | An effect present in only part of the frame — rain scratching one corner, wet ground under one figure | The video model's physical logic breaks along with it |
56
+ | **Oily textures** | Soapy, licked-smooth surfaces that have lost their material identity | Reflections crawl in motion; the plate can't hold continuity |
57
+ | **Too perfect** | A soft light on the face that nothing in the scene could cast, the subject sharper and cleaner than everything around them, every region exposed to be readable, colour pushed warm and saturated | It reads as a subject pasted onto a location, and every shot built from the plate inherits the studio look. Fix it in words: `slates-cinematic-look` |
58
+
59
+ ### Per-model accents — check the one you actually used
60
+
61
+ - **Nano Banana Pro** (`nano-banana-pro`) — ruler-straight symmetry, everything parallel and square, flat even light, pretty but staged/stock, textures reading as 3D render rather than photograph. **It hyperbolizes every edit**: ask for graffiti on one wall and the whole location gets tagged.
62
+ - **GPT Image** (`gpt-image-2-5-flare`, `gpt-image-2-5-sunburst`) — microcontrast to the ceiling, hard halos on every edge, no depth or bokeh, white balance pulled warm until the frame yellows, plastic licked-smooth materials. Worst tell: **one sickly texture pattern laid over the entire frame**. ⚠️ Catalogued on `gpt-image-2`, which 2.5 replaced on 2026-09-09 — an accent is a per-model observation, so treat this as a prior to check rather than a finding, and correct it here the first time a 2.5 frame disagrees.
63
+
64
+ > ⚠️ These are accents for **`nano-banana-pro`** and the **GPT Image** line specifically. `nano-banana-2` is a **different model** (Gemini 3.1 Flash Image vs NB Pro's Gemini 3 Pro Image) and we have **no evidence** about its accent. Do not inherit one — say nothing rather than warn about a failure mode you can't substantiate. That caution applies to the GPT Image entry above too: it was measured on `gpt-image-2`, not on either 2.5 seat.
65
+
66
+ ## Where the fault lives — triage before you change anything
67
+
68
+ We say "one specific delta per regeneration" but that only helps once you know *which* variable to move. Diagnose first:
69
+
70
+ | Visible pattern | Diagnosis | Fix |
71
+ |---|---|---|
72
+ | The defect exists in the source asset, or stays tied to the same feature when the direction changes | **Source asset** | Fix the sheet / plate, not the prompt |
73
+ | Source is clean, and the defect changes when only the suspect motion clause changes | **Motion direction** | Fix the prompt |
74
+ | Controls conflict, or the failure follows neither variable | **Inconclusive** | Narrow the test — change less, not more |
75
+
76
+ **Review routes; it is not pass/fail.** Geography melts → fix the location. Identity drifts → fix the character sheet. Assets are sound but the action is wrong → fix the video direction. Wrong idea entirely → reopen the brief with the user.
77
+
78
+ **Correct the earliest broken handoff.** Polishing a downstream symptom hides the source and guarantees it resurfaces in the next shot built from the same asset.
79
+
80
+ ## Baseline hygiene — isolate the variable you're testing
81
+
82
+ When the **character** is the question, keep the location out of it: test on a plate that already holds its own geometry, depth, materials, and light. **A broken plate gives every character failure a second plausible cause**, and you will spend re-rolls deciding which one you're looking at. The same applies in reverse — test a plate empty before you populate it.
83
+
84
+ ## Refinement rules
85
+
86
+ - **One specific delta per regeneration.** Don't change five things at once — you won't know what helped.
87
+ - **A fresh generation needs a complete coherent prompt.** Change one decision and retain the unchanged requirements so old and new clauses do not conflict. An edit request uses its model's change-only grammar instead; do not turn a surgical edit into a full scene re-description.
88
+ - On **Seedance**, retain the selected model's structure: shot numbers for 2.0, whole-second timing where used for 2.5. See the matching model guide.
89
+ - **Exception — Omni Flash Edit.** Long prompts documentedly destroy its fidelity. There the rule inverts: one short instruction plus *"Keep everything else the same."*
90
+ - **Anchor with references.** If the result drifted from the user's intent, attach the *previous best* generation as a reference image alongside the original brief.
91
+ - **Use `slates_get_asset_image`** to pull a previously-generated image back into context if you need to compare against a fresh generation.
92
+ - **Use `slates_edit_image`** for surgical tweaks instead of full regeneration when ~90% of the image is right — `sourceAssetId` = the asset, `prompt` = the change only. Edits preserve composition and identity; full regen rolls the dice. Recipe: `slates-edit-and-iterate`.
93
+
94
+ ## Cost discipline
95
+
96
+ - Track total credits spent across the loop. Surface to the user every 3 iterations.
97
+ - Use the repeated-failure checkpoint below; do not keep submitting an unchanged failed request.
98
+ - **Follow the existing consent for every attempt.** An approved enumerated batch covers its listed calls. A retry or changed input outside that batch needs a new quote and the applicable confirmation; a timeout requires a status check before another submission.
99
+
100
+ <!-- @inject:iteration-diagnosis -->
101
+ ## Diagnose repeated failures
102
+
103
+ 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.
104
+
105
+ 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.
106
+ <!-- @end:iteration-diagnosis -->
107
+
108
+ ## When to break the loop
109
+
110
+ - The user said "good enough" or "ship it." Stop iterating.
111
+ - Repeated attempts show no progress. Diagnose the source, prompt or model before spending again; apply the scoped retry rule above.
112
+ - The user changes brief mid-loop. Treat it as a new brief, not a continuation.
113
+
114
+ ## Voice when narrating to the user
115
+
116
+ Tight, observational, no editorializing.
117
+ - ✅ "Frame 2 has the wrong lighting direction — back-lit instead of side. Regenerating with side light."
118
+ - ❌ "I notice that the lighting in frame 2 isn't quite what we were going for. I'll go ahead and try again with a different approach."