Generate hyper-realistic images from Telegram via Gemini Nano Banana 2

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 A user sends a natural language image request to the Telegram bot The bot confirms the receipt Gemini Pro 3 expands the request into a detailed JSON prompt: focal length, aperture, ISO, lighting behavior, material physics, etc. Gemini Flash generates the image and returns it as a base64 string The image is sent back as a photo in the same Telegram chat

Setup steps Telegram — Create a bot via @BotFather, copy the token, and add it as a Telegram credential in n8n. Connect it to the Telegram Trigger node and both Telegram send nodes OpenRouter — Add your OpenRouter API key (or any other tool you use) as a credential in n8n. Connect it to the Expand to JSON Prompt and Generate Image nodes. Activate the workflow and send your bot an image description to test

Optional Modify the config node with your system prompt preferences for a more diverse pool of results.

0
Downloads
0
Views
8.26
Quality Score
beginner
Complexity
Author:Dahiana(View Original →)
Created:3/6/2026
Updated:4/25/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments