🎬 Create & upload AI videos to YouTube with Kling 2.5 & auto-SEO
⚡ 223 views · 🎬 Content Creation & Video
💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.
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
Google Sheets, HTTP Request, YouTube, AI Agent, Basic LLM Chain, Structured Output Parser
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File