Live Demo: https://cubism-image-generator-production.up.railway.app/
Cubism Art Generator is a web application that transforms images into Cubism-style artworks using AI. It offers two main functionalities:
- Text to Image: Generate Cubism art from text descriptions
- Image to Image: Transform existing images into Cubism style
- 🖼️ Two generation methods:
- Text-to-Image generation
- Image-to-Image transformation
- 🎯 User-friendly interface with drag-and-drop support
- 📱 Responsive design that works on both desktop and mobile
- ⬇️ Easy image download functionality
- 🚀 Fast processing using Hugging Face's state-of-the-art models
- Backend: Spring Boot 3.x
- Frontend: HTML5, Tailwind CSS, JavaScript
- AI Model: Hugging Face Stable Diffusion
- Deployment: Docker, Railway
- Java 17 or higher
- Maven
- Docker (optional)
- Clone the repository:
git clone https://github.com/ugurarabaci/cubism-image-generator.git
cd cubism-image-generator- Set up environment variables:
HUGGINGFACE_API_TOKEN=your_token- Build and run:
mvn clean package
java -jar target/CubismImageGenerator-0.0.1-SNAPSHOT.jardocker build -t cubism-image-generator .
docker run -p 8080:8080 -e HUGGINGFACE_API_TOKEN=your_token cubism-image-generatorPOST /api/images/generate: Generate image from textPOST /api/images/transform: Transform uploaded image
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.