Generate social videos with AI avatars using VEED and Claude Overview This n8n workflow automatically generates TikTok/Reels-ready talking head videos from scratch. You provide a topic and intention, and the workflow handles everything: scriptwriting, avatar generation, voiceover creation, and video rendering. Output: Vertical (9:16) AI-generated videos with lip-synced avatars, ready for social media posting. --- What It Does Pipeline Breakdown | Step | Tool | What Happens | |------|------|-----

Generate social videos with AI avatars using VEED and Claude Overview This n8n workflow automatically generates TikTok/Reels-ready talking head videos from scratch. You provide a topic and intention, and the workflow handles everything: scriptwriting, avatar generation, voiceover creation, and video rendering. Output: Vertical (9:16) AI-generated videos with lip-synced avatars, ready for social media posting. --- What It Does Pipeline Breakdown | Step | Tool | What Happens | |------|------|--------------| | 1. Script Generation | Claude Sonnet 4 | Creates hook, script (30-45 sec), caption, and image prompt based on your topic and intention | | 2. Avatar Generation | OpenAI gpt-image-1 | Generates photorealistic portrait image (1024×1536) | | 3. Voiceover | OpenAI TTS-1-HD | Converts script to natural speech (Nova voice) | | 4. Video Rendering | VEED Fabric 1.0 | Lip-syncs avatar to audio, creates final video | | 5. Storage | Google Drive | Uploads final MP4 | | 6. Logging | Google Sheets | Records all metadata (script, caption, URLs, timestamps) | --- Required Connections API Keys (entered in Configuration node) | Service | Key Type | Where to Get | |---------|----------|--------------| | Anthropic | API Key | | | OpenAI | API Key | | > ⚠️ OpenAI Note: gpt-image-1 requires organization verification. Go to to verify. n8n Credentials (connect in n8n) | Node | Credential Type | Purpose | |------|-----------------|---------| | �� Generate Video (VEED) | FAL.ai API | VEED video rendering | | �� Upload to Drive | Google Drive OAuth2 | Store final videos | | �� Log to Sheets | Google Sheets OAuth2 | Track all generated content | --- Configuration Options Edit the ⚙️ Workflow Configuration node to customize. The configuration uses a JSON format: Configuration Fields Explained | Field | Required | Description | |-------|----------|-------------| | topic | ✅ | The subject of your video (e.g., "AI productivity tools") | | intention | ✅ | Content style: informative, leadgeneration, or disruption | | brandname | ✅ | Your brand/product name to mention | | targetaudience | ✅ | Who you're creating content for | | trendinghashtags | ✅ | Hashtags to include in the caption | | numvideos | ✅ | How many videos to generate (1-5 recommended) | | anthropicapikey | ✅ | Your Anthropic API key | | openaiapikey | ✅ | Your OpenAI API key | | videoresolution | ✅ | Video quality: 720p or 1080p | | videoaspectratio | ✅ | Aspect ratio: 9:16 (vertical) or 16:9 (horizontal) | | customavatardescription | ❌ | Optional: Describe your avatar (leave empty for AI-generated) | | customscript | ❌ | Optional: Your own script (leave empty for AI-generated) | Intention Types | Intention | Content Style | Best For | |-----------|---------------|----------| | informative | Educational, value-driven, builds trust | Thought leadership, tutorials | | leadgeneration | Creates curiosity, soft CTA | Product awareness, funnels | | disruption | Bold, provocative, scroll-stopping | Viral potential, brand awareness | --- Custom Avatar & Script Options The workflow supports flexible content generation - you can let Claude generate everything, or provide your own inputs. Custom Avatar Description Leave customavatardescription empty to let Claude decide, or provide your own: Examples: - "a woman in her 20s with gym clothes" - "a bearded man in his 30s wearing a hoodie" - "a professional woman with glasses in business casual" Custom Script Leave customscript empty to let Claude write it, or provide your own: Guidelines for custom scripts: - Keep it 30-45 seconds when read aloud - Maximum 450 characters - Avoid special characters for TTS compatibility - Write naturally, as if speaking Behavior Matrix | customavatardescription | customscript | What Claude Generates | |---------------------------|---------------|----------------------| | Empty | Empty | Avatar + Script + Caption | | Provided | Empty | Script + Caption | | Empty | Provided | Avatar + Caption | | Provided | Provided | Caption only | --- Content Angles (auto-rotated) When generating multiple videos, the workflow automatically varies the approach: | # | Angle | Hook Style | |---|-------|------------| | 1 | Problem-solution | Opens with a question | | 2 | Myth-busting | Opens with controversial statement | | 3 | Quick-tip | Opens with a number/statistic | | 4 | Before-after | Opens with transformation | | 5 | Trend-commentary | Opens with news/timely angle | --- Output Per Video Generated | Asset | Format | Location | |-------|--------|----------| | Final Video | MP4 (720p, 9:16) | Google Drive folder | | Avatar Image | PNG (1024×1536) | tmpfiles.org (temporary) | | Voiceover | MP3 | tmpfiles.org (temporary) | | Metadata | Row entry | Google Sheets | Google Sheets Columns | Column | Description | |--------|-------------| | topic | Video topic | | intention | Content intention used | | brandname | Brand mentioned | | contenttheme | 2-3 word theme summary | | scriptaudio | Full voiceover script | | scriptimage | Image generation prompt | | caption | Ready-to-post TikTok caption with hashtags | | imageurl | Temporary avatar image URL | | audiourl | Temporary audio URL | | videourl | Google Drive link to final video | | status | done/error | | createdat | Timestamp | --- Estimated Costs Per Video | Service | Usage | Approximate Cost | |---------|-------|------------------| | Claude Sonnet 4 | 2K tokens | $0.01 | | OpenAI gpt-image-1 | 1 image (1024×1536) | $0.04-0.08 | | OpenAI TTS-1-HD | 450 characters | $0.01 | | VEED/FAL.ai | 1 video render | $0.10-0.20 | | Total | | $0.15-0.30 per video | > Costs vary based on script length and current API pricing. --- Setup Checklist Step 1: Import Workflow - [ ] Import generate-social-videos-with-ai-avatars-using-veed-and-claude.json into n8n Step 2: Configure API Keys - [ ] Open the ⚙️ Workflow Configuration node - [ ] Replace YOURANTHROPICAPIKEY with your actual Anthropic API key - [ ] Replace YOUROPENAIAPIKEY with your actual OpenAI API key - [ ] Verify your OpenAI organization at (required for gpt-image-1) Step 3: Connect n8n Credentials - [ ] Click on �� Generate Video (VEED) node → Add FAL.ai credential - [ ] Click on �� Upload to Drive node → Add Google Drive OAuth2 credential - [ ] Click on �� Log to Sheets node → Add Google Sheets OAuth2 credential Step 4: Configure Storage - [ ] Update the �� Upload to Drive node with your Google Drive folder URL - [ ] Update the �� Log to Sheets node with your Google Sheets URL - [ ] Create column headers in your Google Sheet: topic, intention, brandname, contenttheme, scriptaudio, scriptimage, caption, imageurl, audiourl, videourl, status, createdat Step 5: Customize Content - [ ] Update topic, brandname, targetaudience, and trendinghashtags - [ ] Optionally add customavatardescription and/or customscript Step 6: Test - [ ] Set numvideos: 1 for initial testing - [ ] Execute the workflow - [ ] Check Google Drive for the output video - [ ] Verify metadata was logged to Google Sheets --- MCP Integration (Optional) This workflow can also be exposed to Claude Desktop via n8n's Model Context Protocol (MCP) integration, allowing you to generate videos through natural language prompts. To enable MCP: 1. Add a Webhook Trigger node to the workflow (in addition to the Manual Trigger) 2. Connect it to the same ⚙️ Workflow Configuration node 3. Go to Settings → Instance-level MCP → Enable the workflow 4. Configure Claude Desktop with your n8n MCP server URL Claude Desktop Configuration (Windows): > Note: Install supergateway globally first: npm install -g supergateway --- Limitations & Notes Technical Limitations - tmpfiles.org: Temporary file URLs expire after 1 hour. Final videos are safe in Google Drive. - VEED processing: Takes 2-5 minutes per video depending on length. - n8n Cloud network: Some external domains are blocked; workflow uses base64 for images to avoid this. Content Considerations - Scripts are optimized for 30-45 seconds (TTS-friendly) - Avatar images are AI-generated (not real people) - Captions include hashtags automatically - Each video in a batch gets a different content angle Best Practices 1. Start small: Test with 1 video before scaling to 5 2. Review scripts: Claude generates good content but review before posting 3. Monitor costs: Check API usage dashboards weekly 4. Backup sheets: The Google Sheet serves as your content database --- Troubleshooting | Issue | Solution | |-------|----------| | "Organization must be verified" | Verify at platform.openai.com/settings/organization/general | | VEED authentication error | Re-add FAL.ai credential to VEED node | | Google Drive "no binary field" | Ensure Download Video outputs to field named data | | JSON parse error from Claude | Workflow has fallback content; check Claude node output | | Image URL blocked | Workflow uses base64 to avoid this; ensure gpt-image-1 model | | MCP "Server disconnected" (Windows) | Install supergateway globally: npm install -g supergateway | | MCP path error on Windows | Use supergateway directly instead of npx | --- Version History | Version | Date | Changes | |---------|------|---------| | 2.0 | Jan 2026 | Added custom avatar/script options, MCP integration support, improved configuration | | 1.0 | Jan 2026 | Initial release with portrait mode, gpt-image-1, native VEED node | --- Credits Built with: - n8n - Workflow automation - Anthropic Claude - Script generation - OpenAI - Image & audio generation - VEED Fabric - AI video rendering - Google Workspace - Storage & logging
Download the workflow JSON file after purchase.
Open n8n → click the menu → Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.