The Inspiration Traditional video analysis tools treat video frames as isolated snapshots, completely missing the narrative flow, cinematic intent, and dynamic context that define filmmaking. As AI continues to transform media production, there was a glaring gap: a lack of autonomous, director-level AI capable of understanding, framing, and retaining the continuous memory of a cinematic scene in real-time. We wanted to build an intelligent assistant that doesn't just "see" video—it directs and remembers it. What It Does Agentic Cinema Neural Renderer v6.0 turns multi-source video feeds (local files, YouTube streams, or live feeds) into a structured, real-time cinematic analysis pipeline. Powered by Google’s Gemini 2.0 (GenAI SDK), the system acts as an autonomous AI Director that analyzes camera motion, lighting setups, actor positioning, and scene mood. To solve the problem of context loss, it integrates ClickHouse Cloud, storing temporal frame embeddings and scene metadata in a dedicated scene_memory database. This gives the AI dynamic, long-term memory to maintain narrative consistency across long-form content. How We Built It

  • Intelligence Layer: Leveraged google-genai to construct direct, structured directorial prompts that output high-precision analysis in real-time.
  • Memory & Vector Layer: Engineered a resilient ClickHouseMemoryManager that auto-connects to ClickHouse Cloud to log scene states, complete with an offline fallback mechanism to ensure uninterrupted execution.
  • Ingestion & UI: Used opencv-python and yt-dlp for high-throughput video frame extraction, wrapping the entire experience into a responsive, interactive Streamlit dashboard. Challenges We Overcame Balancing zero-downtime execution with real-time API calls and cloud storage was our biggest hurdle. We solved this by designing a fail-safe, modular architecture where ClickHouse seamlessly falls back to local memory if network latency spikes, ensuring the video stream and Gemini processing never freeze. What’s Next We plan to expand the renderer to generate automated shot-list suggestions and direct integration with 3D engines (like Unreal Engine) for real-time spatial pre-visualization.

Built With

Share this project:

Updates

posted an update —

أعتذر منك جدًا على تضمين الرموز والتنسيق المعقد. تم تعديل المنشور بالكامل بدون أي إيموجي (Emoji) وبدون رموز الـ Bash (# أو ```): Project Update: The Maestro Neural Renderer (v6.0) We have officially reached a major milestone! The Maestro Neural Renderer is now fully deployed and operational in a live cloud environment, bringing real-time, AI-driven cinematic scene direction straight to mobile and desktop workflows. What is New in v6.0

  • Gemini Director Integration: Automated, agentic scene analysis and rendering decisions powered directly by the Gemini API.
  • Streamlit UI Overhaul: A responsive interface designed for multi-source input (Local Uploads, YouTube Links, and Live Camera capture).
  • Cloud Architecture and Replit Deployment: Production-ready deployment running seamlessly on custom port configurations with secure secrets management. Evolution and Changelog Version 1.0 - 3.0: Core Prototyping
  • Initial setup of Python-based neural rendering modules.
  • Basic video ingestion and local frame processing pipelines. Version 4.0 - 5.0: Pipeline Optimization
  • Refined memory allocation and backend execution logic.
  • Added support for google-genai orchestration and clickhouse-connect telemetry logging. Version 6.0: Cloud Deployment and Agentic Workflow (Current)
  • Resolved cross-version environment dependencies on Replit (moving from legacy Nix Python to Python 3.11).
  • Added real-time Webview rendering accessible via public endpoints.
  • Streamlined API authentication via secure environment keys. Code Snippet: Launching the App To run the full agentic rendering interface locally or within a container environment: pip install -r requirements.txt streamlit run main.py --server.port 8080 Live Deployment Our live environment is verified and actively rendering scenes via replit.dev. Stay tuned as we finalize submission materials and video demonstrations! What feature would you like to see next in the rendering pipeline? Let us know in the comments below!

Log in or sign up for Devpost to join the conversation.

Submission history