Create blog posts from YouTube videos with Mistral AI & Gemini image generation
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Table of Contents (v1.7), Generate the Content (v1.7), Content Editor (v1.7), Create the Sections (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
@tavily/n8n-nodes-tavily(Search in Tavily, Extract in Tavily)
Nodes used (16)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Split Out
n8n-nodes-base.splitOut - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Edit Image
n8n-nodes-base.editImage - HTTP Request
n8n-nodes-base.httpRequest - RSS Feed Trigger
n8n-nodes-base.rssFeedReadTrigger - Code
n8n-nodes-base.code - Tavily Tool
@tavily/n8n-nodes-tavily.tavilyTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Ollama Chat Model
@n8n/n8n-nodes-langchain.lmChatOllama - Convert to File
n8n-nodes-base.convertToFile - Edit Fields (Set)
n8n-nodes-base.set - Wordpress
n8n-nodes-base.wordpress
What it does
Description This template automates the process of creating blog posts from YouTube videos using Mistral AI for text generation and Gemini for image generation. It provides a seamless workflow that transforms YouTube content into ready-to-publish articles complete with engaging visuals. ⚠️ Disclaimer: This template can only be used on self-hosted n8n instances. It also relies on community nodes, which must be installed before running the workflow. Workflow Overview YouTube Data Extraction – Retrieves video details (title, description, and transcript). Content Summarization – Mistral AI rewrites and structures the transcript into a blog-ready format. Image Generation – Gemini creates relevant, high-quality images to complement the article. Post Assembly – The workflow automatically combines the generated text and visuals into a structured blog post. Features Extract video details and transcripts directly from YouTube. Summarize and rewrite content into blog posts using Mistral AI. Generate relevant images with Gemini for engaging visuals. Automatically structure blog posts for publishing. Requirements Before using this template, ensure you have: An active self-hosted n8n instance. API keys for OpenRouter (Mistral AI) and Gemini. The required community nodes installed. Access to public or unlisted YouTube videos. Setup Instructions Import the template into your self-hosted n8n instance. Configure the API credentials: Add your OpenRouter API key. Add your Gemini API key. Replace placeholder domains or webhook URLs with your own. Run the workflow with a sample YouTube video URL. Review the generated blog post and images. Customization Content length: Adjust prompt settings in the Mistral AI node. Tone of voice: Modify prompts for formal, casual, or technical style. Image style: Update Gemini requests to change the look and feel. Publishing: Connect to your CMS (e.g., WordPress, Ghost) for direct publishing. How YouTube is Involved The workflow starts with a YouTube video URL, extracts metadata and transcripts, and then transforms this raw content into a complete blog post enriched with AI-generated images. WorkFlow: !image.png(fileId:2328)