Skip to content

ShubhaamTiwary/AI-Image-Generation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AI Image Generation App ( DALL-E Clone )

The AI Image Generation App is a recreation of the original DALL-E model by OpenAI, utilizing the OpenAI API for the creation of this project. It generates high-quality images from textual descriptions using advanced deep learning techniques.

Our goal is to replicate DALL-E's ability to interpret text prompts and produce visually coherent and detailed images. The project aims to provide a user-friendly interface or API for easy interaction.

This app is made using MERN stack ( ReactJs, NodeJs , ExpressJs , MongoDB and Tailwind CSS )

Table of Contents

Installation

  1. Clone the repository: Start by cloning the project repository from a version control system like Git.

  2. Install dependencies: Navigate to the project directory and install the necessary dependencies for the backend and frontend.

cd <project_directory>

# Install backend dependencies
cd backend
npm install

# Install frontend dependencies
cd ../frontend
npm install
  1. Set up the backend: Create a .env file in the backend directory to store your environment variables, such as database connection details or API keys. Start the backend server by running the following command in the backend directory:
npm start
  1. Set up the frontend: In the frontend directory, create a .env file if required to set environment-specific variables. Start the development server for the frontend by running the following command in the frontend directory:
npm start
  1. Connect to MongoDB: Ensure that you have a MongoDB server running. You can either set up a local MongoDB instance or use a cloud-based MongoDB service. Update the MongoDB connection details in the backend's .env file.

  2. Access the application: Once the backend and frontend servers are running without any errors, you can access your MERN application by opening a web browser and navigating to http://localhost:3000 (or a different port if specified).

Usage

  1. Installation: Follow the installation steps mentioned above to set up the project.

  2. Start the application: Make sure the backend server and frontend development server are running. Refer to the installation steps for instructions on starting the servers.

  3. Access the application: Once the servers are running without any errors, open a web browser and navigate to http://localhost:3000 (or a different port if specified) to access the MERN application.

  4. Interact with the application: Use the provided user interface to perform various actions specific to your project. This may include creating, reading, updating, or deleting data, interacting with APIs, or utilizing different features of the application.

  5. Customization: Modify the codebase, configurations, or styling to suit your specific needs. Refer to the project documentation or relevant files for information on customization options.

  6. Deployment: When ready, deploy the application to a production environment following best practices. Here , we used Render for backend and Vercel for the frontend.

  7. Troubleshooting: If you encounter any issues or errors during installation or usage, refer to the project's documentation or seek help from the community through issue tracking, forums, or other communication channels.

Features

  • Image Generation: Generate high-quality and unique images based on textual descriptions.
  • Creative Output: Produce visually appealing and imaginative images that showcase the model's ability to understand and translate textual input into visual representations.
  • User-Friendly Interface: Provide a user-friendly interface or API for easy interaction with the model.
  • Customizability: Support customization options to fine-tune the model, adjust hyperparameters, or incorporate additional datasets for personalized image generation.
  • OpenAI API Integration: Utilize the OpenAI API for enhanced model capabilities and performance.
  • Documentation and Examples: Provide comprehensive documentation, guidelines, and examples to facilitate understanding and usage of the DALL-E clone.

License

MIT License

Demo

2023-06-11_12-43-47.mp4

Contact

If you have any questions, suggestions, or feedback, please feel free to reach out: