Skip to content

billosaye/ImageGenerator

Repository files navigation

🎨 AI Image Studio

Overview

AI Image Studio is a cutting-edge web application that transforms text descriptions into stunning AI-generated images. Powered by advanced AI technology, this React-based application allows users to bring their imagination to life with just a few words.

Project Banner

🌟 Features

  • Intuitive Image Generation: Simply describe the image you want to create
  • Real-time Preview: Instantly see your AI-generated artwork
  • Responsive Design: Works seamlessly across all devices
  • Error Handling: Helpful messages guide user interactions
  • Gallery View: Save and view your generated images

🚀 Technologies Used

  • React
  • React Router
  • Tailwind CSS
  • Axios
  • Rapid API
  • Lucide React Icons

🛠️ Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js (v14.0.0 or later)
  • npm (v6.0.0 or later)
  • A RapidAPI account

🔧 Installation

  1. Clone the repository
git clone https://github.com/yourusername/ai-image-studio.git
cd ai-image-studio
  1. Install dependencies
npm install
  1. Create a .env file in the project root
VITE_RAPIDAPI_KEY=your_rapid_api_key_here
  1. Run the development server
npm run dev

🌈 Usage

  1. Open the application in your browser
  2. Enter a detailed description of the image you want to generate
  3. Click the "Generate" button
  4. Watch as AI transforms your description into an image!

🔒 Environment Variables

  • VITE_RAPIDAPI_KEY: Your Rapid API key for image generation

📦 Project Structure

ai-image-studio/
│
├── src/
│   ├── Components/
│   │   ├── ImageDisplay.jsx
│   │   ├── Gallery.jsx
│   │   ├── PromptInput.jsx
│   │   └── ImageGenerator.jsx
│   │
│   ├── Router/
│   │   └── Router.jsx
│   │
│   ├── App.jsx
│   └── main.jsx
│
├── .env
├── vite.config.js
└── tailwind.config.js

🤝 Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🐛 Known Issues

  • Limited to RapidAPI's image generation capabilities
  • Potential rate limits depending on API plan

📝 License

Distributed under the MIT License. See LICENSE for more information.

Project Link: https://github.com/yourusername/ai-image-studio

🙏 Acknowledgements

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors