v3.1 9 Creative Modes Harness Engineering

From a Sentence to Cinema-Grade Storyboards

Cinema-grade storyboard design engine with 9 creative modes, multi-platform support (Seedance / Runway / Kling / Sora), Harness Engineering (PPAF + R.E.S.T), and 271 director-level validations.

Seedance 2.0/2.5Runway Gen-3Kling 1.5Sora

More Than a Prompt Generator

Your virtual creative director, powered by Harness Engineering.

9 Modes, 8 Phases, 5 Platforms

MadStory follows the "Brief in, Cinema out" philosophy. Through 8 progressive phases (Phase 0-7), it transforms vague ideas into structured prompts with composition, camera, lighting, and sound. Each of the 9 modes has independent prompt strategy, Negative Prompt templates, and quality gates.

  • 9 creative modes with independent strategies
  • Multi-platform: Seedance / Runway / Kling / Sora
  • Negative Prompt auto-injection per mode
  • PPAF loop + R.E.S.T reliability model
  • 271 director-level validation test cases
  • Short drama cross-episode consistency (A1-D4)
// MadStory Engine v3.1
class MadStoryEngine:
  modes = 9 # creative_film .. short_drama
  phases = 8 # Phase 0 → Phase 7
  platforms = ["seedance", "runway",
              "kling", "sora"]

# PPAF State Tracker
class PPAFState:
  phases = ["perception", "planning",
           "action", "feedback"]

# R.E.S.T Compliance
class RESTCompliance:
  checks = ["reliability", "efficiency",
            "security", "traceability"]

9 Creation Modes

Each mode has independent prompt strategy, Negative Prompt template, and quality gates.

00
Text-to-Video

Creative Film

Concept development, style experimentation. Generate-and-Filter + Tournament selection. Parallel 3-5 directions, score matrix picks the best.

TournamentAnti-cliché
01
Image-to-Video

Ecommerce

Product videos, hero shots, PDP loops. Anti-distortion, label readability, camera restraint. Product ≥40% frame.

Anti-warpLabel-safe
02
Reference-to-Video

UGC Native Ads

Feed ads, vlogs, reviews. Face consistency, natural gestures, product always visible, native social rhythm.

Face-lockHand-safe
03
Text/Image-to-Video

Cinematic Brand Film

Brand stories, teasers. Clear camera intent, motivated lighting logic, one emotional payoff per shot.

Motivated cameraLighting logic
04
Reference-to-Video

Multi-Shot Narrative

Story arcs. ≤3 shots/generation, Cut to / Shot Switch transitions, cross-shot character consistency.

≤3 shotsCut-to syntax
05
Image Sequence

One-Shot Long Take

Spatial walkthroughs, product tours. 2-10 images, 8 transition types: push/pull/spiral/dissolve/match/whip/wipe/auto.

8 transitionsNo hard cuts
06
Reference-to-Video

Viral Replicate

Competitor remakes, viral templates. 3 strategies: Creative Shoot / Classic Remake / Viral Deconstruct.

3 strategiesStyle fidelity
07
Auto-Route

Agent Mode

Zero-experience creation. Intent parsing → Route planning → Storyboard → Model dispatch → Prompt synthesis.

One-linerAuto-route
08
Script + Reference

Short Drama

AI drama, manga, novel adaptation. Script parsing, cross-episode consistency, multi-style support, batch production.

A1-D4 pipelineBatch

8-Phase Guidance (Phase 0-7)

One phase at a time with live storyboard drafts. PPAF loop tracks every stage.

0

Mode Selection & Intent

Confirm goals, select mode, clarify input type and constraints. PPAF: Perception.

1

Core Concept Lock

Define subject + single action, set emotional tone. Reject >1 action per shot.

2

Timeline & Rhythm

Plan 15s timing, define ≥3 keyframes (entry/core/closing).

3

Visual Composition

Frame ratio, composition style, subject placement, spatial relationships.

4

Camera Movement

Choose 1 primary movement, set Motion Strength (1-10). Single-movement rule enforced.

5

Lighting & Texture

Light direction, color temperature, contrast, environment details, 9 mood presets.

6

Sound Design

BGM mood, SFX sync points, ambient sound, 6 emotional mappings + 5 director signatures.

7

Export & Parameters

5-layer prompt + Negative Prompt + multi-platform params + HTML preview. Quality gates.

5 Platform Adapters

One storyboard, multiple platforms. Auto parameter mapping and constraint validation.

Seedance 2.0
By ByteDance
Max Duration15s
Resolution1080p
Modes3 modes
Seedance 2.5
Pro
Max Duration30s
Resolution4K
Modes3 modes
Runway Gen-3
Alpha
Max Duration10s
Resolution1080p
Modes2 modes
Kling 1.5
By Kuaishou
Max Duration10s
Resolution1080p
Modes2 modes
Sora
By OpenAI
Max Duration60s
Resolution4K
Modes2 modes

Core Features

Covering every professional detail of storyboard creation.

9 Mode Negative Prompt Auto-Injection

Auto-generates protective negative prompts per mode. Ecommerce anti-warp, UGC anti-face-drift, cinematic anti-shake, short-drama cross-episode consistency. Missing = rejected.

5-Layer Prompt Structure

Subject → Single Action → Camera Move → Style & Lighting → Constraints. Non-compliant output is automatically rejected by Quality Gates.

271 Director-Level Validations

Output structure, Negative Prompt compliance, boundary conditions, camera constraints, one-shot edges, viral replicate, agent mode, consistency pipeline.

LLM Router v2 (4-Tier)

