AutomationMart
Home/Browse/Edit images with text prompts using Gemini AI and Telegram Bot
n8n

Edit images with text prompts using Gemini AI and Telegram Bot

n8nn8n5 modulesv1.0
TelegramGemini

Transform your Telegram chats into a creative powerhouse with this AI-driven image editing bot. Send an image document with a descriptive caption, and watch it get intelligently edited in seconds—no design skills required! 📋 What This Template Does This workflow powers a Telegram bot that automatically processes incoming image documents with text prompts. It downloads the file, uses Google Gemini AI to edit the image based on your caption, and instantly replies with the enhanced version. - Trigg

At a glance

Edit images with text prompts using Gemini AI and Telegram Bot is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Telegram, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Telegram, Gemini
Modules
5
Price
Free
Version
v1.0
Edit images with text prompts using Gemini AI and Telegram Bot workflow diagram

About this workflow

Transform your Telegram chats into a creative powerhouse with this AI-driven image editing bot. Send an image document with a descriptive caption, and watch it get intelligently edited in seconds—no design skills required! 📋 What This Template Does This workflow powers a Telegram bot that automatically processes incoming image documents with text prompts. It downloads the file, uses Google Gemini AI to edit the image based on your caption, and instantly replies with the enhanced version. - Triggers on new messages containing documents and captions - Securely downloads and validates files before AI processing - Leverages Gemini for precise, prompt-based image edits - Sends the polished result back to the chat seamlessly 🔧 Prerequisites - A Telegram bot created via @BotFather - Google AI Studio account for Gemini API access - n8n instance with Telegram and Google Gemini nodes enabled 🔑 Required Credentials Telegram API Setup 1. Open Telegram and message @BotFather 2. Use /newbot to create your bot and note the token 3. In n8n, go to Credentials → Add Credential → Search "Telegram API" 4. Paste the token and save as "Telegram Bot" Google Gemini API Setup 1. Visit aistudio.google.com and sign in with Google 2. Click "Get API key" → Create API key in a new project 3. In n8n, go to Credentials → Add Credential → Search "Google Gemini API" 4. Enter the API key and save as "Gemini API" ⚙️ Configuration Steps 1. Import the provided JSON into your n8n workflows 2. Assign the Telegram Bot credential to the trigger and Telegram nodes 3. Assign the Gemini API credential to the Edit Image node 4. Activate the workflow and note your bot's username 5. Test by sending an image document with a caption like "add a sunset background" to your bot 🎯 Use Cases - Personal creativity boost: Send a selfie with "make me a superhero" for fun edits during downtime - Social media content: Upload product photos with "enhance lighting and add text overlay" for quick marketing visuals - Educational sketches: Share drawings with "colorize and detail" to turn student ideas into professional illustrations - Team collaboration: In group chats, prompt "remove background" for instant design feedback loops ⚠️ Troubleshooting - Bot not responding: Verify token in credentials and ensure "message" updates are enabled in the trigger - File download fails: Check if the sent file is a document/image; Telegram expires links after 1 hour—resend if needed - AI edit errors: Confirm Gemini API key quotas; shorten prompts if over 100 words for better results - No edited image sent: Inspect execution log for binary data flow; ensure "binaryData" is toggled on in send node

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Gmail AI search assistant on Telegram (Gemini-powered)

Overview The n8n Telegram Gmail Assistant is an intelligent workflow that lets you search and retrieve specific Gmail emails simply by messaging a Telegram bot. Powered by advanced language models, it turns plain-language requests into precise Gmail searches, delivering results directly to your Telegram chat. This no-code automation is perfect for users who want instant, conversational access to their inbox—no Gmail tab required. Key Features Conversational Email Search: Just message the Telegra

Free

🤖 Create Your First AI Agent with Weather & Web Scraping (Starter Kit)

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This template is your personal launchpad into the world of AI-powered automation. It provides a fully functional, interactive AI chatbot that you can set up in minutes, designed specifically for those new to AI Agents. What is an AI Agent? Think of it as a smart assistant that doesn't just talk—it acts. You give it a set of "tools" (like other n8n tool nodes), and it intelligently de

Free

Lead generation automate on LinkedIn - personalisation, enrichment

Workflow Summary This system automates LinkedIn lead generation and enrichment in six clear stages: 1. Lead Collection (via Apollo.io) - Automatically pulls leads based on keywords, roles, or industries using Apollo’s API. - Captures name, job title, company, and LinkedIn profile URL. - You can kick off the workflow via form, webhook, WhatsApp, Telegram, or any other custom trigger that passes search parameters. 2. LinkedIn Username Extraction - Extracts usernames from LinkedI

Free

Get IP Address info in Telegram from Data24-7

Every time your Telegram Bot receives an IP address Make will automatically get information on it from Data24-7 and send it to your Telegram.

Free

Generate AI-Powered LinkedIn Posts with Google Gemini and Gen-Imager

AI-Powered LinkedIn Post Automation --- 🧩 How It Works This workflow automatically generates LinkedIn posts based on a user-submitted topic, including both content creation and image generation, then publishes the post to LinkedIn. Ideal for marketers, content creators, or businesses looking to streamline their social media activity, without the need for manual post creation. High-Level Workflow: 1. Trigger: The workflow is triggered when a user submits a form

Free

Create TikTok videos with GPT-4o, Digital Twins, Veo 3 and Telegram

Create TikTok videos grounded in real human insight. One agent researches viral trends, gathers authentic audience feedback on your product to inform script creation, tests script variations with target audiences to identify the most resonant script option, generates the video, and sends it back to you on Telegram. Description Most AI video tools generate content based on assumptions and AI guesswork. That's why content often looks and feels the same. This workflow grounds every creative decisio

Free

Automatic email classification with Gmail and Claude AI

How It Works 1.Gmail Trigger - Continuously monitors your Gmail inbox for new messages. - Captures the email’s subject, body, and metadata. - Sends the extracted content to the Email Content Classifier. 2.Email Content Classification The Email Content Classifier analyzes the email content using natural language processing. Compares the message against predefined Gmail labels: - Ads - Work - Personal - Financial - Other (fallback label) Users can add or rename categories to match their s

Free

Generate content ideas with Gemini Pro and store in Google Sheets

Automated Content Idea Generation and Expansion with Google Gemini and Google Sheets This n8n workflow automates the process of generating content ideas based on a user-defined topic, then expands each idea into a more detailed content piece (like a blog post) using Google Gemini, and finally saves all the generated data (idea title, description, and full content) into a Google Sheet. It's a powerful tool for streamlining content creation workflows. This workflow includes: Generation of multipl

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free