[TERMINAL · SKILLS]
> mounting /skills...
> indexing skill manifests...
> linking agents: claude · codex · gemini · cursor
> ready.
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0%
Use Cases/Build an AI Short Video Generator

Build an AI Short Video Generator

Build a faceless YouTube Shorts / TikTok video generator pipeline that creates 50+ videos per day — from topic research to upload automation.

Content#video-generation#tiktok#youtube-shorts#content-creation#ai-video
Works with:claude-codeopenai-codexgemini-clicursor
agent@terminalskills — playground
full playground →

Try this use case on your own files

simulated preview
$
$

real run in an isolated sandbox · files auto-deleted after 7 days · nothing touches your machine

Skills stack · 4 skills

Avg quality 88/100·All SAFE
>

ai-video-generator

v1.0.0

Generate short-form videos with AI — script writing, text-to-speech narration, stock footage selection, subtitle generation, and video assembly. Use when: creating TikTok/YouTube Shorts/Reels content, automating video production, building content pipelines.

87/100 quality
7.80× impact
SAFE
View skill
>

elevenlabs

v1.0.0

Generate realistic speech with the ElevenLabs API. Use when a user asks to convert text to speech, clone voices, build voice-enabled apps, stream audio, or integrate ElevenLabs voice synthesis into applications.

93/100 quality
2.88× impact
SAFE
View skill
>

anthropic-sdk

v1.0.0

Integrate Claude AI into applications with the Anthropic SDK. Use when a user asks to add Claude to an app, use Claude for text generation, build a chatbot with Claude, use Claude's long context window, implement tool use with Claude, stream Claude responses, use Claude for code generation, document analysis, or reasoning tasks. Covers Messages API, streaming, tool use, vision, system prompts, extended thinking, and batch processing.

93/100 quality
2.86× impact
SAFE
View skill
>

ffmpeg

v1.0.0

Transcode, convert, edit, and process audio and video with FFmpeg. Use when a user asks to convert video formats (webm to mp4, mkv to mp4), extract audio from video, compress video files, trim or cut clips, concatenate videos, add subtitles, create thumbnails, apply filters, change resolution or bitrate, re-encode media, create GIFs from video, add watermarks, normalize audio, stream media, or build automated media processing pipelines.

80/100 quality
1.32× impact
SAFE
View skill
$

The Problem

Creating short-form video content at scale for YouTube Shorts, TikTok, and Instagram Reels is extremely labor-intensive. Manually scripting, recording narration, finding footage, adding subtitles, and uploading limits most creators to 1-2 videos per day — not enough to build traction on algorithm-driven platforms that reward volume and consistency.

The Solution

Build an automated pipeline that generates faceless short-form videos — from trending topic research through script writing, narration, stock footage selection, subtitle generation, assembly, and upload. Target: 50 videos/day at ~$0.05/video cost. No camera, no face, no editing skills needed — just AI + automation.

Architecture

Trending Topics API
       ↓
  AI Script Writer (Claude)
       ↓
  Text-to-Speech (ElevenLabs / OpenAI TTS)
       ↓
  Stock Footage Matcher (Pexels API)
       ↓
  Subtitle Generator (WhisperX)
       ↓
  Video Assembler (FFmpeg / MoviePy)
       ↓
  Upload Bot (YouTube API / TikTok)
       ↓
  Analytics Dashboard

Step-by-Step Walkthrough

1. Set Up the Project

bash
mkdir video-generator && cd video-generator
python -m venv venv && source venv/bin/activate
pip install anthropic requests moviepy pydub whisperx srt schedule
sudo apt install ffmpeg

Environment variables needed:

bash
export ANTHROPIC_API_KEY=sk-ant-...
export ELEVENLABS_API_KEY=...
export PEXELS_API_KEY=...
export YOUTUBE_CLIENT_SECRET=...  # for upload

2. Topic Research Engine

Find what's trending and likely to go viral:

python
# Research trending topics in your niche
# Use Google Trends API, Reddit trending, or curated topic lists
# The ai-video-generator skill has get_trending_topics() function

