This workflow generates images using OpenAI from user prompts received on Telegram and returns the generated image back to the user. It’s ideal for building a simple Telegram bot that converts text prompts into AI images in real time.
What You Can Do
- Receive user messages on Telegram and use the message text as an image prompt
- Generate images via OpenAI’s image resource and handle binary image data
- Aggregate and merge response data before sending the image back to the original user
- Run the workflow in real time for interactive Telegram-based image creation
Quick Start
- Import this workflow into n8n
- Configure your credentials for OpenAI and Telegram (set the Telegram webhook) and replace placeholder values in the workflow
- Activate and test the workflow by sending a prompt to your Telegram bot




