Templates / Text-to-image generation with Google Gemini & enhanced prompts via Telegram Bot

Text-to-image generation with Google Gemini & enhanced prompts via Telegram Bot

Ready for 3.0

by AppStoneLab Technologies LLP ✓ · 4,886 views · created 2025-07-08 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 7 nodes and runs on Telegram events (message). Along the way it connects Telegram and Google Gemini Chat Model. It also calls generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: On Telegram events (message).

  1. Generate prompt (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini 2.5 Pro; output parser: Structured Prompt
  2. Generate Image (HTTP Request): calls generativelanguage.googleapis.com (POST)
  3. Convert to Image (Convert to File): converts data to a file (to binary)
  4. Send a photo message (Telegram): send photo

Services it uses

TelegramGoogle Gemini Chat Model

HTTP calls to: generativelanguage.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. 🤖 AI Image Generator Telegram Bot Transform simple text descriptions into stunning AI-generated images through a Telegram bot powered by Google's Gemini 2.0…

Excerpt from AppStoneLab Technologies LLP's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.