AutoTube

Python Generative AI LLM n8n Docker
⏱ 1 min read

Overview

AutoTube is an end-to-end automated YouTube Shorts factory. It combines AI agents (Ollama/LLaMA), n8n workflows, and Python automation to generate scripts, create visuals, synthesize voiceovers, and upload finished videos directly to YouTube.

Key Features

  • 🎬 End-to-End Automation: From topic to published video, fully automated
  • 🧠 AI Scripting: Uses Ollama/LLaMA for engaging script writing
  • 🎨 AI Visuals: Generates dynamic image slideshows using Pollinations.ai/Z-Image
  • 🎞️ Professional Editing: Automated Ken Burns effects, transitions, and overlays
  • 🔄 Visual Workflow: Orchestrated via n8n with error handling and monitoring
  • 🐳 Dockerized: Fully containerized microservices architecture

Project Architecture

  1. Orchestration: n8n manages the workflow state and triggers
  2. AI Layer: Ollama (Script), OpenTTS (Voice), Pollinations.ai (Images)
  3. Video Engine: Python service for composition and rendering
  4. Integration: YouTube Data API v3 for upload and metadata

Tech Stack

TechnologyPurpose
PythonVideo generation & Logic
n8nWorkflow Orchestration
OllamaLocal LLM inference
DockerContainerization
PostgreSQLState management

Getting Started

# Clone the repository
git clone https://github.com/Hritikraj8804/Autotube.git
cd Autotube/short_automation

# Configure Environment
cp .env.example .env
# Set N8N_BASIC_AUTH_USER, POSTGRES_PASSWORD, etc.

# Start Services
docker-compose up -d

# Access n8n Dashboard
# Navigate to http://localhost:5678

A powerful demonstration of agentic AI workflows and media automation.