CreatorPilot is an autonomous AI Production Agent and virtual Director for YouTube creators, built for the Agentic Cinema Hackathon using Google's Gemini / Google ADK and the Parallel Search API. Instead of acting as a generic text generator, CreatorPilot evaluates a creator's real-world constraintsβsuch as budget in Indian Rupees (βΉ), available filming hours, crew size, camera equipment, shooting locations, and experience levelβand autonomously determines whether live web research is needed, executing real-time Parallel Search queries to generate a feasible, time-blocked production blueprint.
Independent YouTube creators spend up to 70% of their production time struggling with pre-production friction:
- Generic AI Advice: Existing chatbots provide unrealistic advice (e.g., suggesting 3 camera angles, drone shots, and studio lighting grids to a solo creator filming on a phone with βΉ2,000).
- Stale Market Information: Creators frequently cover rapidly evolving tools, platform updates, or news without access to fresh market data or live web citations during planning.
- Runaway Filming Schedules: Creators consistently underestimate setup and post-production time, resulting in abandoned shoots and creator burnout.
- Lack of Triage: When a shoot runs late, creators lack an objective triage framework to know what scenes can be cut without ruining video pacing.
CreatorPilot functions as a dedicated AI Production Manager and Director:
- Understands the Objective: Analyzes video premise, target audience, and duration.
- Autonomous Research Decision: Leverages Gemini tool-calling to decide whether live web data is needed, invoking the real Parallel Search API for market freshness.
- Adaptive Constraint Engine: Ingests the creator's real-world limitations (budget, hours, gear, crew, location) and adapts the format, camera work, and editing scope.
- Actionable Deliverables: Delivers an objective feasibility score (0β100), time-blocked production schedule, priority-tagged shot list (
MUST HAVEvs.OPTIONAL), and an "If You Run Out Of Time" cut-first triage guide.
Creator Idea & Constraints
β
Google Gemini / ADK Agent Layer
β
Autonomous Research Decision Turn
βββ (Needs Fresh Market Data) ββ> Parallel Search API (v1/search) ββ> Live Web Citations
βββ (Creative / Evergreen) ββ> Baseline Grounding
β
Synthesis & Feasibility Engine (Score 0β100)
β
Constraint Adaptation ("Why We Changed The Plan")
β
Production Schedule (Strictly within Available Hours)
β
Priority Shot List & Time Cut Triage
β
Interactive Production Command Center UI
graph TD
User([YouTube Creator]) -->|Idea + Constraints| ReactClient[React + Vite Frontend]
ReactClient -->|POST /api/plan| FastAPIServer[FastAPI Backend Server]
FastAPIServer -->|Prompt + Tool Declaration| GeminiAgent[Google Gemini 3.6 Flash / ADK Agent]
GeminiAgent -->|Function Call: parallel_search| ParallelTool[Parallel Search Tool]
ParallelTool -->|HTTP POST x-api-key| ParallelAPI[Parallel Search API v1/search]
ParallelAPI -->|Fresh Citations & Excerpts| ParallelTool
ParallelTool -->|Grounding Context| GeminiAgent
GeminiAgent -->|Structured Synthesis| PlanSchema[Pydantic ProductionPlan Schema]
PlanSchema -->|Validated JSON| FastAPIServer
FastAPIServer -->|Structured Blueprint| ReactClient
ReactClient -->|Interactive Command Center| User
- AI & Agent Layer: Google Gemini 3.6 Flash / Google GenAI SDK (
google-genai,google-adk) - Live Search & Market Intelligence: Parallel Search API (
https://api.parallel.ai/v1/search) - Backend Framework: FastAPI (Python 3.11, Pydantic v2, Uvicorn, HTTPX)
- Frontend Client: React 19, Vite, Vanilla CSS (Glassmorphism & Responsive Design)
- Deployment Platform: Google Cloud Run (Containerized Backend) + Firebase Hosting / Cloud Run (Frontend)
CreatorPilot features a genuine, runtime integration with the Parallel Search API:
- Why Parallel is used: When creators propose videos regarding evolving topics (e.g., βcurrent AI coding tools marketβ, βlatest changes to YouTube recommendations algorithmβ), static models lack freshness. Parallel provides real-time search with publication dates and domain sources.
- What is called: An asynchronous client invokes
https://api.parallel.ai/v1/searchwith the requiredx-api-keyheader and targeted search objectives. - Autonomous Trigger: Gemini declares
parallel_searchas an ADK tool. The model autonomously invokes the tool when current information is required and bypasses it for evergreen topics (e.g., comedy skits). - Plan Impact: Returned citations, tool release notes, and industry benchmarks directly ground the video script outline, retention hooks, and talking points.
# Google Gemini API Key (Required)
# Get a free key at https://aistudio.google.com/app/apikey
GEMINI_API_KEY=your_gemini_api_key_here
# Parallel Search API Key (Required for live search track)
# Get your key at https://platform.parallel.ai
PARALLEL_API_KEY=your_parallel_api_key_here
# Server Configuration
HOST=0.0.0.0
PORT=8000
ENVIRONMENT=development
# Allowed CORS Origins (comma-separated or * in development)
ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173# Backend API URL
VITE_API_URL=http://localhost:8000git clone https://github.com/omm-prog/CreatorPilot.git
cd CreatorPilotcd backend
python -m venv venv
# Activate Virtual Environment:
# On Windows (PowerShell):
.\venv\Scripts\Activate.ps1
# On macOS/Linux:
source venv/bin/activate
# Install Dependencies:
pip install -r requirements.txt
# Configure Secrets:
copy .env.example .env
# Edit .env and paste your GEMINI_API_KEY and PARALLEL_API_KEY
# Start Server:
python -m uvicorn main:app --host 127.0.0.1 --port 8000 --reloadVerify the backend health check: http://127.0.0.1:8000/health
cd ../frontend
npm install
npm run devOpen http://127.0.0.1:5173 in your browser.
-
Install and authenticate Google Cloud SDK:
gcloud auth login gcloud config set project YOUR_PROJECT_ID -
Enable Required Google Cloud APIs:
gcloud services enable run.googleapis.com artifactregistry.googleapis.com cloudbuild.googleapis.com -
Deploy with Cloud Run from source:
cd backend gcloud run deploy creatorpilot-backend \ --source . \ --region us-central1 \ --allow-unauthenticated \ --set-env-vars "ENVIRONMENT=production,ALLOWED_ORIGINS=*" \ --set-secrets "GEMINI_API_KEY=GEMINI_API_KEY:latest,PARALLEL_API_KEY=PARALLEL_API_KEY:latest"
Note: Cloud Run will output your live HTTPS backend URL (e.g.,
https://creatorpilot-backend-xyz.a.run.app).
- In
frontend/, configure your production backend URL:# In frontend/.env.production: VITE_API_URL=https://creatorpilot-backend-xyz.a.run.app - Build the production assets:
npm run build
- Deploy to Firebase Hosting or Cloud Run static container:
firebase deploy --only hosting
- Live Application (Frontend): https://creatorpilot-agent.netlify.app
- Live Production API (Backend): https://creatorpilot-mly5.onrender.com
- API Health Check: https://creatorpilot-mly5.onrender.com/health
This project is licensed under the MIT License.