Giter VIP home page Giter VIP logo

aihome / midjourney-automation-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from passivebot/midjourney-automation-bot

0.0 0.0 0.0 418 KB

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.

Home Page: https://harminder.dev/projects/midjourney-automation-bot/wiki/midjourney-automation-bot-overview/

License: MIT License

JavaScript 1.00% Python 81.32% CSS 0.24% HTML 17.44%

midjourney-automation-bot's Introduction

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 [email protected]

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

midjourney-automation-bot's People

Contributors

harmindersinghnijjar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.