VidRaft Architecture

The Engine Behind Coherent AI Video

Generating video with AI is easy. Generating 10 connected scenes with the same characters, coherent pacing, and matching camera motion requires a structured pipeline.

STAGE 01

Script Generation Engine

Topic & Pacing Calibration

Transforms any conceptual topic into a compelling spoken narrative calibrated to exact target duration (30s, 60s, 3min, 5min) and word counts.

Dynamic runtime variable substitution ([TOPIC_INPUT], [DURATION_INPUT], [LANGUAGE_INPUT])
Pacing & reading speed telemetry in real-time
Version branching (v1, v2, v3...) with non-destructive refinement directives
Direct inline markdown syntax editing with auto-save
STAGE 02

Character Continuity Roster

Visual Descriptors & Voice Profiles

Extracts physical character bibles with unique continuity anchor tags (#DrJaneCoat) to prevent AI face drift across video shots.

Structured character archetype and visual clothing descriptions in English
Voice tone delivery specifications for voice actors and TTS models
Intelligent faceless script detection with one-click skip option
Manual character CRUD and single-character regeneration
STAGE 03

Storyboard Breakdown

Cinematic Camera & Audio Sequencing

Segments approved scripts into a timed sequence of cinematic shots with camera movements and spoken dialogue markers.

Cinematographic shot types (Wide, Macro, Drone, Isometric, Dolly Zoom)
Dialogue vs B-roll flags with spoken narration audio hooks
Visual sequence reordering (Move Up / Move Down) and shot duration tuning
Refinement directives for directing pacing and visual intensity
STAGE 04

Dual Prompt Packaging

Midjourney v6.1 & Runway Gen-3 Format Specs

Produces dual tailored prompts per scene: hyper-detailed Text-to-Image prompts and physics-aware Text-to-Video motion prompts.

Midjourney v6.1 & Flux.1 formatting (--ar 16:9 --v 6.1 --style raw)
Runway Gen-3, Luma Dream Machine & Kling motion dynamics
Dual-View interface with single-click clipboard copying
Zero-AI 'Get Prompt' free mode with deterministic variable substitution
One-click batch export as JSON, Markdown Spec, and Plain Text
System Infrastructure

Built for Precision Control & Fair Use

AES-256 BYOK Key Storage

Creator API keys are encrypted at rest using AES-256-GCM. Switch between custom models, test keys live, and bypass platform credit limits.

PRD FR-44 Localization Rules

Write scripts in Urdu, Arabic, Spanish, French, or Hindi with RTL text flow. Downstream visual prompts are automatically authored in English for optimal AI generation.

Rate Limiting & Safety Filter

Integrated content moderation engine blocks jailbreaks and harmful prompts. Sliding-window rate limiting prevents API flooding and key abuse.

Ready to generate your first video spec?

Select a video template and experience the 4-stage pipeline in real-time.