INSANE Midjourney Automation - Don't Waste Your Time In Discord

Hans Thisen
25 Mar 202409:58

TLDRThis video showcases an automation system created to streamline image generation using Midjourney within Discord. By integrating Google Sheets, go.api.ai, and AI tables, the process becomes efficient, eliminating the need to manually input prompts and wait for results. The system allows users to queue up numerous image requests, which are then processed sequentially to avoid overwhelming Midjourney's rate limits. The automation not only generates the images but also uploads them into a database for easy access and potential integration with content creation systems for blogs or social media.

Takeaways

  • 😀 Creating images in Discord with Midjourney can be very time-consuming.
  • 🔧 An automation system was developed to streamline the image creation process using go, api.ai, and AI tables.
  • 📝 A spreadsheet in AI tables is used to manage prompts, statuses, aspect ratios, and version selectors for image generation.
  • 📸 Images are retrieved in a field called 'images' and a task ID is used for automation purposes.
  • 🤖 Two scenarios are implemented to run the system, with go api.ai facilitating communication between Automation and Discord.
  • 💬 The use of external software is necessary because regular bots cannot handle slash commands in Discord.
  • 🔗 go api.ai is an inexpensive unofficial API that can be used for $10 a month with a bring your own key license.
  • 🔄 The automation is split into two parts: one to generate the request sent to Discord and another to retrieve images and update the database.
  • 🔄 Sequential processing is used to mimic humanized cadence and avoid overloading Midjourney due to rate limits.
  • 🛠 HTTP nodes are used for auto-deploying scripts within client accounts for ease of use.
  • 🔍 The second script is triggered by a webhook to grab images and update the AI tables database.
  • 📈 This automation can be a first step towards fully automating image generation for blog posts or social media.

Q & A

  • What is the main purpose of the automation discussed in the video script?

    -The main purpose of the automation is to streamline the process of creating images with mid-journey in Discord, which can be very time-consuming, by using go.api.ai, make.com, and AI tables.

  • What are the two scenarios that run the system mentioned in the script?

    -The two scenarios are the first automation that generates the request sent to Discord, and the second automation that grabs the images and puts them back into AI tables.

  • What is the role of go.api.ai in the described automation process?

    -Go.api.ai handles the communication between the Automation and Discord, and it is used to trigger Discord to generate an image and to keep record when it's done, then trigger the automation back.

  • What is the reason for splitting the automation into two parts?

    -The automation is split into two parts because the first part generates the request, while the second part is triggered after the image is done to retrieve and store the images in the database.

  • How does the automation process handle the rate limits of mid-journey?

    -The automation process uses sequential processing with a delay set to 25 seconds to avoid overloading mid-journey due to rate limits on one's account.

  • What is the function of AI tables in the automation?

    -AI tables is used to store the prompts, status, aspect ratio, version selector, and the images generated by the automation.

  • What is the significance of the task ID in the automation?

    -The task ID is used for automation purposes to track and manage the specific records related to each image generation process.

  • How does the automation handle the generation of multiple images?

    -The automation uses an iterator to process multiple images, download them, upload them to AI tables, and update the record with a formatted array of images.

  • What is the potential application of this automation for content creators?

    -This automation can be integrated into a content generation system to automatically generate images for blog posts, social media posts, etc.

  • How does the automation ensure humanized cadence when adding prompts to the system?

    -The automation uses a sleep timer with a delay set to 25 seconds to mimic humanized cadence and avoid triggering too many prompts at once, which could cause issues with rate limits.

  • What is the cost associated with using go.api.ai for this automation?

    -The cost mentioned in the script is 10 dollars a month for a bring your own key license, which is considered one of the most inexpensive unofficial APIs for this purpose.

Outlines

00:00

🚀 Automation of Image Creation in Discord and Mid Journey

This paragraph introduces an automation solution for creating images within Discord and Mid Journey, which is typically a time-consuming process. The speaker explains that they have set up a spreadsheet in AI tables to input prompts and other settings for image generation. The automation uses go.api.ai and AI tables to streamline the process of generating multiple images, which would otherwise take a significant amount of time. The speaker also discusses the use of external software due to the limitations of regular bots in handling slash commands and mentions the cost-effectiveness of go API as an unofficial API for this purpose.

