ShotRig Video-to-Prompt & Cinema IR Compiler
Turn any reference video or director's shot brief into a structured 8-dimension Cinema IR v1.0 JSON and compile model-native prompts for 12 AI video generators — eliminating vague "cinematic, 4k" fluff, camera axis flips, prop hand-swaps, and audio/lip-sync drift.
Need automated synchronized audio + frame extraction from a raw MP4, MOV, WebM, or public YouTube URL?
Run the free zero-login extractor at shotrig.com/video-to-prompt (zero video retention, browser keyframe strip, JSON/CSV shot sheet, and I2V pair).
Workflow
Step 1 — Build or Import an 8-Dimension Cinema IR v1.0 JSON
Ensure the shot specification locks all 8 dimensions (see schema/cinema-ir.v1.schema.json or references/models-12.md):
- Shot Sequence (
shot_sequence): Timestamped beats (time_range,duration_sec,shot_size,camera_motion,primary_action,transition_out). Max 1 primary camera move per beat. - Camera & Optical Psychology (
camera_optical): Dominant shot size, angle, POV mode, true dolly parallax vs optical focal length, motion rule. - Spatial Topology (
spatial_topology): Screen direction, 180-degree axis side, fixed spatial landmarks. - Subject & Prop State (
subject_prop_state): Exact character count lock (character_count_lock), hand-to-prop ownership bindings, persistent state variants (dirt, wetness, wear), and multimodal reference slots (asset_slot_map). - Lighting & Surface (
lighting_surface): Physical key-light motivation, color palette anchor, exposure contrast, optical-distance surface texture budget. - 6-Layer Soundscape (
soundscape_6_layer):dialogue_policy(none | single_mouth_lock | off_screen_vo | multi_speaker_warning), up to 2 foreground SFX, room tone ambience, music cue, audio transition. - Negative & Anti-Drift Locks (
negative_anti_drift): Character restraints (does not speak), anti-cloning/reset rules, clean-frame deliverable (no captions, subtitles, or watermarks), style exclusions. - Production Feasibility (
production_feasibility): Complexity tier (lean | mid | high_craft), primary failure risks, recommended models, boundary warnings.
Step 2 — Validate & Compile Locally (Zero Dependencies)
Run the included zero-dependency Node.js CLI against any .cinema-ir.json file:
# Compile for all 12 AI video models
node scripts/validate-and-compile.mjs examples/briefcase-handoff.cinema-ir.json all
# Or target one specific generator
node scripts/validate-and-compile.mjs shot.cinema-ir.json kling
node scripts/validate-and-compile.mjs shot.cinema-ir.json veo
node scripts/validate-and-compile.mjs shot.cinema-ir.json sora2
node scripts/validate-and-compile.mjs shot.cinema-ir.json seedance
Or connect the bundled local stdio MCP server (node scripts/mcp-server.mjs) to expose validate_cinema_ir, compile_video_prompt, compile_i2v_pair, and estimate_shot_complexity directly inside Claude Code, Codex, Cursor, or Gemini CLI.
Step 3 — Match Model Duration & Reference-Slot Guardrails
Before rendering, verify the clip duration against target-model single-pass caps (full table in references/models-12.md):
- <=8s: Google Veo 3.1 (native audio, max 2 foreground SFX)
- <=10s: Runway Gen-4.5 / Gen-4 (separate static Keyframe brief + motion-only directive)
- <=15s: Seedance 2.0 Std/Fast (up to 12
@Image_Nrefs), MiniMax H3 (12 Omni-Refs), Grok Imagine 1.5 (14 refs + extend 2–10s), Kling 3.0 - <=16s: Vidu Q3 / Q4 Preview (positive-only prompt,
@1/@2refs up to 15 images + 3 audio) - <=20s: OpenAI Sora 2 (physics-cause cinematographer shot brief + native audio)
- <=30s: Kling 4.0 (separate Positive + Negative blocks), Seedance 2.5 (
[0s]timestamped + up to 50 refs), Wan 3.0 (20 refs), MAGI 2 (chunked 1080p/25fps, 20 refs)
Step 4 — Budget Retry Spend Before Rendering
Model realistic retry multipliers (615-project empirical baseline: median 267 renders per short) at shotrig.com/calculator and verify vendor commercial rights & training opt-out policies at shotrig.com/matrix.