Giter Club home page Giter Club logo

image-generator's Introduction

AI Image Generator using OpenAI API and Node.js

This project utilizes the power of OpenAI API and Node.js to generate high-quality images based on user input. The project combines the capabilities of GPT-3 and DALL-E models of OpenAI to create unique and visually appealing images.

Features

  • Generate images based on user input
  • Choose from small, medium, or large image sizes
  • Wide range of image categories available
  • Easy to set up and use
  • Well-documented code for easy customization and scaling

Getting Started

To get started with the project, you'll need to have Node.js installed on your system. Once you have Node.js installed, follow these steps:

  1. Clone this repository to your local machine
  2. Install the project dependencies by running npm install
  3. Create a .env file in the root directory and add your OpenAI API key. The format should be OPENAI_API_KEY=<your_api_key_here>
  4. Start the project by running npm start
  5. Open your browser and go to http://localhost:{port}

Usage

To use the AI Image Generator, follow these steps:

  1. Enter a description of the image you want to generate in the input field
  2. Select a size from small, medium, or large
  3. Click on the "Generate Image" button
  4. Wait for the image to be generated and displayed on the screen

You can save the image by right-clicking on it and selecting "Save Image As".

License

This project is licensed under the MIT License. See the LICENSE file for more details.

image-generator's People

Contributors

abubalo avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.