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:
| Tool | Plan/Price | Role |
|---|---|---|
| n8n | Free tier (up to 10 workflows) or Cloud Pro ($20/mo) | Orchestrate the entire pipeline: Reddit polling, consent checks, API calls, and publishing triggers |
| Reddit API | Free | Source permitted posts via official Reddit API (requires app registration and user consent) |
| HeyGen | Free tier (limited minutes) or paid plans from $5/mo | Generate AI avatar videos from scripts with lip-sync and multiple avatar styles |
| ElevenLabs | Free 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 pricing | Transcribe avatar audio to text for caption alignment (optional if HeyGen provides captions) |
| CapCut | Free desktop app or CapCut Pro ($4.99/mo) | Add captions, branding, and final edits before YouTube upload |
| YouTube Data API | Free (quota-based) | Publish edited Shorts to your channel via authenticated upload |
How it works
- 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.
- 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.
- 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.
- 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.
- 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.
- 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:
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:
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
| Component | 100 shorts/mo | 1,000 shorts/mo | 10,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.
Where this breaks The Reddit Source Failure occurs when the Reddit API does not return the expected content, causing the pipeline to stall, and can be fixed by implementing a retry mechanism with a delay and a limit on the number of attempts, as outlined in the Reddit API documentation. The Copyright Infringement Risk arises when the automated pipeline does not properly check for copyright violations in the sourced content, leading to potential legal issues, and can be addressed by integrating a copyright check tool, such as the ones provided by the YouTube API, to verify the content before publishing. The Text-to-Speech Misalignment happens when the text-to-speech engine, such as the one provided by ElevenLabs, does not accurately match the tone and pace of the scripted avatar, resulting in an unnatural-sounding video, and can be resolved by fine-tuning the text-to-speech settings and testing different voice models. The n8n Workflow Error occurs when the n8n workflow, which automates the pipeline, encounters an error, such as a failed API call or an invalid data format, causing the entire pipeline to fail, and can be fixed by checking the n8n workflow logs, identifying the error source, and adjusting the workflow accordingly, as described in the n8n documentation.
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.
How do I handle copyright checks in my AI avatar YouTube Shorts pipeline? Handling copyright checks involves verifying the ownership and permissions of the content used in your YouTube Shorts. You can use tools like CapCut to check for copyright issues and ensure that your content is compliant with YouTube's policies. It's also crucial to keep records of the permissions and licenses obtained for the content used in your pipeline.
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.