🎬 Auto-generate AI videos with Gemini, KIE AI Sora-2 & Blotato (Multi-Platform)

1,300 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

Overview

This n8n template automates the entire process of generating short-form AI videos and publishing them across multiple social media platforms. It combines Google Gemini for structured prompt creation, KIE AI for video generation, and Blotato for centralized publishing. The result is a fully automated content pipeline ideal for creators, marketers, agencies, or anyone who wants consistent, hands-free content generation.

This workflow is especially useful for short-video creators, meme pages, educational creators, UGC teams, auto-posting accounts, and brands who want to maintain high-frequency posting without manual effort.


Good to Know


How It Works

  1. Scheduler Trigger Defines how frequently new videos should be created (e.g., every 12 hours).

  2. Random Template Selector A JavaScript node generates a random number to choose from multiple creative prompt templates.

  3. AI Agent (Google Gemini) Gemini generates a JSON object containing:

    • A short title
    • A human-readable video description
    • A detailed text-to-video prompt

    The Structured Output Parser ensures strict JSON shape.

  4. Video Generation with KIE AI The prompt is sent to KIE AI’s video generation API. KIE AI creates a synthetic AI video based on the description and your chosen parameters (aspect ratio, frames, watermark removal, etc.).

  5. Polling & Retrieval The workflow waits until the video is fully rendered, then fetches the final video URL.

  6. Media Upload to Blotato The generated video is uploaded into Blotato’s media storage for publishing.

  7. Automatic Posting to Social Platforms Blotato distributes the video to all connected platforms. Examples include:

    • YouTube
    • Instagram
    • Facebook
    • LinkedIn
    • Bluesky
    • TikTok
    • X
    • Any platform supported by your Blotato account

This results in a fully automated “idea → video → upload → publish” pipeline.


How to Use

The more template prompts you add, the more diverse your automated videos will be.


Requirements


Limitations


Customization Ideas


Troubleshooting


This template is designed for easy setup and high flexibility. All technical details, configuration steps, and workflow logic are already included in sticky notes inside the workflow. Once configured, this pipeline becomes a hands-free AI-powered content engine capable of generating and publishing content at scale.

🔗 Nodes Used

HTTP Request, Schedule Trigger, AI Agent, Structured Output Parser, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup