@slatesvideo/shared 0.7.7 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/README.md +3 -6
  2. package/dist/analytics/events.d.ts +1 -1
  3. package/dist/analytics/events.js +7 -0
  4. package/dist/auth.d.ts +2 -0
  5. package/dist/auth.js +5 -0
  6. package/dist/clients/cloud.d.ts +2 -0
  7. package/dist/clients/cloud.js +5 -1
  8. package/dist/index.d.ts +7 -3
  9. package/dist/index.js +7 -3
  10. package/dist/manual/content.d.ts +1 -1
  11. package/dist/manual/content.js +1 -1
  12. package/dist/operations/index.d.ts +587 -161
  13. package/dist/operations/index.js +663 -57
  14. package/dist/operations/surface.d.ts +2 -2
  15. package/dist/operations/surface.js +18 -5
  16. package/dist/prompts/agent-doctrine.d.ts +12 -2
  17. package/dist/prompts/agent-doctrine.js +56 -28
  18. package/dist/prompts/banned-tokens.js +23 -13
  19. package/dist/prompts/brain.d.ts +29 -0
  20. package/dist/prompts/brain.js +72 -0
  21. package/dist/prompts/craft-cards.d.ts +15 -4
  22. package/dist/prompts/craft-cards.js +71 -9
  23. package/dist/prompts/generation-policy.d.ts +1 -1
  24. package/dist/prompts/guide-discovery.d.ts +6 -6
  25. package/dist/prompts/guide-retrieval.d.ts +7 -1
  26. package/dist/prompts/guide-retrieval.js +33 -5
  27. package/dist/prompts/partials.generated.js +1 -13
  28. package/dist/prompts/shot-grammar.d.ts +1 -1
  29. package/dist/prompts/shot-grammar.js +1 -1
  30. package/dist/skills/brain-check.d.ts +44 -0
  31. package/dist/skills/brain-check.js +172 -0
  32. package/dist/skills/content.d.ts +3 -0
  33. package/dist/skills/content.js +81 -44
  34. package/dist/skills/hyperframes-content.js +4 -4
  35. package/dist/skills/my-brain.d.ts +52 -0
  36. package/dist/skills/my-brain.js +218 -0
  37. package/dist/skills/served.d.ts +52 -0
  38. package/dist/skills/served.js +202 -0
  39. package/package.json +2 -4
  40. package/skills/hyperframes/NOTICE +19 -3
  41. package/skills/hyperframes/SLATES-MAPPING.md +1 -1
  42. package/skills/hyperframes/embedded-captions/CATALOG.md +3 -0
  43. package/skills/hyperframes/embedded-captions/SKILL.md +6 -6
  44. package/skills/hyperframes/embedded-captions/assets/fonts/char-widths.json +227 -1
  45. package/skills/hyperframes/embedded-captions/modes/standard/fonts/build-fonts-css.cjs +19 -2
  46. package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-italic.woff2 +0 -0
  47. package/skills/hyperframes/embedded-captions/modes/standard/fonts/files/archivo-latin-wdth-normal.woff2 +0 -0
  48. package/skills/hyperframes/embedded-captions/scripts/make-theme.cjs +438 -3
  49. package/skills/hyperframes/embedded-captions/scripts/make-theme.test.mjs +1 -0
  50. package/skills/hyperframes/embedded-captions/themes/README.md +26 -1
  51. package/skills/hyperframes/embedded-captions/themes/lesson.json +31 -0
  52. package/skills/slates-start-here.md +78 -0
  53. package/exports/slates-chatgpt-images/generated/SKILL.md +0 -113
  54. package/exports/slates-chatgpt-images/generated/slates-chatgpt-images.skill +0 -0
  55. package/exports/slates-prompt-builder/generated/SKILL.md +0 -71
  56. package/exports/slates-prompt-builder/generated/reference-character.md +0 -92
  57. package/exports/slates-prompt-builder/generated/reference-content-policy.md +0 -81
  58. package/exports/slates-prompt-builder/generated/reference-gpt-image-2-5.md +0 -191
  59. package/exports/slates-prompt-builder/generated/reference-kling.md +0 -295
  60. package/exports/slates-prompt-builder/generated/reference-nano-banana.md +0 -240
  61. package/exports/slates-prompt-builder/generated/reference-omni-flash.md +0 -97
  62. package/exports/slates-prompt-builder/generated/reference-seedance-2-5.md +0 -392
  63. package/exports/slates-prompt-builder/generated/reference-seedance.md +0 -441
  64. package/exports/slates-prompt-builder/generated/slates-prompt-builder-manifest.json +0 -133
  65. package/exports/slates-prompt-builder/generated/slates-prompt-builder.skill +0 -0
  66. package/skills/_partials/blender-action-curves.md +0 -24
  67. package/skills/_partials/cinematic-card.md +0 -8
  68. package/skills/_partials/decision-log.md +0 -1
  69. package/skills/_partials/image-defaults.md +0 -9
  70. package/skills/_partials/iteration-diagnosis.md +0 -5
  71. package/skills/_partials/living-performance.md +0 -22
  72. package/skills/_partials/model-routing.md +0 -35
  73. package/skills/_partials/references-read-literally.md +0 -11
  74. package/skills/_partials/seedance-25-timestamps.md +0 -34
  75. package/skills/_partials/sheet-tool-defaults.md +0 -6
  76. package/skills/_partials/still-gate.md +0 -3
  77. package/skills/_partials/thresholds.md +0 -19
  78. package/skills/slates-blocking-to-prompt.md +0 -279
  79. package/skills/slates-camera-language.md +0 -234
  80. package/skills/slates-captions.md +0 -81
  81. package/skills/slates-character-identity.md +0 -117
  82. package/skills/slates-chatgpt-images.md +0 -113
  83. package/skills/slates-cinematic-look.md +0 -237
  84. package/skills/slates-content-policy.md +0 -88
  85. package/skills/slates-cost-discipline.md +0 -150
  86. package/skills/slates-cuts.md +0 -46
  87. package/skills/slates-dialogue-blocking.md +0 -134
  88. package/skills/slates-direct-response-ad.md +0 -26
  89. package/skills/slates-edit-and-iterate.md +0 -76
  90. package/skills/slates-layer-brand-captions.md +0 -87
  91. package/skills/slates-layer-lower-third.md +0 -85
  92. package/skills/slates-layer-title.md +0 -82
  93. package/skills/slates-model-selection.md +0 -129
  94. package/skills/slates-motion.md +0 -57
  95. package/skills/slates-one-prompt-film.md +0 -38
  96. package/skills/slates-previs-blocking.md +0 -186
  97. package/skills/slates-project-organization.md +0 -42
  98. package/skills/slates-prompting-elevenlabs.md +0 -128
  99. package/skills/slates-prompting-flux-3.md +0 -157
  100. package/skills/slates-prompting-gpt-image-2-5.md +0 -196
  101. package/skills/slates-prompting-inworld-tts.md +0 -174
  102. package/skills/slates-prompting-kling-v3.md +0 -303
  103. package/skills/slates-prompting-lip-sync.md +0 -216
  104. package/skills/slates-prompting-ltx-2-5.md +0 -245
  105. package/skills/slates-prompting-minimax-h3.md +0 -383
  106. package/skills/slates-prompting-motion-transfer.md +0 -202
  107. package/skills/slates-prompting-nano-banana-2-1.md +0 -250
  108. package/skills/slates-prompting-omni-flash.md +0 -117
  109. package/skills/slates-prompting-seed-audio.md +0 -168
  110. package/skills/slates-prompting-seedance-2-5.md +0 -420
  111. package/skills/slates-prompting-seedance.md +0 -462
  112. package/skills/slates-prompting-seedream-5-lite.md +0 -122
  113. package/skills/slates-prompting-wan-3.md +0 -143
  114. package/skills/slates-restyle-from-blocking.md +0 -121
  115. package/skills/slates-script-craft.md +0 -45
  116. package/skills/slates-shot-variety.md +0 -24
  117. package/skills/slates-storyboard-from-script.md +0 -32
  118. package/skills/slates-style-prompting.md +0 -56
  119. package/skills/slates-transitions.md +0 -40
  120. package/skills/slates-ugc-influencer-ad.md +0 -32
  121. package/skills/slates-vision-feedback-loop.md +0 -118