05:01

🛠 Detailed Explanation of Automation Scripts and Process

The speaker provides a detailed explanation of the automation scripts used to facilitate image generation. They discuss the setup of HTTP nodes for easy deployment by clients and the use of a post request to go API to send image generation requests to Discord. The importance of sequential processing is highlighted to avoid overloading Mid Journey due to rate limits. The speaker also explains the use of a sleep timer to mimic a humanized cadence when adding prompts. The second part of the automation involves retrieving the generated images, downloading them, and uploading them back into AI tables. The paragraph concludes with the speaker discussing the potential for integrating this automation into a content generation system for creating images for blog posts and social media.

Mindmap

Keywords

Discord

Discord is a popular communication platform designed for creating communities. It allows users to communicate via voice calls, video calls, text messaging, media and files in private chats or as part of 'servers' based around a specific topic. In the video, Discord is used as a platform where the automation for image creation with mid-journey is demonstrated, showcasing how it can be integrated with other tools for a more efficient workflow.

Midjourney

Midjourney refers to a stage in a process where progress is being made but the end is not yet in sight. In the context of the video, 'mid-journey' is likely the name of a specific tool or service used for creating images, which is being automated to save time and effort in the image generation process.

Automation

Automation is the use of technology to perform tasks with minimal human intervention. In the video, the creator discusses setting up an automation system using various tools and APIs to streamline the process of generating images within Discord, which would otherwise be time-consuming.

API (Application Programming Interface)

An API is a set of rules and protocols that allows different software applications to communicate with each other. In the script, 'go api.ai um make.com' is mentioned as part of the automation process, indicating that these APIs are used to facilitate the communication between Discord and the image generation tool.

AI Tables

AI Tables likely refers to a database or spreadsheet tool that uses artificial intelligence to assist with data management. In the video, it is used to organize prompts, status, aspect ratios, and other parameters for the image generation process, and to store the resulting images.

Slash Commands

Slash commands are a type of command in Discord that start with a forward slash and are used to execute specific functions or commands within a server. The video mentions using a slash command to initiate the image generation process.

Aspect Ratio

The aspect ratio is the proportional relationship between the width and height of an image or screen, often expressed by two numbers separated by a colon. In the context of the video, setting the aspect ratio is part of the parameters that can be specified when generating images.

Webhook

A webhook is a way for an app to provide other applications with real-time information. In the video, a webhook is used to trigger the second part of the automation process once the image generation is complete.

Sequential Processing

Sequential processing refers to the execution of tasks in a specific order, one after another. The video mentions setting up the automation with a delay to mimic humanized cadence and avoid overloading the system due to rate limits.

Content Generation System

A content generation system is a tool or set of tools designed to create content automatically. The video suggests that the image generation automation could be integrated into a larger content generation system to automatically produce images for blog posts or social media.

Highlights

Creating an automation for image generation in Discord with mid-journey to save time.

Utilizing go.api.ai, make.com, and AI tables for the automation process.

The frustration of waiting for image generation in Discord with mid-journey.

Setting up a spreadsheet in AI tables to manage prompts and image generation parameters.

Using two scenarios to run the system and go.api.ai for communication between Automation and Discord.

The necessity of go.api.ai for handling slash commands that regular bots cannot execute.

The cost-effectiveness of go.api.ai with a monthly subscription for an unofficial API key.

Connecting Discord to go.api and the documentation available for this process.

The split automation process: one for generating requests and another for handling image retrieval.

Triggering the second automation script upon image completion to update the database.

Demonstration of the automation process with the example of generating an image of a cat with blue fur.

Explanation of the scripts involved in the automation, including HTTP nodes for easy deployment.

The importance of sequential processing to avoid overloading mid-journey due to rate limits.

The implementation of a sleep timer to mimic humanized cadence in adding prompts.

The second script's function to retrieve image URLs, download, and upload them to AI tables.

The potential of this automation for fully automating image generation for blog posts and social media.

The ease of queuing up multiple images for generation using the described automation.