AI Video Production Suite
Unified video production skill. Supports full workflows and individual tasks such as script, storyboard, assets, audio, continuity, video prompts, and QC. Uses natural language to infer intent—no need for users to memorize commands.
Primary Principles
- When the user explicitly requests a single task, execute only that task; prioritize reading existing project files automatically.
- If missing information can be safely inferred, use conservative defaults and explain them; only ask questions when a critical decision cannot be inferred.
- Full production follows the stage-gate process: "Specifications → Script → Storyboard → Assets → Video Segments → Prompts → Audio → Sample → Batch Generation → QC."
- By default, generated results are marked as
draft; characters, scenes, props, video segment durations, and continuity contracts are locked only after confirmation. - When you can directly handle files, audio, durations, and QC, do so—don’t push tool work onto the user.
- When the project already has a fixed directory, all new artifacts must be written into that directory or its subdirectories, and the project handover or artifact index must be updated.
Intent Routing
full: Story to complete video execution package.script: Short drama scripts, episode outlines, character bios, plot beats.shot-list: Text-based storyboard with durations, camera positions, movements, and transitions.character/scene/prop: Character, scene, and prop assets.storyboard-image: Storyboard images, keyframes, first/last frames, composite frames.dialogue/sound/audio: Dialogue, sound design, audio processing.video-prompt: Per-segment or full-episode video prompts.continuity: Checks for characters, costumes, scenes, props, dynamic environment states, action momentum, axis, and screen direction.qc/repair/package: Quality check, local rework, organize deliverables.
For a full task catalog and minimum input requirements, read references/task-catalog.md; for the full workflow, read references/full-workflow.md.
Stage Gates
- Batch produce assets only after storyboard is confirmed.
- Batch generate videos only after characters, scenes, and props are confirmed.
- Slice audio only after video segment numbers and durations are confirmed.
- Recommend batch generation only after testing at least one highest-risk video segment.
- Mark the final cut as complete only after passing audio-visual, continuity, and technical checks.
If the user explicitly skips a stage gate, you may proceed, but you must explain the specific risks.
Single Task Protocol
- Identify the task type and current project directory.
- Look for reusable scripts, storyboards, assets, duration tables, project handovers, and continuity states.
- Check minimum inputs.
- Execute the task with minimal QC.
- Output artifact location, issues found, and one most relevant next action.
When generating a non-first video segment, you must first read the previous segment’s end-frame keyframe prompt, its dynamic state ledger, and the current scene’s axis contract.
Production Spec Defaults
- Short dramas / Douyin default to
9:16; horizontal narrative / Bilibili default to16:9. - Realistic projects default to restrained, executable camera language.
- Single video segments prefer
5–15 seconds, subject to the target platform’s current capabilities. - Resolution, frame rate, number of reference images, and platform constraints must be queried from the current tool or use user-provided values.
Script & Storyboard
For vertical short dramas, the first 3 seconds must provide action, conflict, or key information; each episode maintains one primary conflict; internal monologue is converted into action, expression, dialogue, or necessary OS; the ending stops at a new crisis, twist, decision, or incomplete action.
Formal text storyboards must include at least:
Shot # | Duration | Shot Size/Camera Position | Camera Movement | Visual & Performance | Dialogue/Sound | Transition
Also check dialogue duration, action feasibility, character positions, sight lines, prop states, dynamic environment states, axis, screen direction, and total duration.
Asset Rules
Characters
Lock face shape, features, age, hairstyle, body type, clothing layers, and identifying items. Create independent state assets for pre/post-pregnancy, injuries, battle damage, costume changes, etc.
Scenes
First write a spatial description: dimensions, orientation, doors, windows, fixed furniture, main light source, materials, allowed camera positions, and axis. Mirrors, glass, water surfaces, screens, and highly reflective metals are marked R3; explicitly state allowed and prohibited camera and reflection items.
Door/window states, lighting, object positions in scene assets are "asset default states," not real-time story states. When generating video prompts, use the most recent explicit change recorded in the continuity state ledger.
Props
Lock dimensions, material, color, front/back, grip method, open/close state, and the shot where they appear. Details prone to drift must be explicitly constrained.
Video Segments & Prompts
Each segment is numbered V01...VNN; maintain original shot numbers, start/end times, segment length, asset references, dialogue, risk level, dynamic state ledger, and axis contract.
Each video prompt must include:
- Video specs and visual style.
- References to locked characters, states, scenes, and props.
- For non-first segments:
Inherit from previous segment's end frame—explicitly override the previous end frame item by item; do not just say "continue from the previous shot." Dynamic State Ledger: List environment and prop states that have changed and remain active.Axis & Screen Direction Contract: Relationship axis, camera side, character left/right, sight lines, and motion direction.- Timeline in seconds.
- Dialogue, speaker, and lip-sync rules.
- Transition, attachment point for the next segment, and dedicated negative constraints.
VNN_END_FRAME_KEYFRAME: Independently generatable static keyframe.VNN_END_CONTINUITY_STATE: For inheritance by the next segment.
Cross-Segment End-Frame Inheritance Contract
VNN_END_FRAME_KEYFRAMEmust include at least: character identity & count, position, posture & center of gravity, speed/motion trend, face & gaze, hands, costume, props & contact, scene fixed objects, dynamic environment state, camera position/orientation/shot size, composition, lighting, weather, or particles.V02...VNNmust override the previous end frame and continuity state item by item before the timeline; reuse identical descriptions where possible.- The current segment's
0.0 second first framemust equal the inheritance block. Posture changes can only occur after 0.0 seconds through a full action. - Hard cuts, time jumps, location changes, dreams, or montages may be marked with
continuity exemption, but you must specify the reason, transition, new first frame, and reset items.
Dynamic State Ledger
State objects must cover at least:
- Doors, windows, cabinets, drawers, curtains, valves: open/close and degree.
- Lights, screens, devices: on/off, content, and operating state.
- Movable objects: position, orientation, intact/broken, wet/dry, clean/soiled.
- Fluids, spills, smoke, fire, rain, snow, dust, and other persistent states.
- Character & prop: holding, touching, wearing, injuries, and clothing changes.
Enforcement rules:
- Update the state ledger after every explicit action (e.g.,
door: closed → opened inward ~70 degrees). - New states persist until a clear reverse action appears on screen or a continuity exemption explicitly resets them; do not automatically revert to asset defaults.
- Apply the state ledger before referencing scene assets for the next segment’s first frame. When in conflict, state:
The real-time story state takes precedence; the closed default in the asset diagram is for structural reference only. - If a door is open in one shot, it must remain open in the next; only mark it closed after a clear action (e.g., character closing, door rotation, lock engaging).
- Any state reset, disappearance, relocation, or count change without an action basis is
blocked.
Dynamic Action Continuation
Beyond static posture, the end frame must also record speed, direction, forces, support, object inertia, and incomplete actions. The first action of the next segment must naturally follow from these dynamic conditions:
- Walking/running maintains the same screen direction and gait phase, unless deceleration, stopping, or turning is shown.
- A door just pushed open retains its opening degree and necessary swing trend; if a character’s hand still touches the handle, it must not detach at the first frame.
- Incomplete actions (e.g., raising a hand, turning head, standing up, falling) must not jump to the final state at the cut point.
- Speed or direction changes must show visible deceleration, force, turn, collision, or another cause.
180-Degree Axis Contract
For each continuous scene, first establish and record:
Relationship axis: The line of sight between two characters, between a character and key object, or the main motion path.Camera side: Which side of the axis the camera is on, and the range of allowed camera positions.Screen position: Character A/B is on the left/right side of the frame.Gaze direction: A looks screen-left/right, B opposite.Motion direction: Screen direction for entering/exiting a door, walking, or vehicle.
Subsequent shots default to keeping the camera on the same side, maintaining character left/right consistency, gaze matching, and motion direction. Changing shot size, focal length, or reverse-shooting on the same side does not equal crossing the axis.
If narrative requires crossing the axis, use only one of these visible transitions and annotate it in the prompt:
- Neutral shot: Camera on the axis, then establish a new side.
- Visible axis crossing: Camera continuously moves across the axis, allowing the audience to see the spatial relationship change.
- Spatial reestablishment: First use a clear establishing shot to re-present characters and environment positions, then adopt a new-side camera position.
Any direct axis jump without transition, character left/right swap, same-direction gazes in dialogue, or unmotivated motion reversal is blocked.
Dialogue, Sound & Audio
Establish speaker-to-timeline mapping; voiceovers must not drive on-screen characters to lip-sync. Layer ambient sound, foley, music, and dialogue. Lock the video segment timeline before slicing audio; use ffprobe to get actual durations, and after slicing, verify individual lengths and total.
Risk Classification
R1: Single character, fixed scene, no complex interactions.R2: Multiple characters, dialogue, hands, props, fast actions.R3: Mirrors/glass, multi-character contact, complex state changes, dynamic environment states, long lip-sync, end-frame handoff, spatial axis, or axis-crossing risk.
Before batch production, test the highest-risk segment. When reworking, locate the earliest faulty dependency layer and redo only the affected artifacts.
QC Blocking Items
Check pairs V01→V02 through V(N-1)→VNN:
- The prior segment has a complete end-frame keyframe and continuity state.
- The next segment inherits item by item; the 0.0s first frame matches the inherited state.
- Character posture, contact, center of gravity, speed, and action momentum flow naturally.
- All dynamic environment states persist; any change has a visual action basis.
- Camera changes have a cut or movement explanation.
- Axis contract is intact; character left/right, gaze, and motion direction are consistent.
- Any necessary axis crossing has a neutral shot, visible crossing, or spatial reestablishment.
- Continuity exemptions have a legal reason, transition, new first frame, and state reset explanation.
If any non-exempt item fails, mark the specific segment pair as blocked; do not deliver final prompts before fixing.
For detailed prompt format, read references/prompt-contracts.md; for detailed checks, read references/qc-checklists.md.
Output Format
Single task:
Completed: <task>
Artifact: <file or content>
Check: <verification result>
Next step: <one most relevant action>
Full project:
Current phase:
Completed:
Awaiting confirmation:
Issues found:
Next single action:
Artifact index:
Natural language preferred; avoid requiring users to memorize commands.