Inspiration

AI video generation has crossed a strange threshold: it's convincing enough to fool you for the first three seconds of a clip, and then something's wrong — a missile pointed the wrong way, a hand with too many fingers, a shadow that doesn't match the light source, a character whose face has quietly drifted between takes. That gap between "looks impressive in a demo" and "actually usable in production" is exactly the gap every VFX pipeline exists to close, just currently with a human doing 100% of the watching and none of the paper trail. Agentic Cinema's brief — build production-ready agent networks for enterprise media workflows — read less like "generate video" and more like "run a mini studio." That reframing was the spark: instead of another prompt-to-video demo, build the quality control department a studio would actually staff around generative video, with a brief, a critique, a reviewer, a refinement budget, and a record of what happened and why — the unglamorous infrastructure that's the real difference between a cool tech demo and something a production team could put a client's name on.

What it does

Take-Two-Crew is an enterprise agentic quality-control (QC) pipeline that transforms non-deterministic AI video generation into a predictable, studio-ready production workflow. Built to eliminate manual, unstructured clip reviewing, the system orchestrates an automated loop: Gemini agents break scripts into structured shot briefs, execute renders via Google Veo, and run multimodal frame-by-frame QC evaluations that enforce visual consistency while actively preventing regression across passes. By integrating human-in-the-loop approval gates, an immutable ClickHouse-backed audit trail, and a novel optical-flow frame-editing tool that repairs isolated defects without incurring full re-render costs, Take-Two-Crew provides studios and agencies with the governance, accountability, and cost controls required to deploy generative video at enterprise scale.

How we built it

We engineered an automated pipeline utilizing the Google ADK LoopAgent to drive a continuous generate, critique, human-review, and refine cycle, later enhancing it with time status transitions, retry counting, and human-in-the-loop controls. Next, we designed a schema and planned the integration of a custom logger with a ClickHouse database to capture granular execution details across the pipeline. We initially tested a Streamlit user interface deployed via Cloud Run, but due to efficiency bottlenecks, we migrated to Reflex to achieve a vastly superior UI/UX. Based on Subject Matter Expert feedback, we then researched and mapped out a future implementation plan for character-specific generation and frame-level verification. Finally, to guarantee output quality, we established a monitoring process by building a performance tab equipped with automated evaluators to track character preservation, scene consistency, and system latency.

Challenges we ran into

Our primary technical challenges involved mitigating request timeouts, minimizing MCP idling time, and optimizing platform infrastructure to balance high performance with minimal compute costs. Managing a stateful frontend on Cloud Run also proved inherently difficult without a dedicated Redis cache configured for session management. Furthermore, initializing Reflex builds at container startup across multiple instances resulted in silent 404 errors, complex cross-referencing issues, and challenging debugging cycles. On the generation side, Veo's highly rigid safety filtering frequently triggered false positives, rejecting numerous videos that did not actually violate policy constraints. Finally, establishing a hardened, low-latency data synchronization between the UI and the ClickHouse MCP required significant troubleshooting to overcome inherent latency bottlenecks.

Accomplishments that we're proud of

This solution represents a production-ready, end-to-end product rather than a simple prototype, built entirely without mocked components using live integrations of Veo, Gemini, and ClickHouse Cloud. Within the interface, the Scene tab parses scripts into discrete scenes while injecting granular video generation parameters such as camera angles and lighting. During the refinement loop, all user feedback is persistently appended and preserved, guaranteeing that each subsequent generation iteratively improves upon the last. Furthermore, the escalation tab mirrors a professional VFX workflow by facilitating deep frame-level investigation and targeted fixes. Finally, comprehensive system performance—including evaluator metrics for character and scene preservation—is rigorously tracked by leveraging ClickHouse's core analytical capabilities.

What we learned

I gained deep hands-on experience in productionizing complex AI systems, particularly in managing session lifetimes, tuning timeouts, and navigating exception propagation across asynchronous wrappers. Resolving infrastructure latency and UI compatibility challenges provided valuable lessons in serverless deployment trade-offs on Cloud Run—specifically handling stateful frontends without Redis and migrating from Streamlit to Reflex. Furthermore, I learned to build native observability by leveraging ClickHouse to compute evaluator metrics like character preservation, scene consistency, and system latency. Finally, working with live integrations of Google ADK's LoopAgent, Veo, and Gemini deepened my understanding of handling strict safety filters and designing persistent feedback loops for iterative output refinement.

What's next for Take 2 Crew

Looking ahead, our immediate focus is implementing multi-tenant authentication to replace the current single shared portal password. Next, we plan to integrate a Redis-backed state manager for the Reflex portal to streamline multi-instance session handling on Cloud Run. On the feature front, we will introduce a dedicated Combining Tab that allows users to select, sequence, and render individual generated clips into a complete, unified movie output. Finally, we aim to upgrade our motion processing pipeline by replacing standard OpenCV optical flow with advanced neural frame interpolation models like Google FILM to achieve smoother frame-level transitions and superior visual quality.

Built With

Share this project:

Updates

Submission history