Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anchit1909/backtolife-old-image-regeneration
Image regeneration AI app that allows users to restore old photos by removing scratches and other damages.
https://github.com/anchit1909/backtolife-old-image-regeneration
nextjs react replicate tailwindcss vercel
Last synced: 27 days ago
JSON representation
Image regeneration AI app that allows users to restore old photos by removing scratches and other damages.
- Host: GitHub
- URL: https://github.com/anchit1909/backtolife-old-image-regeneration
- Owner: Anchit1909
- Created: 2023-01-07T20:49:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-08T12:43:33.000Z (almost 2 years ago)
- Last Synced: 2024-11-11T17:34:45.007Z (3 months ago)
- Topics: nextjs, react, replicate, tailwindcss, vercel
- Language: JavaScript
- Homepage: https://back-to-life-old-image-regeneration.vercel.app/
- Size: 5.78 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Regenerate old images with the help of AI
Introduction ·
How It Works ·
Tech Stack ·
Running Locally ·
Author
## Introduction
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.
## How it works
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.
## Tech Stack
- [NextJS](https://nextjs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Replicate](https://replicate.com) (AI API)## Running Locally
### Cloning the repository to the local machine.
```bash
git clone
```### Creating an account on Replicate to get an API key.
1. Go to [Replicate](https://replicate.com/) to make an account.
2. Click on your profile picture in the top right corner, and click on "Dashboard".
3. Click on "Account" in the navbar. And, here you can find your API token, copy it.### Storing API key in .env file.
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.
### Installing the dependencies.
```bash
npm install
```### Running the application.
Then, run the application in the command line and it will be available at `http://localhost:3000`.
```bash
npm run dev
```## Author
- Anchit Sinha ([@anchit1909](https://twitter.com/anchit1909))