Anchit1909 / BackToLife-Old-Image-Regeneration

Image regeneration AI app that allows users to restore old photos by removing scratches and other damages.

Home Page:https://back-to-life-old-image-regeneration.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BackToLife – Regenerate old images

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

Running Locally

Cloning the repository to the local machine.

git clone

Creating an account on Replicate to get an API key.

  1. Go to Replicate 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.

npm install

Running the application.

Then, run the application in the command line and it will be available at http://localhost:3000.

npm run dev

Author

About

Image regeneration AI app that allows users to restore old photos by removing scratches and other damages.

https://back-to-life-old-image-regeneration.vercel.app/


Languages

Language:JavaScript 96.7%Language:CSS 3.3%