Block 1 - Main Overview
- Type / Role
- n8n-nodes-base.stickyNote - stickyNote
- Config choices
- Version 1
Generate images via Telegram using an AI bot with a credit system and S3 storage A complete, production ready Telegram bot for AI powered image generation and editing, featuring a built in credi...
n8n-nodes-base.stickynote, n8n-nodes-wavespeed.wavespeedtasksubmit, n8n-nodes-base.telegram, n8n-nodes-base.datatable, n8n-nodes-base.switch, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.s3
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cleverton Ruppenthal.
Original n8n.io sourceA complete, production-ready Telegram bot for AI-powered image generation and editing, featuring a built-in credit system, payment integration, and cloud storage.
Here's the adjusted payment section:
> About PIX: PIX is Brazil's instant payment system, launched by the Central Bank of Brazil in 2020. It allows instant money transfers 24/7, 365 days a year, using QR codes or copy-paste codes. It has become the most popular payment method in Brazil due to its speed and zero fees for individuals.
This workflow includes a fully integrated PIX payment flow as a reference implementation. You can adapt it to your local payment provider.
Features:
> ๐ก Tip: To adapt this for other regions, replace the Mercado Pago nodes with your preferred payment gateway (Stripe, PayPal, etc.) while keeping the same credit update logic.
| Component | Technology |
|---|---|
| Bot Platform | Telegram Bot API |
| AI Generation | WaveSpeed API (Nano Banana Pro) |
| Storage | S3-compatible (MinIO/AWS S3) |
| Database | n8n Data Tables |
| Payments | Mercado Pago PIX |
| Automation | n8n |
Before using this workflow, you'll need:
Create a Data Table with the following columns:
| Column | Type | Description |
|---|---|---|
chat_id |
String | Telegram chat ID (primary key) |
username |
String | Telegram username |
status |
String | Current user state in the flow |
credits |
String | User's credit balance |
resolution |
String | Preferred resolution (4k/8k) |
aspect_ratio |
String | Preferred aspect ratio |
user_default_prompt |
String | Custom default prompt |
number_images |
Number | Total images generated |
number_videos |
Number | Total videos generated |
demo_sended |
Boolean | Welcome demo sent flag |
botName: Your bot's display namebotToken: Your Telegram bot tokendataTableId: Your n8n Data Table IDbucketName: Your S3 bucket nameinitialCredits: Credits given to new usersgenerateImageCost4k: Cost per 4K imagegenerateImageCost8k: Cost per 8K image| Command | Description |
|---|---|
/start |
Initialize bot and receive welcome message |
menu |
Return to main menu |
config |
Open settings menu |
| Any text | Generate image from prompt (when in generation mode) |
| Photo + caption | Edit the photo based on the caption |
User Message โ Telegram Trigger โ Route by Status
โ
โโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโ
โ โ โ
New User Generate Image Edit Image
โ โ โ
Welcome Flow Check Credits Check Credits
โ โ โ
Create User Submit to WaveSpeed Upload to S3
โ โ โ
Show Menu Poll for Result Submit Edit
โ โ
Download Image Poll for Result
โ โ
Send to User โโโโโโโโโโโโโโ
Free to use and modify. Attribution appreciated but not required.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 103 workflow blocks. Download the JSON for the full node graph.
| Workflow | Generate AI images via Telegram with WaveSpeed, credit system, PIX and S3 |
|---|---|
| Complexity | advanced |
| Nodes | 103 |
| Categories | Content Creation, AI Chatbot |
| Author | Cleverton Ruppenthal |
| Published | 18 Jan 2026 |
Use the JSON export at /data/workflows/12797/12797.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Generate images via Telegram using an AI bot with a credit system and S3 storage A complete, production ready Telegram bot for AI powered image generation and editing, featuring a built in credi...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, AI Chatbot use case.