Generate hyper-realistic images from Telegram via Gemini Nano Banana 2
Ready for 3.0What this workflow does
This workflow has 12 nodes and runs on Telegram events (message). Along the way it connects Telegram and Google Drive. It also calls openrouter.ai over HTTP.
How it runs
Trigger: On Telegram events (message).
- Send Acknowledgment (Telegram): uses Telegram
- Config (Edit Fields (Set)): sets 3 fields: chatId, userMessage, systemPrompt
- Expand to JSON Prompt (HTTP Request): calls openrouter.ai (POST)
- Parse and Prepare (Code): runs custom JavaScript code
- Send Failure Notification (Telegram): send photo
- Generate Image (HTTP Request): calls openrouter.ai (POST)
- Get Image URL (Edit Fields (Set)): sets 1 field: image_file
- Send Failure Notification (Telegram): send photo
- Convert to File: converts data to a file (to binary)
- Send Photo to Telegram (Telegram): send photo
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: openrouter.ai
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - Convert to File
n8n-nodes-base.convertToFile
From the author
Generate hyper-realistic images from Telegram messages with Nano Banana 2 Send any image description to your Telegram bot and receive a hyper-realistic AI-generated photo back in seconds. How it works 1. A user sends a natural language image request to the…