viewmaker.mp4
This is a prototype to test inpainting with Stable Diffusion based on the camera input from a smartphone.
Try it out at viewmaker.vercel.app
Reach out via Twitter or Instagram
-
The credit goes to the Template on Vercel.
-
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
-
Framer Motion for some motions
Prerequisites:
- Recent version of Node.js
- Replicate API token
Set your Replicate API token in your environment. You can change it from '.env' file in the root directory.
REPLICATE_API_TOKEN=<your-token-here>
Then install dependencies and run the server:
npm install
npm run dev