Skip to content

from20020516/serverless-diffusion-discord

Repository files navigation

serverless-diffusion-discord

Stable Diffusion Discord Bot interface.

infrastructure

  1. Create your Discord App.
  2. Create your AWS resources.
npm install
npm run cdk deploy -c publicKey=$DISCORD_APP_PUBLIC_KEY -c botToken=$DISCORD_APP_BOT_TOKEN --all
  1. Add imageRequestHandler function url (https://*.lambda-url.REGION.on.aws) to App INTERACTIONS ENDPOINT URL.
  2. Add Discord App to your server with bot scope.
  3. use /ai command in your server channel. enjoy!

Disclaimer

The authors are not responsible for the content generated using this project. Please, don't use this project to produce illegal, harmful, offensive etc. content.