AutomationMart
Home/Browse/Generate Images on Telegram πŸ€–πŸ–ΌοΈ from Text and Voice using Grok Imagine & Kie AI
n8n

Generate Images on Telegram πŸ€–πŸ–ΌοΈ from Text and Voice using Grok Imagine & Kie AI

n8nn8n24 modulesv1.0
OpenAITelegramLinkedIn

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 highly flexible and user-friendly. 2. βœ… Intelligent AI Orchestration Instead of directly calling APIs, the workflow uses an AI agent that: Understands

At a glance

Generate Images on Telegram πŸ€–πŸ–ΌοΈ from Text and Voice using Grok Imagine & Kie AI is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects OpenAI, Telegram, LinkedIn. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Telegram, LinkedIn
Modules
24
Price
Free
Version
v1.0
Generate Images on Telegram πŸ€–πŸ–ΌοΈ from Text and Voice using Grok Imagine & Kie AI workflow diagram

About this workflow

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 highly flexible and user-friendly. 2. βœ… Intelligent AI Orchestration Instead of directly calling APIs, the workflow uses an AI agent that: Understands intent Enhances prompts Chooses the correct tool automatically This dramatically improves output quality. 3. βœ… Fully Automated Image Pipeline From user input to final image delivery: Upload Processing Generation Result retrieval Delivery via Telegram Everything is automated end-to-end. 4. βœ… Asynchronous & Scalable Architecture The use of: Webhook callbacks Wait nodes Task polling Prevents timeouts and supports longer image generation tasks. 5. βœ… Secure Access Control The Telegram ID validation ensures: Only authorized users can access the workflow. 6. βœ… Modular & Extendable Design The workflow is built with: Tool-based architecture Separate image generation workflows Clear orchestration logic This makes it easy to extend with: Video generation Style presets Advanced editing tools Multi-user support 7. βœ… Production-Ready Structure The workflow includes: Error handling guidelines Structured system prompts Memory handling Clear separation of concerns This makes it suitable for: Creative agencies AI SaaS products Marketing automation Telegram-based AI services --- How it works This workflow creates a Telegram bot that uses AI to generate and transform images through Grok Imagine models, with support for text, voice, and image inputs. 1. Telegram Input Handling: Users interact with the bot by sending messages, voice notes, or images. The workflow authenticates users based on their Telegram ID. 2. Input Processing: - Text messages β†’ Directly sent to the AI agent - Voice messages β†’ Transcribed using OpenAI Whisper, then converted to text - Images β†’ Downloaded from Telegram, uploaded to an FTP server (BunnyCDN), and the public URL is generated 3. AI Agent Decision Making: The "Grok Imagine Agent" (powered by Grok 4.1 Fast model) analyzes user input and determines whether to: - Generate a new image from text description (text-to-image) - Transform an existing image using a prompt (image-to-image) 4. Tool Execution: The agent calls specialized workflow tools that trigger image generation via Kie.ai API: - Text-to-Image: Creates images from text prompts using "grok-imagine/text-to-image" model - Image-to-Image: Modifies existing images using "grok-imagine/image-to-image" model 5. Async Processing: The workflow uses Wait nodes to handle asynchronous image generation, polling Kie.ai for results via task IDs. 6. Result Delivery: Once images are generated, they're sent back to the user through Telegram messages. --- Setup Steps 1. Telegram Configuration: - Create a Telegram Bot via BotFather to get a bot token - Add your Telegram user ID in the "Code" node (replace XXX) - Configure Telegram credentials in n8n with your bot token 2. API Credentials: - OpenRouter: Sign up at OpenRouter.ai, get API key for Grok 4.1 Fast access - Kie.ai: Register at Kie.ai for free API key to access image generation models - OpenAI: Set up OpenAI API key for voice transcription (Whisper model) 3. FTP Server Setup: - Configure FTP server (BunnyCDN recommended) for image hosting - Update FTP credentials in n8n - Set the public URL path in the "Set Image Url" node (replace XXX) 4. Workflow Configuration: - Import the JSON workflow into n8n - Update all credential references to match your accounts - Verify webhook URLs are properly configured for callback handling - Test the workflow and activate when ready 5. Optional Customizations: - Adjust the system prompt in the "Grok Imagine Agent" node for different behavior - Modify image aspect ratios or other parameters in the HTTP Request nodes - Add additional tools for more functionality --- πŸ‘‰ Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n. []( --- Need help customizing? Contact me for consulting and support or add me on Linkedin.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send messages to Slack using a ChatGPT assistant response from a custom webhook

Keep up to date by sending a ChatGPT assistant generated responses to Slack from information received from a custom webhook, streamlining communication and enhancing team collaboration with AI-driven insights.

Free

Transcribe audio files from Google Drive using OpenAI Whisper and send an email

Easily transcribe audio files stored on Google Drive with OpenAI Whisper, automate transcription, store on a Google Doc and instantly email the doc for ease of communication. Please note that the Whisper API file limit is 25mb, we have used CloudConvert to convert these files to smaller mp3 files for Whisper to transcribe.

Free

Invoice data extraction with LlamaParse and OpenAI

This n8n workflow automates the process of parsing and extracting data from PDF invoices. With this workflow, accounts and finance people can realise huge time and cost savings in their busy schedules. Read the Blog: How it works This workflow will watch an email inbox for incoming invoices from suppliers It will download the attached PDFs and processing them through a third party service called LlamaParse. LlamaParse is specifically designed to handle and convert complex PDF data structures

Free

Qualify WhatsApp insurance leads with OpenAI, HubSpot, and Slack

Quick overview This workflow handles inbound WhatsApp insurance inquiries, uses OpenAI to converse with leads and remember context per phone number, then extracts a qualification decision, score, and summary, upserts qualified leads to HubSpot, and alerts a Slack channel when a lead requests a human. How it works 1. Triggers whenever a new WhatsApp message is received via WhatsApp Business Cloud. 2. Uses OpenAI to reply in the lead’s language, collect consent and key qualifying details, and main

Free

Create a new Google Doc for every new response in Tally using ChatGPT

Instantly receive Tally for submissions and create new Google Docs with using ChatGPT responses, streamlining document creation and organization.

Free

Create a sales analysis for Loyverse reciepts with OpenAI

This template exports daily sales from Loyverse and saves them in a Google Sheets spreadsheet. At the end of every month, ChatGPT will read the accumulated data from the spreadsheet and give you suggestions to improve your business performance. This template was created by a 3rd party and not tested by Make. For any inquiries about the template, please reach out to the template creator: help@loyverse.com. More information about template's configuration can be found here:

Free

Post images and text from Google Drive and Sheets to LinkedIn

How This LinkedIn Automation Workflow Helps You: - Save time - Eliminate manual LinkedIn posting and content scheduling tasks - Stay consistent - Automated daily posting keeps your LinkedIn profile active and engaging - Keep control - Preview every post before it goes live via Telegram approval system - Track everything - Complete posting history and status tracking in Google Sheets dashboard - Never double-post - Smart status tracking prevents duplicate content and posting errors - Scale conten

Free

Detect stale website content with OpenAI, Google Sheets, and Gmail

Stale Content Detector for Websites Who is this for Content marketers, SEO managers, and website owners who want to automatically find pages on their site that are outdated or need refreshing β€” without manually auditing every page. What it does This workflow fetches your sitemap, identifies pages that have not been updated in a configurable number of days, fetches each stale page, and uses AI to assess whether the content is actually outdated or still accurate. - Sitemap parsing: Fetches your si

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free