
Generate YouTube thumbnails via Telegram using BrowserAct and Gemini (Nano Banana Pro)
ma
madam ai
March 06, 2026
Creator
n8n
Youtube 
Related Templates
Readme
Input
Brief
Become a viral architect! This workflow accepts a video topic via Telegram, scrapes top-performing YouTube thumbnails for research, uses AI vision to analyze their success, and generates a scientifically optimized thumbnail using the Nano Banana Pro model.
This workflow acts as an AI-powered "Viral Architect" for YouTube creators. It automates the thumbnail design process by:
- Intent Analysis: An AI Agent classifies your Telegram messages to distinguish between casual chat and thumbnail requests.
- Competitor Research: BrowserAct scrapes YouTube for top-ranking videos on your specific topic.
- Visual Forensics: An AI Vision Agent (GPT-4o) analyzes competitor thumbnails to understand their color usage, composition, and text strategy.
- Generation: A specialized Gemini Agent synthesizes this research into a high-fidelity prompt, and the Nano Banana Pro model renders a final 4K thumbnail image delivered to your chat.
This template is designed to scrape:
- Thumbnail Images: High-resolution covers of the top-performing videos in your niche.
- Video Titles: The headlines associated with successful thumbnails.
- Performance Metrics: Ranking position to determine which visual strategies are currently working best.
- Credentials: Connect Telegram, BrowserAct, Google Sheets, OpenRouter, and Google Gemini in n8n.
- BrowserAct Setup: Ensure the "Thumbnail Maker Bot" template is saved in your account.
- Google Sheet: Create a sheet named "Thumbnail Data base" with a tab named "Database" and headers:
Keyword,Current Workflow Sheet ID. - Telegram Bot: Connect your bot token.
- Run: Send a video topic (e.g., "Kling 2.6") to your bot to start the process.
Scraping top-performing videos allows you to:
- Reverse-Engineer Success: Base your designs on data-proven concepts rather than guessing.
- Increase CTR: Use AI to replicate the psychological hooks used by top creators.
- Save Time: Automate the research phase and get a high-quality, ready-to-use image in minutes.
Customization Options:
- Change Art Style: Modify the "Generate Image Prompt" agent to enforce aesthetics like "3D Render" or "Anime."
- Adjust Research: Change the number of videos scraped to analyze a wider range of competitors.
- Text Overlay: Add an image processing node (like Cloudinary) to overlay text on the final image.
Requirements:
- BrowserAct (with "Thumbnail Maker Bot" template).
- Google Sheets & Telegram accounts.
- OpenRouter & Google Gemini (for Nano Banana Pro) accounts.
