Templates / Generate Images on Telegram 🤖🖼️ from Text and Voice using Grok Imagine & Kie AI

Generate Images on Telegram 🤖🖼️ from Text and Voice using Grok Imagine & Kie AI

Ready for 3.0

by Davide Boizza ✓ · 1,601 views · created 2026-02-13 · Content Creation, AI Chatbot

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 24 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects OpenRouter Chat Model, Telegram and OpenAI. It also calls api.kie.ai over HTTP.

How it runs

Trigger: On Telegram events (message) (plus 1 other trigger).

  1. Code: runs custom JavaScript code
  2. Switch: routes items into 2 branches
  3. Switch: routes items into 3 branches
  4. Run text to image (HTTP Request): calls api.kie.ai (POST)
  5. Run image to image (HTTP Request): calls api.kie.ai (POST)
  6. Get Text (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
  7. Get voice message (Telegram): work with file
  8. Get image file (Telegram): work with file
  9. Wait: pauses until webhook
  10. Wait: pauses until webhook

…plus 8 more steps. See the full node list below.

Services it uses

OpenRouter Chat ModelTelegramOpenAI

HTTP calls to: api.kie.ai

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 (14)

From the author

This workflow creates an AI-powered Telegram bot that allows users to generate and modify images using Grok Imagine models via the Kie AI API. --- Key Advantages 1. ✅ Multi-Modal Input Support Users can interact using: Text Voice Images This makes the bot…

Excerpt from Davide Boizza'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.