Regenerate old images with the help of AI
Introduction · How It Works · Tech Stack · Running Locally · Author
BackToLife is a modern day image regeneration app that allows users to restore old photos by removing scratches and other damage. The app leverages Microsoft's powerful "Bring old images back to life" machine learning model, which is hosted on ReplicateAI.
It uses an ML model from Microsoft "Bring old images back to life" on Replicate to remove scratches from old images. This application gives you the ability to submit link of any photo, which will send it through this ML Model using a Next.js API route, and return your restored photo.
- NextJS
- Tailwind CSS
- Replicate (AI API)
git clone
- Go to Replicate to make an account.
- Click on your profile picture in the top right corner, and click on "Dashboard".
- Click on "Account" in the navbar. And, here you can find your API token, copy it.
Create a file in root directory of project named .env.local. And store your API key in it, as shown in the .example.env file.
npm install
Then, run the application in the command line and it will be available at http://localhost:3000
.
npm run dev
- Anchit Sinha (@anchit1909)