@@ -1,168 +0,0 @@
1
- ---
2
- name: slates-prompting-seed-audio
3
- description: "Prompt Seed Audio 1.0 (seed-audio) with slates_generate_audio. Covers scene sentences, dialogue, crowd size, spatial sound, duration in prompt text and mutually exclusive audio or image references."
4
- ---
5
-
6
- # Seed Audio 1.0 — 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 — Seed Audio 1.0.** One plain sentence describing a SCENE, and it returns dialogue, effects and ambience together in one pass. For ONE named voice saying ONE line, `inworld-tts-2` is the seat instead; this one renders the whole room.
19
-
20
- **The five levers**
21
- 1. **Write one sentence in plain language.** Describe the room and what is happening in it; the model casts and performs it.
22
- 2. **Name the crowd size, the room size and the distance.** This is the highest-leverage single edit on any bed — unqualified nouns default BIG. "Tiny applause of two or three people at an open mic", not "applause".
23
- 3. **Put the length in the prompt** and make it deliberate.
24
- 4. **Dialogue is performed inside the scene** — write the line as spoken in the room, then re-roll until a take is right and lip-sync against it.
25
- 5. **Describe sounds directly** — "one coffee machine hissing, cutlery somewhere behind the counter" — with the object, the action and where it is.
26
-
27
- **Examples**
28
- - `a diner at 2am, one coffee machine hissing, cutlery somewhere behind the counter, one man says quietly "you're late again". 15 seconds`
29
- - `nature soundscape, a wide open field, cicadas near, birds mid-distance, one loon far off across water. 20 seconds`
30
-
31
- **Hard constraint:** it has NO duration parameter — the length you request is written into the prompt AND is what you are billed, whatever comes back, so choose it deliberately. Kling's `SFX:` / `Ambient noise:` / `Background music:` labels have no parser here and measurably worsen the output. Shot language, camera moves and lighting are video-prompt words the model must ignore. It is not a music model and it cannot produce pixels.
32
- <!-- @card:end -->
33
-
34
- <!-- @banned:start -->
35
- <!-- slates-only -->
36
- <!-- MACHINE-READ. Every `backticked` token between the @banned markers is
37
- extracted by src/prompts/banned-tokens.ts and returned on this model's cost
38
- estimate, and every submitted prompt is matched against it. Keep entries
39
- backticked and prose outside the backticks. -->
40
- <!-- /slates-only -->
41
- **Never use** — Kling video syntax has no parser here and measurably worsens the output:
42
- - `SFX`, `Ambient noise`, `Background music` as labels — describe the sounds directly
43
- - shot language: `wide shot`, `slow push in`, `warm tungsten` — camera and lighting words are video-prompt words the model has to ignore
44
- <!-- @banned:end -->
45
-
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
-
48
- <!-- @inject:thresholds -->
49
- <!-- GENERATED from @slatesvideo/shared — do not edit between the markers.
50
- Source: CONFIRM_CREDITS, DEVIATION_FACTOR and the audio bounds in
51
- packages/shared/src/operations/index.ts. Every number here is REFUSED by an
52
- op when a prompt gets it wrong, which is why none of them is typed by hand
53
- any more: this block replaced four claims that contradicted the code. -->
54
-
55
- **The thresholds, from the code that enforces them:**
56
-
57
- - **Confirm gate:** above **17 credits** an op returns `requires_confirm` and will not
58
- proceed until you re-call with `confirm: true`. This is a code gate, not permission to spend: every generation still needs the user-approved plan or quote.
59
- - **Deviation pause:** the desktop Slates Director stops and re-asks when projected generation spend
60
- exceeds the approved plan by more than **20%**. You do not trigger this; the app does.
61
- - **Seed Audio duration:** **3–120 seconds.** There is no duration
62
- parameter on the model — the number you pass is written into the prompt AND is what the user is
63
- billed. Outside that range the op refuses rather than clamping.
64
- - **Sound Effects duration:** **1–22 seconds**, billed per second, never left for the
65
- model to pick.
66
-
67
- Never quote a credit figure from memory: `slates_estimate_generation_cost` returns the real one.
68
- <!-- @end:thresholds -->
69
-
70
- ## Where it routes
71
-
72
- - **Scene audio, room tone, ambience beds, crowd/nature soundscapes** — anything where several sounds share a space. One generation, not three layered ones.
73
- - **Dialogue and scratch VO inside a scene.** The line is performed in the room, by a voice the scene casts. When WHO is speaking matters — a character's own voice, a clean narrator — that is `inworld-tts-2` instead. Lock the read by re-rolling until a take is right, then lip-sync against it with `slates_generate_lip_sync`.
74
- - **NOT** a single effect that must land on a known frame — that is `eleven-sfx`, which takes an exact duration.
75
- - **NOT** music. Slates has no music model; import a track and drop it on an audio track.
76
- - **AUDIO-ONLY.** It cannot produce images or video.
77
-
78
- ## THE RULES
79
-
80
- ### 1. 🚨 There is no duration parameter — the words set the length
81
-
82
- This is the single most important fact about this model. Output length is driven by the prompt text ("… 15 seconds"), capped at 120s.
83
-
84
- **Slates handles this for you:** the `durationSeconds` param appends the duration to the prompt and **bills that number of seconds**. So:
85
-
86
- - Set `durationSeconds` to what you actually want.
87
- - **Do not also write a different length into your sentence.** Two numbers fight, and you pay for the one you selected, not the one you got.
88
- - If the returned clip is shorter than requested you still paid for the request — that is the deal that keeps the displayed price equal to the charge. Ask for what you need.
89
-
90
- <!-- slates-only -->
91
- The server re-derives the billed key from `durationSeconds` (a client cannot under-bill), probes the returned `audio.duration` after completion, and logs `SEED AUDIO BILLING DRIFT` if the model overshot. No auto-charge, no refund — the request is the contract.
92
- <!-- /slates-only -->
93
-
94
- ### 2. One plain sentence. No production jargon.
95
-
96
- Field-proven (Higgsfield sprint, 2026-07-27/28). Working prompts look like this:
97
-
98
- ```
99
- tiny applause of 2 or 3 people at an open mic. 15 seconds
100
- nature soundscape, wide open field cicadas and birds and a loon.
101
- a diner at 2am, one coffee machine hissing, cutlery somewhere behind the counter
102
- ```
103
-
104
- Not this:
105
-
106
- ```
107
- ✗ AMBIENCE: interior diner, night. SFX: espresso machine (hiss, 2s), cutlery.
108
- ✗ Wide shot of a diner. Slow push in. Warm tungsten. Ambient noise: ...
109
- ```
110
-
111
- Shot language, camera moves and lighting belong to video prompts. Here they are just words the model has to ignore.
112
-
113
- ### 3. Never bring Kling's audio syntax to this model
114
-
115
- `SFX:` and `Ambient noise:` prefixes and `Background music:` labels are **Kling 3.0 video** syntax. Seed Audio has no parser for them — it reads them as text in the scene and the output gets measurably worse. Describe the sounds directly instead.
116
-
117
- ### 4. Name the crowd size, the room size, the distance
118
-
119
- The highest-leverage single edit on any bed. Unqualified nouns default big:
120
-
121
- | Vague | What it returns | Fixed |
122
- |---|---|---|
123
- | `applause` | a full auditorium | `tiny applause of 2 or 3 people` |
124
- | `traffic` | a highway | `one car passing on a wet residential street` |
125
- | `crowd` | a stadium | `four people talking at the next table` |
126
-
127
- Distance words (`far off`, `muffled through a wall`, `right next to the mic`) work the same way and are how you build depth in one sentence.
128
-
129
- ### 5. Beds must outlast the cut
130
-
131
- Ask for a few seconds more than the clip needs so the edit has handles to fade through. A bed that ends exactly on the cut always sounds clipped. This is a product requirement, not a preference — it is why the duration control exists at all.
132
-
133
- ### 6. Dialogue goes in quotes, inside the same sentence as the room
134
-
135
- ```
136
- a tired bartender says, "we closed twenty minutes ago", glasses clinking behind him
137
- ```
138
-
139
- Pick a preset voice when a specific speaker matters. Leave `voice` unset and the scene casts itself — which is usually right for crowd and background dialogue.
140
-
141
- Preset voices (20): `vivi_mixed_en_zh_ja_es_id`, `mindy_en_es_id_pt_zh`, `kian_en_zh`, `cedric_en_zh`, `sophie_en_zh`, `jean_en_zh`, `magnus_en_zh`, `mabel_en_zh`, `nadia_en_zh`, `opal_en_zh`, `pearl_en_zh`, `quentin_en_zh`, `corinne_mixed_en_zh`, `esther_mixed_en_zh`, `lyla_mixed_en_zh`, `tracy_es_zh`, `sandy_es_mixed_en_zh`, `felix_zh`, `celeste_zh`, `monkey_king_zh`.
142
-
143
- Set `multilingual: true` for non-English or mixed-language lines.
144
-
145
- ### 7. Inputs: up to 3 audio clips **XOR** one image. Never both.
146
-
147
- - **Audio references** — up to 3 clips, each ≤30s and ≤10MB (wav/mp3/pcm/ogg_opus). Refer to them in the prompt as `@Audio1`, `@Audio2`, `@Audio3`: *"match the room tone of @Audio1"*.
148
- - **Image reference** — one image (jpeg/png/webp ≤10MB). The model scores what it sees.
149
- - Sending both is rejected by the API. Pick the one that carries the intent.
150
-
151
- ### 8. The knobs, and when to touch them
152
-
153
- | Param | Range | Reach for it when |
154
- |---|---|---|
155
- | `speed` | 0.5–2.0 | Dialogue is racing or dragging against picture. |
156
- | `volume` | 0.5–2.0 | Rarely — normalize on the timeline instead. |
157
- | `pitch` | −12…+12 semitones | Ageing or shifting a voice. Small moves only; ±3 is already a lot. |
158
- | `multilingual` | bool | Non-English or code-switched lines. |
159
-
160
- ## Iterating
161
-
162
- - A bed that came back wrong is almost always a **scale** problem (crowd/room too big) or a **jargon** problem (the sentence reads like a spec). Fix those two before touching `speed`/`pitch`.
163
- - Three failed takes on the same sentence means the sentence is wrong, not the seed. Rewrite it the way you would say it out loud.
164
- - Generations are cheap enough at short durations that auditioning two phrasings beats agonizing over one.
165
-
166
- ## Content notes
167
-
168
- Provider-side moderation applies to voices and to recognizable real people. See slates-content-policy.
@@ -1,420 +0,0 @@
1
- ---
2
- name: slates-prompting-seedance-2-5
3
- description: "Prompt Seedance 2.5 generation (seedance-2.5) or edits (seedance-2.5-edit). Covers whole-second timing, shared Seedance craft, reference inputs, task-classifier hazards and long-take spend."
4
- ---
5
-
6
- # Seedance 2.5 — prompting
7
-
8
- <!-- @card:start -->
9
- <!-- slates-only -->
10
- <!-- MACHINE-READ. Everything between the @card markers is extracted by
11
- src/prompts/craft-cards.ts and returned on every cost estimate for this
12
- model, so it is the ONE piece of positive craft guidance the agent cannot
13
- skip. Measured 2026-08-30: a fact inlined where it cannot be skipped moved
14
- compliance 0/8 to 30/32; the same guidance behind a fetch moved nothing.
15
- Keep it under 2,400 characters (the build fails above that) and keep the
16
- rationale, the receipts and the worked examples in the body below. -->
17
- <!-- /slates-only -->
18
- **Card — Seedance 2.5.** Shares 2.0's grammar exactly (subject binding, camera vocabulary, externalised emotion, inline constraints — read `slates-prompting-seedance` for those). Two things are different, and both matter.
19
-
20
- **The five levers**
21
- 1. **Timestamps work here**: integer seconds, and the model acts on them: `[0s-4s] she reads the letter. [4s-9s] she folds it and looks up.` 2.0 ignores exactly this syntax.
22
- 2. **Length is the reason to be here**: takes up to 30 seconds, where 2.0 stops at 15. Write the beats as `[0s-6s]`, `[6s-12s]`, `[12s-18s]`; do not hope for them.
23
- 3. **Up to 30 image references**, and a multi-view image can serve as ONE subject reference (up to 5 subjects). 2.0 cannot do either.
24
- 4. **Audio-only references are accepted** without an image or video alongside — the only Seedance seat that takes one.
25
- 5. **Keep the 2.0 discipline**: one camera move per beat, physical action instead of stated emotion, and quality in the image-quality slot vocabulary (`rich details`, `cinematic texture`). **Every person acts in every interval**: a held face freezes for the whole take.
26
-
27
- **Examples**
28
- - `[0s-6s] Wide shot, <Subject_1>@<Image_1> crosses an empty car park toward a idling van, slow track right. [6s-12s] Medium, she stops as the driver's window comes down. [12s-18s] Close-up, she looks off past the lens and does not answer. Rich details, natural colors. Keep it subtitle-free.`
29
- - `[0s-10s] A single continuous handheld follow behind a courier climbing a fire escape, rain. [10s-20s] She reaches the landing, turns, and the city opens behind her. Cinematic texture, soft lighting.`
30
-
31
- **Hard constraint:** it is the default AND the dearer seat, and it has NO 4K — 480p/720p/1080p only, dearer than 2.0 at every resolution they share. Long takes multiply cost linearly: quote a 30-second take before you fire it.
32
- <!-- @card:end -->
33
-
34
- <!-- @banned:start -->
35
- <!-- slates-only -->
36
- <!-- MACHINE-READ. Every `backticked` token between the @banned markers is
37
- extracted by src/prompts/banned-tokens.ts and returned on this model's cost
38
- estimate, and every submitted prompt is matched against it. Keep entries
39
- backticked and prose outside the backticks. -->
40
- <!-- /slates-only -->
41
- **Never use** (with a reference video, 2.5 can reclassify the task and fail a fresh generation on these):
42
- - `edit`, `extend`, `continue the video`, `same video but` — they make the provider read a fresh generation as an edit
43
- - `f/1.4`, `Portra 400` and any other aperture or film-stock token, or a stacked list of gear — image-model vocabulary. The 2.5 guide's own example names one camera body and one 35 mm lens in a single style line, so a lone lens there is not on this list
44
- <!-- @banned:end -->
45
-
46
- **Read `slates-prompting-seedance` first.** The prompt GRAMMAR is the same model family: the
47
- 8-slot advanced formula, subject binding by `<Subject_N>@<Image_N>`, camera vocabulary,
48
- externalised emotion, inline constraint words, the anti-twin fix. None of it is restated here.
49
- This file is only what 2.5 changes — and the biggest change is that **2.5 acts on timestamps
50
- where 2.0 ignores them.**
51
-
52
- ---
53
-
54
- ## The one fact that decides whether you use it at all
55
-
56
- **Seedance 2.5 is the EXPENSIVE seat, not the cheap one — and it has no 4K.**
57
-
58
- It runs at 480p, 720p or 1080p (1080p landed on all three routes on 2026-08-24), and at every
59
- resolution the two seats share it costs MORE than 2.0 — 720p ~11.6 cr/s against ~7.5 cr/s, **54% more**.
60
- So 2.5 does not replace 2.0; it sits beside it, and you pay for what it buys:
61
-
62
- | | Seedance 2.0 | Seedance 2.5 |
63
- |---|---|---|
64
- | Resolution | 480p / 720p / 1080p / **native 4K** | 480p / 720p / 1080p — **no 4K** |
65
- | Price at 720p (faceless) | **~7.5 cr/s** | ~11.6 cr/s |
66
- | Length | 4–15s | **4–30s in one take** |
67
- | Reference budget | 12 files total (9 image / 3 video / 3 audio caps) | **50 (30 image + 10 video + 10 audio)** |
68
- | Combined reference video/audio | ≤15s | **≤30s** |
69
- | Audio-only reference | ✗ (needs an image or video alongside) | **✓** |
70
- | **Timestamps in the prompt** | **✗ — ignored; shot numbers only** | **✓ — integer seconds, acted on** |
71
- | Multi-view image as ONE subject reference | ✗ (not recommended) | **✓ (up to 5 subjects)** |
72
- | Video edit as its own task type | ✗ | **✓ (`seedance-2.5-edit`)** |
73
- | Default video model | no | **yes** (since 2026-09-13) |
74
-
75
- **2.5 is the default. Route to 2.0 for 4K delivery, or when the same resolution has to be
76
- cheaper** — its 720p is ~7.5 cr/s against 2.5's ~11.6 cr/s.
77
-
78
- ---
79
-
80
- ## 🚨 Hazard 1 — the prompt-intent task classifier
81
-
82
- This is the one that costs money and time, and it has no equivalent on 2.0.
83
-
84
- **Seedance 2.5 sorts every request into one of five task types** — text-to-video,
85
- reference-to-video, first/last-frame, **video edit**, **video extend** — from the reference roles
86
- attached **plus the intent of your sentence**. Each type then has its own parameter constraints,
87
- and a violation comes back **asynchronously**: the task queues, credits are reserved, and only then
88
- does it fail.
89
-
90
- The trigger words are ordinary English:
91
-
92
- | Reclassified as | Words that do it (ByteDance's own list) |
93
- |---|---|
94
- | **video edit** | `edit video` · `add` · `insert` · `remove` · `delete` · `modify` · `replace` · `change to` |
95
- | **video extend** | `extend forward` · `extend backward` · `continue` · `continue from` · `extend the story` |
96
-
97
- So a perfectly legitimate prompt with a reference video, *"a wide shot of the workshop, **remove** the
98
- tripod from frame"* — gets classified as an edit and fails on constraints it never set.
99
-
100
- **What to do:**
101
-
102
- 1. **If you mean to edit an existing clip, choose its dedicated video-edit endpoint.** The
103
- task-typed endpoint removes the classifier's ambiguity. <!-- slates-only -->In Slates, call
104
- `slates_edit_video` with `model: 'seedance-2.5-edit'`.<!-- /slates-only -->
105
- 2. **If you mean a fresh shot, describe the finished frame rather than an instruction to change
106
- one.** Not *"remove the tripod"* → *"the workshop bench, clear and uncluttered"*. Not
107
- *"add rain"* → *"heavy rain falling through the streetlight"*. This is better prompting anyway:
108
- the model renders what you describe, it does not take edits to an imagined draft.
109
- 3. The trigger needs **a reference video plus edit or extend intent**. Image references alone do not trigger it. A plain text-to-video prompt is safe
110
- however it is worded.
111
-
112
- **Slates will warn you, and it will never rewrite your prompt.** When a 2.5 reference generation's
113
- prompt contains one of these words, the composer shows a warning that NAMES the words and the agent
114
- route returns the same string. Silently editing the user's sentence to dodge a provider classifier
115
- is forbidden — the words that reach the model are always the words the user can see.
116
-
117
- ---
118
-
119
- ## 🚨 Hazard 2 — resolution is not the price dial here. LENGTH is.
120
-
121
- Every other model in Slates trains the habit that lower resolution means lower cost. 2.5 breaks it,
122
- because the thing that moves the bill is **length**, and 2.5's length ceiling is double 2.0's.
123
-
124
- Worked, at the shipped rates:
125
-
126
- | Generation | Credits |
127
- |---|---|
128
- | 2.5 · 480p · 5s · faceless | 26 |
129
- | 2.5 · 720p · 5s · faceless | 58 |
130
- | 2.5 · 1080p · 5s · faceless | 142 |
131
- | 2.5 · 720p · 30s · faceless | 347 |
132
- | 2.5 · 720p · 30s · Face | **489** |
133
- | 2.5 · 720p · 30s · consented real person | **710** |
134
- | 2.5 · 1080p · 30s · faceless | **853** |
135
- | 2.5 · 1080p · 30s · consented real person | **1,749** |
136
- | *(for scale)* 2.0 · 1080p · 15s · Face | 411 |
137
-
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 of a
140
- consented real person has spent 71% of their welcome grant on one clip; **for a real person a single
141
- 30-second 1080p take is more than the whole grant.**
142
-
143
- **Discipline:**
144
-
145
- <!-- slates-only -->
146
- - **Always quote with `slates_estimate_generation_cost` before a take over ~10 seconds,** and say
147
- the number out loud before generating.
148
- <!-- /slates-only -->
149
- - **Find the shot at short LENGTH, not at low resolution.** Length is what moves the price, so cut
150
- seconds while you are still exploring — 4–8s — and stay at the resolution you actually want.
151
- **A 480p pass does not de-risk a 720p or 1080p render.** Generation is stochastic: the higher-
152
- resolution run is a different take, not the same shot rendered better. So a 480p draft that looks
153
- right buys you no guarantee, and one that looks wrong may have been fine at 720p — you paid 26
154
- credits to learn nothing, when 58 would have bought a real candidate.
155
- - **Length is a creative decision, not a default.** 30 seconds is available; it is rarely the right
156
- answer for a single shot. Multi-shot storyboards inside one 30s generation are what the length is
157
- actually for.
158
- <!-- slates-only -->- Read `slates-cost-discipline` — all of it applies, more sharply here.<!-- /slates-only -->
159
-
160
- ---
161
-
162
- ## Timestamps — the one grammar change
163
-
164
- <!-- @inject:seedance-25-timestamps -->
165
- **2.0 does not respond to timestamps and answers only to shot numbers. 2.5 responds to
166
- integer-second timestamps.** That is ByteDance's own first line under "Differences from Seedance
167
- 2.0", and it is why a 30-second take is usable at all: the length is only worth buying if you can
168
- say *when* things happen inside it.
169
-
170
- Both formats are valid on 2.5, and you can mix them — `Shot N` blocks for a storyboard whose
171
- pacing you are happy to leave to the model, timestamps when a beat has to land at a moment.
172
-
173
- **Three ways to control time, all first-party:**
174
-
175
- | Form | Write it like |
176
- |---|---|
177
- | **Interval** | `0-3 seconds… 3-7 seconds… 7-15 seconds` or `[1s-4s]… [4s-8s]… [8s-12s]` |
178
- | **Time point** | *"Quick left sideways transition at the 5-second mark."* |
179
- | **Relative** | *"After 3 seconds, everyone around him shakes their head."* · *"The frame freezes for 1 second after he presses the shutter."* |
180
-
181
- **The rules that come with them:**
182
-
183
- - **One second is the smallest unit.** Integers only — no `2.5s`, no frames.
184
- - **No gaps in the timeline.** `0-3s… 5-6s…` leaves 3-5s unspecified and the model fills it however
185
- it likes. Intervals must abut: `0-3s`, `3-7s`, `7-15s`.
186
- - **Budget the plot to the seconds.** Too little content in a range and the model improvises to
187
- fill it; too much and you get extra cuts or dropped beats. This is the actual craft of a 30s take.
188
- - **Never time-code a high-frequency action.** *"Shake your head three times per second"* is
189
- explicitly called out as a misuse — timestamps schedule beats, they don't choreograph frames.
190
- - **Transitions want both halves:** the moment AND the method — *"At the 5-second mark, the camera
191
- transitions leftward with a left wipe into a natural dissolve."*
192
- - **Timestamps work on an EDIT too**, and that is where they earn the most: they scope a change in
193
- time as well as in content — *"Change the man's action from drinking coffee to mopping the floor
194
- from 4-6 seconds in Video 1, and leave the rest of the content unchanged."* Without a range, a
195
- whole-clip instruction is applied to the whole clip.
196
-
197
- Do **not** carry this back to 2.0, and do not write `[00:00-00:02]` minute-second brackets (another
198
- vendor's syntax) into either — 2.0 ignores time entirely, and the cross-model syntax swap is its own known failure.
199
- <!-- @end:seedance-25-timestamps -->
200
-
201
- ---
202
-
203
- ## Nobody holds still
204
-
205
- <!-- @inject:living-performance -->
206
- **Nobody holds still. Write every person a performance that changes on every beat.** A video model
207
- animates what the prompt describes and nothing more. Describe one expression ("she screams, mouth
208
- open") and the person freezes in it for the whole take, which reads as dead and fake however good the
209
- camera is.
210
-
211
- - **Every person, every beat:** what their hands do, where their head and body go, what they say or
212
- shout and to whom, and how the expression shifts, then shifts again. "Yelling at him with both hands
213
- up, then grabs the dash as the car snaps sideways" moves; "terrified" is a still.
214
- - **Escalate and turn.** A scene's emotion travels: fear into fury into a stunned laugh. Each beat
215
- gives the next state, never a repeat of the last.
216
- - **One calm character may stay still in the face, never in the body.** The stoic one still blinks,
217
- breathes, glances, and works their hands, and reacts once the scene earns it (a smirk, a look across).
218
- A held beat before a spoken line is the same: the face settles, the body keeps small movement.
219
- - **Keep it physical.** Write the visible action, not the feeling: a jabbed finger, a slap on the
220
- shoulder, a hand clawing hair out of a mouth. Name the lines or shouts when the audio matters.
221
- - **A blocking or previs reference makes stillness worse.** Its stand-in figures are frozen
222
- mannequins, and the model copies their stillness unless the prompt says so. Say it in the prompt:
223
- "its figures are frozen stand-ins and their stillness is not the acting; take only the camera and
224
- the timing from video 1, and the people perform as written below, moving in every second."
225
- - **On a model that reads timestamps (Seedance 2.5), write the acting inside every interval,** beside
226
- the camera and the action, so no range leaves a person without something to do. On a model that
227
- reads shots instead, give every shot its own acting the same way.
228
- <!-- @end:living-performance -->
229
-
230
- ---
231
-
232
- ## What the extra reference budget is actually for
233
-
234
- 30 image references (up from 9) does **not** mean "attach 30 images". Every rule in
235
- `slates-prompting-seedance` about references still holds — 2–4 strong references beat both
236
- extremes, and one reference per role.
237
-
238
- **Where 2.5 moves the ceiling, per ByteDance's own input recommendations:**
239
-
240
- | | Stable | Works, but expect re-rolls |
241
- |---|---|---|
242
- | Subjects bound by IMAGE reference | 1–8 | 9–12 |
243
- | Subjects bound by VIDEO or AUDIO reference | 1–5 | 6–10 |
244
- | Reference clip length, per subject | 5–10s | longer drops stability |
245
-
246
- **Multi-view images of one subject are supported on 2.5** — a turnaround sheet can be a single
247
- reference image, where 2.0 wanted one authoritative rendering per subject. Past **5 subjects**,
248
- go back to single-view images, one per view, rather than one image carrying several viewpoints.
249
-
250
- The larger budget earns its keep in exactly two places:
251
-
252
- - **A long multi-shot take** where different shots need different subjects and locations bound —
253
- the budget is spread across the storyboard, not stacked on one frame.
254
- - **Video and audio references alongside images**, which is where 2.5's 10 + 10 matters far more
255
- than the image count.
256
-
257
- ### Audio-only references — the genuinely new input
258
-
259
- 2.0 required an image or video alongside any audio reference. **2.5 accepts audio on its own.**
260
- That makes one recipe possible that was not before: drive a scene's timing, voice or ambience from
261
- a recording with no visual anchor at all — a voice line, a music bed, a room tone — and let the
262
- model build the picture to it. Cite it the same way as any other reference
263
- (`Reference the timbre in <Audio_N> to generate…`), and remember that audio references carry **no
264
- billing dimension** on any Seedance row: audio is included.
265
-
266
- ### Video references
267
-
268
- Up to 10 clips, ≤30s combined (2.0: 3 clips, ≤15s). A reference VIDEO switches the cost key to
269
- `seedance-2.5*-vref-{res}-{T}s`, where **T = Σ input seconds + output seconds** without Face and for a consented real person;
270
- on a Face row, **T = max(Σ input seconds, output seconds) + output seconds** on both 2.0 and 2.5. The sum is across
271
- **every** clip attached, not just the longest. Three 6-second references on a 12-second output bills
272
- 30 seconds, not 12 and not 18. Quote before confirming.
273
-
274
- **The cap is a refusal, not a trim.** Attach an eleventh clip, or push past 30 combined seconds, and
275
- the composition is rejected before anything uploads. That asymmetry is deliberate: reference images
276
- warn-and-trim because dropping one doesn't change the price, and a dropped reference VIDEO would be
277
- one you were quoted for and the model never saw.
278
-
279
- ### Mixing all three in one call
280
-
281
- 50 files total (30 image + 10 video + 10 audio) is a shared budget. Everything is cited positionally
282
- by type — `image 1`, `video 2`, `audio 1` — in attachment order, so reordering the attachments
283
- renumbers the citations. Write the prompt against those numbers:
284
-
285
- ```
286
- Marcus (image 1) performs the motion from video 1 in the workshop from image 2,
287
- using the voice timbre from audio 1. Preserve his identity, appearance and outfit.
288
- ```
289
-
290
- 🚨 **SAY WHAT AN AUDIO REFERENCE IS FOR.** It can mean music, dialogue, voice, tone or timbre — five roles on one attachment — so an unroled clip falls back to **dialogue**: the model re-transcribes it and speaks ITS words. A real take came back as *"a map called Slates"* for *"an app called Slates"*. Name it as the voice timbre and the clip carries the voice while the prompt carries the words. ByteDance's own sentence: *"Image 1 depicts the protagonist John and uses the voice timbre from Audio 1."* Bind each speaker in a sentence, never by attachment order — position carries nothing.
291
-
292
- Frames and reference media stay mutually exclusive, in every combination — the reference endpoint
293
- has no first/last-frame parameters at all, so this is a shape mismatch rather than a preference.
294
-
295
- ---
296
-
297
- ## Sound: four bracket types, and they are the vendor's syntax
298
-
299
- ByteDance's 2.5 API tutorial states this as a **prompt rule**, not a suggestion — verbatim: *"Use
300
- special characters to distinguish sounds: `()` for music, `<>` for sound effects, `{}` for dialogue,
301
- and `【】` for subtitles. For non-Chinese dialogue, it is recommended to specify the language before
302
- the dialogue."*
303
-
304
- ```
305
- She sets the cup down {English: "We open in ten minutes."} <ceramic clink on wood>
306
- (low piano, unhurried)
307
- ```
308
-
309
- - `()` **music** · `<>` **sound effects** · `{}` **dialogue** · `【】` **on-screen subtitles**
310
- - **Name the language before non-Chinese dialogue.** `{English: "..."}`.
311
- - Unbracketed sound description still works — this is a disambiguator, not a required wrapper. Reach
312
- for it when one sentence carries more than one kind of sound and you need the model to tell them
313
- apart, which is exactly where an unmarked prompt puts a line of dialogue into the score.
314
-
315
- ⚠️ **These four are SEEDANCE 2.5's.** MiniMax H3 has its own three-layer scheme (body / soundscape /
316
- score) and its angle brackets are documentation notation that must never be typed. Do not carry
317
- either grammar onto the other model.
318
-
319
- ## Say what a reference is NOT for
320
-
321
- The same rule adds a half nobody uses: *"Specify what each asset provides, such as appearance,
322
- action, or timbre, **and what should not be referenced**."* Negative scoping is a first-class part of
323
- the citation, not a fallback — *"use her face and wardrobe from image 1, not its lighting or
324
- background"* is a stronger instruction than naming the positive alone, because an unscoped reference
325
- brings its whole frame with it.
326
-
327
- **ByteDance's documents disagree on reference sigils.** Its API tutorial says *"Use `@Image 1`,
328
- `@Video 1`, and `@Audio 1`"*, while its 2.5 prompt guide uses the bare form
329
- (`Image 1 / Video 1 / Audio 1`) in its normative sentence. Both are first-party sources; the
330
- bare form is confirmed working on both Seedance models. Use the syntax accepted by the endpoint
331
- you are calling, and preserve each asset's role and scope.
332
-
333
- <!-- slates-only -->
334
- The disagreement is recorded in
335
- `second-brain/business/projects/slates/research/model-prompting-research.md`. Slates composes
336
- resolved reference tokens for the chosen model and now preserves unresolved sigils verbatim.
337
- The earlier composer silently deleted unresolved `@Image 1` tokens; that receipt explained the
338
- old bare-form workaround, and the fix removes its blanket prohibition. Prefer actual bound
339
- references when available so the composer supplies the canonical citation.
340
- <!-- /slates-only -->
341
-
342
- ## Seedance 2.5 Edit (<!-- slates-only -->`slates_edit_video`, <!-- /slates-only -->`model: 'seedance-2.5-edit'`)
343
-
344
- Its own picker row and its own op call, deliberately: the task type is **the model you chose**,
345
- never something inferred from your sentence.
346
-
347
- **Why route here at all:** it is the **only edit engine in Slates that accepts a clip longer than 15
348
- seconds** (4–30s, versus Kling O3 Edit's 3–15s and Omni Flash Edit's 3–10s). For a clip inside the
349
- others' range, choose on fidelity instead — Omni Flash Edit won the prompt-only head-to-head, and
350
- Kling O3 Edit is the one that takes element and style reference images.
351
-
352
- **How it behaves:**
353
-
354
- - **Output length follows the SOURCE clip**, and the bill is the ceiled source length. The provider
355
- requires an automatic duration on this task type, so there is no length knob — the clip you attach
356
- is the quote. The returned clip can differ from the source by up to ~0.3s, which only compresses
357
- transition frames; a clip that 2.5 itself generated comes back at exactly its input length.
358
- - **Source clips under 20 seconds edit more reliably.** 4–30s is what the task type accepts;
359
- ByteDance's own recommendation is to stay inside 20 for quality. A 28-second source is legal and
360
- will need more attempts.
361
- - **The aspect ratio follows the source clip too.** No ratio control; the frame is the clip's frame.
362
- - **480p, 720p or 1080p output**, native audio — and an edit bills the video-reference tier ×2,
363
- so quote the 1080p edit before confirming.
364
- - **Prompt and source clip only** on this op. The MODEL takes reference images on an edit
365
- (ByteDance recommends 1–5 — *"replace the man in dark clothing in @Video 1 with @Image 2"*);
366
- **Slates has not wired that path**, so today an edit that must lock an identity from a photo
367
- goes to Kling O3 Edit. Constraint of our build, not of the model — worth revisiting.
368
- - **An edit costs about 1.2x a plain 2.5 generation of the same length**: every Seedance edit
369
- is charged on input + output seconds, at the reduced video-reference rate. Read the confirm
370
- gate's number; do not reason from the generation rate.
371
- - **Set `seedanceFace: true` when a character's face is visible in the clip.** Without it, a
372
- face is blocked outright — this is not a price optimisation, it is whether the job runs at all.
373
- - **There is no consented real-person option for editing.** Real-person footage that the Face edit
374
- rejects has to go to Kling O3 Edit.
375
-
376
- **Prompting an edit** — the same discipline as every other edit engine: **describe only what
377
- changes.** The source already carries its composition, motion, timing and performance; re-describing
378
- them fights the model. Use Seedance's own edit grammar from `slates-prompting-seedance`
379
- (*"Strictly edit `<Video_1>`, and modify `<Original_Characteristic>` to `<New_Characteristic>`"*) and
380
- **never** write *"reference video 1"* in an edit — the official guide is explicit that this phrasing
381
- gets the request reclassified as a reference task, which is the same landmine as Hazard 1.
382
-
383
- Two things sharpen an edit prompt, both first-party:
384
-
385
- - **Say it as A → B, not as an outcome.** *"Change the man's action from drinking coffee to mopping
386
- the floor"* beats *"the man mops the floor"* — naming what it currently is tells the model what
387
- to overwrite.
388
- - **Timestamp a partial edit** — the edit task type reads the same integer-second timestamps the
389
- generation path does. Rules and forms are in § Timestamps above; this is the single most useful
390
- thing they buy.
391
-
392
- **Audio is editable too, and it is the least obvious use of this row.** The same op rewrites what
393
- is heard while the picture stays put: change a spoken line, change the accent, translate the
394
- dialogue and re-fit the lip movement, strip or replace the BGM or a sound effect. *"Only edit the
395
- man's dialogue in Video 1: change it to 'Don't come over here,' in an American accent"* is an edit,
396
- not a lip-sync job. Bill it like any other edit — on the source clip's length.
397
-
398
- ---
399
-
400
- ## Faces, and what does NOT change
401
-
402
- <!-- slates-only -->
403
- The three face tiers are identical to 2.0 — faceless → leave Face off, an AI character's face →
404
- `seedanceFace: true` (a real cost premium), a real person's photo → the
405
- consent-gated real-person option after a `[REAL_FACE_DETECTED]` rejection, with `realFaceConsent: true`
406
- set **only** after the user explicitly confirms they hold the rights to the likeness. The full rules,
407
- including why the real-vs-AI call is the model's and not yours, are in
408
- `slates-prompting-seedance`.
409
- <!-- /slates-only -->
410
-
411
- Also unchanged, and worth restating because 2.5's length makes each one more expensive to get wrong:
412
-
413
- - **One primary camera move per shot.**
414
- - **No stacked lens / aperture / film-stock vocabulary.** One camera-and-lens style line is the
415
- most the 2.5 guide itself uses; the full rule is in `slates-prompting-seedance` → "Don't
416
- cross-pollinate image-model syntax".
417
- - **No `negativePrompt` field** — constraints go inline, and 2.5 acts on negative phrasing in
418
- exactly two dimensions: subtitles (*"no subtitles"*) and audio (*"no BGM; environmental and
419
- action sounds only"*, *"no audio"*). Everywhere else, describe what you want, not what you don't.
420
- - **Legible in-shot text still belongs in a baked start frame**, not in the video prompt.