Skip to main content

AI image generation & editing with Google Gemini and Telegram Bot

Workflow preview

Workflow preview
100%
AI image generation & editing with Google Gemini and Telegram Bot preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who is this for? Creators, designers, and developers exploring AI powered image generation. Automation enthusiasts who want to integrate image creation into n8n workflows. Telegram bot builders loo...

Best for

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

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.airtable, n8n-nodes-base.httprequest, n8n-nodes-base.telegram, n8n-nodes-base.extractfromfile, n8n-nodes-base.googledrive

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
AI image generation & editing with Google Gemini and Telegram Bot
Workflow name
AI image generation & editing with Google Gemini and Telegram Bot

Who is this for?

  • Creators, designers, and developers exploring AI-powered image generation.
  • Automation enthusiasts who want to integrate image creation into n8n workflows.
  • Telegram bot builders looking to add visual AI capabilities.
  • Marketers or freelancers automating creative content workflows.

What problem is this workflow solving?

Creating AI images usually requires multiple tools and manual setup. This workflow removes the complexity by:

  • Connecting Nano Banana (AI image model) directly to n8n.
  • Allowing image generation via Telegram chatbot.
  • Providing a no-code setup that is fully automated and scalable.

What this workflow does

This workflow demonstrates how to generate AI images using Nano Banana and n8n, with an integrated Telegram chatbot interface.
The process includes:

  1. Connecting Gemini Nano Banana to n8n.
  2. Automating image generation requests triggered from Telegram.
  3. Returning AI-generated images back to the user.
  4. Allowing customization of prompts and styles dynamically.

By the end, you’ll have a fully functional automation to generate and send AI-created images through Telegram — no coding required.

Setup

  1. Create accounts:
  • Sign up on n8n.io and ensure you have Telegram Bot API access.
  • Connect your Nano Banana or Gemini API endpoint.
  1. Set up your Telegram Bot:
  • Use BotFather to create a new bot and get the token.
  • Add the “Telegram Trigger” node in n8n.
  1. Configure Nano Banana connection:
  • Add an HTTP Request node for Nano Banana API.
  • Insert your API key and prompt parameters.
  1. Handle responses:
  • Parse the AI-generated image output.
  • Send the image file back to the Telegram user.
  1. Test and Deploy:
  • Run a sample image prompt.
  • Verify that Telegram returns the correct generated image.

How to customize this workflow to your needs

  • Modify prompts or styles to fit different artistic use cases.
  • Add conditional logic for image size, aspect ratio, or filters.
  • Integrate with Google Drive or Notion for image storage.
  • Schedule automatic image generation for campaigns or content creation.
  • Expand with OpenAI or Stability AI for hybrid workflows.

Notes

  • Nano Banana API may have rate limits depending on usage.
  • Ensure your Telegram bot has permission to send files and images.
  • You can host this workflow on n8n Cloud or self-hosted setups.

Want A Video Tutorial on How to Setup This Automation:

 https://youtu.be/0s6ZdU1fjc4

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

Block 2 - If1

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - Edit Fields1

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

Block 4 - Search records

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 5 - Edit Image

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

Block 6 - Send a photo message

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

Block 7 - Create or update a record1

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 8 - Download Image1

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

Block 9 - Transform to base

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

Block 10 - Upload file

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

Block 11 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 12 - Aggregate

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

Block 13 - Edit Fields

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

Block 14 - Create or update a record

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 15 - Send a text message1

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

Block 16 - Extract from File

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

Block 17 - Download File

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

Block 18 - Upload file1

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

Block 19 - Convert To File

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

Block 20 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 21 - Send a text message

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

Block 22 - Send a text message2

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

Block 23 - Sticky Note

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

Block 24 - Sticky Note1

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

Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow AI image generation & editing with Google Gemini and Telegram Bot
Complexity advanced
Nodes 28
Categories Content Creation, Multimodal AI
Author Santhej Kallada
Published 03 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10466/10466.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 AI image generation & editing with Google Gemini and Telegram Bot do?

Who is this for? Creators, designers, and developers exploring AI powered image generation. Automation enthusiasts who want to integrate image creation into n8n workflows. Telegram bot builders loo...

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.