Skip to content

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

License

Notifications You must be signed in to change notification settings

appujet/Midjourney

Repository files navigation

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

Releases

No releases published

Packages

No packages published