Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        


BackToLife – Regenerate old images

BackToLife



Regenerate old images with the help of AI



Anchit SinhaTwitter follower count


BackToLife repo star count


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))