Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.09 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.09 KB

Midjourney

A Discord Bot that can generate text based on a given prompt using Replicate

Installation

[x] Create Discord Bot and get token and client id from Discord Developer Portal

[x] Download Node.js

[x] Create Replicate account and get token

[x] Download Midjourney

git clone https://github.com/brblacky/Midjourney.git
cd Midjourney
npm install

Configuration

[x] Edit config.ts file

export default {
    token: "", // Discord Bot Token
    clientId: "1109838882805125190", // Discord Bot Client ID
    color: "#00ff00",
    replicateToken: "", // Replicate Token from https://replicate.com/signin
    model: "stability-ai/stable-diffusion:db21e45d3f7023abc2a46ee38a23973f6dce16bb082a930b0c49861f96d1e5bf" as any
}

Usage

npm start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT