@letta-ai/letta-code 0.34.29 → 0.34.30

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.
@@ -0,0 +1,269 @@
1
+ > Adapted from fal-ai-community/skills (https://github.com/fal-ai-community/skills, commit 9ca850412943251fc9a466c4c29fdaf7a303a3d8), MIT License per that repository's README. Changes: execution commands replaced with Letta's /v1/videos.
2
+
3
+ # Storytelling
4
+
5
+ Use this reference when the user wants a sequence, not a single asset.
6
+
7
+ The goal is to produce clear story beats and executable video generation. Avoid
8
+ generic inspiration copy, fake dialogue, and em dashes.
9
+
10
+ ## Inputs to collect
11
+
12
+ Ask only when missing information affects execution.
13
+
14
+ - Format: ad, short film, music video, documentary, tutorial, social story.
15
+ - Duration and aspect ratio.
16
+ - Number of shots or allowed range.
17
+ - Main subject, character, product, or location.
18
+ - Continuity anchors: character, product, wardrobe, environment, color.
19
+ - Source media: first frame, reference image, product shot, audio track.
20
+ - Audio needs: narration, music, sound design, transcript, no audio.
21
+ - Preferred model or model family, if the user wants to decide quality, cost,
22
+ speed, audio, or multi-shot tradeoffs.
23
+
24
+ ## Execution with Letta
25
+
26
+ Call `/v1/videos` as described in `SKILL.md`. Pick models from `SKILL.md`'s
27
+ "Choosing a model" section and `/v1/videos/models`, and use only the sequence,
28
+ reference, audio, and timeline controls that endpoint reports for each selected
29
+ model. Generate clips separately when the selected model supports only one
30
+ prompt, and do not claim they are stitched unless a model or another tool
31
+ actually stitched them.
32
+
33
+ ## Shot planning
34
+
35
+ Plan every sequence as beats first:
36
+
37
+ 1. Hook: immediate visual reason to keep watching.
38
+ 2. Setup: who, what, where, and why it matters.
39
+ 3. Development: movement, discovery, proof, or escalation.
40
+ 4. Turn: reveal, transformation, result, or emotional change.
41
+ 5. Close: final image, product memory, CTA-safe frame, or unresolved mood.
42
+
43
+ For each shot, write:
44
+
45
+ - Shot number and duration.
46
+ - Story purpose.
47
+ - Visual prompt.
48
+ - Continuity anchor.
49
+ - Input reference, if any.
50
+ - Letta video model.
51
+ - Expected output path.
52
+
53
+ ## Prompt build order
54
+
55
+ Use this structure for each shot:
56
+
57
+ ```text
58
+ SHOT [number], [duration]:
59
+ [story purpose]. [subject and action]. [location and time]. [camera framing].
60
+ [camera movement]. [lighting and color]. [continuity anchor]. [transition or
61
+ relationship to previous shot].
62
+ ```
63
+
64
+ Keep one shot to one clear action unless the selected model supports multi-shot
65
+ or timeline prompting.
66
+
67
+ ## Quality bar
68
+
69
+ Before returning:
70
+
71
+ - Shot order has a clear narrative function.
72
+ - The first shot is strong enough for the platform.
73
+ - Continuity anchors are repeated without bloating every prompt.
74
+ - Camera motion is varied but not random.
75
+ - Durations add up to the requested runtime.
76
+ - Async request IDs and downloaded files are recorded.
77
+ - The model's actual schema, not assumptions, drove the final command.
78
+
79
+ # Shot planning reference
80
+
81
+ ## Basic sequence shapes
82
+
83
+ ## 15 second social ad
84
+
85
+ | Shot | Time | Purpose | Visual role |
86
+ | --- | --- | --- | --- |
87
+ | 1 | 0-2s | Hook | striking product or problem image |
88
+ | 2 | 2-6s | Context | product in use or character reaction |
89
+ | 3 | 6-11s | Proof | feature, texture, process, result |
90
+ | 4 | 11-15s | Close | memorable final frame with safe space |
91
+
92
+ ## 30 second commercial
93
+
94
+ | Shot | Time | Purpose | Visual role |
95
+ | --- | --- | --- | --- |
96
+ | 1 | 0-3s | Hook | image that defines the world |
97
+ | 2 | 3-7s | Product or hero | show subject clearly |
98
+ | 3 | 7-13s | Benefit | action, feature, transformation |
99
+ | 4 | 13-20s | Lifestyle or proof | real context, emotion, result |
100
+ | 5 | 20-27s | Escalation | strongest beauty or motion shot |
101
+ | 6 | 27-30s | End frame | clean brand-safe final composition |
102
+
103
+ ## Short cinematic scene
104
+
105
+ | Shot | Purpose |
106
+ | --- | --- |
107
+ | Establishing | where the scene happens and mood |
108
+ | Character reveal | who matters |
109
+ | Action beat | what changes |
110
+ | Reaction | emotional consequence |
111
+ | Detail insert | object, clue, texture, proof |
112
+ | Resolution | new state or unanswered tension |
113
+
114
+ ## Continuity anchors
115
+
116
+ Character anchor:
117
+
118
+ ```text
119
+ same character face, hair, wardrobe, age, posture, and style as the approved
120
+ reference
121
+ ```
122
+
123
+ Product anchor:
124
+
125
+ ```text
126
+ same product shape, color, packaging, logo placement, and material as the
127
+ reference
128
+ ```
129
+
130
+ Location anchor:
131
+
132
+ ```text
133
+ same room layout, window direction, color palette, and time of day
134
+ ```
135
+
136
+ Motion anchor:
137
+
138
+ ```text
139
+ single continuous shot, starts where previous shot ended, no time jump
140
+ ```
141
+
142
+ ## Pacing guidance
143
+
144
+ - Fast: 1-3 second shots, strong motion, clear graphic frames.
145
+ - Medium: 3-6 second shots, product demos, lifestyle, dialogue-like scenes.
146
+ - Slow: 6-10 second shots, luxury, drama, architecture, atmosphere.
147
+ - Variable: fast hook, slower proof, strong final frame.
148
+
149
+ # Storytelling workflows
150
+
151
+ ## Native multi-prompt sequence
152
+
153
+ Use only when the model supports multiple prompts, shot arrays, scenes,
154
+ timeline, or keyframe-like fields.
155
+
156
+ 1. Inspect the model and identify the exact multi-shot fields.
157
+ 2. Convert the story into concise shot prompts.
158
+ 3. Keep one continuity anchor outside the repeated shot details if the model
159
+ supports a global prompt.
160
+ 4. Run async and download the completed result.
161
+ 5. Check whether the model returned one video or per-shot files.
162
+
163
+ ## Manual per-shot video
164
+
165
+ Use when the model supports only one shot at a time.
166
+
167
+ 1. Create a shot table.
168
+ 2. Generate or upload a reference frame for each shot.
169
+ 3. Run each shot with unique output paths.
170
+ 4. Record model, request id, prompt, local output path, and defects.
171
+ 5. Return clips in timeline order. Do not claim they are stitched unless they
172
+ are actually stitched by the model or another tool.
173
+
174
+ ## First-frame to last-frame
175
+
176
+ 1. Generate or choose the opening frame.
177
+ 2. Generate or choose the target final frame.
178
+ 3. Supply both frames if supported.
179
+ 4. Inspect the model for accepted first/last frame fields.
180
+ 5. Prompt the transition as one physical motion or transformation.
181
+ 6. Run async and download.
182
+
183
+ ## Character narrative
184
+
185
+ 1. Write the character anchor (see "Continuity anchors" above) and generate an approved still of the character to reuse.
186
+ 2. Build shot variables around action, expression, and location.
187
+ 3. Use image-to-video from approved stills when identity drift matters.
188
+ 4. Compare each result to the anchor before advancing to the next shot.
189
+
190
+ ## Product narrative
191
+
192
+ 1. Write the product anchor (see "Continuity anchors" above): shape, color, packaging, logo placement, material.
193
+ 2. Plan the sequence around hook, feature, context, proof, final frame.
194
+ 3. Use the same product reference for every shot if the model allows it.
195
+ 4. Keep motion modest when packaging fidelity matters.
196
+
197
+ ## Audio narrative
198
+
199
+ 1. Choose a model with narration, music, or sound generation support.
200
+ 2. Use the model's supported audio controls.
201
+ 3. Use transcript or beat timing to set shot durations.
202
+ 4. Return audio path and visual clip paths separately unless a model produces
203
+ combined audio-video output.
204
+
205
+ # Storytelling examples
206
+
207
+ These examples show planning density and prompt tone. Adapt to the user's model
208
+ and references.
209
+
210
+ ## 15 second coffee social ad
211
+
212
+ | Shot | Duration | Prompt |
213
+ | --- | --- | --- |
214
+ | 1 | 2s | macro close-up of espresso crema swirling in a glass cup, warm morning window light, shallow focus, immediate sensory hook |
215
+ | 2 | 4s | same coffee cup placed beside a small bag of beans on a clean kitchen counter, slow push-in, product and texture readable |
216
+ | 3 | 5s | hand pours milk into the coffee, soft cloud bloom, controlled motion, warm lifestyle lighting, no text |
217
+ | 4 | 4s | final hero frame of cup and beans with clean negative space on right for copy, calm premium breakfast mood |
218
+
219
+ Execution note: generate still or video per shot unless the selected model
220
+ supports a prompt list.
221
+
222
+ ## 30 second architecture brand film
223
+
224
+ | Shot | Duration | Purpose |
225
+ | --- | --- | --- |
226
+ | 1 | 4s | dawn exterior of a modern house, wide static frame, warm interior lights |
227
+ | 2 | 5s | slow tracking shot along concrete wall and timber detail, tactile proof |
228
+ | 3 | 5s | architect's hand sketches over plan, natural desk light, human process |
229
+ | 4 | 6s | family crosses the living room, soft backlight, space feels livable |
230
+ | 5 | 6s | crane up from courtyard to roofline, shows scale and geometry |
231
+ | 6 | 4s | quiet final exterior with empty safe space for brand mark |
232
+
233
+ Continuity anchor:
234
+
235
+ ```text
236
+ same house, same material palette of warm timber, pale concrete, black steel
237
+ frames, and soft morning light
238
+ ```
239
+
240
+ ## Cinematic reunion scene
241
+
242
+ | Shot | Duration | Prompt |
243
+ | --- | --- | --- |
244
+ | 1 | 5s | empty train platform in blue hour rain, wide locked-off frame, practical lights reflected on wet ground |
245
+ | 2 | 4s | close-up of woman noticing someone off screen, same coat and hairstyle, soft backlight, restrained emotion |
246
+ | 3 | 4s | medium shot of man stepping from train doorway, matching eyeline, cool station light |
247
+ | 4 | 5s | slow tracking two-shot as they walk toward each other, shallow depth of field, no crowd distraction |
248
+ | 5 | 6s | close hands meeting, rain on sleeves, quiet emotional detail |
249
+ | 6 | 6s | wide final frame of both under station clock, warm practical light, unresolved calm |
250
+
251
+ ## Product launch sequence
252
+
253
+ ```text
254
+ SHOT 1, 3s:
255
+ black screen opens to a thin rim light tracing the product silhouette, centered
256
+ macro frame, premium suspense, no text.
257
+
258
+ SHOT 2, 4s:
259
+ slow orbit reveals the product material and main contour, controlled studio
260
+ reflections, same product shape and logo placement as the reference.
261
+
262
+ SHOT 3, 5s:
263
+ close-up of the key feature in use, clean hand interaction, product remains
264
+ sharp, no fake labels.
265
+
266
+ SHOT 4, 3s:
267
+ final hero composition on simple surface with large negative space for copy,
268
+ brand-safe end frame, no generated text.
269
+ ```