Skip to main content

Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO

Workflow preview

Workflow preview
100%
Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO preview
Open on n8n.io

Important notice

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

1. Workflow Overview

++What it is++ An automated workflow for creating Kling 2.5 videos and posting them to YouTube. The workflow is divided into three main phases: 1. Create Kling 2.5 Video 2. Wait for Video Processin...

Best for

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

Tools used

n8n-nodes-base.googlesheets, n8n-nodes-base.formtrigger, n8n-nodes-base.wait, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.youtube

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO
Workflow name
Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO

++What it is++

An automated workflow for creating Kling 2.5 videos and posting them to YouTube.

The workflow is divided into three main phases: 

  1. Create Kling 2.5 Video 
  2. Wait for Video Processing 
  3. Post to YouTube

 

++Create Kling 2.5 Video++

This phase handles the initial video creation based on user input.

  • Type Prompt: A form trigger allows the user to input details for the video, including:

  • Prompt: A simple scenario for the video.

  • Video Style: (e.g., Dialogue, Monologue, Advertisement, Documentary)

  • Aspect Ratio: (e.g., 16:9, 9:16, 1:1)

  • Videography (AI Refinement): Refines the user’s prompt into a detailed “script-to-screen” format suitable for video generation.

  • FAL.AI Request: The refined prompt is sent to the Fal.ai Kling 2.5 model via an HTTP request to generate the video.

  • Store Data: Details of the video request, including the date requested, the refined prompt, and the request URL, are stored in a Google Sheet.

++Wait for Video Processing++

Wait 5 mins: The workflow pauses for 5 minutes. This waiting period is necessary as it typically takes 3–5 minutes for the video to be ready after the generation request.

++Post to YouTube++

This phase focuses on generating YouTube SEO details and uploading the video.

  • YT Video SEO (AI Generation): An AI agent (using OpenRouter’s OpenAI GPT-5 Mini model) acts as a YouTube SEO specialist and viral content strategist. It generates the following details for the YouTube video:

  • Video Title: A compelling title (less than 6 words).

  • Video Description: A detailed description.

  • Video Tags: Relevant tags to maximize discoverability.

  • The AI agent is configured to follow guidelines for virality and YouTube’s tag limits.

  • Structured Output: Parses the structured JSON output from the AI agent.

  • Get Keywords: Extracts and formats the video tags into a comma-separated list suitable for YouTube.

  • Fetch Video Credentials: Fetches the video URL and other credentials from Fal.ai.

  • Download Video: Downloads the generated video file.

  • Post on YouTube: The video is uploaded to YouTube using the generated title, description, and tags.

++Setup++

To run this workflow, you need to set up credentials in n8n for:

  • OpenRouter: Generate API key from your OpenRouter account. (Tutorial)

  • Google Sheets: Uses OAuth 2.0. Connect by authenticating your Google account.

  • YouTube Data API: Configure credentials to allow posting videos to YouTube (Follow this section of another Tutorial).

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 - Store Data

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 2 - Type Prompt

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 3 - Wait 5 mins

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

Block 4 - Structured Output

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

Block 5 - AI Brain

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

Block 6 - Get Keywords

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

Block 7 - YT Video SEO

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

Block 8 - AI_Brain

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

Block 9 - Post on YouTube

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

Block 10 - Sticky Note1

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

Block 11 - Fetch Video Credentials

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

Block 12 - Videography

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.6

Block 13 - Download Video

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

Block 14 - Make FAL.AI Request

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

3. Summary Table

Workflow Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO
Complexity intermediate
Nodes 14
Categories Content Creation, Multimodal AI
Author Ari Nakos
Published 30 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9099/9099.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 Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO do?

++What it is++ An automated workflow for creating Kling 2.5 videos and posting them to YouTube. The workflow is divided into three main phases: 1. Create Kling 2.5 Video 2. Wait for Video Processin...

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.