Hi! I'm Aleem -- this is a lil project for the Leap hackathon. It's like the midjourney bot, but since we use Leap it allows you to train your own models ๐ช
note: this is a WIP, so if you have any feedback feel free to toss me a message on twitter. still learning how to make bots, so there's a lot of room for improvement ๐
Untitled.1.mp4
- Fork this repo & download it
- Head to the Discord Developer Portal and create a new application
- Go to the bot tab and add a bot, allow it to send messages, and copy the token
- Add the token to the .env file following the format in the .envExample file
- Check out LeapML to create an account, and copy the api key
- Add the api token to the .env file following the format in the .envExample file
- Run
npm install
to install the dependencies - Go back to the Discord Developer Portal, go to the OAuth2 tab, then URL generator, and click the link to invite the bot to your server
- Run
npm start
to start the bot
/train
- Train a model/generate
- Generate images/edit
- Edit images (coming soon, waiting for api)