@slatesvideo/shared 0.3.0 → 0.4.1

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.
@@ -83,6 +83,17 @@ Reference-to-video endpoint accepts up to **9 reference images, 3 reference vide
83
83
 
84
84
  **Mutually exclusive:** First-frame/last-frame mode CANNOT be combined with reference images. The error reads `"first/last frame content cannot be mixed with reference media content."` Pick one or the other.
85
85
 
86
+ ## Reference rules (the verified ones)
87
+
88
+ - **2-4 strong refs beat both extremes** — not 1 (warps), not 12 (averages worse). Start focused.
89
+ - **One reference per ROLE, labeled** — `@Image1 is the character`, `@Image2 is the environment`. The model needs to know what each ref is FOR; it doesn't infer roles from order.
90
+ - **Character identity: attach the turnaround AND the close-up expression sheet, labeled for identity** (face/skin/body/outfit), and render the expression the SCENE describes (default neutral). That label is what keeps the varied expressions from averaging the face — don't gate the expression sheet. The trend is MORE references (video/audio into Seedance), so lean into attaching rich refs and labeling every role.
91
+ - **Flat-lit identity refs.** A studio-lit / scene-lit character sheet bleeds its lighting into the clip ("green-screen pasted in front of mountains"). Prep refs flat and plain.
92
+ - **Environment: describe it, don't feed a grid.** Default to words and let the model build the space to fit; reserve an environment ref for a hard exact-match, and then use ONE clean establishing image — never a multi-panel grid.
93
+ - **Reuse the same refs across every shot** in a sequence — swapping mid-sequence drifts.
94
+ - **Legible on-screen text → bake it into an NB2 start frame** and animate from it; Seedance won't render clean text from scratch.
95
+ - **Grids are for EXPLORING compositions, not for inputting** — pick a cell, don't feed the grid back as a reference.
96
+
86
97
  ## Image-to-video / first-frame guidance
87
98
 
88
99
  **Describe motion, not image.** The model already sees the visual; tokens spent re-describing appearance are wasted.
@@ -96,6 +96,13 @@ Verbatim arc-shot example:
96
96
  Verbatim example:
97
97
  > "Using the provided images for the detective, the woman, and the office setting, create a medium shot of the detective behind his desk. He looks up at the woman and says in a weary voice, 'Of all the offices in this town, you had to walk into mine.'"
98
98
 
99
+ ## Reference discipline (character / environment refs)
100
+
101
+ - **2-4 strong refs per role**, labeled (name what each provided image is for) and reused across every shot.
102
+ - **Flat-lit identity refs.** A studio-lit / scene-lit character sheet bleeds its lighting into the clip. Prep refs flat and plain.
103
+ - **Attach both character sheets, labeled for identity** — the turnaround (body/proportion/outfit) and the close-up expression sheet (face detail). Render the scene's expression (default neutral); the label keeps the varied expressions from averaging the face.
104
+ - **Environment: describe it, don't feed a multi-panel grid.** Reserve an environment ref for a hard exact-match, then use ONE clean establishing image.
105
+
99
106
  ## Negative prompting — nouns, not instructions
100
107
 
101
108
  Veo has a `negativePrompt` field. **Verbatim Vertex AI rule:**