Skip to content

dhanaraj02/Imagify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Imagify – AI Text to Image Generator

Imagify is a full-stack AI SaaS web application that allows users to generate images from text prompts using the ClipDrop API.
The application includes secure user authentication, a credit-based image generation system, payment integration for purchasing credits, and image download functionality.

This project demonstrates real-world MERN stack development with AI API integration and SaaS-style features.


πŸš€ Features

  • User authentication (signup & login)
  • AI-powered text-to-image generation using ClipDrop API
  • Credit-based system for image generation
  • Payment integration to purchase credits
  • Download generated images
  • Responsive and user-friendly UI

πŸ› οΈ Tech Stack

Frontend

  • React.js
  • Tailwind CSS
  • Axios
  • React Router DOM

Backend

  • Node.js
  • Express.js
  • JWT authentication

Database

  • MongoDB (Mongoose)

AI & Payments

  • ClipDrop API (image generation)
  • Payment gateway integration

Deployment

  • Frontend: Vercel
  • Backend: Render

πŸ“ Project Structure

Imagify/ β”œβ”€β”€ client/ # React frontend β”‚ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ public/ β”‚ └── package.json β”‚ β”œβ”€β”€ server/ # Express backend β”‚ β”œβ”€β”€ controllers/ β”‚ β”œβ”€β”€ routes/ β”‚ β”œβ”€β”€ models/ β”‚ β”œβ”€β”€ middleware/ β”‚ └── package.json β”‚ └── README.md


Install dependencies

Backend: cd server npm install

makefile Copy code

Frontend: cd client npm install

Copy code


Run the application

Start backend: cd server npm run dev

powershell Copy code

Start frontend: cd client npm run dev

Copy code

Open http://localhost:3000 in your browser.


πŸ’³ Credit System

  • Each image generation consumes one credit
  • Users must purchase credits when balance is insufficient
  • Credits are added after successful payment

πŸ“₯ Image Download

  • Users can download generated images directly from the application interface

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages