Skip to content

RestoreAI is an AI-powered image restoration and editing web application that allows users to Restore Old/Damaged Photos, AI-Powered Image Editing, Before/After Comparison.

License

Notifications You must be signed in to change notification settings

rajofearth/restoreai

Repository files navigation

logo

RestoreAI

code size Vercel license

RestoreAI is an AI-powered image restoration and editing web application that allows users to Restore Old/Damaged Photos, AI-Powered Image Editing, Before/After Comparison.

Table of Contents

Features

  • Upload an image from your device or use the camera.
  • See a before/after comparison of the restored image.
  • Download the restored image.
  • Responsive design for mobile and desktop.
  • Dynamic background gradient extracted from the uploaded image.

How it works

The application uses the Replicate API to restore images. Specifically, it uses the flux-kontext-apps/restore-image model. The Next.js application provides a user interface for uploading images and then calls the Replicate API to perform the restoration.

Getting Started

Prerequisites

  • Node.js (v18 or later)
  • bun package manager
  • A Replicate account and API token.

Installation

  1. Clone the repository:

    git clone https://github.com/rajofearth/img-resto.git
    cd img-resto
  2. Install the dependencies:

    bun install
  3. Create a .env.local file in the root of the project and add your Replicate API token:

    REPLICATE_API_TOKEN=your_replicate_api_token
    
  4. Run the development server:

    bun dev

Open http://localhost:3000 with your browser to see the result.

Technologies Used

License

This project is licensed under the MIT License - see the LICENSE file for details.

Deployed Application

You can access the deployed application at https://restoreai.vercel.app/.

Author

This project was created by rajofearth.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or find any bugs.

About

RestoreAI is an AI-powered image restoration and editing web application that allows users to Restore Old/Damaged Photos, AI-Powered Image Editing, Before/After Comparison.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages