n8n Template

Generate AI Video Avatars from URLs with HeyGen, Gemini & Upload to Social Media

Generate AI Video Avatars from URLs with HeyGen, Gemini & Upload to Social Media
Created by carlosgracia • November 8, 2025

Overview

This workflow turns any URL (news article, blog post, or even an n8n workflow page) into a vertical short video with your AI avatar explaining it ready for TikTok, Instagram Reels, and YouTube Shorts. It fetches the page, generates a tight 30–45s script and platform-optimized descriptions, captures a dynamic background of the page, composes the video with HeyGen, and sends it to Upload-Post.

Template

Who is this for?

  • Creators & Marketers
  • Media & Newsletters
  • Agencies
  • Founders & Product Teams

Key benefits

  • Script from AI: Writes a ~30s hook-led monologue.
  • Auto Video Gen: Uses page as background + avatar voiceover.
  • Multi-publish: One-click posting to TikTok, Reels, Shorts.
  • Start free: Generate videos with free trials across APIs.

Detailed flow

  1. URL Input: Paste any page URL.
  2. AI Agent (Gemini): Reads page, produces script & descriptions.
  3. Video Background: Captures animated scroll or featured image.
  4. HeyGen Composition: Renders split-screen or cut-out avatar video.
  5. Publish: Uploads via Upload-Post to social platforms.

Setup (step-by-step)

  1. Get API keys for HeyGen, ScreenshotOne, Gemini, and Upload-Post.
  2. Set variables: workflow_url, background_removal, background_type.
  3. Choose platforms in Upload-Post node.
  4. Run workflow to generate and publish.
ai-avatarheygengemini