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

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

Unknown

by Amit Kumar ✓ · 1,519 views · created 2025-11-15 · Content Creation, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (8)

AI AgentGoogle Gemini Chat ModelStructured Output Parser

What it does

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 API costs: KIE AI generates videos using paid tokens/credits. Prices vary based on model, duration, and resolution (check KIE AI pricing). Google Gemini model restrictions: Certain Gemini models are geo-limited. If you receive “model not found,” the model may not be available in your region. Blotato publishing: Blotato supports many platforms: YouTube, Instagram, Facebook, LinkedIn, TikTok, X, Bluesky, and more. Platform availability depends on your Blotato setup. Runtime considerations: Video generation can take time (10–60 seconds+, depending on the complexity). Self-hosted requirement: This workflow uses a community node (Blotato). Community nodes do not run on n8n Cloud. A self-hosted instance is required. --- 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 Start by testing the workflow manually to verify video generation and posting. Adjust the Scheduler Trigger to fit your posting frequency. Add your API credentials for: Google Gemini KIE AI Blotato Ensure your Blotato account has social channels connected. Edit or expand the prompt templates for your content niche: Comedy clips Educational videos Product demos Storytelling Pet videos Motivational content The more template prompts you add, the more diverse your automated videos will be. --- Requirements Google Gemini API Key Used for generating structured titles, descriptions, and video prompts. KIE AI API key Required for creating the actual AI-generated video. Blotato account Required for uploading media and automatically posting to platforms. Self-hosted n8n instance Needed because Blotato uses a community node, which n8n Cloud does not support. --- Limitations KIE AI models may output inconsistent results if prompts are vague. High-frequency scheduling may consume API credits quickly. Some platforms (e.g., TikTok or Facebook Pages) may require additional permissions or account linking steps in Blotato. Video rendering time varies depending on prompt complexity. --- Customization Ideas Add more prompt templates to increase variety. Swap Gemini for an LLM of your choice (OpenAI, Claude, etc.). Add a Telegram, Discord, or Slack notification once posting is complete. Store all generated titles, descriptions, an

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.