Discord Bot to Perform Style Transfer on Custom Images
Last updated July 26, 2018
This repo is under active development, some features may only be partially complete.
To start this bot on a local server, do the following:
- Make sure you have Node.js installed
- Make sure you have installed Discord.js through
npm install discord.js
- Run
npm install request
to be able to download images - Git clone this art style transfer repository
- Change the paths in run_user.bash
- Create your config.json file
- Make sure your bot is in the server (and invite if they aren't in already)
- Open a terminal and run
node index.js
- Now you should be able to use the bot in your server. Enjoy!
Note: We will make these instructions nicer and more clear later...
@styletransferbot help
lists the commands for the bot.
To use the bot, first mention the bot however it is called in your server (default @styletransfer) and then type a sentence describing what you would like. Please order your sentence such that the object/subject of interest comes first, and the style comes later. Both the subject and style should be in quotes (either single or double).
Examples:
@styletransferbot please paint me some "maple leaves" in the style of "starry night"
@styletransferbot "cat" "gustav klimt"
@styletransferbot I would like "toast and eggs" to look like "yoshitaka amano"
To check progress on your request, type @styletransferbot progress
The result images of this bot should not be used for any commercial purposes. We have created this bot just for fun, not for profit or for other's profit.