# Key niches with high RPM:
# - "AI tools nobody talks about" ($8-15 RPM)
# - "Psychology facts" ($5-10 RPM)
# - "Money/finance tips" ($10-20 RPM)
# - "Tech reviews" ($8-15 RPM)

3. Script Generation with Hooks

Every viral short follows this formula:

HOOK (0-3s): "Stop scrolling — this AI tool is replacing..."
BODY (3-50s): 3-5 punchy facts, each 1-2 sentences
CTA (50-60s): "Follow for more, link in bio"

Use the generate_script() function from the ai-video-generator skill. Key: the hook is everything — if they don't stop scrolling in 3 seconds, you lost them.

4. Voice Generation

Choose your voice strategy:

  • ElevenLabs ($22/mo): Best quality, most natural, voice cloning
  • OpenAI TTS (~$0.015/1K chars): Good quality, cheaper at scale
  • Edge TTS (free): Decent quality, unlimited, good for testing

For a faceless channel, pick ONE consistent voice — it becomes your brand.

5. Stock Footage Matching

python
# For each script section, extract 2-3 keywords
# Search Pexels API for matching portrait (9:16) clips
# Download and cache clips for reuse
# Tip: build a local footage library to reduce API calls

6. Subtitle Generation

Subtitles are CRITICAL for shorts — 80% of viewers watch with sound off.

Style: bold white text with black outline, centered bottom third, 3-5 words at a time, word-by-word highlight for engagement.

7. Video Assembly

python
# Combine: background clips + narration + subtitles
# Output: 1080x1920 (9:16), H.264, AAC audio
# Add: slight zoom/pan on clips to avoid static frames
# Duration: 30-60 seconds optimal

8. Upload Automation

python
# YouTube Shorts: Use YouTube Data API v3
# - Upload via resumable upload
# - Set: #Shorts in title/description for Shorts shelf
# - Schedule uploads: 3-5 per day, spread across hours

# TikTok: Use unofficial API or Selenium automation
# - Upload via browser automation
# - Add trending sounds when relevant

9. Batch Production

python
# Daily batch: generate 50 videos overnight
# Store in output/YYYY-MM-DD/ directory
# Upload scheduler: drip 5-10 per day to avoid spam flags
# A/B test: same topic, different hooks → keep the winner

10. Analytics & Optimization

Track what works:

  • Hook retention — if <30% watch past 3s, rewrite hooks
  • Completion rate — target >60% for Shorts algorithm
  • Click-through rate — thumbnail + title optimization
  • Revenue per video — double down on high-RPM topics

Cost Breakdown

ItemMonthly Cost
Claude Sonnet (scripts)~$5
ElevenLabs (voice)$22-99
Pexels (footage)Free
VPS for automation$10-20
Total~$40-125

Revenue Timeline

MonthVideosViewsRevenue
150050K$0 (building)
21,000200K$50-100
31,500500K$200-500
63,0002M+$1,000-2,000

Real-World Example

A creator launches a faceless "AI Tools Nobody Talks About" YouTube Shorts channel. The pipeline researches trending AI tools via Product Hunt and Hacker News, generates 60-second scripts with Claude highlighting one tool per video, narrates with a consistent ElevenLabs voice, overlays Pexels stock footage of people using laptops, and adds word-by-word highlighted subtitles. In month 1, they upload 500 videos and get 50K total views. By month 3, one video about an obscure AI image editor goes viral (2M views), pushing the channel past the YouTube Partner Program threshold. At month 6 with 3,000+ videos live, the channel earns $1,500/month from YouTube ad revenue ($12 RPM on tech content) plus $400/month from affiliate links to the AI tools featured in video descriptions.

Tips for Success

  1. Consistency beats quality — post daily, the algorithm rewards frequency
  2. First 3 seconds decide everything — spend 50% of effort on hooks
  3. One niche per channel — don't mix finance and cooking
  4. Recycle what works — same topic, different angle, new hook
  5. Watch competitors — see what gets views in your niche, make it better
  6. Build multiple channels — diversify risk and income sources

Related Skills

  • ai-video-generator — core video generation pipeline
  • ai-content-monetization — broader monetization strategies
  • anthropic-sdk — Claude API for script generation