This project is an AI-powered image generator built using Vite, TypeScript, and React, leveraging the EdenAI API for image generation.
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.
-
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.
-
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.
To get started with the AI Image Generator, follow these steps:
-
Clone the Repository: Clone this repository to your local machine using:
git clone https://github.com/your-username/ai-image-generator.git
-
Install Dependencies: Navigate to the project directory and install the dependencies using npm or yarn:
cd ai-image-generator npm install
-
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
-
Start the Development Server: Start the development server using:
npm run dev
-
Access the Application: Open your browser and navigate to
http://localhost:5173
to access the AI Image Generator application.
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.
This project is licensed under the MIT License.