APEX is a fully autonomous AI agent that writes scripts, generates videos, uploads to YouTube, tracks analytics, and improves — all without manual work.
One command starts it. Nova handles the rest.
LLM writes complete comedy sketches for Trishul, Sandy, and Libhu — original characters you own 100%. Copyright-safe. SEO-optimised titles, tags, and descriptions included.
Generates real .mp4 files — AI cartoon images per scene, voice narration, Ken Burns motion effects, and on-screen captions. Three animation tiers from free to professional.
Every upload is blocked until you explicitly approve. Payload-locked cards — any metadata change invalidates the approval. 20-point quality gate runs automatically.
Connects to YouTube Analytics API. Tracks views, CTR, and retention per video. Enhancement engine uses real data to improve the next video automatically.
Conversational AI interface with memory, voice, desktop control, and browser automation. Talk to Nova in real time — she executes tasks immediately.
Queues new episodes automatically every morning. Topic pool cycles through your content plan. Enhancement brief applied to each video. You approve every upload.
Every step verified by the E2E test suite. All 5 wiring gaps found in external audit — fixed and proven.
Nova detects the intent from chat, voice, or hands-free wake word "Hey Nova"
LLM writes 6-7 scene comedy sketch with Trishul, Sandy, Libhu. Copyright scanner blocks any licensed character names automatically.
Pollinations.ai generates cartoon-style AI images per scene. Free, unlimited. Ideogram and Leonardo as paid alternatives.
gTTS records narration for each scene. Google WaveNet available for human-quality voice.
MoviePy renders final .mp4 with Ken Burns zoom effects, captions, and audio sync. Manim or Kling AI if installed.
Scene count, narration length, copyright scan, image integrity, video file size — all checked automatically before reaching approval.
Approval card shows exact metadata. Payload-locked — any change invalidates it. You click Approve. No upload without this.
Official YouTube Data API v3. Title, tags, description, thumbnail, visibility, made-for-kids flag all set. Analytics auto-registered.
YouTube Analytics fetched after upload. Enhancement engine generates improvement brief. Next video uses real performance data.
APEX auto-selects the best available tier on every run. No manual switching.
Works immediately with zero setup. AI-generated cartoon images per scene with voice narration and Ken Burns zoom effects.
Smooth 2D animated scenes — the same animation engine used by 3Blue1Brown (4M+ subscribers). Free forever, no GPU needed.
pip install manim
winget install MiKTeX.MiKTeX # Windows only
# Restart APEX — Manim activates automatically
Real animated cartoon clips per scene. Characters actually move. Near Cartoon Network quality. Add one API key to activate.
| Provider | Free Trial | Paid | Quality | Get Key |
|---|---|---|---|---|
| Kling AI | 66 free clips | ~₹1,500/mo | ⭐⭐⭐⭐⭐ | klingai.com |
| Pika Labs | Free trial | ~₹1,200/mo | ⭐⭐⭐⭐ | pika.art |
| Runway ML | Free credits | ~₹1,500/mo | ⭐⭐⭐⭐⭐ | runwayml.com |
# In APEX dashboard → Settings → API Keys
KLING_API_KEY = "your-kling-key-here"
# Save → APEX uses Kling on every future video automatically
One-shot installer handles everything. Python is the only prerequisite.
# 1. Clone
git clone https://github.com/sachiii143/apex-youtube-agent.git
cd apex-youtube-agent
# 2. Run one-shot installer
# Installs: venv, all packages, ffmpeg, Ollama, Playwright
# Asks for: free API keys, YouTube OAuth (guided)
PowerShell -ExecutionPolicy Bypass -File "run_nova.ps1"
# 3. Browser opens at http://127.0.0.1:5000
# Nova greets you by voice. Say "make a video" to start.
| Layer | Technology | Purpose |
|---|---|---|
| Backend | Python 3.10+ · Flask · Flask-Sock | API server, job queue, WebSocket push |
| AI Brain | DeepSeek · Gemini · Groq · Ollama | Script writing, chat, decision making |
| Images | Pollinations.ai · Ideogram · Leonardo | AI image generation per scene |
| Voice | gTTS · Google WaveNet · Web Speech | Narration + TTS output + voice input |
| Video | MoviePy · Manim · Kling AI · Pika | 3-tier animation rendering |
| YouTube | YouTube Data API v3 · OAuth2 | Upload, analytics, thumbnails |
| Desktop | pyautogui · Playwright · Pillow | Screenshot, mouse control, browser |
| Database | SQLite (WAL mode) | Memory, jobs, analytics, audit log |
| Frontend | Vanilla JS · CSS custom properties | 17-page dashboard, no framework needed |
| Tests | unittest · E2E integration tests | 20 tests covering full pipeline |
Script → Video → Upload → Analytics → Improvement loop. 29 files, 79 routes, 20/20 tests.
Narrated slideshow (free) + Manim 2D (free) + Kling/Pika/Runway (paid)
Memory, voice, hands-free wake word, desktop control, browser automation
ClickBank, CJ, Digi24 integration. Auto-select niche, generate content, post to all social platforms. Market Mirror Loop — competitor intelligence.
Extract best scenes from each video, crop 9:16, add captions, upload as Shorts
Manage multiple YouTube channels from one dashboard. Client reporting export.
Lip-synced Trishul, Sandy, Libhu with rigged models. True cartoon quality at scale.
Tamil, Hindi, English content generation. Regional market targeting.
Deploy APEX as a hosted service. Client onboarding, billing, multi-tenant architecture.
Free to use. One command to install. Daily videos on autopilot. You approve every upload.