A full-stack application that transforms text prompts into stunning AI-generated artwork. Users can sign up, generate images, and download their creations.
- 🔐 User authentication (Sign up & Login)
- ✍️ Text-to-image generation using AI
- 💾 Image download functionality
- 📱 Responsive design
- 🔒 Secure API endpoints
- 📜 Generation history dashboard
- React.js
- Redux Toolkit
- Axios
- Tailwind CSS
- React Icons
- Node.js & Express.js
- MongoDB (Mongoose)
- JWT Authentication
- Cloudinary (Image Storage)
- Stable Diffusion API / DALL-E API
- Node.js (v16+)
- MongoDB Atlas account
- AI API key
- Clone the repository:
git clone https://github.com/utkxrsh13/Text_to_Image
cd text_to_Image- Install the dependencies for both client and server:
cd client
npm install
cd ../server
npm install- Create a
.envfile in theserverdirectory and add your environment variables:
MONGODB_URI=your_mongodb_uri
JWT_SECRET=your_jwt_secret
CLIPDROP_API=your_clipdrop_api_key
PORT=your_port- Start the development servers:
# In the client directory
npm run dev
# In the server directory
npm run server- Open your browser and navigate to
http://localhost:3000to see the application in action.
- 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! 🚀
