Templates / Generate anime images via Telegram with LLM-enhanced prompts and Gemini/Leonardo.AI

Generate anime images via Telegram with LLM-enhanced prompts and Gemini/Leonardo.AI

Ready for 3.0

by Diptamoy Barman ✓ · 775 views · created 2025-09-30 · 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-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.

  1. Image-count (Edit Fields (Set)): sets or maps fields
  2. Prompt generator (USER_Inspired) (Basic LLM Chain): sends a prompt to an LLM, with model: DeepSeek from OpenRouter; output parser: Structured Output Parser
  3. Split Out: splits a list into separate items
  4. Loop Over Prompts (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Send pics via Telegram (Telegram): uses Telegram
  6. HTTP- Gemini (HTTP Request): calls an HTTP API
  7. Set base (Edit Fields (Set)): sets or maps fields
  8. Convert to File: converts data to a file
  9. Wait: pauses before continuing
  10. HTTP- Leonardo AI (HTTP Request): calls an HTTP API

Services it uses

TelegramOpenRouter Chat Model

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)

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.…

Excerpt from Diptamoy Barman'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.