Skip to main content

Midjourney Image Generator via Telegram and GoAPI

Workflow preview

Workflow preview
100%
Midjourney Image Generator via Telegram and GoAPI preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.discord, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dhruv Dalsaniya.

Original n8n.io source

1.1 Workflow description

Title
Midjourney Image Generator via Telegram and GoAPI
Workflow name
Midjourney Image Generator via Telegram and GoAPI

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 prompt is sent to GoAPI, which then generates an image using Midjourney.
  • Upscale Selection: You receive the generated image and select an option for upscaling.
  • Image Upscaling: The selected image is upscaled via GoAPI.
  • Notifications and Logs: Progress updates are sent to Telegram, and all images are logged in Discord.

Set Up Steps

  1. Create a Telegram Bot and update credentials in Telegram nodes.
  2. Create a GoAPI account, obtain an API key, and update the three HTTP nodes: "Get Generation Task," "Upscale," and "Get Upscale Task".
  3. (Optional) Configure the Discord node for logging if desired.

Setup takes approximately 10-15 minutes. Detailed descriptions are available in sticky notes within the workflow.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 2 - Task

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 4 - Generate Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Upscale

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Get Upscale

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 7 - Notify Generation

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 8 - Notify Upscaling

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 10 - Status = complete

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Get Index to Upscale

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 12 - Discord - Generation Log

Type / Role
n8n-nodes-base.discord - discord
Config choices
Version 2

Block 13 - Main Log

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - Get Prompt

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Get Generation Task

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - Get Upscale Task

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Midjourney Image Generator via Telegram and GoAPI
Complexity advanced
Nodes 18
Categories Content Creation, Multimodal AI
Author Dhruv Dalsaniya
Published 21 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5097/5097.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Midjourney Image Generator via Telegram and GoAPI do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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, Multimodal AI use case.