Create & Upload AI Videos to YouTube with Kling 2.5 & Auto-SEO

Go to Workflow
0 views
Built by Ari Nakos Ari Nakos
Created on June 05, 2026

Description

++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: 

Create Kling 2.5 Video 
Wait for Video Processing 
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).

Nodes Used (8)

AI Agent
@n8n/n8n-nodes-langchain.agent
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
YouTube
n8n-nodes-base.youTube