youtube-to-heygen-longform
Installation
SKILL.md
YouTube to HeyGen Long-Form Avatar Video
Converts YouTube videos into long-form landscape avatar videos using your HeyGen AI clone. Two-step Gemini process: full script extraction → condensation to max 2000 words.
What It Does
- Sends YouTube URL to Gemini 2.0 Flash for full content analysis
- Generates a full Alex Hormozi-style script matching the original video's content
- Condenses to max 2000 words (~13-14 minute video at 150 words/min)
- Sends to HeyGen API for landscape video generation (1920x1080)
- Polls for completion (15-30 minutes) and stores in
youtube_long_form_heygentable
How to Run
# Generate long-form avatar video (default 2000 words max)
python3 skills/youtube-to-heygen-longform/scripts/youtube_to_heygen_longform.py "https://www.youtube.com/watch?v=VIDEO_ID"