Amit Kumar
Freelance automation developer building custom n8n workflows, AI pipelines, and social media automation systems. Open for collaborations and custom project requests.
Templates by Amit Kumar
Auto-generate AI videos with Gemini, KIE AI Sora-2 & Blotato (Multi-Platform)
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 Scheduler Trigger Defines how frequently new videos should be created (e.g., every 12 hours). Random Template Selector A JavaScript node generates a random number to choose from multiple creative prompt templates. 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. 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.). Polling & Retrieval The workflow waits until the video is fully rendered, then fetches the final video URL. Media Upload to Blotato The generated video is uploaded into Blotato’s media storage for publishing. 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, and video URLs in: Google Sheets Notion Airtable Supabase Add multi-language support using a translation node. Add an approval step where videos go to your team before publishing. Add analytics logging (impressions, views, etc.) using Blotato or another service. --- Troubleshooting Video not generating? Check if your KIE AI model accepts your chosen parameters. Model not found? Switch to a supported Gemini model for your region. Publishing fails? Ensure Blotato platform accounts are authenticated. Workflow stops early? Increase the wait timeout before polling KIE AI. --- 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.
Generate & publish AI videos with Sora 2, Veo 3.1, Gemini & Blotato
Overview This workflow automatically generates short-form AI videos using both OpenAI Sora 2 Pro and Google Veo 3.1, enhances your idea with Google Gemini, and publishes content across multiple platforms through Blotato. It’s perfect for creators, brands, UGC teams, and anyone building a high-frequency AI video pipeline. You can turn a single text idea into fully rendered videos, compare outputs from multiple AI models, and publish everywhere in one automated flow. --- Good to know Generating Sora or Veo videos may incur API costs depending on your provider. Video rendering time varies by prompt complexity. Sora & Veo availability depends on region and account access. Blotato must be connected to your social accounts before publishing. The workflow includes toggles so you can turn Sora, Veo, or platforms on/off easily. --- How it works Your text idea enters through the Chat Trigger. Google Gemini rewrites your idea into a detailed, high-quality video prompt. The workflow splits into two branches: Sora Branch: Generates video via OpenAI Sora 2 Pro, downloads the MP4, and uploads/publishes to YouTube, TikTok, and Instagram. Veo Branch: Generates a video using Google Veo 3.1 (via Wavespeed), retrieves the output link, emails it to you, and optionally uploads it to Blotato for publishing. A Config – Toggles node lets you enable or disable models and platforms. Optional Google Sheets logging can store video history and metadata. --- How to use Send a message to the Chat Trigger to start the workflow. Adjust toggles to choose whether you want Sora, Veo, or both. Add or remove publishing platforms inside the Blotato nodes. Check your email for Veo results or monitor uploads on your social accounts. Ideal for automation, batch content creation, and AI-powered video workflows. --- Requirements Google Gemini API key (for prompt enhancement) OpenAI Sora 2 API key Wavespeed (Veo 3.1) API key Blotato account + connected YouTube/TikTok/Instagram channels Gmail OAuth2 (for sending video result emails) Google Sheets (optional logging) --- Customizing this workflow Add a title/description generator for YouTube Shorts. Insert a thumbnail generator (image AI model). Extend logging with Sheets or a database. Add additional platforms supported by Blotato. Use different prompt strategies for cinematic, viral, or niche content styles.
Auto-generate AI videos and publish to YouTube with Gemini, KIE AI & Blotato
Who This Workflow Is For This workflow is ideal for YouTube creators, automation builders, and marketers who want to produce short AI-generated videos automatically. It’s especially useful for channels that publish frequent Shorts-style content or want to automate the entire video creation and posting process without manual scripting, editing, or uploading. What This Workflow Does This automation creates short AI videos by combining Gemini-generated scripts with KIE AI’s text-to-video rendering. It generates a title, description, and video prompt, sends the prompt to KIE AI to create the video, and then automatically uploads the finished result to your YouTube channel using Blotato. Each run generates a new video concept selected from a predefined set of templates, providing ongoing variety and fresh content. The workflow handles idea generation, video rendering, polling, media upload, and publishing from start to finish. How It Works Schedule Trigger starts the workflow based on your chosen frequency. Randomizer selects one creative template from several predefined options. Gemini Prompter generates a title, description, and structured video prompt. KIE AI renders the video using the Sora-style text-to-video model. Polling + Wait retrieves the completed video once rendering finishes. Blotato uploads and publishes the final video to your connected YouTube channel. How to Set Up Add your Google Gemini, KIE AI, and Blotato API credentials. Connect your YouTube channel inside Blotato. Adjust the schedule (e.g., every 6–12 hours). Edit or expand prompt templates inside the Prompter node. Activate the workflow to allow fully automated video generation and publishing. Customization Ideas Add logging to Google Sheets or Notion. Add Telegram, email, or Discord notifications when a new video is posted. Change video length, aspect ratio, or watermark settings in the Create video node. Expand your creative template list to increase content variety. ---