/midjourney-bot

A opensource Discord Midjourney bot for all AI lovers. No more paywalls to AI. Enjoy your AI Art freedom with us

Primary LanguageJavaScriptMIT LicenseMIT

Discord Midjourney Bot

A opensource Discord Midjourney bot for all AI lovers. No more paywalls to AI. Enjoy your AI Art freedom with us

Invite Openjourney Bot => Click Here

Support Me:

sandarudev

Support Server

Installation

Clone the repository

git clone https://github.com/sandarutharuneth/midjourney-bot

Fill your Token and other dependencies at config.json

{
    "TOKEN": "YOUR TOKEN",
    "CLIENTID": "YOUR BOT ID",
    "OWNER": ["YOUR ID"]
}

Install dependencies

npm i

Start the bot

node .

Usage

On your discord server use slash command /imagine to get results Ex: /imagine midjourney style anime landscape, genshin impact style

Model Swapping

Now you can change the AI model to whatever you want from Replicate

Step 1

Go to Replicate and search your desired model

Step 2

Copy the model link. Should look like this:

"prompthero/openjourney:9936c2001faa2194a261c01381f90e65261879985476014a0a37a334593a05eb"

Step 3

Paste your model link on imagine.js

const prediction = await replicate.default.model(
                "PASTE YOUR MODEL LINK HERE",
            )

Step 4

Run the bot and enjoy!

PS:

  • Add midjourney style or mdjrny-v4 key word somewhere on your promt for better results
  • Full beginners guide at my blog: click here

Credits

If you enjoy our work, please consider giving a start to the repository ⭐️

©️ Project Razer