@milenyumai/film-kit 2.2.0 → 2.3.0
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/README.md +68 -17
- package/build/index.d.ts +1 -1
- package/build/lib/cli.js +2 -2
- package/build/lib/film-kit.js +6 -4
- package/build/lib/storyboard-reference/adapters/kling30.js +3 -1
- package/build/lib/storyboard-reference/adapters/seedance20.d.ts +4 -0
- package/build/lib/storyboard-reference/adapters/seedance20.js +72 -13
- package/build/lib/storyboard-reference/adapters/veo31.js +3 -1
- package/build/lib/storyboard-reference/index.d.ts +1 -1
- package/build/lib/storyboard-reference/output-writer.js +84 -6
- package/build/lib/storyboard-reference/prompt-bundle-builder.js +295 -8
- package/build/lib/storyboard-reference/request-normalizer.js +8 -4
- package/build/lib/storyboard-reference/storyboard-interpreter.d.ts +3 -1
- package/build/lib/storyboard-reference/storyboard-interpreter.js +21 -1
- package/build/lib/storyboard-reference/types.d.ts +151 -2
- package/build/lib/storyboard-reference/validators.js +2 -5
- package/build/lib/templates.js +10 -6
- package/content/ARCHITECTURE.md +4 -4
- package/content/MASTER.md +2 -2
- package/content/RULES.md +4 -4
- package/content/agents/prompt-engineer.md +7 -7
- package/content/skills/prompt-structure/SKILL.md +14 -11
- package/content/skills/reference-locking/SKILL.md +6 -4
- package/content/skills/semantic-consistency/SKILL.md +1 -1
- package/content/skills/storyboard-reference/SKILL.md +54 -13
- package/content/workflows/generate-storyboard.md +37 -16
- package/content/workflows/generate.md +7 -7
- package/content/workflows/safety-check.md +2 -2
- package/package.json +1 -1
- package/packages/gpt-image-smart/content/skills/storyboard-reference/SKILL.md +104 -12
- package/packages/gpt-image-smart/content/workflows/generate-storyboard.md +89 -12
- package/packages/hybrid/content/skills/storyboard-reference/SKILL.md +104 -12
- package/packages/hybrid/content/workflows/generate-storyboard.md +89 -12
- package/packages/hybrid-smart/content/skills/storyboard-reference/SKILL.md +104 -12
- package/packages/hybrid-smart/content/workflows/generate-storyboard.md +89 -12
- package/packages/multi/build/cli.js +39 -0
- package/packages/multi/build/index.d.ts +1 -1
- package/packages/multi/build/lib/configure.js +208 -1
- package/packages/multi/build/lib/defaults.d.ts +3 -1
- package/packages/multi/build/lib/defaults.js +32 -0
- package/packages/multi/build/lib/templates.js +146 -60
- package/packages/multi/build/lib/types.d.ts +16 -0
- package/packages/multi/content/agents/continuity-editor.md +6 -6
- package/packages/multi/content/agents/delivery-editor.md +2 -2
- package/packages/multi/content/agents/lead-director.md +18 -10
- package/packages/multi/content/agents/semantic-auditor.md +4 -5
- package/packages/multi/content/agents/shot-generator.md +9 -27
- package/packages/multi/content/skills/storyboard-reference/SKILL.md +104 -12
- package/packages/multi/content/workflows/chain-multi.md +4 -4
- package/packages/multi/content/workflows/generate-multi.md +6 -6
- package/packages/multi/content/workflows/generate-storyboard.md +89 -12
- package/packages/multi/content/workflows/generate-teammate.md +8 -14
- package/packages/multi/content/workflows/safety-check-multi.md +7 -11
- package/packages/studio/content/skills/storyboard-reference/SKILL.md +104 -12
- package/packages/studio/content/workflows/generate-storyboard.md +89 -12
|
@@ -1,28 +1,120 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: storyboard-reference
|
|
3
|
-
description: Character reference + storyboard
|
|
3
|
+
description: Character reference sheet prep + per-shot GPT Image 2 storyboard prompts + model-aware video prompt bundles for Veo 3.1, Seedance 2.0, and Kling 3.0 without requiring start/end frame generation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Storyboard Reference Skill
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Use this skill when the user provides:
|
|
11
|
+
|
|
12
|
+
- one or more character reference images
|
|
13
|
+
- a video brief or scenario text
|
|
14
|
+
- optional external storyboard guide images
|
|
15
|
+
|
|
16
|
+
The output is a production workflow, not only a video prompt. First create one reusable GPT Image 2 character sheet prompt per reference character. Then create one GPT Image 2 storyboard prompt per `SHOTNN.md`. The generated shot storyboard is the staging reference for the final video model prompt.
|
|
17
|
+
|
|
18
|
+
## Reference Prep
|
|
19
|
+
|
|
20
|
+
### Character Sheet Prompt
|
|
21
|
+
|
|
22
|
+
For each character reference, generate this prompt once:
|
|
23
|
+
|
|
24
|
+
- provider: `gpt-image-2`
|
|
25
|
+
- aspect ratio: `16:9`
|
|
26
|
+
- layout: one widescreen production storyboard sheet
|
|
27
|
+
- required views: front full body, back full body, left profile, right profile, three-quarter full body, close-up face
|
|
28
|
+
- identity lock: exact face, skull shape, hair, skin texture, body proportions, wardrobe, accessories, and visible props
|
|
29
|
+
- forbidden: text, labels, arrows, panel numbers, logos, watermarks, alternate outfits, alternate character designs
|
|
30
|
+
|
|
31
|
+
This sheet becomes the identity reference for every later shot storyboard.
|
|
32
|
+
|
|
33
|
+
### Shot Storyboard Prompt
|
|
34
|
+
|
|
35
|
+
For each shot, generate a professional GPT Image 2 storyboard prompt:
|
|
36
|
+
|
|
37
|
+
- provider: `gpt-image-2`
|
|
38
|
+
- aspect ratio: `16:9`
|
|
39
|
+
- panel budget: 4-6s = 1-2 panels, 7-10s = 2-3 panels, 11-15s = 3-4 panels
|
|
40
|
+
- hard cap: max 4 panels/phases per shot unless the configured project cap is lower
|
|
41
|
+
- split policy: 5+ distinct phases must become separate chained `SHOTNN.md` files
|
|
42
|
+
- target detail: 160-240 words, concrete blocking and camera language, no decorative prose
|
|
43
|
+
- continuity: include previous shot handoff, next shot handoff, shared `visual_world`, screen direction, lighting, and action rhythm
|
|
44
|
+
|
|
45
|
+
The shot storyboard prompt must use the character sheet reference as the only identity source. Optional external storyboard guide images may inform composition and timing only.
|
|
9
46
|
|
|
10
47
|
## Role Separation
|
|
11
48
|
|
|
12
|
-
|
|
13
|
-
|
|
49
|
+
Character references and generated character sheets are identity locks.
|
|
50
|
+
|
|
51
|
+
Use them for face, hair, skin texture, body proportions, wardrobe, accessories, and visible props. Do not use them for camera path, storyboard timing, or background layout.
|
|
52
|
+
|
|
53
|
+
The generated shot storyboard is the editorial and camera plan.
|
|
54
|
+
|
|
55
|
+
Use it for composition, blocking, camera angle, action progression, visual rhythm, phase order, and handoff continuity. Do not use it to redesign the character, replace wardrobe, copy panel borders, copy text, copy logos, or import watermark details.
|
|
14
56
|
|
|
15
57
|
## Hard Rules
|
|
16
58
|
|
|
17
59
|
- Character identity always wins over storyboard character design.
|
|
18
|
-
-
|
|
19
|
-
- One prompt may contain at most 4 storyboard phases.
|
|
20
|
-
- 5+ distinct phases must split into multiple `SHOTNN.md` files.
|
|
21
|
-
- Do not
|
|
22
|
-
- Every model
|
|
23
|
-
- Dialogue
|
|
24
|
-
- Music is `NONE` unless explicitly
|
|
60
|
+
- Storyboard text, labels, watermarks, logos, and panel borders are never copied into the video.
|
|
61
|
+
- One prompt may contain at most 4 storyboard phases by default.
|
|
62
|
+
- 5+ distinct storyboard phases must be split into multiple `SHOTNN.md` files.
|
|
63
|
+
- Do not assume start/end frame assets exist in `storyboard-reference` mode.
|
|
64
|
+
- Every model output must include an `Avoid` or negative prompt section.
|
|
65
|
+
- Dialogue remains in the user's original language.
|
|
66
|
+
- Music is `NONE` unless the user explicitly asks for music.
|
|
67
|
+
- Fail closed on public figure, real-person likeness, trademark/logo, or unsafe visual requests.
|
|
68
|
+
|
|
69
|
+
## Model Grammar
|
|
70
|
+
|
|
71
|
+
Seedance 2.0:
|
|
72
|
+
|
|
73
|
+
- Map character sheet images to `@Image1`, `@Image2`, ... with legacy aliases `@image1`, `@image2`, ...
|
|
74
|
+
- Map the generated shot storyboard to the next image token, for example one character means `@Image2`, two characters means `@Image3`.
|
|
75
|
+
- Character image tokens control identity, face, body proportions, wardrobe, accessories, and visible props.
|
|
76
|
+
- The storyboard token controls composition, blocking, camera direction, timing, action rhythm, and phase order only.
|
|
77
|
+
- Use explicit timeline phases when the storyboard has multiple beats.
|
|
78
|
+
- Use `No scene cuts throughout, one continuous shot` only for a true single uninterrupted camera move.
|
|
79
|
+
- For multi-phase storyboard prompts, use only the planned phase transitions and do not add unplanned cuts.
|
|
80
|
+
- Duration policy: 4-6s = 1-2 phases, 7-10s = 2-3 phases, 11-15s = 3-4 phases.
|
|
81
|
+
- Seedance provider limits: max 9 image references, 3 video references, 3 audio references, 12 total files, 4-15 seconds.
|
|
82
|
+
- Storyboard text, panel borders, watermark, logo, and alternate character design are never identity sources.
|
|
83
|
+
|
|
84
|
+
Veo 3.1:
|
|
85
|
+
|
|
86
|
+
- Describe the generated storyboard as a visual planning reference, not a literal frame.
|
|
87
|
+
- Include camera, lens/framing, lighting, foreground/midground/background, continuity, and full `Audio direction`.
|
|
88
|
+
- Do not request storyboard panel borders or on-screen text.
|
|
89
|
+
|
|
90
|
+
Kling 3.0:
|
|
91
|
+
|
|
92
|
+
- Prompt code block starts with `[CHARACTER / SUBJECT CONSISTENCY]`.
|
|
93
|
+
- Include `[CORE INTENT]`, `[TOTAL DURATION]`, `[VISUAL STYLE]`, `[CAMERA]`, `[SHOT N | time range]`, `[AUDIO]`, `[TIMING RULES]`, `[BACKGROUND RULES]`, `[FINAL FRAME PRIORITY]`, and `[NEGATIVE PROMPT]`.
|
|
94
|
+
- Use `resolved storyboard composition`, not `final frame exactly`, when no end frame exists.
|
|
25
95
|
|
|
26
96
|
## Output Contract
|
|
27
97
|
|
|
28
|
-
|
|
98
|
+
Each shot file contains:
|
|
99
|
+
|
|
100
|
+
- Turkish summary
|
|
101
|
+
- model control
|
|
102
|
+
- input asset roles
|
|
103
|
+
- reference asset requirements
|
|
104
|
+
- provider reference tokens
|
|
105
|
+
- GPT Image 2 storyboard prompt
|
|
106
|
+
- storyboard interpretation
|
|
107
|
+
- audio plan
|
|
108
|
+
- prompt bundle for requested models
|
|
109
|
+
- QA verdict
|
|
110
|
+
|
|
111
|
+
Generated files:
|
|
112
|
+
|
|
113
|
+
```text
|
|
114
|
+
$OUTPUT_DIR/storyboard-reference-plan.json
|
|
115
|
+
$OUTPUT_DIR/reference-prep/CHARACTER-SHEET-*.md
|
|
116
|
+
$OUTPUT_DIR/storyboard-prompts/SHOTNN-GPT-IMAGE-2-STORYBOARD.md
|
|
117
|
+
$OUTPUT_DIR/prompt-bundles/SHOTNN.bundle.json
|
|
118
|
+
$OUTPUT_DIR/shots/SHOTNN.md
|
|
119
|
+
$OUTPUT_DIR/reports/STORYBOARD-REFERENCE-QA.md
|
|
120
|
+
```
|
|
@@ -1,19 +1,96 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Generate storyboard-
|
|
2
|
+
description: Generate character sheet prompts, per-shot GPT Image 2 storyboard prompts, and model-aware video prompt bundles from character references and a video brief
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /generate-storyboard
|
|
5
|
+
# /generate-storyboard - Storyboard Reference Video Prompt Mode
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Preconditions
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- Character reference image exists.
|
|
10
|
+
- User brief or scenario text exists.
|
|
11
|
+
- Optional storyboard guide images may exist, but they are not required.
|
|
12
|
+
- `storyboard-reference` mode is explicitly requested or configured.
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
2. Bind `@storyboard1` as `storyboard_plan`, staging only.
|
|
13
|
-
3. Interpret storyboard panels: 1 continuous arc, 2-4 internal phases, 5+ split shots.
|
|
14
|
-
4. Build `visual_world`, continuity anchors, and model-specific prompts.
|
|
15
|
-
5. Generate Seedance, Veo, and Kling prompt sections for the requested model subset.
|
|
16
|
-
6. Run QA for reference lock, storyboard role separation, model grammar, avoid line, audio plan, and safety.
|
|
17
|
-
7. Write all outputs under `$OUTPUT_DIR`.
|
|
14
|
+
## Read Order
|
|
18
15
|
|
|
19
|
-
|
|
16
|
+
1. `.agent/model-profile.md`
|
|
17
|
+
2. `.agent/skills/safety-compliance/SKILL.md`
|
|
18
|
+
3. `.agent/skills/reference-locking/SKILL.md`
|
|
19
|
+
4. `.agent/skills/storyboard-reference/SKILL.md`
|
|
20
|
+
5. `.agent/skills/semantic-consistency/SKILL.md`
|
|
21
|
+
6. `.agent/skills/visual-modes/SKILL.md`
|
|
22
|
+
7. `.agent/skills/audio-design/SKILL.md` when dialogue, SFX, ambience, or voiceover exists
|
|
23
|
+
8. `.agent/skills/prompt-structure/SKILL.md`
|
|
24
|
+
|
|
25
|
+
## Flow
|
|
26
|
+
|
|
27
|
+
1. Confirm asset roles:
|
|
28
|
+
- `@character1`, `@character2`, ...: `character_identity`, exact lock
|
|
29
|
+
- optional `@storyboard1`, `@storyboard2`, ...: external storyboard guides, staging only
|
|
30
|
+
2. Generate one GPT Image 2 character sheet prompt per character reference:
|
|
31
|
+
- 16:9 production storyboard sheet
|
|
32
|
+
- front full body, back full body, left profile, right profile, three-quarter full body, close-up face
|
|
33
|
+
- exact identity, wardrobe, accessories, and visible props
|
|
34
|
+
- no labels, text, logos, watermarks, alternate designs, or extra characters
|
|
35
|
+
3. Confirm target models: `veo31`, `seedance-2.0`, `kling-3.0`, or a user-provided subset.
|
|
36
|
+
4. Select shot storyboard panel budget:
|
|
37
|
+
- 4-6 seconds: 1-2 panels/phases
|
|
38
|
+
- 7-10 seconds: 2-3 panels/phases
|
|
39
|
+
- 11-15 seconds: 3-4 panels/phases
|
|
40
|
+
- 5+ distinct phases: split into multiple `SHOTNN.md` files
|
|
41
|
+
5. Build `visual_world`:
|
|
42
|
+
- environment
|
|
43
|
+
- lighting
|
|
44
|
+
- foreground/midground/background
|
|
45
|
+
- screen direction
|
|
46
|
+
- continuity anchors
|
|
47
|
+
6. Generate one GPT Image 2 storyboard prompt per shot:
|
|
48
|
+
- use character sheets as the only identity source
|
|
49
|
+
- use optional storyboard guide only for composition, blocking, camera, timing, and rhythm
|
|
50
|
+
- include previous shot handoff and next shot handoff
|
|
51
|
+
- preserve shared location, lighting, screen direction, action rhythm, and scene continuity
|
|
52
|
+
7. Build model prompt bundle:
|
|
53
|
+
- Seedance dynamic image mapping: character sheets first, generated shot storyboard next
|
|
54
|
+
- Veo visual-planning prompt with full audio direction
|
|
55
|
+
- Kling block-structured storyboard route
|
|
56
|
+
8. Run QA gates:
|
|
57
|
+
- reference lock
|
|
58
|
+
- storyboard role separation
|
|
59
|
+
- model grammar
|
|
60
|
+
- avoid/negative prompt
|
|
61
|
+
- audio plan
|
|
62
|
+
- safety
|
|
63
|
+
9. Write outputs under `$OUTPUT_DIR`.
|
|
64
|
+
|
|
65
|
+
## CLI Equivalent
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @milenyumai/film-kit generate-storyboard \
|
|
69
|
+
--character-ref ./refs/character.png \
|
|
70
|
+
--brief ./scenario.md \
|
|
71
|
+
--models veo31,seedance-2.0,kling-3.0 \
|
|
72
|
+
--duration 8 \
|
|
73
|
+
--aspect 16:9 \
|
|
74
|
+
--output-dir ./outputs
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Optional external storyboard guide:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
npx @milenyumai/film-kit generate-storyboard \
|
|
81
|
+
--character-ref ./refs/character.png \
|
|
82
|
+
--storyboard-ref ./refs/storyboard-guide.png \
|
|
83
|
+
--brief ./scenario.md \
|
|
84
|
+
--models seedance-2.0
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Fail-Closed Rules
|
|
88
|
+
|
|
89
|
+
- Missing character reference: stop and request a valid reference.
|
|
90
|
+
- Empty brief: stop and request a brief.
|
|
91
|
+
- Public figure / real-person likeness / trademark risk: stop or safely anonymize before prompt generation.
|
|
92
|
+
- 5+ storyboard phases: do not compress into one prompt; split shots.
|
|
93
|
+
- Missing GPT Image 2 character sheet prompt: output is invalid.
|
|
94
|
+
- Missing GPT Image 2 per-shot storyboard prompt: output is invalid.
|
|
95
|
+
- Missing `Avoid` / negative prompt: output is invalid.
|
|
96
|
+
- Kling prompt missing required block structure: output is invalid.
|
|
@@ -1,28 +1,120 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: storyboard-reference
|
|
3
|
-
description: Character reference + storyboard
|
|
3
|
+
description: Character reference sheet prep + per-shot GPT Image 2 storyboard prompts + model-aware video prompt bundles for Veo 3.1, Seedance 2.0, and Kling 3.0 without requiring start/end frame generation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Storyboard Reference Skill
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Use this skill when the user provides:
|
|
11
|
+
|
|
12
|
+
- one or more character reference images
|
|
13
|
+
- a video brief or scenario text
|
|
14
|
+
- optional external storyboard guide images
|
|
15
|
+
|
|
16
|
+
The output is a production workflow, not only a video prompt. First create one reusable GPT Image 2 character sheet prompt per reference character. Then create one GPT Image 2 storyboard prompt per `SHOTNN.md`. The generated shot storyboard is the staging reference for the final video model prompt.
|
|
17
|
+
|
|
18
|
+
## Reference Prep
|
|
19
|
+
|
|
20
|
+
### Character Sheet Prompt
|
|
21
|
+
|
|
22
|
+
For each character reference, generate this prompt once:
|
|
23
|
+
|
|
24
|
+
- provider: `gpt-image-2`
|
|
25
|
+
- aspect ratio: `16:9`
|
|
26
|
+
- layout: one widescreen production storyboard sheet
|
|
27
|
+
- required views: front full body, back full body, left profile, right profile, three-quarter full body, close-up face
|
|
28
|
+
- identity lock: exact face, skull shape, hair, skin texture, body proportions, wardrobe, accessories, and visible props
|
|
29
|
+
- forbidden: text, labels, arrows, panel numbers, logos, watermarks, alternate outfits, alternate character designs
|
|
30
|
+
|
|
31
|
+
This sheet becomes the identity reference for every later shot storyboard.
|
|
32
|
+
|
|
33
|
+
### Shot Storyboard Prompt
|
|
34
|
+
|
|
35
|
+
For each shot, generate a professional GPT Image 2 storyboard prompt:
|
|
36
|
+
|
|
37
|
+
- provider: `gpt-image-2`
|
|
38
|
+
- aspect ratio: `16:9`
|
|
39
|
+
- panel budget: 4-6s = 1-2 panels, 7-10s = 2-3 panels, 11-15s = 3-4 panels
|
|
40
|
+
- hard cap: max 4 panels/phases per shot unless the configured project cap is lower
|
|
41
|
+
- split policy: 5+ distinct phases must become separate chained `SHOTNN.md` files
|
|
42
|
+
- target detail: 160-240 words, concrete blocking and camera language, no decorative prose
|
|
43
|
+
- continuity: include previous shot handoff, next shot handoff, shared `visual_world`, screen direction, lighting, and action rhythm
|
|
44
|
+
|
|
45
|
+
The shot storyboard prompt must use the character sheet reference as the only identity source. Optional external storyboard guide images may inform composition and timing only.
|
|
9
46
|
|
|
10
47
|
## Role Separation
|
|
11
48
|
|
|
12
|
-
|
|
13
|
-
|
|
49
|
+
Character references and generated character sheets are identity locks.
|
|
50
|
+
|
|
51
|
+
Use them for face, hair, skin texture, body proportions, wardrobe, accessories, and visible props. Do not use them for camera path, storyboard timing, or background layout.
|
|
52
|
+
|
|
53
|
+
The generated shot storyboard is the editorial and camera plan.
|
|
54
|
+
|
|
55
|
+
Use it for composition, blocking, camera angle, action progression, visual rhythm, phase order, and handoff continuity. Do not use it to redesign the character, replace wardrobe, copy panel borders, copy text, copy logos, or import watermark details.
|
|
14
56
|
|
|
15
57
|
## Hard Rules
|
|
16
58
|
|
|
17
59
|
- Character identity always wins over storyboard character design.
|
|
18
|
-
-
|
|
19
|
-
- One prompt may contain at most 4 storyboard phases.
|
|
20
|
-
- 5+ distinct phases must split into multiple `SHOTNN.md` files.
|
|
21
|
-
- Do not
|
|
22
|
-
- Every model
|
|
23
|
-
- Dialogue
|
|
24
|
-
- Music is `NONE` unless explicitly
|
|
60
|
+
- Storyboard text, labels, watermarks, logos, and panel borders are never copied into the video.
|
|
61
|
+
- One prompt may contain at most 4 storyboard phases by default.
|
|
62
|
+
- 5+ distinct storyboard phases must be split into multiple `SHOTNN.md` files.
|
|
63
|
+
- Do not assume start/end frame assets exist in `storyboard-reference` mode.
|
|
64
|
+
- Every model output must include an `Avoid` or negative prompt section.
|
|
65
|
+
- Dialogue remains in the user's original language.
|
|
66
|
+
- Music is `NONE` unless the user explicitly asks for music.
|
|
67
|
+
- Fail closed on public figure, real-person likeness, trademark/logo, or unsafe visual requests.
|
|
68
|
+
|
|
69
|
+
## Model Grammar
|
|
70
|
+
|
|
71
|
+
Seedance 2.0:
|
|
72
|
+
|
|
73
|
+
- Map character sheet images to `@Image1`, `@Image2`, ... with legacy aliases `@image1`, `@image2`, ...
|
|
74
|
+
- Map the generated shot storyboard to the next image token, for example one character means `@Image2`, two characters means `@Image3`.
|
|
75
|
+
- Character image tokens control identity, face, body proportions, wardrobe, accessories, and visible props.
|
|
76
|
+
- The storyboard token controls composition, blocking, camera direction, timing, action rhythm, and phase order only.
|
|
77
|
+
- Use explicit timeline phases when the storyboard has multiple beats.
|
|
78
|
+
- Use `No scene cuts throughout, one continuous shot` only for a true single uninterrupted camera move.
|
|
79
|
+
- For multi-phase storyboard prompts, use only the planned phase transitions and do not add unplanned cuts.
|
|
80
|
+
- Duration policy: 4-6s = 1-2 phases, 7-10s = 2-3 phases, 11-15s = 3-4 phases.
|
|
81
|
+
- Seedance provider limits: max 9 image references, 3 video references, 3 audio references, 12 total files, 4-15 seconds.
|
|
82
|
+
- Storyboard text, panel borders, watermark, logo, and alternate character design are never identity sources.
|
|
83
|
+
|
|
84
|
+
Veo 3.1:
|
|
85
|
+
|
|
86
|
+
- Describe the generated storyboard as a visual planning reference, not a literal frame.
|
|
87
|
+
- Include camera, lens/framing, lighting, foreground/midground/background, continuity, and full `Audio direction`.
|
|
88
|
+
- Do not request storyboard panel borders or on-screen text.
|
|
89
|
+
|
|
90
|
+
Kling 3.0:
|
|
91
|
+
|
|
92
|
+
- Prompt code block starts with `[CHARACTER / SUBJECT CONSISTENCY]`.
|
|
93
|
+
- Include `[CORE INTENT]`, `[TOTAL DURATION]`, `[VISUAL STYLE]`, `[CAMERA]`, `[SHOT N | time range]`, `[AUDIO]`, `[TIMING RULES]`, `[BACKGROUND RULES]`, `[FINAL FRAME PRIORITY]`, and `[NEGATIVE PROMPT]`.
|
|
94
|
+
- Use `resolved storyboard composition`, not `final frame exactly`, when no end frame exists.
|
|
25
95
|
|
|
26
96
|
## Output Contract
|
|
27
97
|
|
|
28
|
-
|
|
98
|
+
Each shot file contains:
|
|
99
|
+
|
|
100
|
+
- Turkish summary
|
|
101
|
+
- model control
|
|
102
|
+
- input asset roles
|
|
103
|
+
- reference asset requirements
|
|
104
|
+
- provider reference tokens
|
|
105
|
+
- GPT Image 2 storyboard prompt
|
|
106
|
+
- storyboard interpretation
|
|
107
|
+
- audio plan
|
|
108
|
+
- prompt bundle for requested models
|
|
109
|
+
- QA verdict
|
|
110
|
+
|
|
111
|
+
Generated files:
|
|
112
|
+
|
|
113
|
+
```text
|
|
114
|
+
$OUTPUT_DIR/storyboard-reference-plan.json
|
|
115
|
+
$OUTPUT_DIR/reference-prep/CHARACTER-SHEET-*.md
|
|
116
|
+
$OUTPUT_DIR/storyboard-prompts/SHOTNN-GPT-IMAGE-2-STORYBOARD.md
|
|
117
|
+
$OUTPUT_DIR/prompt-bundles/SHOTNN.bundle.json
|
|
118
|
+
$OUTPUT_DIR/shots/SHOTNN.md
|
|
119
|
+
$OUTPUT_DIR/reports/STORYBOARD-REFERENCE-QA.md
|
|
120
|
+
```
|
|
@@ -1,19 +1,96 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Generate storyboard-
|
|
2
|
+
description: Generate character sheet prompts, per-shot GPT Image 2 storyboard prompts, and model-aware video prompt bundles from character references and a video brief
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /generate-storyboard
|
|
5
|
+
# /generate-storyboard - Storyboard Reference Video Prompt Mode
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Preconditions
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- Character reference image exists.
|
|
10
|
+
- User brief or scenario text exists.
|
|
11
|
+
- Optional storyboard guide images may exist, but they are not required.
|
|
12
|
+
- `storyboard-reference` mode is explicitly requested or configured.
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
2. Bind `@storyboard1` as `storyboard_plan`, staging only.
|
|
13
|
-
3. Interpret storyboard panels: 1 continuous arc, 2-4 internal phases, 5+ split shots.
|
|
14
|
-
4. Build `visual_world`, continuity anchors, and model-specific prompts.
|
|
15
|
-
5. Generate Seedance, Veo, and Kling prompt sections for the requested model subset.
|
|
16
|
-
6. Run QA for reference lock, storyboard role separation, model grammar, avoid line, audio plan, and safety.
|
|
17
|
-
7. Write all outputs under `$OUTPUT_DIR`.
|
|
14
|
+
## Read Order
|
|
18
15
|
|
|
19
|
-
|
|
16
|
+
1. `.agent/model-profile.md`
|
|
17
|
+
2. `.agent/skills/safety-compliance/SKILL.md`
|
|
18
|
+
3. `.agent/skills/reference-locking/SKILL.md`
|
|
19
|
+
4. `.agent/skills/storyboard-reference/SKILL.md`
|
|
20
|
+
5. `.agent/skills/semantic-consistency/SKILL.md`
|
|
21
|
+
6. `.agent/skills/visual-modes/SKILL.md`
|
|
22
|
+
7. `.agent/skills/audio-design/SKILL.md` when dialogue, SFX, ambience, or voiceover exists
|
|
23
|
+
8. `.agent/skills/prompt-structure/SKILL.md`
|
|
24
|
+
|
|
25
|
+
## Flow
|
|
26
|
+
|
|
27
|
+
1. Confirm asset roles:
|
|
28
|
+
- `@character1`, `@character2`, ...: `character_identity`, exact lock
|
|
29
|
+
- optional `@storyboard1`, `@storyboard2`, ...: external storyboard guides, staging only
|
|
30
|
+
2. Generate one GPT Image 2 character sheet prompt per character reference:
|
|
31
|
+
- 16:9 production storyboard sheet
|
|
32
|
+
- front full body, back full body, left profile, right profile, three-quarter full body, close-up face
|
|
33
|
+
- exact identity, wardrobe, accessories, and visible props
|
|
34
|
+
- no labels, text, logos, watermarks, alternate designs, or extra characters
|
|
35
|
+
3. Confirm target models: `veo31`, `seedance-2.0`, `kling-3.0`, or a user-provided subset.
|
|
36
|
+
4. Select shot storyboard panel budget:
|
|
37
|
+
- 4-6 seconds: 1-2 panels/phases
|
|
38
|
+
- 7-10 seconds: 2-3 panels/phases
|
|
39
|
+
- 11-15 seconds: 3-4 panels/phases
|
|
40
|
+
- 5+ distinct phases: split into multiple `SHOTNN.md` files
|
|
41
|
+
5. Build `visual_world`:
|
|
42
|
+
- environment
|
|
43
|
+
- lighting
|
|
44
|
+
- foreground/midground/background
|
|
45
|
+
- screen direction
|
|
46
|
+
- continuity anchors
|
|
47
|
+
6. Generate one GPT Image 2 storyboard prompt per shot:
|
|
48
|
+
- use character sheets as the only identity source
|
|
49
|
+
- use optional storyboard guide only for composition, blocking, camera, timing, and rhythm
|
|
50
|
+
- include previous shot handoff and next shot handoff
|
|
51
|
+
- preserve shared location, lighting, screen direction, action rhythm, and scene continuity
|
|
52
|
+
7. Build model prompt bundle:
|
|
53
|
+
- Seedance dynamic image mapping: character sheets first, generated shot storyboard next
|
|
54
|
+
- Veo visual-planning prompt with full audio direction
|
|
55
|
+
- Kling block-structured storyboard route
|
|
56
|
+
8. Run QA gates:
|
|
57
|
+
- reference lock
|
|
58
|
+
- storyboard role separation
|
|
59
|
+
- model grammar
|
|
60
|
+
- avoid/negative prompt
|
|
61
|
+
- audio plan
|
|
62
|
+
- safety
|
|
63
|
+
9. Write outputs under `$OUTPUT_DIR`.
|
|
64
|
+
|
|
65
|
+
## CLI Equivalent
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npx @milenyumai/film-kit generate-storyboard \
|
|
69
|
+
--character-ref ./refs/character.png \
|
|
70
|
+
--brief ./scenario.md \
|
|
71
|
+
--models veo31,seedance-2.0,kling-3.0 \
|
|
72
|
+
--duration 8 \
|
|
73
|
+
--aspect 16:9 \
|
|
74
|
+
--output-dir ./outputs
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Optional external storyboard guide:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
npx @milenyumai/film-kit generate-storyboard \
|
|
81
|
+
--character-ref ./refs/character.png \
|
|
82
|
+
--storyboard-ref ./refs/storyboard-guide.png \
|
|
83
|
+
--brief ./scenario.md \
|
|
84
|
+
--models seedance-2.0
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Fail-Closed Rules
|
|
88
|
+
|
|
89
|
+
- Missing character reference: stop and request a valid reference.
|
|
90
|
+
- Empty brief: stop and request a brief.
|
|
91
|
+
- Public figure / real-person likeness / trademark risk: stop or safely anonymize before prompt generation.
|
|
92
|
+
- 5+ storyboard phases: do not compress into one prompt; split shots.
|
|
93
|
+
- Missing GPT Image 2 character sheet prompt: output is invalid.
|
|
94
|
+
- Missing GPT Image 2 per-shot storyboard prompt: output is invalid.
|
|
95
|
+
- Missing `Avoid` / negative prompt: output is invalid.
|
|
96
|
+
- Kling prompt missing required block structure: output is invalid.
|
|
@@ -1,28 +1,120 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: storyboard-reference
|
|
3
|
-
description: Character reference + storyboard
|
|
3
|
+
description: Character reference sheet prep + per-shot GPT Image 2 storyboard prompts + model-aware video prompt bundles for Veo 3.1, Seedance 2.0, and Kling 3.0 without requiring start/end frame generation.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Storyboard Reference Skill
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Use this skill when the user provides:
|
|
11
|
+
|
|
12
|
+
- one or more character reference images
|
|
13
|
+
- a video brief or scenario text
|
|
14
|
+
- optional external storyboard guide images
|
|
15
|
+
|
|
16
|
+
The output is a production workflow, not only a video prompt. First create one reusable GPT Image 2 character sheet prompt per reference character. Then create one GPT Image 2 storyboard prompt per `SHOTNN.md`. The generated shot storyboard is the staging reference for the final video model prompt.
|
|
17
|
+
|
|
18
|
+
## Reference Prep
|
|
19
|
+
|
|
20
|
+
### Character Sheet Prompt
|
|
21
|
+
|
|
22
|
+
For each character reference, generate this prompt once:
|
|
23
|
+
|
|
24
|
+
- provider: `gpt-image-2`
|
|
25
|
+
- aspect ratio: `16:9`
|
|
26
|
+
- layout: one widescreen production storyboard sheet
|
|
27
|
+
- required views: front full body, back full body, left profile, right profile, three-quarter full body, close-up face
|
|
28
|
+
- identity lock: exact face, skull shape, hair, skin texture, body proportions, wardrobe, accessories, and visible props
|
|
29
|
+
- forbidden: text, labels, arrows, panel numbers, logos, watermarks, alternate outfits, alternate character designs
|
|
30
|
+
|
|
31
|
+
This sheet becomes the identity reference for every later shot storyboard.
|
|
32
|
+
|
|
33
|
+
### Shot Storyboard Prompt
|
|
34
|
+
|
|
35
|
+
For each shot, generate a professional GPT Image 2 storyboard prompt:
|
|
36
|
+
|
|
37
|
+
- provider: `gpt-image-2`
|
|
38
|
+
- aspect ratio: `16:9`
|
|
39
|
+
- panel budget: 4-6s = 1-2 panels, 7-10s = 2-3 panels, 11-15s = 3-4 panels
|
|
40
|
+
- hard cap: max 4 panels/phases per shot unless the configured project cap is lower
|
|
41
|
+
- split policy: 5+ distinct phases must become separate chained `SHOTNN.md` files
|
|
42
|
+
- target detail: 160-240 words, concrete blocking and camera language, no decorative prose
|
|
43
|
+
- continuity: include previous shot handoff, next shot handoff, shared `visual_world`, screen direction, lighting, and action rhythm
|
|
44
|
+
|
|
45
|
+
The shot storyboard prompt must use the character sheet reference as the only identity source. Optional external storyboard guide images may inform composition and timing only.
|
|
9
46
|
|
|
10
47
|
## Role Separation
|
|
11
48
|
|
|
12
|
-
|
|
13
|
-
|
|
49
|
+
Character references and generated character sheets are identity locks.
|
|
50
|
+
|
|
51
|
+
Use them for face, hair, skin texture, body proportions, wardrobe, accessories, and visible props. Do not use them for camera path, storyboard timing, or background layout.
|
|
52
|
+
|
|
53
|
+
The generated shot storyboard is the editorial and camera plan.
|
|
54
|
+
|
|
55
|
+
Use it for composition, blocking, camera angle, action progression, visual rhythm, phase order, and handoff continuity. Do not use it to redesign the character, replace wardrobe, copy panel borders, copy text, copy logos, or import watermark details.
|
|
14
56
|
|
|
15
57
|
## Hard Rules
|
|
16
58
|
|
|
17
59
|
- Character identity always wins over storyboard character design.
|
|
18
|
-
-
|
|
19
|
-
- One prompt may contain at most 4 storyboard phases.
|
|
20
|
-
- 5+ distinct phases must split into multiple `SHOTNN.md` files.
|
|
21
|
-
- Do not
|
|
22
|
-
- Every model
|
|
23
|
-
- Dialogue
|
|
24
|
-
- Music is `NONE` unless explicitly
|
|
60
|
+
- Storyboard text, labels, watermarks, logos, and panel borders are never copied into the video.
|
|
61
|
+
- One prompt may contain at most 4 storyboard phases by default.
|
|
62
|
+
- 5+ distinct storyboard phases must be split into multiple `SHOTNN.md` files.
|
|
63
|
+
- Do not assume start/end frame assets exist in `storyboard-reference` mode.
|
|
64
|
+
- Every model output must include an `Avoid` or negative prompt section.
|
|
65
|
+
- Dialogue remains in the user's original language.
|
|
66
|
+
- Music is `NONE` unless the user explicitly asks for music.
|
|
67
|
+
- Fail closed on public figure, real-person likeness, trademark/logo, or unsafe visual requests.
|
|
68
|
+
|
|
69
|
+
## Model Grammar
|
|
70
|
+
|
|
71
|
+
Seedance 2.0:
|
|
72
|
+
|
|
73
|
+
- Map character sheet images to `@Image1`, `@Image2`, ... with legacy aliases `@image1`, `@image2`, ...
|
|
74
|
+
- Map the generated shot storyboard to the next image token, for example one character means `@Image2`, two characters means `@Image3`.
|
|
75
|
+
- Character image tokens control identity, face, body proportions, wardrobe, accessories, and visible props.
|
|
76
|
+
- The storyboard token controls composition, blocking, camera direction, timing, action rhythm, and phase order only.
|
|
77
|
+
- Use explicit timeline phases when the storyboard has multiple beats.
|
|
78
|
+
- Use `No scene cuts throughout, one continuous shot` only for a true single uninterrupted camera move.
|
|
79
|
+
- For multi-phase storyboard prompts, use only the planned phase transitions and do not add unplanned cuts.
|
|
80
|
+
- Duration policy: 4-6s = 1-2 phases, 7-10s = 2-3 phases, 11-15s = 3-4 phases.
|
|
81
|
+
- Seedance provider limits: max 9 image references, 3 video references, 3 audio references, 12 total files, 4-15 seconds.
|
|
82
|
+
- Storyboard text, panel borders, watermark, logo, and alternate character design are never identity sources.
|
|
83
|
+
|
|
84
|
+
Veo 3.1:
|
|
85
|
+
|
|
86
|
+
- Describe the generated storyboard as a visual planning reference, not a literal frame.
|
|
87
|
+
- Include camera, lens/framing, lighting, foreground/midground/background, continuity, and full `Audio direction`.
|
|
88
|
+
- Do not request storyboard panel borders or on-screen text.
|
|
89
|
+
|
|
90
|
+
Kling 3.0:
|
|
91
|
+
|
|
92
|
+
- Prompt code block starts with `[CHARACTER / SUBJECT CONSISTENCY]`.
|
|
93
|
+
- Include `[CORE INTENT]`, `[TOTAL DURATION]`, `[VISUAL STYLE]`, `[CAMERA]`, `[SHOT N | time range]`, `[AUDIO]`, `[TIMING RULES]`, `[BACKGROUND RULES]`, `[FINAL FRAME PRIORITY]`, and `[NEGATIVE PROMPT]`.
|
|
94
|
+
- Use `resolved storyboard composition`, not `final frame exactly`, when no end frame exists.
|
|
25
95
|
|
|
26
96
|
## Output Contract
|
|
27
97
|
|
|
28
|
-
|
|
98
|
+
Each shot file contains:
|
|
99
|
+
|
|
100
|
+
- Turkish summary
|
|
101
|
+
- model control
|
|
102
|
+
- input asset roles
|
|
103
|
+
- reference asset requirements
|
|
104
|
+
- provider reference tokens
|
|
105
|
+
- GPT Image 2 storyboard prompt
|
|
106
|
+
- storyboard interpretation
|
|
107
|
+
- audio plan
|
|
108
|
+
- prompt bundle for requested models
|
|
109
|
+
- QA verdict
|
|
110
|
+
|
|
111
|
+
Generated files:
|
|
112
|
+
|
|
113
|
+
```text
|
|
114
|
+
$OUTPUT_DIR/storyboard-reference-plan.json
|
|
115
|
+
$OUTPUT_DIR/reference-prep/CHARACTER-SHEET-*.md
|
|
116
|
+
$OUTPUT_DIR/storyboard-prompts/SHOTNN-GPT-IMAGE-2-STORYBOARD.md
|
|
117
|
+
$OUTPUT_DIR/prompt-bundles/SHOTNN.bundle.json
|
|
118
|
+
$OUTPUT_DIR/shots/SHOTNN.md
|
|
119
|
+
$OUTPUT_DIR/reports/STORYBOARD-REFERENCE-QA.md
|
|
120
|
+
```
|