AI Canvas Hub is a web application that allows users to generate and enhance images using AI models from Hugging Face. The application provides a user-friendly interface for creating AI-generated artwork with various styles and customization options.
- 🎨 AI Image Generation using Hugging Face models
- 🖼️ Multiple artistic styles (Digital Art, Anime, Sketch, Cyberpunk, etc.)
- ⚡ Fast image generation with optimized models
- 🎯 Customizable image dimensions
- 🎭 Style enhancement and prompt improvement
- 🖌️ Image post-processing (brightness, contrast, saturation adjustments)
- Python 3.8 or higher
- pip (Python package manager)
- Hugging Face API key
- Clone the repository:
git clone https://github.com/kanakver/ai-canvas-hub.git
cd ai-canvas-hub
- Install dependencies:
pip install -r requirements.txt
- Create a
.env
file in the project root with your Hugging Face API key:
HUGGINGFACE_API_KEY="your_api_key_here"
SESSION_SECRET="your_session_secret_here"
FLASK_ENV="development"
FLASK_DEBUG="1"
- Start the Flask application:
python app.py
- Open your web browser and navigate to:
http://localhost:5000
- Enter your prompt and select your preferred style and model settings.
ai-canvas-hub/
├── app.py # Main Flask application
├── requirements.txt # Python dependencies
├── .env # Environment variables
├── static/ # Static files (CSS, JS, images)
└── templates/ # HTML templates
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Hugging Face for providing the AI models
- Flask for the web framework
- Pillow for image processing