A opensource Discord Midjourney bot for all AI lovers. No more paywalls to AI. Enjoy your AI Art freedom with us
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 .
On your discord server use slash command /imagine
to get results
Ex: /imagine midjourney style anime landscape, genshin impact style
Now you can change the AI model to whatever you want from Replicate
Go to Replicate and search your desired model
Copy the model link. Should look like this:
"prompthero/openjourney:9936c2001faa2194a261c01381f90e65261879985476014a0a37a334593a05eb"
Paste your model link on imagine.js
const prediction = await replicate.default.model(
"PASTE YOUR MODEL LINK HERE",
)
Run the bot and enjoy!
- Add
midjourney style
ormdjrny-v4
key word somewhere on your promt for better results - Full beginners guide at my blog: click here
- @oelin for the MidJourney Client
If you enjoy our work, please consider giving a start to the repository ⭐️