Go to file
2023-04-07 15:52:44 -07:00
commands Create imagine.js 2023-01-30 12:20:44 +00:00
.gitignore Create .gitignore 2023-01-30 12:18:29 +00:00
.npmignore Create .npmignore 2023-01-30 12:17:50 +00:00
art.jpg Add files via upload 2023-01-30 12:11:17 +00:00
art.png Add files via upload 2023-01-30 12:13:49 +00:00
config.json Create config.json 2023-03-23 08:38:53 +05:30
deploy-commands.js Add files via upload 2023-01-30 12:16:56 +00:00
docker-compose.yml Add docker build files 2023-04-07 15:49:18 -07:00
Dockerfile Add docker build files 2023-04-07 15:49:18 -07:00
index.js Add files via upload 2023-01-30 12:16:56 +00:00
LICENSE Initial commit 2023-01-30 12:08:03 +00:00
package-lock.json Add files via upload 2023-01-30 12:17:15 +00:00
package.json Update package.json 2023-04-06 11:44:44 +01:00
README.md Update README 2023-04-07 15:52:44 -07:00

Midjourney Reborn 🔥

A Discord bot for all your Midjourney needs! Use this bot to convert text prompts into beautiful artwork via Midjourney V4.

Usage

To run this demo, clone the repository and then create a config.json file containing your bot's token.

git clone https://github.com/oelin/midjourney-reborn/

cd midjourney-reborn
echo {"token": "YOUR TOKEN"} > ./config.json

Then run the following commands to install start the bot.

npm i

npm run deploy

npm start

Using docker compose

docker compose up -d
docker exec -it midjourney-reborn-bot node deploy-commands.js

Commands

This project is in active development so expect lots of changes to this section. Currenlty the primary command supported is /imagine [prompt], which can be used to generate images with Midjourney. For instance, /imagine an astronaut riding a horse on mars artstation might produce the following image:

In the near future we hope to add support for features such as upscailing, variant generation and additional generation parameters.

Technologies

This bot utilizes discord.js and Midjourney Client to enable Midjourney V4 access from within Discord. The underlying images are generated on fast GPUs provided by Replicate.

Resources