You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 30, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,15 @@ As seen on [LinkedIn](https://www.linkedin.com/posts/harmindersinghnijjar_sikhis
7
7
The Midjourney Automation Bot is a highly efficient Python-based automation program designed to generate and download unique images using the Midjourney bot on Discord. The script employs OpenAI’s GPT-3 to construct image prompts and Playwright, a Node.js library to control Chromium, Firefox, and WebKit browsers, to interact with the Discord application in a browser environment.
8
8
9
9
### Key Features
10
-
GPT-3 Prompt Generation: The bot uses GPT-3 to generate prompts based on user-defined specifications, such as art type, topic, and descriptors.
10
+
<b>GPT-3 Prompt Generation:</b> The bot uses GPT-3 to generate prompts based on user-defined specifications, such as art type, topic, and descriptors.
11
11
12
-
##### Discord Integration:
13
-
Through Playwright, the bot can navigate to the Discord channel URL where the Midjourney bot resides and submit the generated prompts.
12
+
<b>Discord Integration:</b> Through Playwright, the bot can navigate to the Discord channel URL where the Midjourney bot resides and submit the generated prompts.
14
13
15
-
##### Image Upscaling:
16
-
Once the images are generated, the bot interacts with the Discord interface to select upscale options, improving the quality of the images.
14
+
<b>Image Upscaling:</b> Once the images are generated, the bot interacts with the Discord interface to select upscale options, improving the quality of the images.
17
15
18
-
##### Image Downloading:
19
-
After upscaling, the bot downloads the images, saving them locally with names corresponding to their prompts.
16
+
<b>Image Downloading:</b> After upscaling, the bot downloads the images, saving them locally with names corresponding to their prompts.
20
17
21
-
##### Iterative Execution:
22
-
The bot can be configured to run for a specific number of iterations, continuously generating prompts, submitting them, and downloading the images generated in each cycle.
18
+
<b>Iterative Execution:</b> The bot can be configured to run for a specific number of iterations, continuously generating prompts, submitting them, and downloading the images generated in each cycle.
23
19
24
20
### Usage
25
21
To run the bot, the user needs to set their OpenAI API key and populate several constant fields such as ART_TYPE, BOT_COMMAND, CHANNEL_URL, DESCRIPTORS, TOPIC, and PROMPT. The bot also needs user Discord credentials to log in, which are read from a "credentials.txt" file.
0 commit comments