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
- n8n: Open workflow
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
- URL Input: Paste any page URL.
- AI Agent (Gemini): Reads page, produces script & descriptions.
- Video Background: Captures animated scroll or featured image.
- HeyGen Composition: Renders split-screen or cut-out avatar video.
- Publish: Uploads via Upload-Post to social platforms.
Setup (step-by-step)
- Get API keys for HeyGen, ScreenshotOne, Gemini, and Upload-Post.
- Set variables:
workflow_url,background_removal,background_type. - Choose platforms in Upload-Post node.
- Run workflow to generate and publish.