# Image generation from Telegram text using Google Gemini and n8n
This automation workflow generates images from text descriptions sent via Telegram or n8n chat. Using Google Gemini via LangChain, it transforms natural language input into structured image prompts, which are then cleaned and passed to Pollinations AI via HTTP request. The resulting image can be sent back to Telegram or saved locally — fully automated, no manual intervention required.
## Who it´s for
- Marketers creating visual content from descriptions
- Telegram channel owners automating image generation
- Content creators leveraging AI for design
- Developers integrating AI image generation into systems
## What the automation does
- Receives text messages from Telegram or n8n internal chat
- Processes input into a detailed prompt using Google Gemini via LangChain
- Cleans and formats the prompt using a JavaScript Code node
- Generates an image via HTTP request to Pollinations AI API
- Sends result back to Telegram or saves to local storage
- Handles diverse use cases: futuristic scenes, business visuals, educational illustrations
## What´s included
- Ready-to-use n8n workflow
- Trigger and handler logic for Telegram and n8n chat
- Integrations with Google Gemini (LangChain), Pollinations AI, and Local File System
- Basic textual guide for setup and adaptation
## Requirements for setup
- n8n instance with workflow editor access
- Telegram bot with configured webhook
- Access to Google Gemini (via LangChain integration)
- Pollinations AI API access (public endpoint)
- Write permissions to local file system (if saving images locally)
## Benefits and outcomes
- Fully autonomous AI-powered image creation
- Reduces content generation time to seconds
- Enables scalable visual content production for channels and campaigns
- Seamless integration with existing n8n workflows
- Flexible output options: Telegram delivery or local storage
- Minimizes manual effort in AI image generation workflows
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet