A basic slack app that generate images using text prompts
- Interface inspired by the giphy slack app
- Built using Slack's Bolt python framework
- Image generation using SDXL model hosted on replicate.com
- Uses flask, gunicorn, nginx, and ngrok
-
follow these instructions from Slack to get your Slack bot token and signing secret
-
setup your .env file:
SLACK_BOT_TOKEN=XXXXX
SLACK_SIGNING_SECRET=XXXXX
REPLICATE_API_TOKEN=XXXXX
NGROK_DOMAIN=XXXXX.ngrok.io
NGROK_AUTHTOKEN=XXXXX- run the app:
docker compose up