This is a simple Next.js project using Stitches UI that allows you to generate images using the Hugging Face API. With this app, you can create images with text prompts, turning your ideas into visual art.
Before you begin, you'll need the following:
- Node.js installed on your machine.
- A Hugging Face API key. You can obtain one by signing up here if you don't have an account already.
- Once you sign up, you can get your API key from your account settings.
- Click your profile icon in the top right corner of the page and select "Settings" from the dropdown menu.
- Click the "Access Token" tab on the left side of the page.
- Generate a new token.
-
Clone this repository to your local machine:
git clone https://github.com/SDC-USAR/ArtiGenius-AI.git
-
Change into the project directory:
cd ArtiGenius-AI
-
Install project dependencies:
pnpm install
-
Create a
.env.local
file in the project root and add your Hugging Face API key asNEXT_PUBLIC_HUGGINGFACE_API_KEY
. You can get your API key from your Hugging Face account settings.NEXT_PUBLIC_HUGGINGFACE_API_KEY=your-api-key
-
Start the development server:
pnpm run dev
If you encounter any issues or have suggestions for improvements, please open an issue. We welcome your feedback!
This project is licensed under the MIT License - see the LICENSE file for details.