+
Skip to content

kanakver/ai-canvas-hub

Repository files navigation

AI Canvas Hub

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.

Features

  • 🎨 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)

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)
  • Hugging Face API key

Installation

  1. Clone the repository:
git clone https://github.com/kanakver/ai-canvas-hub.git
cd ai-canvas-hub
  1. Install dependencies:
pip install -r requirements.txt
  1. 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"

Usage

  1. Start the Flask application:
python app.py
  1. Open your web browser and navigate to:
http://localhost:5000
  1. Enter your prompt and select your preferred style and model settings.

Project Structure

ai-canvas-hub/
├── app.py              # Main Flask application
├── requirements.txt    # Python dependencies
├── .env               # Environment variables
├── static/            # Static files (CSS, JS, images)
└── templates/         # HTML templates

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载