Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

This repository hosts the Midjourney Automation Bot, a free script leveraging OpenAI's GPT-3 for automated image generation via Discord. It offers a simple web interface, customizable settings, and is MIT licensed for ease of use and adaptation.

License

Notifications You must be signed in to change notification settings

passivebot/midjourney-automation-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Midjourney Automation Bot

GUI

This repository contains the Midjourney Automation Bot, a free and open-source tool designed to streamline the process of image generation using the OpenAI GPT-3 model. The bot automates interactions with Discord channels to create images based on user-defined prompts, facilitating the creation of various art forms such as illustrations, digital paintings, or sketches. It features a user-friendly web interface, robust logging, and customizable upscale options, making it an accessible tool for artists, developers, and anyone interested in automated image generation. The bot's functionality is well-documented, and it is made available under the MIT License, allowing for broad use and modification.

As seen on LinkedIn and YouTube.

Contact

For any queries or freelance opportunities, please get in touch with me via LinkedIn or email at harmindernijjar1996@gmail.com

Table of Contents

How it Works

  1. The bot logs into Discord using user credentials provided in a secure configuration file.
  2. The bot opens the specified channel on Discord.
  3. The bot sends a command to generate an image based on the user's prompt.
  4. The bot waits for the upscale options to appear and selects them.
  5. The bot downloads the upscaled images.

The prompt can include descriptors and a topic to guide the image generation process. The bot uses the OpenAI GPT-3 model to generate the image based on the prompt. The generated images are then downloaded and saved.

Features

  • Logging: The bot logs its actions and any errors during the image generation process.
  • API Key Management: The bot allows users to set the OpenAI API key through different methods, such as a file, environment variable, or console input.
  • Customizable Upscale Options: The bot selects, and downloads upscaled images based on user-defined upscale options.
  • Web Interface: The bot provides a user-friendly web interface powered by Eel, allowing users to interact with and control the bot easily.

Getting Started

To get started with the Midjourney Automation Bot, follow these steps:

  1. Clone the repository: git clone https://github.com/passivebot/midjourney-automation-bot.git
  2. Install the required dependencies: pip install -r requirements.txt
  3. Run the bot: python midjourney_automation_script.py
  4. Customize the bot's behavior by modifying the values in the GUI, such as the bot command, channel URL, prompt, etc.
  5. Click "Start Automation" to start generating images.

Usage

Once the bot runs, it will automatically log into Discord, open the specified channel, and send the bot command with the given prompt. The bot will then wait for the upscale options, select them, and download the upscaled images.

You can interact with the bot through the web interface, which you can access by opening index.html in your preferred web browser. The web interface allows you to start the bot, configure the bot parameters, and monitor the bot's progress and log messages.

Customization

The bot is designed with customization in mind. Users can modify various parameters and settings according to their needs. You can set the OpenAI API key, choose the upscale options, decide the Discord channel, and much more. To make these customizations, simply adjust the values in the GUI before starting the bot.

License

The Midjourney Automation Bot is licensed under the MIT License.

Credits

Developed by Harminder Singh Nijjar

About

This repository hosts the Midjourney Automation Bot, a free script leveraging OpenAI's GPT-3 for automated image generation via Discord. It offers a simple web interface, customizable settings, and is MIT licensed for ease of use and adaptation.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages