Skip to main content

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

Workflow preview

Workflow preview
100%
Generate hyper-realistic images from Telegram via Gemini Nano Banana 2 preview
Open on n8n.io

1. Workflow Overview

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 wo...

Best for

  • Content Creation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.googledrive, n8n-nodes-base.converttofile

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dahiana.

Original n8n.io source

1.1 Workflow description

Title
Generate hyper-realistic images from Telegram via Gemini Nano Banana 2
Workflow name
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

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

Setup steps

  1. 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
  2. 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.
  3. 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 2 - Send Acknowledgment

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 3 - Config

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Expand to JSON Prompt

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Parse and Prepare

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Generate Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Send Photo to Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 8 - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Section 1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Section 2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Upload to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 12 - Send Failure Notification

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 13 - Send Failure Notification1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Get Image URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Generate hyper-realistic images from Telegram via Gemini Nano Banana 2
Complexity advanced
Nodes 16
Categories Content Creation
Author Dahiana
Published 28 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13778/13778.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate hyper-realistic images from Telegram via Gemini Nano Banana 2 do?

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 wo...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation use case.