n8n: Create + Post Kling 2.5 Videos to YouTube
$9+
$9+
https://schema.org/InStock
usd
Aris Nakos
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.
- Make FAL.AI Request: The refined prompt is sent to the Fal.ai Kling 2.5 model via an HTTP request to generate the video. The video duration is either 5 or 10 seconds.
- 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.
- 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.
0 sales
a JSON file
Size
22.5 KB
Add to wishlist