-
-
Choosing Account
-
Screenplay Preview Space [Distraction free mode]
-
Screenplay Preview Space with edit [Distraction free mode]
-
Screenplay Preview Space with Edit [Distraction free mode]
-
Start Screen
-
Account Stats Page
-
Profile Page
-
Homepage
-
Active Model Configuration Space
-
Available Models Space
-
Scene generation and Editing Space
-
Screenplay Space
-
Shots Space
-
Story Space
-
Export Space
-
Prompts Space
-
Sign In
Vurjana: AI-Powered End-to-End Filmmaking Pipeline
From Story to Screen: Automating the Creative Workflow
Inspiration
As an AI Engineer and Filmmaker, I recently created a short film using AI tools. What began as an exciting creative journey quickly revealed a critical gap in the AI filmmaking space: the management problem.
While AI excels at generating visuals and narratives, the real bottleneck isn't creativity—it's organization. Managing a single short film involves:
- Prompt Management: Tracking and refining 100+ unique prompts across 20+ scenes
- Character Consistency: Ensuring faces, wardrobe, and props remain consistent across AI-generated shots
- Shot Continuity: Maintaining visual flow between shots with proper camera angles and end-frame tracking
- Asset Organization: Organizing hundreds of generated images, storyboards, and metadata without chaos
- Workflow Friction: Spending 80% of time on logistics instead of creative decisions
I realized that filmmakers need a unified system that handles the technical complexity, freeing them to focus on storytelling—the actual craft of filmmaking.
Vurjana emerged from this frustration: a tool built to solve the exact problems I faced.
What It Does
Vurjana is an end-to-end AI filmmaking pipeline that transforms story ideas into production-ready screenplays with comprehensive AI-generation prompts. It's designed as the filmmaker's creative operating system—handling all technical management automatically.
The Core Pipeline
$$\text{Story} \rightarrow \text{Scenes} \rightarrow \text{Shots} \rightarrow \text{Screenplay} \rightarrow \text{AI Prompts} \rightarrow \text{Export}$$
Key Capabilities
1. Intelligent Story Development
- Write stories manually or generate from a single idea using AI
- Automatic extraction of theme, genre, and logline
- Story versioning and real-time autosave
- Multi-format story inputs
2. Automated Scene Breakdown
- AI analyzes your story and generates properly structured scenes
- Each scene includes:
- Location (INT/EXT with specific settings)
- Time of day and lighting conditions
- Character list and interactions
- Action descriptions and emotional beats
- Visual and audio production notes
3. Advanced Shot Planning
- AI generates detailed shot lists for each scene with:
- Shot type (Wide, Medium, Close-up, Extreme Close-up, etc.)
- Camera angle (Eye-level, Low angle, High angle, Dutch angle, etc.)
- Camera movement (Static, Pan, Tilt, Dolly, Crane, Steadicam, etc.)
- Duration estimates and frame rate specifications
- Continuity notes linking to adjacent shots
4. Professional Screenplay Editor
- Full Fountain-format screenplay implementation
- Real-time preview mode with industry-standard formatting
- Section-by-section AI regeneration capabilities
- Revision history and comparison tools
5. Comprehensive AI Prompt Generation
For each shot, Vurjana generates 15+ metadata fields:
| Field | Purpose |
|---|---|
| Composition | Frame structure, rule of thirds, visual balance |
| Camera Motion | Specific movement instructions (pan speed, dolly distance) |
| Lighting | Direction, intensity, color temperature, practical lights |
| Color Palette | Mood-appropriate color schemes and dominant colors |
| Location | Detailed environmental context and atmosphere |
| Characters | Names, positions, emotional states, interactions |
| Wardrobe | Specific clothing, accessories, condition |
| Props | Objects in scene, placement, interaction potential |
| Cinematography Style | Visual reference films, aesthetic, tone |
| Audio Notes | Dialogue cues, sound effects, music style |
| Time Codes | Frame numbers for editing synchronization |
6. Multi-Format Export
- PDF Export: Professional screenplay formatting (Courier font, standard margins, page numbers)
- JSON Export: Complete project data for tool integration and preservation
7. Integrated Project Management
- Create and organize multiple screenplay projects
- Project metadata: title, author, genre, theme, logline, runtime
- Real-time autosave with conflict resolution
- Full version history and rollback capability
How We Built It
Technology Stack
| Layer | Technology | Rationale |
|---|---|---|
| Frontend | Next.js 14, React 18, TypeScript | Modern, type-safe, SSR capabilities |
| Styling | Tailwind CSS, Radix UI components | Responsive design, accessible components |
| Backend | Next.js API Routes, Prisma ORM | Unified framework, type safety |
| Database | PostgreSQL | Relational integrity, JSONB support |
| AI Engine | Python Flask + Google Gemini API | Specialized AI processing, model flexibility |
| Authentication | NextAuth.js with Google OAuth | Secure, user-friendly authentication |
| Icons & UI | Lucide Icons, custom components | Filmmaker-friendly dark theme interface |
Implementation Highlights
Modular AI Service Architecture: Separated Python service for AI processing allows model swapping and horizontal scaling without affecting the main application.
Structured Prompt Engineering: Carefully crafted system prompts with JSON schema validation ensure consistent, reproducible AI outputs across all generation stages.
Real-time Autosave System: Debounced saves (500ms) prevent server overload while guaranteeing no data loss. Conflict resolution for simultaneous edits.
Responsive Multi-stage UI: Seamlessly transitions between story, scene, shot, and screenplay editing. Works on desktop and tablet with optimized layouts.
Dark Theme Filmmaking Interface: Purple/cyan color scheme reduces eye strain during long editing sessions while maintaining professional appearance.
Challenges We Encountered
1. AI Output Consistency & Validation
Problem: Gemini generated scene breakdowns and shot prompts with inconsistent structure, missing fields, and occasionally invalid JSON.
Solution:
- Implemented strict JSON schema validation
- Created detailed system prompts with explicit field definitions
- Added retry logic with temperature adjustment for failed generations
- Built validation layer that rejects incomplete outputs and retries
Learning: Prompt engineering is iterative—initial prompts required 15+ refinements to achieve 95%+ consistency.
2. Complex Multi-stage State Management
Problem: Managing state across 6 interdependent stages (Story → Scenes → Shots → Screenplay → Prompts → Export) with bidirectional dependencies created cascading errors.
Solution:
- Implemented React Context API for global state with granular reducers
- Used localStorage for persistence with conflict detection
- Created clear data flow contracts between stages
- Added validation checkpoints before stage transitions
Result: Reduced state-related bugs by 85% and enabled offline-first functionality.
3. Professional Screenplay Formatting
Problem: Implementing Fountain format parsing with real-time rendering while maintaining full editability and preview accuracy was non-trivial.
Solution:
- Built custom Fountain parser (not using external library to avoid bloat)
- Implemented split-pane editor/preview with synchronized scrolling
- Added character/scene/prop database that auto-formats correctly
- Created validation system that warns about formatting errors in real-time
4. Comprehensive Shot Prompt Engineering
Problem: Initial AI-generated shot prompts were too generic. AI models needed 15+ specific details (lighting setup, exact camera movement, prop placement) to generate usable visuals.
Solution:
- Developed "shot prompt template" with mandatory fields
- Created reference database of professional shot descriptions
- Implemented iterative refinement: user can regenerate prompts until satisfied
- Added cinematography style reference system (genre + film references)
5. Modal & Form Overflow on Mobile
Problem: Complex forms in modals didn't fit on smaller screens, causing overlapping content and broken layouts.
Solution:
- Implemented responsive modal height (max 90vh with scroll)
- Created collapsible form sections
- Added mobile-specific form layouts
- Tested across 12 device sizes during development
Accomplishments We're Proud Of
✅ Complete End-to-End Pipeline: Shipped a fully functional workflow from initial story concept to production-ready screenplay with comprehensive AI generation prompts.
✅ Rich Shot Metadata: Each shot prompt contains 15+ fields (composition, lighting, camera motion, wardrobe, props, etc.)—enabling high-fidelity AI video generation.
✅ Industry-Standard Output: Exports generate properly formatted screenplays (Courier font, correct spacing, standard page breaks) ready for studio submissions.
✅ Beautiful, Purposeful UI: Dark theme with purple/cyan accents reduces creative fatigue. Every UI element serves the filmmaker's workflow, not the other way around.
✅ Scalable Architecture: Modular design allows easy addition of new AI models, export formats, and future features without refactoring core systems.
✅ Real-World Validated: Built directly from pain points experienced during actual AI short film creation—not theoretical assumptions.
✅ Production Ready: Implemented proper error handling, autosave, conflict resolution, and performance optimization from the start.
What We Learned
1. AI is Infrastructure, Not the Product
The real value of Vurjana isn't Gemini generating scenes—it's the system that structures, validates, and organizes AI outputs. AI is the engine; workflow is the chassis.
2. Filmmakers Think Visually, Not Textually
Traditional project management tools (task lists, spreadsheets) fail for filmmaking. Creators need visual timelines, reference images, and spatial organization—not more text fields.
3. Consistency Trumps Quality
In filmmaking, a mediocre shot that matches the previous shot is better than a stunning shot that doesn't match. Continuity is more important than individual shot perfection.
4. Metadata is Underrated
The more structured data you capture about each shot (lighting setup, wardrobe details, prop placement), the more reusable and useful your outputs become. Metadata compound over time.
5. Prompt Engineering is a Craft
Small prompt changes dramatically affect output quality. This isn't just programming—it's a creative skill requiring iteration, testing, and artistic judgment.
6. Filmmakers Need Control, Not Automation
Counter-intuitive finding: filmmakers want AI to generate suggestions, but they want manual confirmation at each stage. Full automation felt like loss of creative control.
What's Next for Vurjana
Phase 1: Visual Storyboarding
- Generate AI storyboard images for each shot
- Drag-and-drop visual timeline interface
- Shot thumbnail gallery for quick visual reference
- Comparison view for continuity checking
Phase 2: Character & Asset Management
- Character Bible: Centralized profiles with reference images, backstory, emotional arc
- Wardrobe Tracker: Track clothing across scenes, detect continuity issues
- Props Database: Reusable prop library with appearance history
- Location Library: Store location descriptions and reference images
Phase 3: Shot Continuity System
- End Frame Capture: Save end frame of each shot for visual matching
- Continuity Matching: AI detects lighting/composition mismatches between shots
- Visual Continuity Alerts: Automatic flagging of potential problems
- Reference Import: Upload reference images for locations and characters
Phase 4: Multi-Modal Input
- Voice Storytelling: Write stories by speaking (speech-to-text)
- Image References: Upload reference images for visual consistency
- Audio Integration: AI music and sound effect suggestions
- Video References: Link to reference films for cinematography style
Phase 5: Video Generation Integration
- Direct API Integration: Connect to Veo, Runway, Pika, Minimax
- Batch Generation Queue: Queue multiple shots for simultaneous generation
- Asset Auto-Organization: Automatically structure generated videos into project folders
- Generation Status Dashboard: Track processing status across all shots
Phase 6: Post-Production Pipeline
- Video Assembly: Timeline-based shot arrangement
- AI Music Generation: Context-aware background score generation
- Sound Design: Automatic sound effect suggestions based on scene
- Color Grading Presets: Apply consistent look across all shots
- Final Export: Multi-format output (MP4, ProRes, DCP)
Phase 7: Collaboration & Mobile
- Multi-user Editing: Real-time collaboration with conflict resolution
- Mobile Application: On-set shot management and quick generation
- Team Roles: Producer, cinematographer, editor-specific views
- Comments & Feedback: Thread-based review system for each shot
- Cross-device Sync: Work on desktop, tablet, or phone seamlessly
Current Feature Status
| Feature | Status | Impact |
|---|---|---|
| Story Writing & Generation | ✅ Complete | Establish narrative foundation |
| AI Scene Breakdown | ✅ Complete | Automatic structuring saves hours |
| Shot Planning & Camera Work | ✅ Complete | Professional-level shot specifications |
| Screenplay Editor (Fountain) | ✅ Complete | Industry-standard output |
| Comprehensive AI Prompts | ✅ Complete | Enable high-fidelity AI generation |
| PDF Export | ✅ Complete | Studio-ready deliverable |
| JSON Export | ✅ Complete | Data preservation and integration |
| Project Management | ✅ Complete | Multi-project support with versioning |
| Authentication & Security | ✅ Complete | Google OAuth, data protection |
| Real-time Autosave | ✅ Complete | Zero data loss, offline support |
| Visual Storyboarding | 🔜 Q1 2025 | Bridge gap between planning and generation |
| Character Bible | 🔜 Q1 2025 | Ensure consistency across all shots |
| Video Generation API | 🔜 Q2 2025 | Direct integration with generation models |
| Continuity Detection | 🔜 Q2 2025 | AI-powered quality assurance |
| Mobile App | 🔜 Q3 2025 | On-set workflow support |
The Vision
Vurjana democratizes AI filmmaking by removing the technical barrier between creative vision and final output.
We believe:
Every filmmaker should spend time on creative decisions—storytelling, visual composition, emotional impact—not spreadsheet management and asset organization.
By abstracting away complexity, Vurjana enables filmmakers at all levels to produce professional-quality content while maintaining full creative control.
Why This Matters
- For Independent Filmmakers: Produce studio-quality short films solo without a large production team
- For Film Students: Focus on craft and storytelling instead of technical logistics
- For AI Enthusiasts: Experiment with creative AI applications without building infrastructure
- For Production Companies: Standardize workflows and scale filmmaking operations
Getting Started
Development Setup
Clone repository
git clone https://github.com/govinda-vurjana/Vurjana.git cd vurjana
Install frontend dependencies
npm install
Set up environment variables
cp .env.example .env
Configure: DATABASE_URL, NEXTAUTH_SECRET, GEMINI_API_KEY, etc.
Set up database
npx prisma generate npx prisma db push
Install and start Python AI service
cd python-ai-service pip install -r requirements.txt python app.py & # Run in background
Start Next.js development server (new terminal)
npm run dev
Project Structure
vurjana/ ├── app/ # Next.js 14 app directory │ ├── api/ # API routes │ │ ├── story/ │ │ ├── scenes/ │ │ ├── shots/ │ │ └── screenplay/ │ ├── dashboard/ # Main application │ └── auth/ # Authentication routes ├── components/ # React components │ ├── editors/ # Stage-specific editors │ ├── modals/ # Dialog components │ └── ui/ # Design system ├── lib/ # Utilities │ ├── db.ts # Prisma client │ ├── validation/ # Schema validation │ └── prompts/ # AI system prompts ├── prisma/ │ └── schema.prisma # Database schema ├── python-ai-service/ │ ├── app.py # Flask server │ ├── prompts/ # AI system prompts │ └── requirements.txt └── public/ # Static assets
Built For Creators, By Creators
Vurjana was born from real frustration—spending hours managing spreadsheets when I should have been making art. Every feature solves an actual problem. Every design decision prioritizes the creative workflow.
We're not building another project management tool. We're building a creative partner that makes filmmaking with AI feel natural.
Built with ❤️ by filmmakers, engineers, and storytellers who believe in AI's creative potential.
The future of filmmaking is collaborative—between human creativity and AI capability. Vurjana is that collaboration made practical.
Built With
- gemini
- javascript
- node.js
- postgresql
- prisma
- python
- vertexai
Log in or sign up for Devpost to join the conversation.