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 the image generation process in Discord using Midjourney. The creator demonstrates how to use tools like Google Sheets, Go API.ai, and Make.com to automate the creation of images, reducing the time spent on manual inputs. The system allows users to input prompts into a spreadsheet, set parameters like aspect ratio and style, and receive images directly in Discord. The automation is split into two parts: one for generating requests and another for uploading images back to the database. The video also touches on integrating this system with content generation for blog and social media posts.

Takeaways

  • 🚀 The video discusses creating an automation for generating images with Midjourney on Discord to save time.
  • 📊 The automation uses Google Sheets, Go API, and API.ai to streamline the image creation process.
  • 📝 A spreadsheet in Google Sheets is used to input prompts, status, aspect ratio, and version selector for image generation.
  • 🐢 The process involves setting up two scenarios to run the system and using Go API to handle communication between the automation and Discord.
  • 📸 Images generated are stored in a field called 'images' in the spreadsheet and a task ID is used for automation purposes.
  • 🔗 Go API is chosen for its affordability and unofficial status, offering a 'bring your own key' license for a low monthly fee.
  • 🔁 The automation is split into two parts: one for generating requests sent to Discord and another for retrieving images and updating the database.
  • 🛠 The scripts are not overly complex but require careful construction to handle details like HTTP nodes for auto-deployment and sequential processing to mimic human interaction.
  • 🕒 A sleep timer is included to manage the cadence of prompt submissions to avoid overwhelming Midjourney's rate limits.
  • 📈 The automation can be a first step towards fully automating image generation for blog posts or social media, potentially integrating with a content generation system.
  • 👍 The video concludes with a call to action for viewers to like, share, and look forward to the next video.

Q & A

  • What is the main issue with using Discord to create images with Midjourney?

    -The main issue is that it is time-consuming, as users have to repeatedly wait for image generations and type prompts multiple times.

  • How does the automation tool created in the video help solve the time-consuming issue?

    -The automation tool automates the process of generating images with Midjourney, reducing the need for manual input and wait times.

  • What platforms and technologies are used in the automation tool?

    -The automation tool uses Go API.ai, make.com, and AI tables.

  • What is the purpose of using AI tables in this automation?

    -AI tables are used to manage prompts, statuses, aspect ratios, and versions, and to store generated images.

  • How does the automation tool interact with Discord?

    -The automation tool uses an unofficial API called Go API to handle communication between the automation and Discord.

  • What is the cost associated with using Go API for this automation?

    -Using Go API costs about $10 per month for a bring-your-own-key license.

  • How are the images generated by Midjourney retrieved and stored in the automation?

    -The images are retrieved and stored in AI tables using a task ID and a second automation script that fetches the images and updates the records.

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

    -The automation is split into two parts to handle the request generation and the image retrieval separately, ensuring efficient processing and data handling.

  • How does the automation ensure that the rate limits of Midjourney are not exceeded?

    -The automation uses a sleep timer and sequential processing to maintain a humanized cadence, preventing overloading of Midjourney's rate limits.

  • What potential applications does the automation have beyond just generating images?

    -The automation can be integrated into content generation systems for blogs, social media posts, and other platforms, automating image generation for various content needs.

Outlines

00:00

🚀 Automating Image Creation with Discord and AI

This paragraph discusses the creation of an automation system to streamline the process of generating images using Discord and mid-Journey. The process is time-consuming when done manually, hence the automation. The system utilizes go, api.ai, and AI tables to automate the task. The author demonstrates setting up a spreadsheet in AI tables to input prompts and parameters like status, aspect ratio, and version selector. The automation handles the communication between Discord and the external software, with go API.ai facilitating this interaction. The system is designed to avoid overloading mid-Journey's rate limits by queuing up prompts and processing them sequentially with a delay of 25 seconds. The video shows the automation in action, generating multiple images quickly and efficiently.

05:01

🛠️ Script Deployment and Image Generation Automation

The second paragraph delves into the technical details of the automation scripts used for deploying and generating images. The scripts are designed to be auto-deployable for clients on the ABC platform, utilizing HTTP nodes for ease of deployment. The process involves a POST request to go API with the necessary parameters such as the prompt, version, aspect ratio, and a secret for tracking purposes. A sleep timer is implemented to maintain a humanized cadence, avoiding overloading mid-Journey's system. The second script handles the retrieval of image URLs from go API, downloads, and uploads them to AI tables, updating the record with a formatted array of images. This automation is presented as a potential first step towards fully automating image generation for blog posts and social media, integrating with a content generation system for streamlined media production. The video concludes with a demonstration of the system generating various images and an encouragement to like and share the video.

