Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Image Generator

AI Image Generator is a modern React-based web application that transforms text prompts into AI-generated images. Users can either write their own prompt or generate a random creative prompt with a single click. The application sends the prompt to an AI image generation model through the Hugging Face Inference API and displays the generated image instantly in a clean, responsive interface.

Features

  • Generate AI images from text prompts
  • Random prompt generator for inspiration
  • Fast image generation using the Hugging Face API
  • Real-time image preview
  • Responsive and user-friendly interface
  • Loading indicator during image generation
  • Custom prompt input support

Technologies Used

  • React.js
  • JavaScript (ES6+)
  • Tailwind CSS
  • Hugging Face Inference API
  • Fetch API

How It Works

  1. Enter a text prompt or generate a random one.
  2. Click the Generate Image button.
  3. The application sends the prompt to the AI model via the Hugging Face API.
  4. The generated image is displayed instantly on the screen.

This project demonstrates API integration, asynchronous data fetching, React state management with Hooks, and building a responsive AI-powered user interface.

About

AI Image Generator is a modern React-based web application that transforms text prompts into AI-generated images.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages