← All posts
How-ToNovember 9, 2026 · 10 min

How to automate YouTube Shorts with AI avatars from Reddit posts

You can automate YouTube Shorts with AI by pulling permitted Reddit posts via n8n, generating a script, synthesizing narration with text-to-speech, rendering an avatar video in HeyGen, adding captions with Whisper speech-to-text, and editing in CapCut before upload. n8n orchestrates the entire pipeline: it fetches Reddit data (with consent checks), routes scripts through a review gate, triggers HeyGen avatar rendering, transcribes the audio output, burns captions, and stages the final MP4 for YouTube Shorts. This workflow eliminates manual video production for each post while enforcing copyright clearance and creator permission at every step. The result is a repeatable, auditable system that scales from one Reddit community to dozens without human intervention between approval and publish.

What you need

To automate YouTube Shorts with AI from Reddit posts, you need a Reddit monitor, a script generator, a voice and avatar system, caption automation, and a publishing step. Here's the stack:

ToolPlan/PriceRole
n8nFree tier (up to 10 workflows) or Cloud Pro ($20/mo)Orchestrate the entire pipeline: Reddit polling, consent checks, API calls, and publishing triggers
Reddit APIFreeSource permitted posts via official Reddit API (requires app registration and user consent)
HeyGenFree tier (limited minutes) or paid plans from $5/moGenerate AI avatar videos from scripts with lip-sync and multiple avatar styles
ElevenLabsFree tier (10k characters/mo) or Starter ($11/mo)Convert scripts to natural-sounding voiceovers via text-to-speech API
OpenAI Whisper (or Deepgram)Whisper: $0.02/min audio; Deepgram: check current pricingTranscribe avatar audio to text for caption alignment (optional if HeyGen provides captions)
CapCutFree desktop app or CapCut Pro ($4.99/mo)Add captions, branding, and final edits before YouTube upload
YouTube Data APIFree (quota-based)Publish edited Shorts to your channel via authenticated upload

How it works

  1. Reddit source ingestion & consent check. n8n polls a permitted subreddit (via Reddit API) for posts matching your topic filter, then cross-references the post author against a whitelist or consent log you maintain. Only posts explicitly tagged or from accounts you've pre-approved move forward; this gate prevents copyright disputes and ensures you have permission to adapt the content.
  1. Script generation & review gate. The post text feeds into an LLM prompt (via OpenAI API or similar) that reformats it as a 30-60 second video script with clear speaker beats. An n8n human approval node pauses the workflow; you review the script for tone, accuracy, and brand fit before it proceeds.
  1. Avatar video generation. The approved script goes to HeyGen's API, which renders a talking-head avatar video with your chosen presenter, background, and pacing. HeyGen handles lip-sync and natural motion; output is typically MP4 at 1080p, ready for editing.
  1. Audio extraction & caption generation. n8n downloads the HeyGen video, extracts the audio track, and sends it to Whisper (via OpenAI API) for speech-to-text transcription. Whisper returns timestamped captions with high accuracy, which n8n stores as a JSON array.
  1. Captions, cuts & export. CapCut's API (or template-based batch export) receives the MP4, caption JSON, and any B-roll URLs, then auto-applies captions, transitions, and branding overlays. The final short exports as a vertical 9:16 MP4.
  1. Upload & metadata. n8n uploads the finished short to YouTube Shorts via the YouTube Data API, auto-populating title, description, and tags from your source post, then logs the video ID and publish timestamp to your database.

How to build it

1. Set up Reddit source monitoring in n8n. Create an n8n workflow with a Webhook trigger or Schedule node (set to run every 4 hours). Add an HTTP Request node to query Reddit's API (https://oauth.reddit.com/r/{subreddit}/new) with your registered app credentials (client ID, secret, user agent). Filter by subreddit, sort by new, and limit to 10 posts. Store the JSON response in a variable for the next step.

2. Apply consent and copyright gates. Add a Code node to your n8n workflow that checks each Reddit post's metadata: - Verify the post is not marked as locked or removed. - Check the subreddit's rules (via the subreddit's sidebar or a manual allowlist you maintain). - Confirm the post author has not opted out (store a blocklist of usernames or use Reddit's API to check user preferences if available). - Reject posts with external media links (YouTube, TikTok, copyrighted music mentions). Only posts that pass all checks proceed to the next step. Log rejections to a Slack channel for transparency.

3. Generate a script from approved Reddit content. Use an OpenAI API node in n8n (or a native LLM node if available). Pass the Reddit post title and top 2-3 comments as context. Use this system prompt:

You are a YouTube Shorts script writer. Convert the Reddit post into a 30-45 second script for a talking-head avatar video. 
- Keep sentences short and punchy.
- Include a hook in the first 3 seconds.
- End with a call-to-action (like, subscribe, comment).
- Do NOT use copyrighted music references or brand names without permission.
- Output ONLY the script text, no stage directions.

Store the generated script in a workflow variable.