Mindmap

Keywords

💡Midjourney

Midjourney refers to a specific AI image generation tool that operates within the Discord platform. It allows users to create images by inputting text prompts. In the context of the video, the creator discusses the time-consuming nature of using Midjourney manually for generating multiple images, which is a problem their automation aims to solve.

💡Automation

Automation in this video refers to the process of creating a system that can perform tasks automatically. The creator has developed an automation system using various tools and APIs to streamline the image generation process with Midjourney, eliminating the need for manual input and waiting times. This is a key theme of the video, as it demonstrates how to save time and effort in content creation.

💡Discord

Discord is a communication platform where Midjourney operates. Users interact with bots and services through text commands, known as 'slash commands'. The video discusses how the automation system communicates with Discord to generate images, highlighting the limitations of regular bots in handling these commands and the need for external APIs like goapi.ai.

💡API.ai

API.ai is mentioned as a service that handles communication between the automation system and Discord. It is used to send requests to Discord for image generation and to trigger the automation scripts. The video explains that goapi.ai is a cost-effective solution for this purpose, with a monthly subscription that allows for the use of custom keys.

💡AI Tables

AI Tables refers to a spreadsheet system used in the automation process. The creator sets up a spreadsheet where prompts, status, aspect ratios, and version selectors are inputted. Once the images are generated, they are stored in a field called 'images' along with a task ID for automation purposes. This demonstrates the organization and data management aspect of the automation system.

💡Slash Commands

Slash commands are text-based commands used in Discord to interact with bots and services. In the context of the video, the creator discusses the inefficiency of using slash commands to generate images with Midjourney, as it requires waiting for each image to be created before inputting the next command. The automation system aims to overcome this limitation.

💡Aspect Ratio

Aspect ratio is a term used in the video to describe the proportional relationship between the width and height of an image. It is one of the parameters that can be set in the AI Tables spreadsheet to customize the image generation process. The aspect ratio affects the layout and composition of the generated images.

💡Version Selector

The version selector mentioned in the video allows users to choose between different styles or versions of the AI model used for image generation. This can affect the artistic style and quality of the images produced. The automation system includes a version selector to give users control over the output of their image generation tasks.

💡Webhook

A webhook is a callback function that can be triggered by an event in another application. In the video, the creator uses webhooks to communicate between Discord and the automation system. Once an image is generated, Discord triggers a webhook that initiates the second automation script to retrieve and store the image in the database.

💡Sequential Processing

Sequential processing refers to the execution of tasks in a specific order, one after another. The video explains that the automation system is set to sequential processing to mimic human behavior and avoid overloading the Midjourney system with too many prompts at once. This ensures that the image generation process remains efficient and within the rate limits of the account.

💡Content Generation System

A content generation system is a broader concept discussed in the video, which involves automating the creation of various types of content, such as blog posts and social media posts. The automation system for image generation with Midjourney is presented as a component that can be integrated into a larger content generation system to streamline the process of creating visual content for various platforms.

Highlights

Creating images with Midjourney in Discord can be very time-consuming.

An automation was created to streamline the process using go, api.ai, and AI tables.

The automation allows for the generation of multiple images without constant waiting.

A spreadsheet in AI tables is used to input prompts and receive images.

The automation includes setting the status, aspect ratio, and version selector for image generation.

Two scenarios run the system, with go api.ai handling communication between Automation and Discord.

The use of external software is necessary because regular bots cannot do slash commands.

Go API is an inexpensive unofficial API that can be used for this purpose.

The automation is split into two parts: one for generating requests and another for retrieving images.

The first automation sends a request to Discord, and once the image is done, it triggers the second automation.

The second automation grabs all the images and puts them back into the AI tables database.

The scripts are not complicated but require a good amount of detail.

HTTP nodes are used for auto-deploying scripts within client accounts.

The automation includes a sleep timer to mimic humanized cadence and avoid overloading Midjourney's rate limits.

The process involves posting to Discord, which then triggers a webhook for the second script.

The second script retrieves information from go API, searches for the specific record, and uploads images to AI tables.

The automation can be integrated into a content generation system for automatically generating images for blog posts and social media.

The video demonstrates the ease of queuing up multiple images for generation.