🎬 Create AI Viral Selfie videos 🎬 with celebrities 😎 using Google Veo 3.1

⚑ 566 views · 🎬 Content Creation & Video

πŸ’‘ Pro Tip β€” Since TikTok doesn’t have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β€” drop it into your workflow and skip the parsing.

View All Scrapers

Description

This workflow demonstrates how to create viral AI-generated selfie videos featuring famous characters using a fully automated and platform-independent approach.

The process is designed to replicate the kind of celebrity selfie videos that are currently going viral on social media and YouTube, where a realistic selfie-style video appears to show the creator together with a well-known public figure.

Instead of relying on a proprietary or closed platform, the workflow explains how to build the entire pipeline using direct access to Google Veo 3.1 APIs, giving full control over generation, orchestration, and distribution.


Key Advantages

1. βœ… Fully automated video pipeline

From prompt to final published video, the entire process runs without manual intervention.

2. βœ… Spreadsheet-driven control

Non-technical users can manage video production simply by editing Google Sheets:

3. βœ… Scalable and modular

4. βœ… Reliable async handling

5. βœ… Centralized asset management

6. βœ… Multi-platform ready

7. βœ… Cost and time efficiency

Ideal Use Cases


How it Works

This workflow automates the generation of short video clips using AI, merges them into a final video, and optionally uploads the result to multiple platforms.

  1. Trigger & Data Fetching
    The workflow starts with a manual trigger. It reads a Google Sheet containing prompts, image URLs (first and last frames), and duration settings for each video clip to be generated.

  2. Video Clip Generation
    For each row in the sheet, the workflow calls the fal.ai VEO 3.1 API to generate a video clip based on the provided prompt, start image, end image, and duration. The clip is created asynchronously, so the workflow polls the API for status until completion.

  3. Status Polling & URL Retrieval
    Once a clip is marked as COMPLETED, its video URL is fetched and written back to the Google Sheet in the corresponding row.

  4. Video Merging
    After all clips are generated, the workflow collects the video URLs from rows marked for merging and sends them to the fal.ai FFmpeg API to be combined into a single video.

  5. Final Video Processing
    The merged video is polled until ready, then its final URL is retrieved. The video file is downloaded via HTTP request.

  6. Upload & Distribution
    The final video can be uploaded to:

    • Google Drive
    • YouTube (via upload-post.com API)
    • Postiz (for multi-platform social media posting) Each upload step is currently disabled and requires configuration (usernames, titles, platform settings).

WARNING It may happen that the workflow stops at the video generation node with the following message:

> Your request is invalid or could not be processed by the service [item 0] > The content could not be processed because it contained material flagged by a content checker.

This occurs because images are checked both before and after the video generation process. If this happens, you can either use less restrictive video models while keeping the same workflow structure, or change the source images in the Google Sheets file.


Set Up Steps

  1. Google Sheets Setup

    • Prepare a Google Sheet with columns:
      START, LAST, PROMPT, DURATION, VIDEO URL, MERGE
    • Connect n8n to Google Sheets using OAuth2 credentials.
  2. Fal.ai API Configuration

    • Obtain an API key from fal.ai.
    • Set up HTTP Header Auth credentials in n8n with the key.
  3. Upload Services Configuration

    • Google Drive: Configure OAuth2 credentials and specify the target folder ID.
    • YouTube/upload-post.com: Enter your username and title in the respective node.
    • Postiz: Set up Postiz API credentials and configure platform channels.
  4. Enable Required Nodes

    • Enable the upload nodes (Upload Video, Upload to Youtube, Upload to Postiz, Upload to Social) once credentials are configured.
  5. Adjust Polling Intervals

    • Modify wait times (Wait 30 sec., Wait 60 sec.) as needed based on video processing times.
  6. Test Execution

    • Start the workflow manually via the trigger node.
    • Monitor execution in n8n’s editor and check the Google Sheet for updated video URLs.

This workflow is designed for batch video creation and merging, ideal for content pipelines involving AI-generated media.


πŸ‘‰ Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.

image


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

πŸ”— Nodes Used

Google Sheets, HTTP Request, Google Drive

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup