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.
- Features
- How it works
- Getting Started
- Technologies Used
- License
- Deployed Application
- Author
- Contributing
- 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.
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.
- Node.js (v18 or later)
bunpackage manager- A Replicate account and API token.
-
Clone the repository:
git clone https://github.com/rajofearth/img-resto.git cd img-resto -
Install the dependencies:
bun install
-
Create a
.env.localfile in the root of the project and add your Replicate API token:REPLICATE_API_TOKEN=your_replicate_api_token -
Run the development server:
bun dev
Open http://localhost:3000 with your browser to see the result.
- Next.js - React framework
- React - JavaScript library for building user interfaces
- TypeScript - Typed JavaScript
- Tailwind CSS - CSS framework
- Replicate - AI model hosting
- shadcn/ui - UI components
This project is licensed under the MIT License - see the LICENSE file for details.
You can access the deployed application at https://restoreai.vercel.app/.
This project was created by rajofearth.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you have any suggestions or find any bugs.