Fully autonomous pipeline that generates, validates, and publishes YouTube Shorts with zero human intervention.
AutoShorts is an end-to-end AI content production system that runs 24/7:
- Script Generation — LLM (Groq/Ollama) generates viral-optimized scripts
- Quality Validation — 5-dimension AI judge scores each script (auto-reject + retry)
- Voice Synthesis — Edge-TTS generates professional narration
- Video Assembly — FFmpeg composites video with stock footage from Pexels
- Auto-Upload — YouTube Data API v3 publishes with optimized metadata
- Scheduling — Cron jobs run daily at optimal times with jittered uploads
| Component | Technology |
|---|---|
| Language | Python 3.11 |
| AI/LLM | Groq API, Ollama (Llama 3) |
| Voice | Edge-TTS |
| Video | FFmpeg, MoviePy |
| Upload | YouTube Data API v3 |
| Database | SQLite (deduplication) |
| Stock Media | Pexels API |
| Scheduling | Cron + Custom Scheduler |
- Zero Intervention — Produces 4 videos/day autonomously
- SAECS Prompt Framework — Structured prompting for consistent quality
- Deduplication Engine — 60-day topic cooldown, 30-day clip cooldown
- Quality Gate — AI-powered 5-dimension scoring with auto-retry
- Smart Scheduling — Jittered upload times to mimic human behavior
User Config → Niche Selection → LLM Script Gen → Quality Validation
→ TTS Voice → Stock Footage → FFmpeg Assembly → YouTube Upload
→ Analytics Tracking → Next Cycle
pip install -r requirements.txt
cp config/config.example.yaml config/config.yaml
# Add your API keys
python scripts/pro_pipeline.py