Back to Templates

Generate AI Videos from Text with HeyGen and Voice Cloning.

Created by

Created by: Emmanuel Bernard || n8ninja

Emmanuel Bernard

Last update

Last update 4 months ago

Share


🎥 AI Video Generator with HeyGen

🚀 Create AI-Powered Videos in n8n with HeyGen

This workflow enables you to generate realistic AI videos using HeyGen, an advanced AI platform for video automation. Simply input your text, choose an AI avatar and voice, and let HeyGen generate a high-quality video for you – all within n8n!

Ideal for:

  • Content creators & marketers 🏆
  • Automating personalized video messages 📩
  • AI-powered video tutorials & training materials 🎓

🔧 How It Works

1️⃣ Provide a text script – This will be spoken in the AI-generated video.
2️⃣ Select an Avatar & Voice – Choose from a variety of AI-generated avatars and voices.
3️⃣ Run the workflow – HeyGen processes your request and generates a video.
4️⃣ Download your video – Get the direct link to your AI-powered video!


⚡ Setup Instructions

1️⃣ Get Your HeyGen API Key

  • Sign up for a HeyGen account.
  • Go to your account settings and retrieve your API Key.

2️⃣ Configure n8n Credentials

  • In n8n, create new credentials and select "Custom Auth" as the authentication type.
  • In the Name provide : X-Api-Key
  • And in the value paste your API key from Heygen
  • Update the 2 http node with the right credentials.

3️⃣ Select an AI Avatar & Voice

  • Browse available avatars & voices in your HeyGen account.
  • Copy the Avatar ID and Voice ID for your video.

4️⃣ Run the Workflow

  • Enter your text, avatar ID, and voice ID.
  • Execute the workflow – your video will be generated automatically!

🎯 Why Use This Workflow?

✔️ Fully Automated – No manual editing required!
✔️ Realistic AI Avatars – Choose from a variety of digital avatars.
✔️ Seamless Integration – Works directly within your n8n workflow.
✔️ Scalable & Fast – Generate multiple videos in minutes.

🔗 Start automating AI-powered video creation today with n8n & HeyGen!