Full TikTok/Reels video pipeline: script → TTS voiceover (ElevenLabs) → HeyGen talking avatar → auto-subtitles (Whisper) → ffmpeg compose → 1080x1920 final video. Also supports AI B-roll generation with Runway Gen-4.5 when no source video exists.
✅ USE WHEN:
- Creating TikTok or Instagram Reels from scratch with voiceover
- Turning a news article, topic, or script into a 9:16 video
- Adding a talking avatar to any video
- Generating AI B-roll clips (Runway Gen-4.5) and editing into a Reel
❌ DON'T USE WHEN:
- You only need an image (use nano-banana-pro)
- You only need TTS audio (use ElevenLabs directly)
Required env vars: ELEVENLABS_API_KEY, ELEVENLABS_VOICE_ID, HEYGEN_API_KEY, YOUR_HEYGEN_AVATAR_ID, OPENAI_API_KEY, REPLICATE_API_TOKEN
Required system tools: ffmpeg, yt-dlp, Python 3