In this AI Image Generator project, I have utilized the Hugging Face API based on the StableDiffusion model along with Aceternity UI. The user-provided prompt is processed to generate an image.
- Build Tool: Vite
- API: Hugging Face API
- Server: Express
- UI: Aceternity UI
git clone <repository-url>
cd <repository-directory>
VITE_HOST= your server URL
npm i
npm run dev
from : Hugging Face
cd server
API_KEY=your_api_key_here
FRONTEND_URL=""
npm install
npx nodemon index.js
Demo Video Here
Here.
- Hugging Face for the StableDiffusion model.
- Aceternity UI for UI components.