Skip to content

This project is an AI-powered image generator built using React, TypeScript, and Vite, leveraging the EdenAI API for image generation

Notifications You must be signed in to change notification settings

ajdev0/Ai-Image-Generator

Repository files navigation

AI Image Generator

This project is an AI-powered image generator built using Vite, TypeScript, and React, leveraging the EdenAI API for image generation.

Overview

The AI Image Generator utilizes cutting-edge artificial intelligence algorithms to create images based on user-defined parameters. With this application, users can specify various attributes, styles, or concepts, and the AI model generates corresponding images. The generated images can be used for a wide range of purposes, including creative design, content generation, and more.

Features

  • User-Friendly Interface: The application provides an intuitive interface for users to input parameters and generate images seamlessly.

  • AI-Powered Image Generation[https://www.edenai.co/]: Leveraging the EdenAI API, the application utilizes state-of-the-art AI models to generate high-quality images based on user inputs it gives you 1$ free credit to try their api.

  • Customization Options: Users can customize various aspects of image generation, such as style, color scheme, subject matter, and more, to tailor the generated images to their specific needs.

Technologies Used

  • Vite: Vite is used as the build tool to provide fast and efficient development and production builds.

  • TypeScript: TypeScript adds static typing to JavaScript, enhancing code quality and developer productivity.

  • React: React is utilized for building the user interface components, enabling a dynamic and interactive user experience.

  • EdenAI API: The EdenAI API provides access to state-of-the-art AI models for image generation, allowing seamless integration with the application.

Getting Started

To get started with the AI Image Generator, follow these steps:

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

    git clone https://github.com/your-username/ai-image-generator.git
    
  2. Install Dependencies: Navigate to the project directory and install the dependencies using npm or yarn:

    cd ai-image-generator
    npm install
    
  3. Set Up Environment Variables: Obtain an API key from EdenAI and set it as an environment variable. Create a .env file in the root directory and add the following:

    VITE_OPENAI_API_KEY=your-api-key
    
  4. Start the Development Server: Start the development server using:

    npm run dev
    
  5. Access the Application: Open your browser and navigate to http://localhost:5173 to access the AI Image Generator application.

Contributing

Contributions to the AI Image Generator project are welcome! If you have any ideas for improvements, new features, or bug fixes, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

This project is an AI-powered image generator built using React, TypeScript, and Vite, leveraging the EdenAI API for image generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published