Templates / Create blog posts from YouTube videos with Mistral AI & Gemini image generation

Create blog posts from YouTube videos with Mistral AI & Gemini image generation

Needs changes

by Zakwan ✓ · 347 views · created 2025-09-02 · Content Creation, Multimodal AI

Needs 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.0Replace 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).

Nodes used (16)

AI AgentStructured Output ParserGoogle SheetsOllama Chat ModelWordpress

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)

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.