/Ai-image-generator

The Ai-Image-Generator is an innovative project that utilizes the power of OpenAI's DALL-E 2 API to create custom images based on user prompt

Primary LanguageCSS

Ai-Image-Generator

The Ai-Image-Generator is an innovative project that utilizes the power of OpenAI's DALL-E 2 API to create custom images based on user prompts. It allows users to generate images in three different sizes: small, medium, and large, without any copyright restrictions. The application provides the ability to download the AI-created images for unlimited use.

Tech Stack

  • nodejs
  • expressjs
  • openai-api
  • css3

Features

  • Image Generation: The application uses the OpenAI DALL-E 2 API to generate unique and creative images based on user-provided prompts.
  • Image Sizes: Users can specify three different image sizes: small, medium, and large, offering flexibility in the generated output.
  • Copyright-Free: The images generated by the AI are not bound by copyright, making them freely usable for any purpose.
  • OpenAI Integration: The project is integrated with OpenAI's API to access the state-of-the-art image generation capabilities of DALL-E 2.
  • Easy Deployment: The application is built with Node.js and Express, making it easy to deploy and run on your local machine or server.

How to Use

  1. Clone the Repository: Clone this repository to your local machine using the following command:

    git clone https://github.com/sakthi-lucia0567/Ai-image-generator.git
    
  2. Install Dependencies: Navigate to the project directory and install the necessary dependencies using npm:

    cd Ai-Image-Generator
    npm install
    
  3. API Key Setup: Sign up for an API key from OpenAI and replace the placeholder with your actual API key in the configuration file.

  4. Start the Server: Launch the server using the following command:

    npm start
    
  5. Generate Images: Access the application through your preferred web browser and provide prompts to generate images in small, medium, or large sizes.

  6. Download Images: Once the AI has generated the images, you can download them directly to your local machine for unrestricted use.

License

This project is open-source and available under the MIT License.

Disclaimer

The Ai-Image-Generator project utilizes the DALL-E 2 API provided by OpenAI. As with any AI-generated content, the quality and appropriateness of the images depend on the prompt provided. The project owners and contributors hold no responsibility for any content generated through the application.

Contributing

  • Contributions are always welcome!
  • Any feature requests and pull requests are welcome!
  • before committing, please explain the feature.