SkillAgentSearch skills...

ImageGenesis

šŸ–¼ļø 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!

Install / Use

/learn @Gyanthakur/ImageGenesis
About this skill

Quality Score

0/100

Category

Design

Supported Platforms

Universal

README

<div align="center"> <img src="https://github.com/user-attachments/assets/5c9c2ac3-e29f-4e17-8697-e1bca6d66ead" alt="Logo" /> </div>

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. <br/> šŸ“§ Contact For any queries or suggestions, reach out at: <a href="https://wa.me/918957818597?text=Hey%20%F0%9F%91%8B%2C%20how%20can%20I%20help%20you%3F"> <img src="https://img.shields.io/badge/WhatsApp-Click%20Me-25D366?style=for-the-badge&logo=whatsapp" alt="WhatsApp" /> </a>

image

View on GitHub
GitHub Stars4
CategoryDesign
Updated1y ago
Forks0

Languages

JavaScript

Security Score

60/100

Audited on Mar 1, 2025

No findings