Welcome to DALL-E Clone, a full-stack web app powered by OpenAI's DALL-E API to generate stunning AI-driven images. This app is a playground for AI and creativity, where your words turn into art. π§βπ¨ Build, share, and explore a community of AI-generated artworkβall in a sleek, responsive design. Whether you're an AI enthusiast or just curious, this platform lets you dive into the magic of image generation easily! π¨β¨
Here is a working live demo: https://rachel-tanhaow.github.io/OpenAI-Image-Generation-App/
Please allow a few seconds for the homepage images to load if itβs your first time visiting.
(Apologies! Iβm using the free Cloudinary plan, so loading may take a moment) π
- Frontend: React, Vite, Tailwind CSS
- Backend: Node.js, Express
- Database: MongoDB
- Image Cloud Storage: Cloudinary
- AI Image Generation: OpenAI DALL-E API
I built this project with the motivation to make interacting with AI image generation easy and fun! Many people don't often try platforms like Midjourney or DALL-E, so I wanted to create a user-friendly way for everyone to explore the magic of AI. Therefore, my goal was to simplify interacting with DALL-E and build a community around it. πͺ
As a result, this DALL-E Clone web app streamlines the process of generating AI images and provides a platform for sharing and discovering AI-generated artwork! π¨β¨
- Generate AI images using DALL-E API
- Share generated images with the community
- View and download community-shared images
- Responsive design for various screen sizes
- Generate AI images using DALL-E API
- Share generated images with the community
- View and download community-shared images
- Responsive design for various screen sizes
- Clone the repository
git clone https://github.com/rachel-tanhaow/OpenAI-Image-Generation-App.git
cd OpenAI-Image-Generation-App
- Install dependencies for both client and server
cd client
npm install
cd ../server
npm install
-
Set up environment variables (see Environment Variables section)
-
Start the back-end
cd server
npm start
- Start the front-end
cd client
npm run dev
After starting both the client and server, navigate to http://localhost:5173
(or a similar address, find in your terminal log) in your web browser. You can create new AI-generated images by providing prompts, and view or share images created by the community.
In the server
directory, create a .env
file and add the following values:
MONGODB_URL=your_mongodb_connection_string
OPENAI_API_KEY=your_openai_api_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_cloud_name
CLOUDINARY_API_KEY=your_cloudinary_api_key
CLOUDINARY_API_SECRET=your_cloudinary_api_secret
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.