Free AI Image Generator - n8n Automation Workflow with Gemini/ChatGPT
VerifiedGenerate custom AI images from chat prompts using Gemini in n8n.
What this workflow does
This automation converts incoming chat messages into AI-generated images by processing prompts through an AI Agent and Google Gemini, then returning the results via Telegram or internal chat.
It suits marketers, content creators, and individuals needing on-demand visuals for social media, storyboards, or personal projects without manual prompt engineering.
Who is this for?
Content creators, marketers, and social media managers who need quick custom visuals without design tools. Also useful for indie developers or hobbyists running personal automation projects.
What problem it solves
Creating original images from text prompts usually requires manual work in separate AI tools or design apps. This workflow removes that friction by turning chat messages into generated images automatically.
Live workflow preview
Interactive canvas of every node and connection — scroll and click to explore. Powered by n8n's preview.
Open the template on n8n to import and run it. View source template →
What it automates
Marketing visuals
Send a product description via Telegram and receive a ready-to-post 1080x1920 image for Instagram or stories.
Daily personal images
Trigger a new illustration each morning for journaling, wallpapers, or creative inspiration without opening extra apps.
Storyboard generation
Describe scenes in chat and collect consistent AI-generated frames for video planning or comic layouts.
How the workflow works
The 5 nodes in this automation, in order.
- 1HTTP RequesthttpRequest
- 2Telegramtelegram
- 3Codecode
- 4AI Agent@n8n/n8n-nodes-langchain.agent
- 5Google Gemini Chat Model@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Apps & integrations used
How to set up Free AI Image Generator - n8n Automation Workflow with Gemini/ChatGPT
- 1Import the workflow JSON into your n8n instance
- 2Add credentials for Google Gemini Chat Model and Telegram (if using the bot trigger)
- 3Open the Fields - Set Values node and adjust width/height if needed
- 4Connect the chat trigger or activate the Telegram webhook
- 5Test by sending a prompt through the chosen trigger channel
- 6Review the output image URL returned by the HTTP Request node
How to customize this workflow
- →Swap Google Gemini for another model supported by the AI Agent node
- →Change the trigger from Telegram to Slack, Discord, or a webhook
- →Add an HTTP Request step to upload the generated image to Google Drive or Dropbox
- →Insert a filter node to restrict prompts to approved topics only
Free AI Image Generator - n8n Automation Workflow with Gemini/ChatGPT: pros & cons
Pros
- +Fully prompt-driven and hands-off after setup
- +Works with both n8n chat and Telegram
- +Free core flow using existing Gemini access
- +Default 1080x1920 size ready for mobile content
Cons
- –Requires valid Gemini API access with image generation enabled
- –Image quality depends entirely on the upstream model
- –No built-in storage or editing of results
Frequently asked questions
It takes a text prompt from chat or Telegram, refines it, and returns an AI-generated image via Google Gemini.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…