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

  1. Sends YouTube URL to Gemini 2.0 Flash for full content analysis
  2. Generates a full Alex Hormozi-style script matching the original video's content
  3. Condenses to max 2000 words (~13-14 minute video at 150 words/min)
  4. Sends to HeyGen API for landscape video generation (1920x1080)
  5. Polls for completion (15-30 minutes) and stores in youtube_long_form_heygen table

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"
Installs
1
First Seen
Apr 8, 2026
youtube-to-heygen-longform — g-hunterai/openclaw-skills