Skip to content

siiyagallery/Text_to_Image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

InspiraPix

GIF

🎨 AI Image Generator - MERN Stack

A full-stack application that transforms text prompts into stunning AI-generated artwork. Users can sign up, generate images, and download their creations.

✨ Features

  • 🔐 User authentication (Sign up & Login)
  • ✍️ Text-to-image generation using AI
  • 💾 Image download functionality
  • 📱 Responsive design
  • 🔒 Secure API endpoints
  • 📜 Generation history dashboard

🛠️ Technologies Used

Frontend

  • React.js
  • Redux Toolkit
  • Axios
  • Tailwind CSS
  • React Icons

Backend

  • Node.js & Express.js
  • MongoDB (Mongoose)
  • JWT Authentication
  • Cloudinary (Image Storage)

AI Integration

  • Stable Diffusion API / DALL-E API

🚀 Installation

Prerequisites

  • Node.js (v16+)
  • MongoDB Atlas account
  • AI API key

Setup

  1. Clone the repository:
git clone https://github.com/utkxrsh13/Text_to_Image
cd text_to_Image
  1. Install the dependencies for both client and server:
cd client
npm install
cd ../server
npm install
  1. Create a .env file in the server directory and add your environment variables:
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
CLIPDROP_API=your_clipdrop_api_key
PORT=your_port

Usage

  1. Start the development servers:
# In the client directory
npm run dev

# In the server directory
npm run server
  1. Open your browser and navigate to http://localhost:3000 to see the application in action.

🙏 Acknowledgements

  • Thanks to the developers of the libraries and tools used in this project.
  • Special thanks to the AI API providers for their amazing services.

Happy coding! 🚀

About

Built with the MERN stack, the app provides an intuitive interface where users can type in text prompts, and the AI generates images in real time. It aims to explore the potential of AI in creative fields like art, design, and content generation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.2%
  • HTML 1.2%
  • CSS 0.6%