Skip to content

πŸ–ΌοΈ Image Generator A tool that creates images from text prompts or custom inputs 🎨. Features include customizable styles 🎭, high-resolution outputs πŸ–ŒοΈ, and creative flexibility 🌈. Ideal for designers, marketers, and anyone needing unique visuals for projects!

Notifications You must be signed in to change notification settings

Gyanthakur/ImageGenesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

30 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Logo

Generate Image from Prompt πŸ–ΌοΈ

This repository contains a MERN (MongoDB, Express.js, React.js, Node.js) stack application that generates images from user prompts. The frontend is built using Vite for fast development, and the backend handles prompt processing and storage efficiently. Below is a detailed overview of the project and its structure.


πŸš€ Features

  • Generate images based on textual prompts.
  • User authentication and prompt-based image generation.
  • Smooth and responsive user interface.
  • Optimized backend API for seamless performance.
  • Secure handling of user data with authentication middleware.

πŸ› οΈ Tech Stack

  • Frontend: React.js, Vite
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Styling: CSS Modules
  • Authentication: Custom middleware

πŸ“‚ File Structure

Backend (Server)

server/
β”œβ”€β”€ config/               # Configuration files (e.g., database connection)
β”œβ”€β”€ controllers/          # Logic for handling requests
β”‚   β”œβ”€β”€ imageController.js
β”‚   β”œβ”€β”€ userController.js
β”œβ”€β”€ middlewares/          # Authentication middleware
β”‚   └── auth.js
β”œβ”€β”€ models/               # Mongoose models for MongoDB
β”‚   β”œβ”€β”€ transactionModel.js
β”‚   β”œβ”€β”€ userModel.js
β”œβ”€β”€ routes/               # API endpoints
β”‚   β”œβ”€β”€ imageRoutes.js
β”‚   β”œβ”€β”€ userRoutes.js
β”œβ”€β”€ .env                  # Environment variables
β”œβ”€β”€ server.js             # Entry point of the backend

Frontend (Client)

client/src/
β”œβ”€β”€ components/           # Reusable UI components
β”‚   β”œβ”€β”€ Description.jsx
β”‚   β”œβ”€β”€ Footer.jsx
β”‚   β”œβ”€β”€ GenerateBtn.jsx
β”‚   β”œβ”€β”€ Header.jsx
β”‚   β”œβ”€β”€ Loader.jsx
β”‚   β”œβ”€β”€ Login.jsx
β”‚   β”œβ”€β”€ Navbar.jsx
β”‚   β”œβ”€β”€ Steps.jsx
β”‚   β”œβ”€β”€ Testimonials.jsx
β”œβ”€β”€ context/              # React Context for state management
β”‚   └── AppContext.jsx
β”œβ”€β”€ pages/                # Application pages
β”‚   β”œβ”€β”€ BuyCredit.jsx
β”‚   β”œβ”€β”€ Home.jsx
β”‚   β”œβ”€β”€ Result.jsx
β”œβ”€β”€ App.css               # Global CSS styles
β”œβ”€β”€ App.jsx               # Main React component
β”œβ”€β”€ index.css             # Global styles
β”œβ”€β”€ main.jsx              # Entry point of the frontend

πŸ“Έ Demo image

credit

image

image

with input

image

output

image

responsive

image

πŸ“§ Contact For any queries or suggestions, reach out at: gps.96169@gmail.com.
πŸ“§ Contact For any queries or suggestions, reach out at: WhatsApp

image

About

πŸ–ΌοΈ Image Generator A tool that creates images from text prompts or custom inputs 🎨. Features include customizable styles 🎭, high-resolution outputs πŸ–ŒοΈ, and creative flexibility 🌈. Ideal for designers, marketers, and anyone needing unique visuals for projects!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published