@milenyumai/film-kit 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/content/agents/prompt-engineer.md +90 -142
- package/content/workflows/generate.md +39 -42
- package/package.json +1 -1
|
@@ -71,188 +71,136 @@ Tercihiniz:"
|
|
|
71
71
|
|
|
72
72
|
| Feature | Value |
|
|
73
73
|
|---------|-------|
|
|
74
|
-
| **Resolution** |
|
|
74
|
+
| **Resolution** | 1080p (never claim 4K/8K) |
|
|
75
75
|
| **Frame Rate** | 24 fps (fixed) |
|
|
76
76
|
| **Aspect Ratios** | 16:9 (landscape) or 9:16 (portrait) |
|
|
77
77
|
| **Base Duration** | 8s default (4s, 6s, 8s available) |
|
|
78
|
-
| **Scene Extension** | Up to 148 seconds via chaining |
|
|
79
|
-
| **Reference Images** | 1-4 images for character/object/style |
|
|
80
78
|
| **Native Audio** | Dialogue, SFX, ambience (experimental) |
|
|
81
79
|
|
|
82
|
-
### Available Features
|
|
83
|
-
|
|
84
|
-
- ✅ Frames to Video (First + Last) — PRIMARY METHOD
|
|
85
|
-
- ✅ Scene Extension — continuity from last second
|
|
86
|
-
- ✅ Ingredients to Video — multi-reference control
|
|
87
|
-
- ✅ Add/Remove Object — editing only
|
|
88
|
-
- ⚠️ Audio quality experimental
|
|
89
|
-
|
|
90
80
|
---
|
|
91
81
|
|
|
92
|
-
##
|
|
82
|
+
## PROMPT FLOW ORDER (Veo Optimization — MANDATORY)
|
|
93
83
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
### Genre Detection (ALL GENRES SUPPORTED)
|
|
84
|
+
Veo prioritizes first sentence most heavily. Every prompt MUST follow this order:
|
|
97
85
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
| **THRILLER** | gerilim, suç, dedektif | Tracking, surveillance | High contrast | 8s |
|
|
108
|
-
| **WAR/MILITARY** | savaş, asker, bomba | Wide establishing + tight | Harsh, dramatic | 8s |
|
|
109
|
-
| **HISTORICAL** | tarihi, dönem, paşa | Documentary touch | Period-accurate | 8s |
|
|
110
|
-
| **DOCUMENTARY** | belgesel, gerçek | Observational | Natural available | 8s |
|
|
111
|
-
| **MUSICAL** | müzikal, dans, şarkı | Choreography-matched | Stage/performance | 8s |
|
|
112
|
-
| **WESTERN** | kovboy, vahsi batı | Wide landscapes + faces | Harsh sun, dusty | 8s |
|
|
113
|
-
| **NOIR** | noir, dedektif, gece | Shadows, high contrast | B&W or desaturated | 8s |
|
|
114
|
-
| **ANIMATION** | animasyon, çizgi film | Style-specific | Stylized | Per style |
|
|
115
|
-
|
|
116
|
-
### Dramaturji Analizi (Diyalog Sahneleri İçin)
|
|
117
|
-
|
|
118
|
-
Her diyalog sahnesi için şu iskeleti zihinsel olarak doldur:
|
|
119
|
-
1. **Amaç:** Her karakter bu sahnede ne istiyor?
|
|
120
|
-
2. **Engel:** Neden hemen alamıyor?
|
|
121
|
-
3. **Risk:** Kaybederse ne olur?
|
|
122
|
-
4. **Alt metin:** Söylediği ile kastettiği aynı mı?
|
|
123
|
-
5. **Beat/Dönüş:** Her 1-2 replikte mini yön değişimi
|
|
124
|
-
|
|
125
|
-
Bu bilgiyi prompt'a kuru bilgi olarak değil, **oyunculuk davranışı** olarak göm.
|
|
126
|
-
Detay için → `MASTER.md` TIER 0.5: DRAMATÜRJİ & OYUNCULUK
|
|
127
|
-
|
|
128
|
-
### Character Tracking
|
|
129
|
-
|
|
130
|
-
For each character mentioned:
|
|
131
|
-
1. Check if reference image provided
|
|
132
|
-
2. Create consistent physical description
|
|
133
|
-
3. Track costume changes
|
|
134
|
-
4. Maintain continuity across shots
|
|
135
|
-
5. **Use same seed** for coverage shots of the same character
|
|
136
|
-
|
|
137
|
-
### Location Tracking
|
|
138
|
-
|
|
139
|
-
For each location:
|
|
140
|
-
1. Establish visual style
|
|
141
|
-
2. Track lighting conditions
|
|
142
|
-
3. Note atmosphere elements
|
|
143
|
-
4. Maintain consistency
|
|
144
|
-
5. **Use same seed** for same-location shots
|
|
86
|
+
```text
|
|
87
|
+
1. [Scene summary — single sentence] "Cinematic close-up of a young soldier in a dim bunker."
|
|
88
|
+
2. [Who/What/Where] Character physical description, costume, position
|
|
89
|
+
3. [Action] Micro-behavior, acting cue, physical gesture
|
|
90
|
+
4. [Camera + Lens] "85mm f/2.0, shallow DOF, static with handheld micro-movement"
|
|
91
|
+
5. [Light + Atmosphere] "Warm oil lamp key light from screen-left, deep shadows"
|
|
92
|
+
6. [Audio direction block] (VIDEO prompts only)
|
|
93
|
+
7. [Avoid line] (EVERY prompt — MANDATORY)
|
|
94
|
+
```
|
|
145
95
|
|
|
146
96
|
---
|
|
147
97
|
|
|
148
|
-
##
|
|
98
|
+
## AUDIO DIRECTION BLOCK (Mandatory for Video)
|
|
149
99
|
|
|
150
|
-
|
|
100
|
+
Every video prompt must include this exact block at the end:
|
|
151
101
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
- [
|
|
155
|
-
- [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
### 3. Chain Continuity
|
|
164
|
-
- [ ] Chain status correct? (First Shot / Chained / Chain Break)
|
|
165
|
-
- [ ] End frame designed for smooth continuation?
|
|
166
|
-
- [ ] No extreme close-up trapping next shot?
|
|
167
|
-
|
|
168
|
-
### 4. Output Format
|
|
169
|
-
- [ ] Main shot: THREE code blocks (İLK FRAME + SON FRAME + VİDEO)?
|
|
170
|
-
- [ ] Coverage: TWO code blocks each (image + video)?
|
|
171
|
-
- [ ] 2-3 coverage sub-shots per main shot?
|
|
172
|
-
- [ ] Each block contains ONLY prompt text?
|
|
173
|
-
- [ ] All prompts copy-paste ready?
|
|
102
|
+
```text
|
|
103
|
+
Audio direction:
|
|
104
|
+
- Language: [Original language of dialogue]
|
|
105
|
+
- Type: [Dialogue/SFX/Ambience/Mixed]
|
|
106
|
+
- Dialogue transcript: "[Exact lines]" or NONE
|
|
107
|
+
- SFX: [Specific sound effects list]
|
|
108
|
+
- Ambience: [Environmental sounds]
|
|
109
|
+
- Music: NONE (unless strictly requested)
|
|
110
|
+
- Mix target: Dialogue X%, SFX Y%, Ambience Z%
|
|
111
|
+
- No on-screen subtitles/captions.
|
|
112
|
+
```
|
|
174
113
|
|
|
175
114
|
---
|
|
176
115
|
|
|
177
|
-
##
|
|
116
|
+
## SCENARIO ANALYSIS
|
|
117
|
+
|
|
118
|
+
### Genre Detection (ALL GENRES SUPPORTED)
|
|
119
|
+
Detect genre (Drama, Action, Horror, Sci-Fi, etc.) and adapt camera/lighting style accordingly.
|
|
178
120
|
|
|
179
|
-
|
|
121
|
+
### Dramaturgy (Dialogue Scenes)
|
|
122
|
+
Analyze per character: **Objective**, **Obstacle**, **Stakes**, **Subtext**, **Beat Turn**.
|
|
123
|
+
Embed this as physical behavior in the prompt, NOT as abstract metadata.
|
|
180
124
|
|
|
181
|
-
```
|
|
182
125
|
---
|
|
183
126
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
**İLK FRAME (SHOTNN_START):**
|
|
187
|
-
[If CHAINED: "→ Use SHOT[prev]_END as first frame"]
|
|
188
|
-
[If FIRST/BREAK: code block with image prompt]
|
|
127
|
+
## PRE-DELIVERY CHECKLIST
|
|
189
128
|
|
|
190
|
-
|
|
191
|
-
[code block with image prompt - ALWAYS]
|
|
129
|
+
Before outputting ANY shot:
|
|
192
130
|
|
|
193
|
-
|
|
194
|
-
[
|
|
131
|
+
### 1. Safety & Anonymity (CRITICAL)
|
|
132
|
+
- [ ] No real person's name? (Use physical descriptions)
|
|
133
|
+
- [ ] No celebrity references?
|
|
134
|
+
- [ ] No active violence/gore?
|
|
195
135
|
|
|
196
|
-
|
|
197
|
-
|
|
136
|
+
### 2. Prompt Structure
|
|
137
|
+
- [ ] Follows 1-7 Flow Order?
|
|
138
|
+
- [ ] Avoid Line present on EVERY prompt (Image + Video + Coverage)?
|
|
139
|
+
- [ ] Audio Direction Block present on EVERY video prompt?
|
|
140
|
+
- [ ] 2-3 Coverage shots included in the same file?
|
|
198
141
|
|
|
199
142
|
---
|
|
200
|
-
```
|
|
201
143
|
|
|
202
|
-
|
|
203
|
-
- `FIRST SHOT` - First shot of project
|
|
204
|
-
- `CHAINED from SHOT[prev]_END` - Continuing from previous
|
|
205
|
-
- `CHAIN BREAK - [Reason]` - Location/time change
|
|
144
|
+
## OUTPUT FORMAT
|
|
206
145
|
|
|
207
|
-
|
|
146
|
+
For EACH shot, output exactly one file (`SHOTNN.md`) containing Main Shot + Coverage:
|
|
208
147
|
|
|
209
|
-
|
|
148
|
+
```markdown
|
|
149
|
+
# SHOT[NN] | [Duration]s | 🎭 Tension: [1-5]
|
|
210
150
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
| Safety filter blocked | Apply safe reframe, add documentary framing |
|
|
214
|
-
| Reference not matching | Add stronger "EXACTLY" language, repeat 3x |
|
|
215
|
-
| Celebrity name detected | Remove ALL names, use physical descriptions |
|
|
216
|
-
| Chain discontinuity | Declare CHAIN BREAK, generate new START |
|
|
217
|
-
| Audio fail | Fall back to SFX + ambience only |
|
|
151
|
+
## 🇹🇷 Türkçe Özet
|
|
152
|
+
[1-2 cümle Türkçe açıklama]
|
|
218
153
|
|
|
219
|
-
|
|
154
|
+
## Chain Status
|
|
155
|
+
🔗 [FIRST SHOT / CHAINED from SHOT[prev]_END / CHAIN BREAK]
|
|
156
|
+
|
|
157
|
+
## Main Shot
|
|
220
158
|
|
|
221
|
-
|
|
159
|
+
### İLK FRAME (SHOTNN_START)
|
|
160
|
+
[If CHAINED: "→ Use SHOT[prev]_END as first frame"]
|
|
161
|
+
[If FIRST/BREAK: Code block with Image Prompt (Flow Order + Avoid Line)]
|
|
222
162
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
-
|
|
227
|
-
|
|
163
|
+
### SON FRAME (SHOTNN_END)
|
|
164
|
+
```
|
|
165
|
+
[Image Prompt (Flow Order + Avoid Line)]
|
|
166
|
+
avoid: blurry, low-res, text, watermark, bad anatomy, distorted face ...
|
|
167
|
+
```
|
|
228
168
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
- Add characters/locations not specified
|
|
233
|
-
- Claim 4K/8K resolution
|
|
234
|
-
- Include active violence
|
|
169
|
+
### VİDEO
|
|
170
|
+
```
|
|
171
|
+
[Video Prompt (Flow Order)]
|
|
235
172
|
|
|
236
|
-
|
|
173
|
+
Audio direction:
|
|
174
|
+
- Language: ...
|
|
175
|
+
- ...
|
|
176
|
+
- No on-screen subtitles.
|
|
237
177
|
|
|
238
|
-
|
|
178
|
+
avoid: blurry, low-res, text, watermark, bad anatomy, distorted face ...
|
|
179
|
+
```
|
|
239
180
|
|
|
240
|
-
|
|
181
|
+
---
|
|
241
182
|
|
|
242
|
-
|
|
243
|
-
- [ ] **Lighting:** Three-point setup, motivated sources, proper color temp
|
|
244
|
-
- [ ] **Camera:** Professional movements, intentional lens selection
|
|
245
|
-
- [ ] **Color:** Graded for mood, consistent palette
|
|
246
|
-
- [ ] **Depth:** Foreground, midground, background layers
|
|
247
|
-
- [ ] **Focus:** Selective focus for emphasis, rack focus for reveals
|
|
183
|
+
## Coverage Shots (Kurgu Detayları)
|
|
248
184
|
|
|
249
|
-
###
|
|
185
|
+
### SHOT[NN]A - [Type] | [Duration]s | [Icon] [Label]
|
|
186
|
+
🇹🇷 [Özet]
|
|
187
|
+
```
|
|
188
|
+
[Image Prompt (Flow Order + Avoid Line)]
|
|
189
|
+
```
|
|
190
|
+
```
|
|
191
|
+
[Video Prompt (Flow Order + Audio Block + Avoid Line)]
|
|
192
|
+
```
|
|
250
193
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
- **Lighting:** key, fill, rim/hair, practical, motivated, diffused
|
|
254
|
-
- **Lenses:** wide (24mm), standard (50mm), portrait (85mm), telephoto (135mm+)
|
|
194
|
+
### SHOT[NN]B ...
|
|
195
|
+
[Same format]
|
|
255
196
|
|
|
256
197
|
---
|
|
198
|
+
generated: [timestamp]
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
## Failure Mode Recovery
|
|
202
|
+
- **Safety Blocked:** Reframe safely, use documentary style framing.
|
|
203
|
+
- **Celeb Detected:** Remove name, describe physique (e.g., "tall man with beard").
|
|
204
|
+
- **Audio Fail:** Fall back to SFX/Ambience only.
|
|
257
205
|
|
|
258
|
-
> **Remember:** You are crafting HOLLYWOOD-GRADE cinema. Every frame museum-worthy. Every chain seamless. Every prompt technically precise
|
|
206
|
+
> **Remember:** You are crafting HOLLYWOOD-GRADE cinema. Every frame museum-worthy. Every chain seamless. Every prompt technically precise.
|
|
@@ -8,16 +8,16 @@ $ARGUMENTS
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
## Task
|
|
12
|
-
|
|
13
|
-
Generate production-ready shot prompts from scenario and **SAVE TO FILES**.
|
|
14
|
-
|
|
15
|
-
## Scenario Source
|
|
16
|
-
|
|
17
|
-
- Preferred scenario file: `$SCENARIO_HINT`
|
|
18
|
-
- If an active/selected editor file exists, use it first.
|
|
19
|
-
|
|
20
|
-
---
|
|
11
|
+
## Task
|
|
12
|
+
|
|
13
|
+
Generate production-ready shot prompts from scenario and **SAVE TO FILES**.
|
|
14
|
+
|
|
15
|
+
## Scenario Source
|
|
16
|
+
|
|
17
|
+
- Preferred scenario file: `$SCENARIO_HINT`
|
|
18
|
+
- If an active/selected editor file exists, use it first.
|
|
19
|
+
|
|
20
|
+
---
|
|
21
21
|
|
|
22
22
|
## Output Directory Structure
|
|
23
23
|
|
|
@@ -69,8 +69,9 @@ For EACH shot:
|
|
|
69
69
|
- Alt metin ve beat dönüşlerini planla
|
|
70
70
|
- Oyunculuk davranışlarını prompt'a göm (MASTER.md TIER 0.5)
|
|
71
71
|
3. **Generate main shot prompts** (İLK FRAME, SON FRAME, VİDEO)
|
|
72
|
-
-
|
|
73
|
-
-
|
|
72
|
+
- **MANDATORY FLOW:** Subject → Action → Camera → Light → Audio → Avoid
|
|
73
|
+
- **Avoid Line:** Her prompt'un sonunda ZORUNLU
|
|
74
|
+
- **Audio Block:** Her video prompt'unda ZORUNLU (Language, Type, Mix...)
|
|
74
75
|
- **🇹🇷 Türkçe özet:** Her shot başlığına 1 cümlelik Türkçe özet yaz
|
|
75
76
|
4. **Select coverage types** based on scene type:
|
|
76
77
|
- Dialogue → Reaction (A) + OTS (B)
|
|
@@ -104,20 +105,34 @@ Each `$OUTPUT_DIR/shots/SHOTNN.md` file:
|
|
|
104
105
|
### İLK FRAME (SHOTNN_START)
|
|
105
106
|
[If chained: "→ Use SHOT[prev]_END as first frame"]
|
|
106
107
|
|
|
107
|
-
```
|
|
108
|
-
[Image prompt
|
|
108
|
+
```text
|
|
109
|
+
[Image prompt — Flow Order: Scene > Who > Action > Camera > Light]
|
|
110
|
+
avoid: blurry, low-res, text, watermark, bad anatomy, distorted face ...
|
|
109
111
|
```
|
|
110
112
|
|
|
111
113
|
### SON FRAME (SHOTNN_END)
|
|
112
114
|
|
|
113
|
-
```
|
|
114
|
-
[Image prompt
|
|
115
|
+
```text
|
|
116
|
+
[Image prompt — Flow Order: Scene > Who > Action > Camera > Light]
|
|
117
|
+
avoid: blurry, low-res, text, watermark, bad anatomy, distorted face ...
|
|
115
118
|
```
|
|
116
119
|
|
|
117
120
|
### VİDEO
|
|
118
121
|
|
|
119
|
-
```
|
|
120
|
-
[Video prompt
|
|
122
|
+
```text
|
|
123
|
+
[Video prompt — Flow Order: Scene > Who > Action > Camera > Light]
|
|
124
|
+
|
|
125
|
+
Audio direction:
|
|
126
|
+
- Language: [Original language]
|
|
127
|
+
- Type: [Dialogue/SFX/Ambience]
|
|
128
|
+
- Dialogue transcript: "[Exact lines]"
|
|
129
|
+
- SFX: [Specific sounds]
|
|
130
|
+
- Ambience: [Environment]
|
|
131
|
+
- Music: NONE
|
|
132
|
+
- Mix target: Dialogue 80%, Ambience 20%
|
|
133
|
+
- No on-screen subtitles.
|
|
134
|
+
|
|
135
|
+
avoid: blurry, low-res, text, watermark, bad anatomy, distorted face ...
|
|
121
136
|
```
|
|
122
137
|
|
|
123
138
|
---
|
|
@@ -128,38 +143,20 @@ Each `$OUTPUT_DIR/shots/SHOTNN.md` file:
|
|
|
128
143
|
|
|
129
144
|
🇹🇷 [Türkçe coverage özeti]
|
|
130
145
|
|
|
146
|
+
```text
|
|
147
|
+
[Coverage IMAGE prompt — Flow Order + Avoid Line]
|
|
131
148
|
```
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
```
|
|
135
|
-
[Video prompt with audio direction — min 60 words + Avoid line]
|
|
149
|
+
```text
|
|
150
|
+
[Coverage VIDEO prompt — Flow Order + Audio Block + Avoid Line]
|
|
136
151
|
```
|
|
137
152
|
|
|
138
153
|
---
|
|
139
154
|
|
|
140
155
|
### SHOT[NN]B - [Type] | [Duration]s | [Icon] [Label]
|
|
141
|
-
|
|
142
|
-
🇹🇷 [Türkçe coverage özeti]
|
|
143
|
-
|
|
144
|
-
```
|
|
145
|
-
[Standalone image prompt — min 60 words + Avoid line]
|
|
146
|
-
```
|
|
147
|
-
```
|
|
148
|
-
[Video prompt with audio direction — min 60 words + Avoid line]
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
---
|
|
156
|
+
[Same format as A]
|
|
152
157
|
|
|
153
158
|
### SHOT[NN]C - [Type] | [Duration]s | [Icon] [Label] (optional)
|
|
154
|
-
|
|
155
|
-
🇹🇷 [Türkçe coverage özeti]
|
|
156
|
-
|
|
157
|
-
```
|
|
158
|
-
[Standalone image prompt — min 60 words + Avoid line]
|
|
159
|
-
```
|
|
160
|
-
```
|
|
161
|
-
[Video prompt with audio direction — min 60 words + Avoid line]
|
|
162
|
-
```
|
|
159
|
+
[Same format as A]
|
|
163
160
|
|
|
164
161
|
---
|
|
165
162
|
Generated: [timestamp]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milenyumai/film-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Hollywood-standard cinematic prompt engineering toolkit for Google Flow + Veo 3.1. Auto-configures AI agents (Cursor, Claude Code, VS Code Copilot, Antigravity) with production-grade shot generation system.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./build/index.js",
|