tsw-shorts-factory

Autonomous YouTube Shorts video factory — zero cost, no external video API required. Generates quote-based short-form videos daily using edge-tts (free Microsoft neural voices) + Pexels stock footage (free API) + MoviePy local assembly, then uploads to YouTube as drafts. Use when: setting up automated YouTube Shorts content pipelines, replacing broken video generation APIs, building faceless quote/motivation channels, or automating social video content at scale.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tsw-shorts-factory" with this command: npx skills add vanyanski/tsw-shorts-factory

TSW Shorts Factory

Zero-cost autonomous YouTube Shorts pipeline. Ships 3 videos/day, no paid APIs.

Stack: edge-tts (free) → Pexels clips (free API) → MoviePy (local) → YouTube upload

Quick Deploy

# 1. Install dependencies
pip install moviepy edge-tts google-api-python-client google-auth-oauthlib pillow

# 2. Set Pexels API key (free at pexels.com/api)
export PEXELS_API_KEY="your_key_here"

# 3. Set up YouTube OAuth (one-time)
python3 scripts/yt_setup.py  # Opens browser for auth

# 4. Prepare quote library
cp assets/sample_quotes.json quote_library.json  # Or provide your own

# 5. Run once to test
python3 scripts/pipeline.py

# 6. Add to cron (3x daily)
# 0 8,14,20 * * * cd /your/path && python3 scripts/pipeline.py >> pipeline.log 2>&1

Quote Library Format

{
  "motivational": [
    {"quote": "Champions keep playing until they get it right.", "author": "Billie Jean King"},
    {"quote": "The secret of getting ahead is getting started.", "author": "Mark Twain"}
  ],
  "sports_quotes": [
    {"quote": "I am the greatest.", "author": "Muhammad Ali"}
  ]
}

Supported niches: motivational, sports_quotes, business_quotes, film_tv_quotes, wisdom_philosophy

Video Output

  • Format: MP4, vertical 1080x1920 (Shorts-optimized)
  • Duration: matches TTS audio length (~15–45 seconds)
  • Text overlay: quote + author, centered, white with black stroke
  • Background: 4 rotating Pexels stock clips matched to niche
  • Uploaded as unlisted drafts — human reviews before publishing

Configuration

VariableDefaultDescription
PEXELS_API_KEYrequiredFree at pexels.com/api
YT_TOKEN_FILE~/.yt_token.pickleYouTube OAuth token
OUTPUT_DIR/tmp/tsw_outputVideo output directory
AUDIO_DIR/tmp/tsw_audioTTS audio cache
CLIP_CACHE_DIR/tmp/tsw_clipsPexels clip cache (reused)

Cost

  • edge-tts: free (Microsoft neural voices via unofficial API)
  • Pexels: free tier (25,000 requests/month)
  • MoviePy: free (local ffmpeg)
  • YouTube API: free (10,000 units/day quota)
  • Total: $0/month for ~90 videos/month

References

  • YouTube setup: See references/youtube-setup.md
  • Adding niches: See references/niche-config.md
  • Troubleshooting: See references/troubleshooting.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Video News Downloader

Automated daily news video downloader with AI subtitle proofreading. Downloads CBS Evening News and BBC News at Ten from YouTube, extracts and proofreads sub...

Registry SourceRecently Updated
5761Profile unavailable
Automation

OpenClaw YouTube Publisher

OpenClaw YouTube Publisher is a public ClawHub YouTube publishing skill. Use it when the user says "youtube creator ops", "youtube publisher", "YouTube Studi...

Registry SourceRecently Updated
2141Profile unavailable
Automation

Content Automation

内容创作自动化工具 Skill。支持社交媒体内容生成、视频脚本创作、定时发布任务管理。当用户需要批量生成内容、自动化社交媒体运营或创建视频脚本时触发。

Registry Source
1060Profile unavailable
Automation

YouTube Uploader

Upload videos and custom thumbnails to YouTube. Use when the user wants to publish, upload, or post a video to YouTube, set a thumbnail, or manage YouTube ch...

Registry Source
1K4Profile unavailable