4. Synthesize avatar video with HeyGen. Call the HeyGen API (via an HTTP Request node in n8n) with the script. Use the endpoint https://api.heygen.com/v1/video_requests and pass: - script: the generated text from step 3. - avatar_id: your chosen HeyGen avatar (e.g., "avatar_1"). - voice: a voice ID from HeyGen's library (e.g., "en_us_male_1"). - background: a simple solid color or stock background. HeyGen returns a video_id. Poll the status endpoint every 30 seconds until the video is ready (status = completed). Download the MP4 file URL and store it locally or in cloud storage (Google Drive, AWS S3).

5. Generate captions with Whisper. Use OpenAI's Whisper API via n8n's HTTP Request node. Send the HeyGen video file to https://api.openai.com/v1/audio/transcriptions with: - file: the video's audio stream or extracted audio. - model: whisper-1. - language: en. Whisper returns a JSON transcript with timestamps. Parse it into an SRT or VTT subtitle file.

6. Edit and caption in CapCut. Download the HeyGen MP4 and subtitle file. Use CapCut's desktop app or API (if available in your region) to: - Import the video. - Add the subtitle track (SRT/VTT format). - Apply a consistent font, color, and animation (e.g., fade-in captions). - Add a 3-second intro slate with your channel logo. - Export as a 1080×1920 vertical MP4 (YouTube Shorts format). Alternatively, automate this step with FFmpeg in an n8n Execute Command node:

bash
ffmpeg -i heygen_video.mp4 -vf "subtitles=captions.srt:force_style='FontSize=24,FontName=Arial'" \
 -c:v libx264 -preset fast -c:a aac -b:a 128k output_shorts.mp4

7. Add metadata and review gate. Create a manual approval step in n8n using a Pause node or webhook response. Send the final video URL and metadata (title, description, tags, source Reddit link) to a Slack channel or email. Include: - The original Reddit post link. - The generated script. - A preview thumbnail. Require a team member to click "Approve" or "Reject" before publishing. Store approvals in a Google Sheet for audit trails.

8. Upload to YouTube Shorts. Once approved, use the YouTube Data API v3 via an n8n HTTP Request node to upload the video: - Endpoint: https://www.googleapis.com/youtube/v3/videos?part=snippet,status. - Include the title, description (with Reddit source attribution), tags, and category. - Set status.privacyStatus to public. - Add a pinned comment crediting the original Reddit author.

9. Log and iterate. Store the workflow execution log (post URL, script, video ID, upload timestamp, view count after 24 hours) in a database or Google Sheet. Use this data to identify which subreddits, topics, and avatar styles perform best. Adjust your script prompts and avatar selection accordingly.

Code artifact: n8n workflow snippet (Reddit → script → HeyGen):

```json { "nodes": [ { "name": "Reddit API", "type": "httpRequest", "typeVersion": 4.1, "position": [100, 200], "parameters": { "method": "GET", "url": "=https://oauth.reddit.com/r/{{ $env.REDDIT_SUBREDDIT }}/new?limit=10", "authentication": "oAuth2", "nodeCredentialType": "redditOAuth2Api" } }, { "name": "Filter & Gate", "type": "code", "typeVersion": 2, "position": [300, 200],

What it costs to run

Component100 shorts/mo1,000 shorts/mo10,000 shorts/mo
Reddit API + n8n$0-15$15-30$30-50
HeyGen avatar video$10-20$100-200$1,000-2,000
Text-to-speech (ElevenLabs)$5-15$50-150$500-1,500
Whisper transcription$2-5$20-50$200-500
CapCut Pro + exports$15$15$15
YouTube Shorts hosting$0$0$0
Total (monthly)$32-65$200-445$1,745-4,065

Assumptions: Reddit API access is free; n8n runs on free tier up to 100 shorts, then $20/mo (check current pricing). HeyGen charges per-video generation (check current pricing for batch rates). ElevenLabs text-to-speech starts at $0.30 per 1K characters (check current pricing). Whisper API costs ~$0.02 per minute of audio. CapCut Pro is $4.99/mo but assumes desktop batch export. YouTube hosting is free. Costs scale linearly; volume discounts may apply at 10K+ monthly.

What is the best way to ensure consent from Reddit sources? To ensure consent from Reddit sources, it's essential to clearly state the intended use of the content and obtain explicit permission from the authors. This can be done by commenting on the post or sending a private message to the user. Additionally, you can use Reddit's built-in features, such as the "share" button, to encourage users to share their content.

Can I use text-to-speech voices from ElevenLabs in my AI avatar videos? Yes, you can use text-to-speech voices from ElevenLabs in your AI avatar videos. ElevenLabs offers a range of high-quality voices that can be used to create realistic and engaging avatar videos. You can integrate ElevenLabs with n8n to automate the process of generating text-to-speech audio for your videos.

How do I automate the process of adding video captions to my YouTube Shorts? You can automate the process of adding video captions to your YouTube Shorts by using speech-to-text tools like Whisper or Deepgram. These tools can transcribe the audio of your videos and generate captions that can be added to your YouTube Shorts. You can then use n8n to automate the process of uploading the captions to YouTube and formatting them according to your requirements.

For a deeper technical reference, see n8n's documentation.

Get the full toolkit

Grab the free guide with the node-by-node build for all 10 automations.

By subscribing, you agree to receive this guide plus occasional AI Automation Blueprint educational and product emails. Unsubscribe anytime. Privacy policy.