Lite / Standard / Pro / Ultra model routing by task complexity. Multi-intent splitting, Tournament creative scoring, token cost estimation. Save vs. always using Ultra.

Short Drama Consistency (A1-D4)

Full pipeline: Character dossier (6 immutable fields) + Scene inventory + Master timeline + 10-12s checkpoints + Post-production sync + 4-criteria final QA.

CLI + REST API + Batch

Interactive CLI, JSON batch processing, REST API + WebSocket (Session TTL 30min, 60 req/min rate limit), directory-level batch runner with multi-threading.

Cinema-Grade Data Assets

Built-in professional references for directors, camera language, lighting, and sound.

🎬

Director References

5 Masters

Wong Kar-wai, Nolan, Villeneuve, Kurosawa, Sofia Coppola. Visual traits, camera hints, mood keywords.

📹

Camera Language

7 Sizes + 12 Moves + 7 Compositions

ECU to WS, static to rack focus, rule-of-thirds to golden ratio. Each with emotion intensity and prompt template.

💡

Lighting Presets

9 Mood Presets

Chiaroscuro, natural window, practical lights, high/low key, magic hour, neon noir, candlelight, overcast.

🎵

Sound Design

6 Emotions + 5 Signatures

4-layer sound priority. Emotional mappings: hope, tension, climax, melancholy, terror, peace. Nolan, Villeneuve, Anderson, Fincher, Gerwig signatures.

📖

Narrative Structures

7 Patterns

Three-act, Hero's Journey, Kishotenketsu, Circular, Parallel, Reverse chronology, Single location.

🎨

Creative Prompts Library

Visual Metaphors + Anti-Cliché

5 visual metaphor categories, anti-cliché directives, 5 emotional color palettes with hex codes.

Cross-Episode Consistency Pipeline

Auto-enabled for shots >15s. 4 stages, 4 hard acceptance criteria.

Stage A

Pre-Production

Character dossier (6 immutable fields), Scene inventory (spatial/env/props), Master timeline with checkpoint markers.

Stage B

Shooting

Pre-shoot checklist, 10-12s verification nodes, Reference Frame retention, environment parameter recording.

Stage C

Post-Production

Frame-by-frame review, color grading sync (WB + LUT + filters), audio alignment, A/V sync check.

Stage D

Final QA

D1: Appearance ✓ D2: Behavior ✓ D3: Scene space ✓ D4: Stitching natural. Any fail = entire episode rejected.

Harness Engineering Stack

PPAF loop + R.E.S.T reliability + Design for Failure degradation chains.

Core Engine9 modes, 8-phase derivation, 5-layer prompt, PPAF state trackingPPAF
Quality AssuranceQuality Gates (9 rules), Director Validator (271 tests), Pre-flight ChecklistR.E.S.T
ConsistencyConsistencyLedger (characters/scenes/timeline), Validator (B1-D4), 4 acceptance criteriaA1-D4
Platform AdapterSeedance 2.0/2.5, Runway Gen-3, Kling 1.5, Sora. Auto param mapping + fallback5 Platforms
LLM Router v24-tier model routing, multi-intent splitting, Tournament scoring, token cost estimationRouter
Data Assets5 directors, 7+12+7 camera language, 9 lighting, 6+5 sound, 7 narrative, creative libraryAssets
ToolingCLI interactive, REST API + WebSocket, batch runner, HTML storyboard previewCLI/API

Core Advantages

Efficiency, cost, quality, compatibility — redefined.

9
Creative Modes
271
Validation Tests
5
Platforms Supported
5
Layer Prompt Structure

Efficiency

8-phase guidance reduces prompt writing from 30min to 5-10min per clip. Auto Negative Prompt. Batch short drama. 271 validations in seconds.

💰

Cost Reduction

LLM Router 4-tier routing saves tokens. Quality gates pre-filter bad output before API calls. MIT open source. Progressive loading saves context.

🎯

Experience

One phase at a time. Proactive overload interception. Terminology as option cards. 5 user levels (L1-L5). Bilingual. Real-time draft preview.

🔌

Compatibility

Seedance / Runway / Kling / Sora auto-adapt. OpenClaw, Trae IDE, Claude Desktop, Dify, Coze. Text/Image/Reference-to-Video all covered.

🛡

Quality

Forced 5-layer structure + single-movement rule + 9 mode gates + 4-stage consistency + 10-category pre-flight + Design for Failure degradation.

📈

Progressive Loading

Layer 0 always loaded (~1,500 tokens). Layer 1 on-demand (~2,000). Layer 2 deep (~3,000). Minimizes context waste while keeping full capability available.

Why MadStory?

DimensionGeneric PromptsMadStory v3.1
Creation ModesOne-size-fits-all9 modes, independent strategies
PlatformsSingle platform5 platforms auto-adapt
Negative PromptManual, often missed9 templates auto-injected
ConsistencySingle generation, unstableA1-D4 pipeline + 271 validations
CameraMixed movements, chaosSingle-movement rule, Motion Strength
StructureFree-formForced 5-layer, non-compliant rejected
LLM CostAlways max tier4-tier auto-routing, token savings
User LevelRequires prompt engineeringL1 beginner ready, one-liner output

5-Level Skill Progression

From zero experience to director-level. Progressive growth path.

L1 Beginner

Zero Experience

Agent mode, one-liner to storyboard

L2 Basic

Content Creator

Ecommerce / UGC guided workflow

L3 Advanced

Creative Planner

Multi-shot / One-shot / Viral Replicate

L4 Pro

Ad Director

Cinematic / Short Drama full control

L5 Director

Senior Director

CLI full pipeline + batch production