Skip to main content

Nano banana AI image editor via Telegram

Workflow preview

Workflow preview
100%
Nano banana AI image editor via Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Nano Banana AI Image Editor Transform your Telegram photos with AI powered image processing using the revolutionary Nano Banana technology. This workflow automatically receives photos via Telegram,...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

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

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Nano banana AI image editor via Telegram
Workflow name
Nano banana AI image editor via Telegram

Nano Banana AI Image Editor

Transform your Telegram photos with AI-powered image processing using the revolutionary Nano Banana technology. This workflow automatically receives photos via Telegram, processes them through Google's advanced Gemini 2.5 Flash vision model, and sends back intelligently enhanced images - all powered by the innovative Nano Banana processing pipeline.

Who's it for

Perfect for content creators, social media managers, photographers, and anyone who wants to automatically enhance their Telegram photos with AI. Whether you're running a photo editing service, creating content for clients, or just want smarter image processing in your personal chats, the Nano Banana AI editor delivers professional-grade results.

How it works

The Nano Banana workflow creates an intelligent Telegram bot that processes images in real-time. When you send a photo with a caption to your bot, it automatically downloads the image, converts it to the proper format, sends it to Google's Gemini AI for analysis and enhancement, then returns the processed result. The Nano Banana engine optimizes every step for speed and quality.

How to set up

  1. Create Telegram Bot: Get your bot token from @BotFather on Telegram
  2. OpenRouter Account: Sign up at openrouter.ai for free Gemini access
  3. Configure Credentials: Add your Telegram and OpenRouter API keys to n8n
  4. Update Chat ID: Replace "YOUR_CHAT_ID_HERE" with your actual Telegram chat ID
  5. Activate Webhook: Enable the Telegram trigger to start receiving messages

Requirements

  • n8n instance (cloud or self-hosted)
  • Telegram Bot API credentials
  • OpenRouter account (free tier available)
  • Basic understanding of webhook configuration

How to customize the workflow

The Nano Banana editor is highly customizable:

  • Change AI Model: Modify the model parameter in "Nano Banana Image Processor" node
  • Add Filters: Insert additional processing nodes before the AI analysis
  • Custom Prompts: Edit the text content sent to Gemini for different processing styles
  • Multiple Chats: Duplicate the final node for different Telegram destinations
  • Error Handling: Add conditional logic for failed processing attempts
  • Batch Processing: Extend to handle multiple images simultaneously

The Nano Banana technology ensures optimal performance while maintaining flexibility for your specific use cases.

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 - Photo Message Receiver

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

Block 2 - Download Telegram Photo

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

Block 3 - Convert Photo to Base64

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

Block 4 - Format Image Data URL

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

Block 5 - Parse AI Response Data

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

Block 6 - Base64 to Binary File

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

Block 7 - Send Processed Photo

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

Block 8 - Sticky Note

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

Block 9 - Nano Banana Image Processor

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

3. Summary Table

Workflow Nano banana AI image editor via Telegram
Complexity intermediate
Nodes 9
Categories Content Creation, Multimodal AI
Author Roshan Ramani
Published 31 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8082/8082.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 Nano banana AI image editor via Telegram do?

Nano Banana AI Image Editor Transform your Telegram photos with AI powered image processing using the revolutionary Nano Banana technology. This workflow automatically receives photos via Telegram,...

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, Multimodal AI use case.