Album Cover AI is a web application that leverages Hugging Face's Stable Diffusion 2.1 model to create unique album cover art based on user input. This repository contains both frontend and backend code for the application.
- Generate distinctive album cover art from user-provided text.
- Save the generated album cover art locally.
- FastAPI: A modern, high-performance web framework for building APIs with Python 3.7+.
- React: A JavaScript library for constructing user interfaces.
- axios: A promise-based HTTP client for the browser and Node.js.
- Hugging Face: Offers a vast collection of pre-trained models for natural language processing and computer vision.
-
Navigate to the
backend
directory.cd backend
-
Install dependencies.
pip install -r requirements.txt
-
Run the FastAPI server.
uvicorn main:app --reload
-
Navigate to the
frontend
directory.cd frontend
-
Install dependencies.
npm install
-
Run the React app.
npm run dev
- Open your browser and visit http://localhost:3000 to access the application.
- Enter text in the input field on the frontend.
- Click the "Search" button to generate album cover art.
- The generated album cover art will be displayed below.
backend
: Contains the FastAPI backend code.frontend
: Contains the React frontend code.
This project is licensed under the MIT License - see the LICENSE file for details.