Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/22ayaan/pix-wizard-ai

An AI image SaaS platform that excels in image processing capabilities, integrates a secure payment infrastructure, offers advanced image search functionalities, and supports multiple AI features, including image restoration, recoloring, object removal, generative filling, and background removal.
https://github.com/22ayaan/pix-wizard-ai

clerk-auth cloudinary-api mongodb mongoose-schema nextjs shadcn-ui stripe-checkout tailwindcss typescript

Last synced: 8 days ago
JSON representation

An AI image SaaS platform that excels in image processing capabilities, integrates a secure payment infrastructure, offers advanced image search functionalities, and supports multiple AI features, including image restoration, recoloring, object removal, generative filling, and background removal.

Awesome Lists containing this project

README

        





Screenshot 2024-07-30 at 4 02 08β€―PM



nextdotjs
typescript
stripe
mongodb
tailwindcss

Pixel Wizard (PixWiz) sn AI SaaS Platform


Check out PixWiz

## πŸ“‹ Table of Contents

1. πŸ€– [Introduction](#introduction)
2. βš™οΈ [Tech Stack](#tech-stack)
3. πŸ”‹ [Features](#features)
4. 🀸 [Quick Start](#quick-start)
5. πŸ•ΈοΈ [Snippets](#snippets)

## πŸ€– Introduction

An AI image SaaS platform that excels in image processing capabilities, integrates a secure payment infrastructure, offers advanced image search functionalities, and supports multiple AI features, including image restoration, recoloring, object removal, generative filling, and background removal.

## βš™οΈ Tech Stack

- Next.js
- TypeScript
- MongoDB
- Clerk
- Cloudinary
- Stripe
- Shadcn
- TailwindCSS

## πŸ”‹ Features

πŸš€ **Authentication and Authorization**: Secure user access with registration, login, and route protection.

πŸš€ **Community Image Showcase**: Explore user transformations with easy navigation using pagination

πŸš€ **Advanced Image Search**: Find images by content or objects present inside the image quickly and accurately

πŸš€ **Image Restoration**: Revive old or damaged images effortlessly

πŸš€ **Image Recoloring**: Customize images by replacing objects with desired colors easily

πŸš€ **Image Generative Fill**: Fill in missing areas of images seamlessly

πŸš€ **Object Removal**: Clean up images by removing unwanted objects with precision

πŸš€ **Background Removal**: Extract objects from backgrounds with ease

πŸš€ **Download Transformed Images**: Save and share AI-transformed images conveniently

πŸš€ **Transformed Image Details**: View details of transformations for each image

πŸš€ **Transformation Management**: Control over deletion and updates of transformations

πŸš€ **Credits System**: Earn or purchase credits for image transformations

πŸš€ **Profile Page**: Access transformed images and credit information personally

πŸš€ **Credits Purchase**: Securely buy credits via Stripe for uninterrupted use

πŸš€ **Responsive UI/UX**: A seamless experience across devices with a user-friendly interface

and many more, including code architecture and reusability

## 🀸 Quick Start

Follow these steps to set up the project locally on your machine.

**Prerequisites**

Make sure you have the following installed on your machine:

- [Git](https://git-scm.com/)
- [Node.js](https://nodejs.org/en)
- [npm](https://www.npmjs.com/) (Node Package Manager)

**Cloning the Repository**

```bash
git clone https://github.com/22ayaan/pix-wizard-ai.git
cd pix-wizard-ai
```

**Installation**

Install the project dependencies using npm:

```bash
npm install
```

**Set Up Environment Variables**

Create a new file named `.env.local` in the root of your project and add the following content:

```env
#NEXT
NEXT_PUBLIC_SERVER_URL=

#MONGODB
MONGODB_URL=

#CLERK
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
WEBHOOK_SECRET=

NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/

#CLOUDINARY
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

#STRIPE
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
```

Replace the placeholder values with your actual respective account credentials. You can obtain these credentials by signing up on the [Clerk](https://clerk.com/), [MongoDB](https://www.mongodb.com/), [Cloudinary](https://cloudinary.com/) and [Stripe](https://stripe.com)

**Running the Project**

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) in your browser to view the project.

## πŸ•ΈοΈ Snippets

### Image Restore:

Screenshot 2024-07-30 at 4 14 05β€―PM

### Generative Fill:

Screenshot 2024-07-30 at 4 11 33β€―PM

### Object Remove:

Screenshot 2024-07-30 at 4 12 03β€―PM

### Object Recolor:

Screenshot 2024-07-30 at 4 12 35β€―PM

### Background Remove:

Screenshot 2024-07-30 at 4 02 08β€―PM

### Profile:

Screenshot 2024-07-30 at 4 14 32β€―PM

### Credits Pucrhase Page:

8

### Stripe Payment Page:

9

### Clerk Sign-in Page:

Screenshot 2024-07-30 at 4 16 15β€―PM

### Clerk Sign-up page:

Screenshot 2024-07-30 at 4 16 36β€―PM