← 返回
未分类 Key 中文

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 Micro...
自动YouTube Shorts视频工厂 — 零成本,无需外部视频API。每日使用edge-tts(免费Micro...)生成基于引用的短视频。
vanyanski vanyanski 来源
未分类 clawhub v1.0.0 1 版本 99828.5 Key: 需要
★ 0
Stars
📥 582
下载
💾 0
安装
1
版本
#automation#content#faceless#latest#shorts#tts#video#youtube

概述

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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-02 12:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

VA Claims Assistant

vanyanski
为美国退伍军人提供VA残疾索赔指导,包括残疾等级评定、索赔提交、增加索赔及因果关系证明等咨询。
★ 0 📥 482
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 330 📥 93,313
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 216 📥 46,897