ImaginAI is a playground for image generation using the Hugging Face inference API with the Flux 1 Schnell model. The UI is inspired by fastsdxl.
This project is built with Next.js (App Router) and Tailwind CSS.
-
Clone the Repository
git clone https://github.com/bilal-08/imaginai.git cd imaginai
-
Install Dependencies
npm install
-
Set Up Environment Variables
Copy the
.env.example
file to.env
and update the values as needed:cp .env.example .env
-
Run the Development Server
npm run dev
The app should now be running on http://localhost:3000
.