A simple web app for painting with Stable Diffusion using the AWS SageMaker Inference Endpoint.
Try my online #AutoMV application at BibiGPT.co
This demo app is hosted at https://sd.aitodo.co but without AWS tokens (because it would cost a lot! π€£)
π’π This is a Node.js app! It's powered by:
- AWS Sage Maker, a platform for running machine learning models in the cloud. notebook-stable-diffusion.ipynb
- Stable Diffusion, an open-source text-to-image generation model.
- Next.js server-side API routes for talking to the stable-diffusion-v1-5-endpoint API
- Next.js React components for the painting GUI (or pure HTML version in SampleWebApp)
- Tailwind CSS for styling
- Lucide for Icons
Prerequisites:
- Recent version of Node.js
- SageMaker Inference Endpoint
- AWS Identity and Access Management (IAM)
Set your AWS token in your environment:
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
Then install dependencies and run the server:
npm install
npm run dev