Inpainter with Stable Diffusion

Type: Code
Framework: Next.js
CSS: Tailwind
Inpainter
A web GUI for inpainting withĀ Stable DiffusionĀ using the Replicate API.
Try it out atĀ inpainter.vercel.app
How it works
š¢š This is a Node.js app! It’s powered by:
- Replicate, a platform for running machine learning models in the cloud.
- Stable Diffusion, an open-source text-to-image generation model.
- Next.jsĀ server-side API routesĀ for talking to the Replicate API
- Next.js React components for the inpainting GUI
- Tailwind CSSĀ for styling
- LucideĀ for Icons
Development
Prerequisites:
- Recent version of Node.js
- Replicate API token
Set your Replicate API token in your environment:
REPLICATE_API_TOKEN=<your-token-here>
Then install dependencies and run the server:
npm install
npm run dev
OpenĀ http://localhost:3000