Page cover

4 Viral News to AI Avatar Videos

Description

This fully automated AI Avatar Viral News system researches the latest trending news in your niche or industry, then generates talking head AI clone videos, WITHOUT having to film or edit yourself. It combines ChatGPT, Perplexity, HeyGen, and Blotato to research, create, and auto-post talking head AI avatar videos to every social media platform, every single day.

Platforms

n8n
Make
Zapier

Templates

https://drive.google.com/drive/folders/14iKWgwKOJIhc9hjgrUWn9zqKWQnUrMsn?usp=sharing

Tutorials

Overview

Here’s how the automation works:

1. Trigger: Schedule

  • Configured to run once daily at 10am

2. AI Researcher

  • Call Perplexity to research the top 10 latest news in your industry

  • Select news story most likely to go viral

  • Compile detailed factual report on selected news story

3. AI Writer

  • AI writes monologue script, video caption, and short title

4. Create Avatar Video

  • Call Heygen API (requires paid API plan), specifying your avatar ID and voice ID

  • Create avatar video, optionally passing in an image/video background if you have a green screen avatar

5. Get Video

  • Wait awhile, then fetch completed avatar video

  • Upload video to Blotato

6. Publish to Social Media via Blotato

  • Connect your Blotato account

  • Choose your social accounts

  • Either post immediately or schedule for later

Prerequisites

  1. Sign up for Perplexity:

  1. Sign up for Heygen:

  • Create your avatar.

  • Paste your Heygen API key.

  • Paste your Heygen avatar ID.

  • Paste your Heygen voice ID.

  • If you want a background image/video behind your avatar: (1) ensure you have an avatar with background removed which requires a higher tier plan; (2) open SETUP HEYGEN node and set parameter 'has_background_video' to `true`; (3) open SETUP HEYGEN node and replace video URL in parameter 'background_video_url'. I only recommend doing this AFTER the full workflow is operational.

  1. Sign up for Blotato.com

  • Generate Blotato API Key by going to Settings > API > Generate API Key (paid feature only).

  • If you're using n8n, ensure you have "Verified Community Nodes" enabled in your n8n Admin Panel. Then, install "Blotato" verified community node.

Tips & Tricks

While testing: enable only 1 social platform, and deactivate the rest for testing purposes. Update the AI writer prompt to return a 5-second script, rather than 30 seconds, to reduce the processing duration.

Go to Heygen and check that your avatar video is being processed.

After the workflow finishes, check your social media account for the final post.

If successful, then enable another social media node, and continue testing.

If you need help troubleshooting your automation:

  • the API Dashboard is your best friend

  • go to my.blotato.com and click the ORANGE BUTTON in the bottom right corner to send me a support message

Other helpful links:

πŸ‘‰ Blotato API Docs

βœ… Troubleshoot Errors

πŸ“· Media Requirements

n8n Notes

  1. Install the Blotato community node. Open your n8n instance’s Admin Panel and enable Verified Community Nodes, then open any workflow.

  2. Click β€œ+” to add a node, search for Blotato, then install it.

  3. If a template shows question marks instead of my pink manatee logo, enable Verified Community Nodes first, install the Blotato node, then re-import the n8n template.

  4. Create a new Credential in n8n. Go to Blotato Settings > API > Copy API Key. Paste the API key in n8n, save, test, then select this credential on Blotato nodes.

  5. Connect social accounts on each platform node. Open each Blotato Publish node, select the Blotato credential, then pick your social account.

  6. When testing, deactivate all social platform nodes. Activate just 1 to start with. Run the workflow, then Pin data at the UPLOAD to BLotato node. This locks inputs for repeat tests. Then, execute 1 platform node from pinned data to validate it works. Activate other social platforms to continue testing.

  7. Use the Blotato API dashboard to review each request, payload, and error message.

Make Notes

n/a

Zapier Notes

n/a

FAQs

How do I get captions on my Heygen avatar video?

You'll need to change 2 steps:

  1. In the CREATE HEYGEN VIDEO step, there is a setting to enable captions. Make sure it's turned on.

  2. In the BLOTATO UPLOAD step, pass in video_url_caption from the GET VIDEO step. This will return the public URL of the captioned video. This simple switch will ensure that when you pass the video URL to the BLOTATO UPLOAD step, it includes the video version with captions.

Remember to test your workflow after making this change to make sure everything works as expected.

Last updated

Was this helpful?