Generate anime images via Telegram with LLM-enhanced prompts and Gemini/Leonardo.AI
Ready for 3.0Ready 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-10-19.
What this workflow does
This AI workflow has 13 nodes and runs on Telegram events. Along the way it connects Telegram and OpenRouter Chat Model.
How it runs
Trigger: On Telegram events.
- Image-count (Edit Fields (Set)): sets or maps fields
- Prompt generator (USER_Inspired) (Basic LLM Chain): sends a prompt to an LLM, with model: DeepSeek from OpenRouter; output parser: Structured Output Parser
- Split Out: splits a list into separate items
- Loop Over Prompts (Loop Over Items (Split in Batches)): loops over the items in batches
- Send pics via Telegram (Telegram): uses Telegram
- HTTP- Gemini (HTTP Request): calls an HTTP API
- Set base (Edit Fields (Set)): sets or maps fields
- Convert to File: converts data to a file
- Wait: pauses before continuing
- HTTP- Leonardo AI (HTTP Request): calls an HTTP API
Services it uses
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 (11)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Convert to File
n8n-nodes-base.convertToFile - Split Out
n8n-nodes-base.splitOut - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Telegram
n8n-nodes-base.telegram
From the author
🎨 Anime Image Generator with LLM-Enhanced Prompts This workflow turns a short text idea into stunning, AI-generated anime-style images, all from Telegram. It combines a chat LLM for prompt enhancement with Gemini (free) or Leonardo.AI (paid) image models.…