Skip to content
Talha Shaikh.
← Back to projects

Case study

FlowCreator OS

Autonomous AI Filmmaking. Mathematically Locked Continuity.

Lead Engineer & System Architect — Autonomous Generative Video Directing & Creator Automation Platform.

A next-generation AI video director and creator automation platform that transforms high-level creative premises into broadcast-grade, multi-clip video batches with locked character facial geometry, seamless match-cut cinematography, multi-season continuity, and automated multi-platform distribution.

Next.js 16React 19Tailwind CSS v4Google Gemini 2.5/3.6Neon PostgresPrisma ORM 6Clerk AuthVercel CronWhatsApp API
🔒flow-creator-os.vercel.app
Production
FlowCreator OS live web preview

Overview

FlowCreator OS is an enterprise-grade autonomous video directing and operations engine built for high-output digital creators, media studios, and solo video entrepreneurs. While generative video models (Google Veo, OpenAI Sora, Runway Gen-3) produce breathtaking 5–10 second snippets, they lack cinematic continuity, spatial awareness, speaker choreography, and narrative pacing. FlowCreator OS bridges this industry gap by generating camera-sequenced prompt bundles with locked facial geometry, adaptive story pacing, and automated 4-platform distribution.

The problem

Creators lose hours wrestling with AI face-drift, stitched 10-second clips with jarring random cuts, voices hallucinating across multiple characters in one frame, and the friction of publishing daily across 4 social networks without missing scheduled engagement windows.

The solution

An autonomous director core powered by Google Gemini that generates locked prompt bundles with Reference Image Anchoring, temporal single-speaker choreography, eyeline match-cut rules with continuous room-tone, an 8-season stakes escalation ladder, and automated hourly WhatsApp upload tracking.

  • Autonomous Cast Generation: Automatically parses story loglines to generate tailored character archetypes, biometric tokens, and psychological motivations.
  • Reference Image Anchoring: Injects master facial reference geometry tokens while isolating wardrobe and scene lighting to eliminate hallucination.
  • Adaptive Episode Pacing: Dynamically scales episode length (30s suspense hooks, 40s clue interrogations, 50s–60s season finales).
  • Infinite 8-Season Continuity Engine: 1-click escalation carrying forward unresolved mysteries, protagonist DNA, and fresh antagonist archetypes.
  • CreatorOps Multi-Platform Hub: 4-platform upload tracking (YouTube, Instagram, TikTok, Facebook) with time-zoned WhatsApp alerts.

Technical architecture

Autonomous Directing Core & Structured Output Validation

Powered by Google Gemini 2.5/3.6 Flash via the official @google/genai SDK. Prompts are strictly validated through comprehensive Zod schemas to guarantee valid structured JSON production bundles, camera directives, and Midjourney master keyframe prompts.

Reference Image Anchoring & Eyeline Match-Cut Directives

Instead of repeatedly describing physical traits (which causes diffusion drift), prompts inject locked reference anchors. Inter-clip transitions use eyeline and action match-cuts with continuous acoustic room-tone; black cuts are strictly isolated to cliffhanger beats at 0:09.5s.

Serverless Persistence & Anonymous-to-User Migration

Relational data schema managed with Prisma ORM 6 on Neon Serverless PostgreSQL. Clerk Authentication with custom error boundaries protects against CDN dropouts and seamlessly migrates guest workflows into authenticated creator accounts.

Timezone-Aware WhatsApp Automation & Edge Crons

Vercel Cron scheduler triggers hourly background workers configured between 2:00 PM and 11:00 PM Pakistan Time (PKT). Messages dispatch through Green-API and CallMeBot gateways detailing pending video uploads across channels.

Problems I ran into

…and how I worked through them.

The problem

AI Character Face-Drift: Generative video models hallucinate differing faces across consecutive clips when prompts re-describe character features.

How I solved it

Engineered Reference Image Anchoring that binds character geometry to master tokens, isolating per-clip wardrobe and lighting directives.

The problem

Dual-Speaker Animation Collisions: Having two characters speak in a single 10-second clip causes AI models to blend voices and animate incorrect lips.

How I solved it

Implemented Temporal Choreography enforcing strict single-speaker isolation per clip with explicit silence directives for off-screen/secondary characters.

The problem

Inconsistent Daily Posting Cycles: Digital creators struggle to post consistently across 4 social networks every day.

How I solved it

Constructed CreatorOps WhatsApp bot with PKT time-zoned hourly checks and a centralized 4-platform status dashboard.

Results

  • Reduced video production prompt engineering time by 95% (from 3 hours to 15 seconds for a 7-day schedule).
  • Achieved zero face-drift across multi-episode story arcs using master biometric token locks.
  • Quadrupled distribution output by generating tailored high-CTR titles, hashtags, and descriptions for 4 platforms in 1 click.
  • Delivered 100% posting consistency through automated WhatsApp alerting workflows.

Full tech stack

Next.js 16React 19Tailwind CSS v4Google Gemini FlashNeon PostgresPrisma ORM 6Clerk AuthVercel CronGreen-APICallMeBotZod