Midjourney Image Generator via Telegram and GoAPI
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on Telegram events (message). Along the way it connects Telegram and Discord. It also calls api.goapi.ai over HTTP.
How it runs
Trigger: On Telegram events (message).
- Get Prompt (If): checks a condition and branches into true / false
- Task (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- Generate Image (HTTP Request): calls api.goapi.ai (POST)
- Notify Generation (Telegram): uses Telegram
- Get Generation Task (HTTP Request): calls an HTTP API
- Status = complete (If): checks a condition and branches into true / false
- Get Index to Upscale (Telegram): send and wait for a reply
- Wait: pauses before continuing
- Upscale (HTTP Request): calls an HTTP API (POST)
- Notify Upscaling (Telegram): uses Telegram
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.goapi.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 (7)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Discord
n8n-nodes-base.discord
From the author
This workflow connects Telegram to Midjourney through GoAPI, enabling automated image generation and upscaling directly from chat. How it Works Telegram Command Trigger: The workflow activates upon receiving a message in Telegram. Image Generation: Your…