Skip to main content

Auto-generate AI videos and publish to YouTube with Gemini, KIE AI & Blotato

Workflow preview

Workflow preview
100%
Auto-generate AI videos and publish to YouTube with Gemini, KIE AI & Blotato preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 chan...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.httprequest, n8n-nodes-base.wait, @blotato/n8n-nodes-blotato.blotato, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Amit Kumar.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate AI videos and publish to YouTube with Gemini, KIE AI & Blotato
Workflow name
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

  1. Schedule Trigger starts the workflow based on your chosen frequency.
  2. Randomizer selects one creative template from several predefined options.
  3. Gemini Prompter generates a title, description, and structured video prompt.
  4. KIE AI renders the video using the Sora-style text-to-video model.
  5. Polling + Wait retrieves the completed video once rendering finishes.
  6. 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 5 - Create video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 6 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 7 - Get Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 8 - Upload media

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 9 - Create post

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 10 - Prompter

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 11 - Sticky Note - Community Warning2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note - Community Warning3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note - Community Warning1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Auto-generate AI videos and publish to YouTube with Gemini, KIE AI & Blotato
Complexity advanced
Nodes 15
Categories Content Creation, Multimodal AI
Author Amit Kumar
Published 15 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10859/10859.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-generate AI videos and publish to YouTube with Gemini, KIE AI & Blotato do?

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 chan...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.