Skip to content

Vaibhav-shelke1/AI-Image-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 AI Image Generator 🖼️

Welcome to the AI Image Generator project! This application leverages advanced AI techniques to generate stunning images from textual descriptions, offering a seamless and user-friendly interface for creating and downloading these images.

🚀 Features

  • Generate Images: Create high-quality images using cutting-edge AI models.
  • 💾 Download Images: Easily download the generated images for your use.
  • 🌐 User-Friendly Interface: Intuitive web interface for smooth user experience.

🛠️ Technologies Used

  • HTML for structure
  • CSS for styling
  • JavaScript for interactivity
  • AI Image Generation API for backend functionality

🚀 Usage

To start using the AI Image Generator:

  1. Open the index.html file in your web browser.
  2. Enter a description of the image you want to generate.
  3. Click on the "Generate" button to create your image.
  4. Download the generated image using the provided download button.

🤖 Integrating Hugging Face API

To use the Hugging Face API for image generation, follow these steps:

  1. Create an account on Hugging Face: Visit Hugging Face and sign up for an account if you don't already have one.

  2. Generate an API token:

    • Go to your Hugging Face account settings.
    • Navigate to the API tokens section.
    • Generate a new token and copy it.
  3. Update the project with your Hugging Face API token:

    • Create a script file file in the project root directory.
    • Add your API token to the .script file:
      HUGGINGFACE_API_TOKEN=your_hugging_face_api_token

📁 Project Structure

Here's a quick overview of the project's structure:

  • index.html - The main HTML file for the project.
  • styles/ - Contains CSS files for styling.
  • scripts/ - Contains JavaScript files for functionality.
  • assets/ - Contains image assets and other resources.

🤝 Contributing

We welcome contributions to enhance this project! Follow these steps to contribute:

📜 License

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


Feel free to contribute and enhance this project! If you have any issues or suggestions, please open an issue or create a pull request.

Happy Coding! 🎉


Releases

No releases published

Packages

No packages published